| java.lang.Object org.ofbiz.entity.model.ModelChild org.ofbiz.entity.model.ModelRelation
ModelRelation | public class ModelRelation extends ModelChild (Code) | | Generic Entity - Relation model class
|
fkName | protected String fkName(Code) | | the name to use for a database foreign key, if applies
|
isAutoRelation | protected boolean isAutoRelation(Code) | | |
keyMaps | protected List keyMaps(Code) | | keyMaps defining how to lookup the relatedTable using columns from this table
|
relEntityName | protected String relEntityName(Code) | | the name of the related entity
|
title | protected String title(Code) | | the title, gives a name/description to the relation
|
type | protected String type(Code) | | the type: either "one" or "many" or "one-nofk"
|
ModelRelation | public ModelRelation()(Code) | | Default Constructor
|
findKeyMapByRelated | public ModelKeyMap findKeyMapByRelated(String relFieldName)(Code) | | Find a KeyMap with the specified relFieldName
|
getKeyMapsIterator | public Iterator getKeyMapsIterator()(Code) | | keyMaps defining how to lookup the relatedTable using columns from this table
|
getKeyMapsSize | public int getKeyMapsSize()(Code) | | |
getRelEntityName | public String getRelEntityName()(Code) | | the name of the related entity
|
getTitle | public String getTitle()(Code) | | the title, gives a name/description to the relation
|
getType | public String getType()(Code) | | the type: either "one" or "many" or "one-nofk"
|
isAutoRelation | public boolean isAutoRelation()(Code) | | Returns the isAutoRelation. |
setAutoRelation | public void setAutoRelation(boolean isAutoRelation)(Code) | | Parameters: isAutoRelation - The isAutoRelation to set. |
setRelEntityName | public void setRelEntityName(String relEntityName)(Code) | | |
|
|