com.poscoict.glueframework.dao.vo
Class GlueCursorBasedRowSetImpl

java.lang.Object
  extended by com.poscoict.glueframework.dao.vo.GlueCursorBasedRowSetImpl
All Implemented Interfaces:
GlueCursorBasedRowSet<Object>, Iterable<Object>, Collection<Object>, List<Object>

public class GlueCursorBasedRowSetImpl
extends Object
implements GlueCursorBasedRowSet<Object>

GlueCursorBasedRowSet ±¸Çöü.

See Also:
GlueLazyJdbcDao

Field Summary
protected  GlueColumnDef[] columndefs
          column definition
 
Constructor Summary
GlueCursorBasedRowSetImpl(Connection connection, Statement statement, org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, ResultSet rs, ResultSet cntRs)
           
GlueCursorBasedRowSetImpl(ResultSet rs, ResultSet cntRs)
           
 
Method Summary
 void add(int index, Object element)
          Deprecated.  
 boolean add(Object e)
          Deprecated.  
 boolean addAll(Collection<?> c)
          Deprecated.  
 boolean addAll(int index, Collection<?> c)
          Deprecated.  
 void clear()
           
 boolean contains(Object o)
           
 boolean containsAll(Collection<?> c)
           
 Object get(int index)
           
 GlueColumnDef[] getColumnDefs()
          Column Definition Á¤º¸¸¦ ¾ò´Â´Ù.
 boolean hasNext()
          ÇöÀç Ä¿¼­ À§Ä¡¿¡¼­ ´ÙÀ½ RowÀÇ Á¸Àç ¿©ºÎ¸¦ È®ÀÎÇÑ´Ù.
 int indexOf(Object o)
           
 boolean isEmpty()
           
 Iterator iterator()
           
 int lastIndexOf(Object o)
           
 ListIterator listIterator()
           
 ListIterator listIterator(int index)
           
 Object next()
          ÇöÀç Ä¿¼­ À§Ä¡¿¡¼­ ´ÙÀ½¿¡ Á¸ÀçÇÏ´Â Row¸¦ ¾ò´Â´Ù.
 Object remove(int index)
           
 boolean remove(Object o)
           
 boolean removeAll(Collection<?> c)
           
 void reset()
          RowSetÀÇ Ä¿¼­ À§Ä¡¸¦ óÀ½À¸·Î À̵¿½ÃŲ´Ù.
 boolean retainAll(Collection<?> c)
           
 Object set(int index, Object element)
           
 void setColumnDefs(GlueColumnDef[] columnDefs)
          Column Definition Á¤º¸¸¦ ¼³Á¤ÇÑ´Ù.
 void setFetchSize(int fetchSize)
          internal use only.
 void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
          internal use only.
 void setResource(Connection conn, Statement stmt)
          internal use only.
 void setRowMapper(org.springframework.jdbc.core.RowMapper<?> rowMapper)
          internal use only.
 int size()
           
 List subList(int fromIndex, int toIndex)
           
 Object[] toArray()
           
 Object[] toArray(Object[] a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.List
equals, hashCode
 

Field Detail

columndefs

protected GlueColumnDef[] columndefs
column definition

Constructor Detail

GlueCursorBasedRowSetImpl

public GlueCursorBasedRowSetImpl(ResultSet rs,
                                 ResultSet cntRs)
Parameters:
rs -
cntRs -

GlueCursorBasedRowSetImpl

public GlueCursorBasedRowSetImpl(Connection connection,
                                 Statement statement,
                                 org.springframework.jdbc.core.JdbcTemplate jdbcTemplate,
                                 ResultSet rs,
                                 ResultSet cntRs)
Parameters:
connection -
statement -
jdbcTemplate -
rs -
cntRs -
Method Detail

setResource

public void setResource(Connection conn,
                        Statement stmt)
internal use only.

Parameters:
conn -
stmt -

setJdbcTemplate

public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
internal use only.

Parameters:
jdbcTemplate -

setRowMapper

public void setRowMapper(org.springframework.jdbc.core.RowMapper<?> rowMapper)
internal use only.

Parameters:
rowMapper -

setFetchSize

public void setFetchSize(int fetchSize)
internal use only.

Parameters:
fetchSize -

hasNext

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

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

reset

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

Specified by:
reset in interface GlueCursorBasedRowSet<Object>

next

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

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

add

public boolean add(Object e)
Deprecated. 

Specified by:
add in interface Collection<Object>
Specified by:
add in interface List<Object>

add

public void add(int index,
                Object element)
Deprecated. 

Specified by:
add in interface List<Object>

addAll

public boolean addAll(Collection<?> c)
Deprecated. 

Specified by:
addAll in interface Collection<Object>
Specified by:
addAll in interface List<Object>
Parameters:
c -
Returns:

addAll

public boolean addAll(int index,
                      Collection<?> c)
Deprecated. 

Specified by:
addAll in interface List<Object>
Parameters:
index -
c -
Returns:

clear

public void clear()
Specified by:
clear in interface Collection<Object>
Specified by:
clear in interface List<Object>

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection<Object>
Specified by:
contains in interface List<Object>

containsAll

public boolean containsAll(Collection<?> c)
Specified by:
containsAll in interface Collection<Object>
Specified by:
containsAll in interface List<Object>

get

public Object get(int index)
Specified by:
get in interface List<Object>

indexOf

public int indexOf(Object o)
Specified by:
indexOf in interface List<Object>

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Collection<Object>
Specified by:
isEmpty in interface List<Object>

iterator

public Iterator iterator()
Specified by:
iterator in interface Iterable<Object>
Specified by:
iterator in interface Collection<Object>
Specified by:
iterator in interface List<Object>

lastIndexOf

public int lastIndexOf(Object o)
Specified by:
lastIndexOf in interface List<Object>

listIterator

public ListIterator listIterator()
Specified by:
listIterator in interface List<Object>

listIterator

public ListIterator listIterator(int index)
Specified by:
listIterator in interface List<Object>

remove

public boolean remove(Object o)
Specified by:
remove in interface Collection<Object>
Specified by:
remove in interface List<Object>

remove

public Object remove(int index)
Specified by:
remove in interface List<Object>

removeAll

public boolean removeAll(Collection<?> c)
Specified by:
removeAll in interface Collection<Object>
Specified by:
removeAll in interface List<Object>

retainAll

public boolean retainAll(Collection<?> c)
Specified by:
retainAll in interface Collection<Object>
Specified by:
retainAll in interface List<Object>

set

public Object set(int index,
                  Object element)
Specified by:
set in interface List<Object>

size

public int size()
Specified by:
size in interface Collection<Object>
Specified by:
size in interface List<Object>

subList

public List subList(int fromIndex,
                    int toIndex)
Specified by:
subList in interface List<Object>

toArray

public Object[] toArray()
Specified by:
toArray in interface Collection<Object>
Specified by:
toArray in interface List<Object>

toArray

public Object[] toArray(Object[] a)
Specified by:
toArray in interface Collection<Object>
Specified by:
toArray in interface List<Object>

getColumnDefs

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

Specified by:
getColumnDefs in interface GlueCursorBasedRowSet<Object>
Returns:
Column Definition Array

setColumnDefs

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

Specified by:
setColumnDefs in interface GlueCursorBasedRowSet<Object>
Parameters:
columnDefs - GlueColumnDef Array


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