Class ModelFieldTypeReader

java.lang.Object
org.ofbiz.core.entity.model.ModelFieldTypeReader

public class ModelFieldTypeReader extends Object
Generic Entity - Field Type Definition Reader
Since:
2.0
Version:
$Revision: 1.2 $
Author:
David E. Jones
  • Field Details

  • Constructor Details

    • ModelFieldTypeReader

      public ModelFieldTypeReader(String modelName)
  • Method Details

    • getModelFieldTypeReader

      public static ModelFieldTypeReader getModelFieldTypeReader(String helperName)
    • getFieldTypeCache

      public Map<String,ModelFieldType> getFieldTypeCache()
    • getFieldTypeNames

      public Collection<String> getFieldTypeNames()
      Creates a Collection with all of the ModelFieldType names
      Returns:
      A Collection of ModelFieldType names
    • getFieldTypes

      public Collection<ModelFieldType> getFieldTypes()
      Creates a Collection with all of the ModelFieldTypes
      Returns:
      A Collection of ModelFieldTypes
    • getModelFieldType

      public ModelFieldType getModelFieldType(String fieldTypeName)
      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.