Package org.ofbiz.core.entity.model
Class ModelViewEntity
java.lang.Object
org.ofbiz.core.entity.model.ModelEntity
org.ofbiz.core.entity.model.ModelViewEntity
- All Implemented Interfaces:
Comparable<ModelEntity>
This class extends ModelEntity and provides additional information appropriate to view entities
- Since:
- 2.0
- Version:
- $Revision: 1.2 $
- Author:
- David E. Jones, Peter Moon
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ModelViewEntity.ModelAlias>List of aliases with information in addition to what is in the standard field listprotected List<ModelViewEntity.ModelMemberEntity>A list of all ModelMemberEntity entries; this is mainly used to preserve the original order of member entities from the XML fileprotected List<ModelField>A List of the Field objects for the View Entity, one for each GROUP BY fieldprotected Map<String,ModelEntity> Contains member-entity ModelEntities: key is alias, value is ModelEntity; populated with fieldsprotected Map<String,ModelViewEntity.ModelMemberEntity> Contains member-entity alias name definitions: key is alias, value is ModelMemberEntitystatic final Stringprotected List<ModelViewEntity.ModelViewLink>List of view links to define how entities are connected (or "joined")Fields inherited from class org.ofbiz.core.entity.model.ModelEntity
author, copyright, dependentOn, description, doLock, entityName, fields, fieldsMap, functionBasedIndexes, indexes, modelReader, neverCache, nopks, packageName, pks, relations, STAMP_FIELD, tableName, title, version -
Constructor Summary
ConstructorsConstructorDescriptionModelViewEntity(ModelReader reader, Element entityElement, Element docElement, UtilTimer utilTimer, Hashtable<String, String> docElementValues) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMemberModelMemberEntity(ModelViewEntity.ModelMemberEntity modelMemberEntity) voidaddViewLink(ModelViewEntity.ModelViewLink viewLink) getAlias(int index) List of aliases with information in addition to what is in the standard field listintgetMemberModelEntity(String alias) getMemberModelMemberEntity(String alias) getViewLink(int index) List of view links to define how entities are connected (or "joined")intvoidpopulateFields(Map<String, ModelEntity> entityCache) voidMethods inherited from class org.ofbiz.core.entity.model.ModelEntity
addField, addFunctionBasedIndex, addIndex, addRelation, areFields, classNameString, classNameString, colNameString, colNameString, compareTo, fieldNameString, fieldNameString, fieldsStringList, fieldsStringList, fieldsStringList, fieldTypeNameString, finderQueryString, getAllFieldNames, getAuthor, getCopyright, getDependentOn, getDescription, getDoLock, getEntityName, getField, getField, getFieldNamesFromFieldVector, getFieldsCopy, getFieldsIterator, getFieldsSize, getFunctionBasedIndexesIterator, getIndex, getIndex, getIndexesIterator, getIndexesSize, getModelReader, getNeverCache, getNopk, getNoPkFieldNames, getNopksCopy, getNopksIterator, getNopksSize, getPackageName, getPk, getPkFieldNames, getPksCopy, getPksIterator, getPksSize, getPlainTableName, getRelation, getRelation, getRelationsIterator, getRelationsSize, getTableName, getTableName, getTitle, getVersion, httpArgList, httpArgListFromClass, httpArgListFromClass, httpRelationArgList, isField, lock, nameString, nameString, nonPkNullList, pkNameString, pkNameString, populateBasicInfo, populateFunctionBasedIndexes, populateIndexes, populateRelated, primKeyClassNameString, removeField, removeField, removeIndex, removeRelation, setAuthor, setCopyright, setDependentOn, setDescription, setDoLock, setEntityName, setNeverCache, setPackageName, setTableName, setTitle, setVersion, typeNameString, typeNameStringRelatedAndMain, typeNameStringRelatedNoMapped, updatePkLists
-
Field Details
-
module
-
memberModelMemberEntities
Contains member-entity alias name definitions: key is alias, value is ModelMemberEntity -
allModelMemberEntities
A list of all ModelMemberEntity entries; this is mainly used to preserve the original order of member entities from the XML file -
memberModelEntities
Contains member-entity ModelEntities: key is alias, value is ModelEntity; populated with fields -
aliases
List of aliases with information in addition to what is in the standard field list -
viewLinks
List of view links to define how entities are connected (or "joined") -
groupBys
A List of the Field objects for the View Entity, one for each GROUP BY field
-
-
Constructor Details
-
ModelViewEntity
-
-
Method Details
-
getMemberModelMemberEntities
-
getAllModelMemberEntities
-
getMemberModelMemberEntity
-
getMemberModelEntity
-
addMemberModelMemberEntity
-
removeMemberModelMemberEntity
-
getAlias
List of aliases with information in addition to what is in the standard field list -
getAliasesSize
public int getAliasesSize() -
getAliasesIterator
-
getAliasesCopy
-
getGroupBysCopy
-
getViewLink
List of view links to define how entities are connected (or "joined") -
getViewLinksSize
public int getViewLinksSize() -
getViewLinksIterator
-
getViewLinksCopy
-
addViewLink
-
populateFields
-