| java.lang.Object org.ofbiz.entity.model.ModelIndex
ModelIndex | public class ModelIndex (Code) | | Generic Entity - Relation model class
author: David E. Jones version: $Revision: 1.2 $ since: 2.0 |
fieldNames | protected List fieldNames(Code) | | list of the field names included in this index
|
mainEntity | protected ModelEntity mainEntity(Code) | | reference to the entity this index refers to
|
name | protected String name(Code) | | the index name, used for the database index name
|
unique | protected boolean unique(Code) | | specifies whether or not this index should include the unique constraint
|
ModelIndex | public ModelIndex()(Code) | | Default Constructor
|
addIndexField | public void addIndexField(String fieldName)(Code) | | |
getIndexFieldsSize | public int getIndexFieldsSize()(Code) | | |
getMainEntity | public ModelEntity getMainEntity()(Code) | | the main entity of this relation
|
getName | public String getName()(Code) | | the index name, used for the database index name
|
getUnique | public boolean getUnique()(Code) | | specifies whether or not this index should include the unique constraint
|
removeIndexField | public String removeIndexField(int index)(Code) | | |
setUnique | public void setUnique(boolean unique)(Code) | | |
|
|