com.poscoict.glueframework.dao.vo
Class GlueRowSetImpl

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<GlueRow<String,Object>>
              extended by com.poscoict.glueframework.dao.vo.GlueRowSetImpl
All Implemented Interfaces:
GlueRowSet<GlueRow<String,Object>>, Serializable, Cloneable, Iterable<GlueRow<String,Object>>, Collection<GlueRow<String,Object>>, List<GlueRow<String,Object>>, RandomAccess
Direct Known Subclasses:
GluePageSetImpl

public class GlueRowSetImpl
extends ArrayList<GlueRow<String,Object>>
implements GlueRowSet<GlueRow<String,Object>>

Database Å×À̺íÀÇ º¹¼ö °³ÀÇ ·¹Äڵ带 Ç¥ÇöÇÏ´Â Value Object. º¹¼ö °³ÀÇ ·¹ÄÚµå´Â ÇϳªÀÇ GlueRowSetImpl ¿ÀºêÁ§Æ®·Î Ç¥ÇöµÈ´Ù.

See Also:
Serialized Form

Field Summary
protected  GlueColumnDef[] columndefs
          column definition
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
GlueRowSetImpl()
          »ý¼ºÀÚ(constructor).
GlueRowSetImpl(int initialCapacity)
          »ý¼ºÀÚ(constructor).
GlueRowSetImpl(List<GlueRow<String,Object>> rows)
          »ý¼ºÀÚ(constructor).
 
Method Summary
 int count()
          ÇöÀç RowSetÀÇ Row °³¼ö¸¦ ¾ò´Â´Ù.
 GlueRow<String,Object>[] getAllRow()
          ÇöÀç RowSetÀÇ ¸ðµç Row¸¦ ¾ò´Â´Ù.
 GlueColumnDef[] getColumnDefs()
          Column Definition Á¤º¸¸¦ ¾ò´Â´Ù.
 boolean hasNext()
          ÇöÀç Ä¿¼­ À§Ä¡¿¡¼­ ´ÙÀ½ RowÀÇ Á¸Àç ¿©ºÎ¸¦ È®ÀÎÇÑ´Ù.
 boolean hasPrevious()
          ÇöÀç Ä¿¼­ À§Ä¡¿¡¼­ ±× ÀüÀÇ Row Á¸Àç ¿©ºÎ¸¦ È®ÀÎÇÑ´Ù.
 GlueRow<String,Object> next()
          ÇöÀç Ä¿¼­ À§Ä¡¿¡¼­ ´ÙÀ½¿¡ Á¸ÀçÇÏ´Â Row¸¦ ¾ò´Â´Ù.
 GlueRow<String,Object> previous()
          ÇöÀç Ä¿¼­ À§Ä¡¿¡¼­ ¹Ù·Î Àü¿¡ Á¸ÀçÇÏ´Â Row¸¦ ¾ò´Â´Ù.
 void reset()
          RowSetÀÇ Ä¿¼­ À§Ä¡¸¦ óÀ½À¸·Î À̵¿½ÃŲ´Ù.
 void setColumnDefs(GlueColumnDef[] columnDefs)
          Column Definition Á¤º¸¸¦ ¼³Á¤ÇÑ´Ù.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Field Detail

columndefs

protected GlueColumnDef[] columndefs
column definition

Constructor Detail

GlueRowSetImpl

public GlueRowSetImpl()
»ý¼ºÀÚ(constructor).


GlueRowSetImpl

public GlueRowSetImpl(int initialCapacity)
»ý¼ºÀÚ(constructor).

Parameters:
initialCapacity -

GlueRowSetImpl

public GlueRowSetImpl(List<GlueRow<String,Object>> rows)
»ý¼ºÀÚ(constructor).

Parameters:
rows -
Method Detail

hasNext

public boolean hasNext()
Description copied from interface: GlueRowSet
ÇöÀç Ä¿¼­ À§Ä¡¿¡¼­ ´ÙÀ½ RowÀÇ Á¸Àç ¿©ºÎ¸¦ È®ÀÎÇÑ´Ù.

Specified by:
hasNext in interface GlueRowSet<GlueRow<String,Object>>
Returns:
Row°¡ Á¸ÀçÇϸé true

hasPrevious

public boolean hasPrevious()
Description copied from interface: GlueRowSet
ÇöÀç Ä¿¼­ À§Ä¡¿¡¼­ ±× ÀüÀÇ Row Á¸Àç ¿©ºÎ¸¦ È®ÀÎÇÑ´Ù.

Specified by:
hasPrevious in interface GlueRowSet<GlueRow<String,Object>>
Returns:
Row°¡ Á¸ÀçÇϸé true

reset

public void reset()
Description copied from interface: GlueRowSet
RowSetÀÇ Ä¿¼­ À§Ä¡¸¦ óÀ½À¸·Î À̵¿½ÃŲ´Ù.

Specified by:
reset in interface GlueRowSet<GlueRow<String,Object>>

next

public GlueRow<String,Object> next()
Description copied from interface: GlueRowSet
ÇöÀç Ä¿¼­ À§Ä¡¿¡¼­ ´ÙÀ½¿¡ Á¸ÀçÇÏ´Â Row¸¦ ¾ò´Â´Ù.

Specified by:
next in interface GlueRowSet<GlueRow<String,Object>>
Returns:
ÇöÀç Ä¿¼­ À§Ä¡¿¡¼­ ´ÙÀ½¿¡ Á¸ÀçÇÏ´Â Row

previous

public GlueRow<String,Object> previous()
Description copied from interface: GlueRowSet
ÇöÀç Ä¿¼­ À§Ä¡¿¡¼­ ¹Ù·Î Àü¿¡ Á¸ÀçÇÏ´Â Row¸¦ ¾ò´Â´Ù.

Specified by:
previous in interface GlueRowSet<GlueRow<String,Object>>
Returns:
ÇöÀç Ä¿¼­ À§Ä¡¿¡¼­ ¹Ù·Î Àü¿¡ Á¸ÀçÇÏ´Â Row

count

public int count()
Description copied from interface: GlueRowSet
ÇöÀç RowSetÀÇ Row °³¼ö¸¦ ¾ò´Â´Ù.

Specified by:
count in interface GlueRowSet<GlueRow<String,Object>>
Returns:
Row °³¼ö (·¹ÄÚµå °³¼ö)

getAllRow

public GlueRow<String,Object>[] getAllRow()
Description copied from interface: GlueRowSet
ÇöÀç RowSetÀÇ ¸ðµç Row¸¦ ¾ò´Â´Ù.

Specified by:
getAllRow in interface GlueRowSet<GlueRow<String,Object>>
Returns:
Row Array

getColumnDefs

public GlueColumnDef[] getColumnDefs()
Description copied from interface: GlueRowSet
Column Definition Á¤º¸¸¦ ¾ò´Â´Ù.

Specified by:
getColumnDefs in interface GlueRowSet<GlueRow<String,Object>>
Returns:
Column Definition Array

setColumnDefs

public void setColumnDefs(GlueColumnDef[] columnDefs)
Description copied from interface: GlueRowSet
Column Definition Á¤º¸¸¦ ¼³Á¤ÇÑ´Ù.

Specified by:
setColumnDefs in interface GlueRowSet<GlueRow<String,Object>>
Parameters:
columnDefs - GlueColumnDef Array


Copyright © 2013–2018 POSCO ICT. All rights reserved.