| java.lang.Object org.ofbiz.entity.model.ModelEntity
All known Subclasses: org.ofbiz.entity.model.ModelViewEntity,
Method Summary | |
public void | addField(ModelField field) | public void | addIndex(ModelIndex index) | public void | addRelation(ModelRelation relation) | public boolean | areFields(Collection fieldNames) | public String | classNameString(List flds) | public String | classNameString(List flds, String separator, String afterLast) | public String | colNameString(List flds) | public String | colNameString(List flds, String separator, String afterLast, boolean alias) | public int | compareTo(Object obj) | protected synchronized void | createFieldsMap() | public String | fieldNameString() | public String | fieldNameString(String separator, String afterLast) | public String | fieldTypeNameString() | public String | fieldsStringList(List flds, String eachString, String separator) | public String | fieldsStringList(List flds, String eachString, String separator, boolean appendIndex) | public String | fieldsStringList(List flds, String eachString, String separator, boolean appendIndex, boolean onlyNonPK) | public String | finderQueryString(List flds) | public List | getAllFieldNames() | public String | getAuthor() | public String | getColNameOrAlias(String fieldName) | public String | getCopyright() | public String | getDefaultResourceName() | public String | getDependentOn() | public String | getDescription() | public boolean | getDoLock() | public String | getEntityName() | public ModelField | getField(int index) | public ModelField | getField(String fieldName) | public List | getFieldNamesFromFieldVector(List modelFields) | public List | getFieldsCopy() | public Iterator | getFieldsIterator() | public int | getFieldsSize() | public ModelIndex | getIndex(int index) | public ModelIndex | getIndex(String indexName) | public Iterator | getIndexesIterator() | public int | getIndexesSize() | public ModelReader | getModelReader() | public boolean | getNeverCache() An indicator to specify if this entity is never cached. | public boolean | getNoAutoStamp() | public List | getNoPkFieldNames() | public ModelField | getNopk(int index) | public List | getNopksCopy() | public Iterator | getNopksIterator() | public int | getNopksSize() | public String | getPackageName() | public ModelField | getPk(int index) | public List | getPkFieldNames() | public List | getPksCopy() | public Iterator | getPksIterator() | public int | getPksSize() | public String | getPlainTableName() | public ModelRelation | getRelation(int index) | public ModelRelation | getRelation(String relationName) | public Iterator | getRelationsIterator() | public int | getRelationsSize() | public String | getTableName(String helperName) | public String | getTableName(EntityConfigUtil.DatasourceInfo datasourceInfo) | public String | getTitle() | public String | getVersion() | public String | httpArgList(List flds) | public String | httpArgListFromClass(List flds) | public String | httpArgListFromClass(List flds, String entityNameSuffix) | public String | httpRelationArgList(List flds, ModelRelation relation) | public boolean | isField(String fieldName) | public boolean | lock() | public String | nameString(List flds) | public String | nameString(List flds, String separator, String afterLast) | public String | nonPkNullList() | public String | pkNameString() | public String | pkNameString(String separator, String afterLast) | protected void | populateBasicInfo(Element entityElement, Element docElement, Hashtable docElementValues) | protected void | populateIndexes(Element entityElement) | protected void | populateRelated(ModelReader reader, Element entityElement) | public String | primKeyClassNameString() | public ModelField | removeField(int index) | public ModelField | removeField(String fieldName) | public ModelIndex | removeIndex(int index) | public ModelRelation | removeRelation(int index) | public void | setAuthor(String author) | public void | setCopyright(String copyright) | public void | setDefaultResourceName(String defaultResourceName) | public void | setDependentOn(String dependentOn) | public void | setDescription(String description) | public void | setDoLock(boolean doLock) | public void | setEntityName(String entityName) | public void | setNeverCache(boolean neverCache) | public void | setNoAutoStamp(boolean noAutoStamp) | public void | setPackageName(String packageName) | public void | setTableName(String tableName) | public void | setTitle(String title) | public void | setVersion(String version) | public String | typeNameString(List flds) | public String | typeNameStringRelatedAndMain(List flds, ModelRelation relation) | public String | typeNameStringRelatedNoMapped(List flds, ModelRelation relation) | public void | updatePkLists() |
CREATE_STAMP_FIELD | final public static String CREATE_STAMP_FIELD(Code) | | |
CREATE_STAMP_TX_FIELD | final public static String CREATE_STAMP_TX_FIELD(Code) | | |
STAMP_FIELD | final public static String STAMP_FIELD(Code) | | The name of the time stamp field for locking/syncronization
|
STAMP_TX_FIELD | final public static String STAMP_TX_FIELD(Code) | | |
author | protected String author(Code) | | The author for documentation purposes
|
copyright | protected String copyright(Code) | | The copyright for documentation purposes
|
defaultResourceName | protected String defaultResourceName(Code) | | The default-resource-name of the Entity, used with the getResource call to check for a value in a resource bundle
|
dependentOn | protected String dependentOn(Code) | | The entity-name of the Entity that this Entity is dependent on, if empty then no dependency
|
description | protected String description(Code) | | The description for documentation purposes
|
doLock | protected boolean doLock(Code) | | An indicator to specify if this entity requires locking for updates
|
entityName | protected String entityName(Code) | | The entity-name of the Entity
|
fields | protected List fields(Code) | | A List of the Field objects for the Entity
|
indexes | protected List indexes(Code) | | indexes on fields/columns in this entity
|
modelReader | protected ModelReader modelReader(Code) | | The ModelReader that created this Entity
|
neverCache | protected boolean neverCache(Code) | | An indicator to specify if this entity is never cached.
If true causes the delegator to not clear caches on write and to not get
from cache on read showing a warning messages to that effect
|
noAutoStamp | protected boolean noAutoStamp(Code) | | Can be used to disable automatically creating update stamp fields and populating them on inserts and updates
|
nopks | protected List nopks(Code) | | A List of the Field objects for the Entity, one for each NON Primary Key
|
packageName | protected String packageName(Code) | | The package-name of the Entity
|
pks | protected List pks(Code) | | A List of the Field objects for the Entity, one for each Primary Key
|
relations | protected List relations(Code) | | relations defining relationships between this entity and other entities
|
tableName | protected String tableName(Code) | | The table-name of the Entity
|
title | protected String title(Code) | | The title for documentation purposes
|
version | protected String version(Code) | | The version for documentation purposes
|
ModelEntity | public ModelEntity()(Code) | | Default Constructor
|
createFieldsMap | protected synchronized void createFieldsMap()(Code) | | |
fieldTypeNameString | public String fieldTypeNameString()(Code) | | |
fieldsStringList | public String fieldsStringList(List flds, String eachString, String separator, boolean appendIndex, boolean onlyNonPK)(Code) | | |
getAllFieldNames | public List getAllFieldNames()(Code) | | |
getAuthor | public String getAuthor()(Code) | | The author for documentation purposes
|
getColNameOrAlias | public String getColNameOrAlias(String fieldName)(Code) | | The col-name of the Field, the alias of the field if this is on a view-entity
|
getCopyright | public String getCopyright()(Code) | | The copyright for documentation purposes
|
getDefaultResourceName | public String getDefaultResourceName()(Code) | | The default-resource-name of the Entity
|
getDependentOn | public String getDependentOn()(Code) | | The entity-name of the Entity that this Entity is dependent on, if empty then no dependency
|
getDescription | public String getDescription()(Code) | | The description for documentation purposes
|
getDoLock | public boolean getDoLock()(Code) | | An indicator to specify if this entity requires locking for updates
|
getEntityName | public String getEntityName()(Code) | | The entity-name of the Entity
|
getFieldNamesFromFieldVector | public List getFieldNamesFromFieldVector(List modelFields)(Code) | | |
getFieldsSize | public int getFieldsSize()(Code) | | |
getIndexesSize | public int getIndexesSize()(Code) | | |
getNeverCache | public boolean getNeverCache()(Code) | | An indicator to specify if this entity is never cached.
If true causes the delegator to not clear caches on write and to not get
from cache on read showing a warning messages to that effect
|
getNoAutoStamp | public boolean getNoAutoStamp()(Code) | | Returns the noAutoStamp. |
getNoPkFieldNames | public List getNoPkFieldNames()(Code) | | |
getNopksSize | public int getNopksSize()(Code) | | |
getPackageName | public String getPackageName()(Code) | | The package-name of the Entity
|
getPkFieldNames | public List getPkFieldNames()(Code) | | |
getPksSize | public int getPksSize()(Code) | | |
getPlainTableName | public String getPlainTableName()(Code) | | The plain table-name of the Entity without a schema name prefix
|
getRelationsSize | public int getRelationsSize()(Code) | | |
getTableName | public String getTableName(String helperName)(Code) | | The table-name of the Entity including a Schema name if specified in the datasource config
|
getTitle | public String getTitle()(Code) | | The title for documentation purposes
|
getVersion | public String getVersion()(Code) | | The version for documentation purposes
|
lock | public boolean lock()(Code) | | |
populateIndexes | protected void populateIndexes(Element entityElement)(Code) | | |
primKeyClassNameString | public String primKeyClassNameString()(Code) | | |
setCopyright | public void setCopyright(String copyright)(Code) | | |
setDefaultResourceName | public void setDefaultResourceName(String defaultResourceName)(Code) | | |
setDependentOn | public void setDependentOn(String dependentOn)(Code) | | |
setDescription | public void setDescription(String description)(Code) | | |
setDoLock | public void setDoLock(boolean doLock)(Code) | | |
setEntityName | public void setEntityName(String entityName)(Code) | | |
setNeverCache | public void setNeverCache(boolean neverCache)(Code) | | |
setNoAutoStamp | public void setNoAutoStamp(boolean noAutoStamp)(Code) | | Parameters: noAutoStamp - The noAutoStamp to set. |
setPackageName | public void setPackageName(String packageName)(Code) | | |
setTableName | public void setTableName(String tableName)(Code) | | |
updatePkLists | public void updatePkLists()(Code) | | |
|
|