Package org.ofbiz.core.entity.model
Class ModelFieldTypeReader
java.lang.Object
org.ofbiz.core.entity.model.ModelFieldTypeReader
Generic Entity - Field Type Definition Reader
- Since:
- 2.0
- Version:
- $Revision: 1.2 $
- Author:
- David E. Jones
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringintintintstatic UtilCache<String,ModelFieldTypeReader> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a Collection with all of the ModelFieldType namesCreates a Collection with all of the ModelFieldTypesgetModelFieldType(String fieldTypeName) Gets an FieldType object based on a definition from the specified XML FieldType descriptor file.static ModelFieldTypeReadergetModelFieldTypeReader(String helperName)
-
Field Details
-
module
-
readers
-
fieldTypeCache
-
numEntities
public int numEntities -
numFields
public int numFields -
numRelations
public int numRelations -
modelName
-
fieldTypeResourceHandler
-
entityFileName
-
-
Constructor Details
-
ModelFieldTypeReader
-
-
Method Details
-
getModelFieldTypeReader
-
getFieldTypeCache
-
getFieldTypeNames
Creates a Collection with all of the ModelFieldType names- Returns:
- A Collection of ModelFieldType names
-
getFieldTypes
Creates a Collection with all of the ModelFieldTypes- Returns:
- A Collection of ModelFieldTypes
-
getModelFieldType
Gets an FieldType object based on a definition from the specified XML FieldType descriptor file.- Parameters:
fieldTypeName- The fieldTypeName of the FieldType definition to use.- Returns:
- An FieldType object describing the specified fieldType of the specified descriptor file.
-