com.poscoict.glueframework.dao.vo
Interface GlueRowSet<E extends GlueRow<String,Object>>

All Superinterfaces:
Collection<E>, Iterable<E>, List<E>
All Known Subinterfaces:
GluePageSet
All Known Implementing Classes:
GluePageSetImpl, GlueRowSetImpl

public interface GlueRowSet<E extends GlueRow<String,Object>>
extends List<E>

Database Å×À̺íÀÇ º¹¼ö °³ÀÇ ·¹Äڵ带 Ç¥ÇöÇÏ´Â Value Object ÆÐÅÏÀÇ ÀÎÅÍÆäÀ̽º. º¹¼ö °³ÀÇ ·¹ÄÚµå´Â ÇϳªÀÇ GlueRowSetÀ¸·Î Ç¥ÇöµÈ´Ù.


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 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
 

Method Detail

hasNext

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

Returns:
Row°¡ Á¸ÀçÇϸé true

hasPrevious

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

Returns:
Row°¡ Á¸ÀçÇϸé true

reset

void reset()
RowSetÀÇ Ä¿¼­ À§Ä¡¸¦ óÀ½À¸·Î À̵¿½ÃŲ´Ù.


next

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

Returns:
ÇöÀç Ä¿¼­ À§Ä¡¿¡¼­ ´ÙÀ½¿¡ Á¸ÀçÇÏ´Â Row

previous

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

Returns:
ÇöÀç Ä¿¼­ À§Ä¡¿¡¼­ ¹Ù·Î Àü¿¡ Á¸ÀçÇÏ´Â Row

count

int count()
ÇöÀç RowSetÀÇ Row °³¼ö¸¦ ¾ò´Â´Ù.

Returns:
Row °³¼ö (·¹ÄÚµå °³¼ö)

getAllRow

GlueRow<String,Object>[] getAllRow()
ÇöÀç RowSetÀÇ ¸ðµç Row¸¦ ¾ò´Â´Ù.

Returns:
Row Array

getColumnDefs

GlueColumnDef[] getColumnDefs()
Column Definition Á¤º¸¸¦ ¾ò´Â´Ù.

Returns:
Column Definition Array

setColumnDefs

void setColumnDefs(GlueColumnDef[] columnDefs)
Column Definition Á¤º¸¸¦ ¼³Á¤ÇÑ´Ù.

Parameters:
columnDefs - GlueColumnDef Array


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