Package org.apache.ofbiz.entity.model
Class ModelFieldType
java.lang.Object
org.apache.ofbiz.entity.model.ModelFieldType
- All Implemented Interfaces:
Serializable
Generic Entity - FieldType model class
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe java-type of the FieldReturns the JDBC value handler for this field typeThe sql-type of the FieldThe sql-type-alias of the FieldgetType()
The type of the Fieldint
A simple function to derive the max length of a String created from the field value, based on the sql-type
-
Constructor Details
-
ModelFieldType
XML Constructor
-
-
Method Details
-
getType
The type of the Field -
getJavaType
The java-type of the Field -
getJdbcValueHandler
Returns the JDBC value handler for this field type -
getSqlType
The sql-type of the Field -
getSqlTypeAlias
The sql-type-alias of the Field -
stringLength
public int stringLength()A simple function to derive the max length of a String created from the field value, based on the sql-type- Returns:
- max length of a String representing the Field value
-