joinImplicitely(Join.Type[] joinTypes) This method will create join implicitely based on the mutual references
To run it all the persistentObjects have to exist.
toParameters(int[] indeces) Returns Parameters object based on values and column types of the record for columns with indeces
specified with "indeces" parameter.
Sets both delete and insert cascade flags to true
Parameters: index - index of entry
compoundCascadeDelete
public boolean compoundCascadeDelete(int index)(Code)
Returns true if cascade delete is to be performed based on entries joins
for entry specified by index parameter
Parameters: index - index of entry true if cascade delete is to be performed based on entries joinsfor entry specified by index parameter
compoundCascadeDelete
public void compoundCascadeDelete(int index, boolean compoundCascadeDelete)(Code)
Sets flag to indicate if cascade delete is to be performed based on entries joins
for entry specified by index parameter
Parameters: index - index of entry Parameters: compoundCascadeDelete - flag to indicate if cascade delete is to be performed based on entries joinsfor entry specified by index parameter
Sets true if cascade delete is to be performed based on entries joins
Parameters: compoundCascadeDelete - true if cascade delete is to be performed based on entries joins
compoundCascadeInsert
public boolean compoundCascadeInsert(int index)(Code)
Returns true if cascade insert is to be performed based on entries joins
for entry specified by index parameter
Parameters: index - index of entry true if cascade insert is to be performed based on entries joinsfor entry specified by index parameter
compoundCascadeInsert
public void compoundCascadeInsert(int index, boolean compoundCascadeInsert)(Code)
Sets flag to indicate if cascade insert is to be performed based on entries joins
for entry specified by index parameter
Parameters: index - index of entry Parameters: compoundCascadeInsert - flag to indicate if cascade insert is to be performed based on entries joinsfor entry specified by index parameter
Sets true if cascade insert is to be performed based on entries joins
Parameters: compoundCascadeInsert - true if cascade insert is to be performed based on entries joins
Returns PersistentObject - compound entry at specific index
Parameters: index - index which entry to be returned PersistentObject - compound entry throws: IndexOutOfBoundsException - if there is no entry at requested index
Equals by Basic Peristent Object fields (without children objects)
Parameters: value - the reference object with which to compare true if basic persistent object fields are equal
Equals by Coumpound Peristent Object entries (without children objects)
Parameters: value - the reference object with which to compare true if Coumpound Peristent Object entries are equal
Flattens this PersistentObject. Flattening is procedure of making
PersistentObject a simple POJO like. All the additional
structures used to keep records and links are nullified. The values are though preserved
in the object fields.
itself
public void populateCompoundEntries(int slaveIdx)(Code)
Populates all entries by join
Parameters: slaveIdx - - index of the compound entry to populate
populateCompoundEntryByJoin
public void populateCompoundEntryByJoin(int indexFrom, int indexTo)(Code)
Populate compound Entry By Join
Parameters: indexFrom - - persistentObjects index of the master object Parameters: indexTo - - persistentObjects index of the slave object
Sets DelegatePersistentObjectFactory. If set it will be used when retrieving
result sets instead of default object factory (which normally object itself)
Parameters: delegateFactory -
Returns true if this is this type of object can be the 1st object of PersistentObject[]
of compound PersistentObject.
true if this is the 1st object in PersistentObject[] of compound PersistentObject
Returns Parameters object based on values and column types of the record for columns with indeces
specified with "indeces" parameter. This method will populate parameters regardless of whether they are
"dirty" flags or nulls
Parameters: indeces - Parameters object based on values and column types of the record for columns with indecesspecified with "indeces" parameter
Unsets query hint to use star in select clauses and names of PersistentObject columns when
retrieving from ResultSet. It should be used carefully since if there are repetitive SQL
names it can cause incorrect results
Sets query hint to use star in select clauses and names of PersistentObject columns when
retrieving from ResultSet. It should be used carefully since if there are repetitive SQL
names it can cause incorrect results
Returns true query hint is set to use names of PersistentObject columns when
retrieving from ResultSet.
true query hint is set to use names of PersistentObject columns whenretrieving from ResultSet.