| java.lang.Object com.completex.objective.components.persistency.ParentBase com.completex.objective.components.persistency.Link com.completex.objective.components.persistency.ChainedLink
ChainedLink | public class ChainedLink extends Link (Code) | | Represents link by foreign key. Actual database foreign key is not required.
Normally it will link parent object to child based on column indeces
author: Gennady Krizhevsky |
Constructor Summary | |
public | ChainedLink(Query query, int[] parentIndeces, int thisIndeces, String name) Parameters: query - Query object with empty where clause. | protected | ChainedLink(Query query, int[] parentIndeces, int thisIndeces, String name, int compoundIndex) | public | ChainedLink(Link source) |
Method Summary | |
protected void | chain(Query query, int[] thisIndeces) | protected void | chain(Query query, int[] thisIndeces, int compoundIndex) |
ChainedLink | public ChainedLink(Query query, int[] parentIndeces, int thisIndeces, String name)(Code) | | Parameters: query - Query object with empty where clause. After ChainedLink is instantiated you can add extras to where clause. Parameters: parentIndeces - parent indeces which values are mapped to corresponding "this indeces" Parameters: thisIndeces - "this indeces" indeces of this link query's SingularResultFactory Parameters: name - link name - mandatory for PersistentObject trees throws: OdalRuntimePersistencyException - if following condition is not satisfied:query != null && isEmpty(query.getWhere()) && query.getSingularResultFactory() != null |
ChainedLink | protected ChainedLink(Query query, int[] parentIndeces, int thisIndeces, String name, int compoundIndex)(Code) | | |
chain | protected void chain(Query query, int[] thisIndeces)(Code) | | |
chain | protected void chain(Query query, int[] thisIndeces, int compoundIndex)(Code) | | |
Fields inherited from com.completex.objective.components.persistency.ParentBase | final public static String ROOT(Code)(Java Doc)
|
|
|