com.taggercat.model
Class TCPersistentList

java.lang.Object
  extended by org.hibernate.collection.AbstractPersistentCollection
      extended by org.hibernate.collection.PersistentList
          extended by com.taggercat.model.TCPersistentList
All Implemented Interfaces:
IResultSetCollection, java.io.Serializable, java.lang.Iterable, java.util.Collection, java.util.List, org.hibernate.collection.PersistentCollection

public class TCPersistentList
extends org.hibernate.collection.PersistentList
implements IResultSetCollection

See Also:
Serialized Form
 

Constructor Summary
TCPersistentList(org.hibernate.engine.SessionImplementor session, java.lang.Object owner, java.util.List<?> list, java.lang.String roleName, java.io.Serializable loadedKey, boolean isMutable)
           
 
Method Summary
 boolean add(java.lang.Object object)
           
 void delete()
           
 boolean equals(java.lang.Object other)
           
 TCEntity getCurrentEntity()
           
 int getCurrentNdx()
           
 TCEntity getEntityAt(int rowIndex)
           
 TCEntity getEntityByPKHexCode(java.lang.String pkHexCode)
          Gets the row in the collection by its PKHexCode.
 TCEntity getFirst()
           
 TCEntity getLast()
           
 TCEntity getNext()
           
 TCEntity getNextNth(int n)
           
 TCEntity getPrevious()
           
 int getRowCount()
           
 int hashCode()
           
 void insertAtCurrentNdx(TCEntity obj)
           
 boolean isAtBeginning()
           
 boolean isAtEnd()
           
 void setCurrentNdx(int currentNdx)
           
 
Methods inherited from class org.hibernate.collection.PersistentList
add, addAll, addAll, beforeInitialize, clear, contains, containsAll, disassemble, empty, entries, entryExists, equalsSnapshot, get, getDeletes, getElement, getIndex, getOrphans, getSnapshot, getSnapshotElement, indexOf, initializeFromCache, isEmpty, isSnapshotEmpty, isWrapper, iterator, lastIndexOf, listIterator, listIterator, needsInserting, needsUpdating, readFrom, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray, toString
 
Methods inherited from class org.hibernate.collection.AbstractPersistentCollection
afterInitialize, afterRowInsert, beginRead, clearDirty, dirty, endRead, forceInitialization, getIdentifier, getKey, getOwner, getQueuedOrphans, getRole, getSession, getStoredSnapshot, getValue, hasQueuedOperations, isDirectlyAccessible, isDirty, isRowUpdatePossible, isUnreferenced, needsRecreate, postAction, preInsert, queuedAdditionIterator, setCurrentSession, setOwner, setSnapshot, unsetSession, wasInitialized
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

TCPersistentList

public TCPersistentList(org.hibernate.engine.SessionImplementor session,
                        java.lang.Object owner,
                        java.util.List<?> list,
                        java.lang.String roleName,
                        java.io.Serializable loadedKey,
                        boolean isMutable)
Method Detail

getEntityByPKHexCode

public TCEntity getEntityByPKHexCode(java.lang.String pkHexCode)
Description copied from interface: IResultSetCollection
Gets the row in the collection by its PKHexCode. It is not made the current row in the resultset.

Specified by:
getEntityByPKHexCode in interface IResultSetCollection
Returns:
the TCEntity or null if not found.

getEntityAt

public TCEntity getEntityAt(int rowIndex)
Specified by:
getEntityAt in interface IResultSetCollection

getCurrentEntity

public TCEntity getCurrentEntity()
Specified by:
getCurrentEntity in interface IResultSetCollection

getLast

public TCEntity getLast()
Specified by:
getLast in interface IResultSetCollection

getFirst

public TCEntity getFirst()
Specified by:
getFirst in interface IResultSetCollection

getNext

public TCEntity getNext()
Specified by:
getNext in interface IResultSetCollection

getNextNth

public TCEntity getNextNth(int n)
Specified by:
getNextNth in interface IResultSetCollection

getPrevious

public TCEntity getPrevious()
Specified by:
getPrevious in interface IResultSetCollection

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface IResultSetCollection

isAtEnd

public boolean isAtEnd()
Specified by:
isAtEnd in interface IResultSetCollection

isAtBeginning

public boolean isAtBeginning()
Specified by:
isAtBeginning in interface IResultSetCollection

getCurrentNdx

public int getCurrentNdx()
Specified by:
getCurrentNdx in interface IResultSetCollection

delete

public void delete()
Specified by:
delete in interface IResultSetCollection

insertAtCurrentNdx

public void insertAtCurrentNdx(TCEntity obj)
Specified by:
insertAtCurrentNdx in interface IResultSetCollection

setCurrentNdx

public void setCurrentNdx(int currentNdx)
Specified by:
setCurrentNdx in interface IResultSetCollection

add

public boolean add(java.lang.Object object)
Specified by:
add in interface java.util.Collection
Specified by:
add in interface java.util.List
Overrides:
add in class org.hibernate.collection.PersistentList

equals

public boolean equals(java.lang.Object other)
Specified by:
equals in interface java.util.Collection
Specified by:
equals in interface java.util.List
Overrides:
equals in class org.hibernate.collection.PersistentList

hashCode

public int hashCode()
Specified by:
hashCode in interface java.util.Collection
Specified by:
hashCode in interface java.util.List
Overrides:
hashCode in class org.hibernate.collection.PersistentList