Package org.ofbiz.core.entity.model
Class ModelGroupReader
java.lang.Object
org.ofbiz.core.entity.model.ModelGroupReader
Generic Entity - Entity Group Definition Reader
- Since:
- 2.0
- Version:
- $Revision: 1.1 $
- Author:
- David E. Jones
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEntityGroupName(String entityName) Gets a group name based on a definition from the specified XML Entity Group descriptor file.getEntityNamesByGroup(String groupName) Creates a Collection with names of all of the entities for a given groupCreates a Collection with all of the groupNames defined in the specified XML Entity Group Descriptor file.static ModelGroupReadergetModelGroupReader(String delegatorName)
-
Field Details
-
readers
-
modelName
-
entityGroupResourceHandler
-
-
Constructor Details
-
ModelGroupReader
- Throws:
GenericEntityConfException
-
-
Method Details
-
getModelGroupReader
public static ModelGroupReader getModelGroupReader(String delegatorName) throws GenericEntityConfException - Throws:
GenericEntityConfException
-
getGroupCache
-
getEntityGroupName
Gets a group name based on a definition from the specified XML Entity Group descriptor file.- Parameters:
entityName- The entityName of the Entity Group definition to use.- Returns:
- A group name
-
getGroupNames
Creates a Collection with all of the groupNames defined in the specified XML Entity Group Descriptor file.- Returns:
- A Collection of groupNames Strings
-
getEntityNamesByGroup
Creates a Collection with names of all of the entities for a given group- Returns:
- A Collection of entityName Strings
-