Package org.apache.ofbiz.datafile
Class ModelField
- java.lang.Object
-
- org.apache.ofbiz.datafile.ModelField
-
- All Implemented Interfaces:
java.io.Serializable
public class ModelField extends java.lang.Object implements java.io.Serializable
ModelField- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Object
defaultValue
Default value for the Fieldjava.lang.String
description
Free form description of the Fieldboolean
expression
boolean which specifies whether or not the Field is taken from the input filejava.lang.String
format
The format of the Fieldboolean
ignored
boolean which specifies whether or not the Field is ignoredboolean
isPk
boolean which specifies whether or not the Field is a Primary Keyint
length
The length of the Field in bytes, if applicable (mostly for fixed-length)java.lang.String
name
The name of the Fieldint
position
The position of the field in the record - byte number for fixed-length, or field number for delimitedjava.lang.String
refField
Referenced fieldjava.lang.String
type
The type of the Fieldjava.lang.String
validExp
The valid-exp of the Field
-
Constructor Summary
Constructors Constructor Description ModelField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
void
setName(java.lang.String name)
-
-
-
Field Detail
-
name
public java.lang.String name
The name of the Field
-
position
public int position
The position of the field in the record - byte number for fixed-length, or field number for delimited
-
length
public int length
The length of the Field in bytes, if applicable (mostly for fixed-length)
-
type
public java.lang.String type
The type of the Field
-
format
public java.lang.String format
The format of the Field
-
validExp
public java.lang.String validExp
The valid-exp of the Field
-
description
public java.lang.String description
Free form description of the Field
-
defaultValue
public java.lang.Object defaultValue
Default value for the Field
-
isPk
public boolean isPk
boolean which specifies whether or not the Field is a Primary Key
-
ignored
public boolean ignored
boolean which specifies whether or not the Field is ignored
-
expression
public boolean expression
boolean which specifies whether or not the Field is taken from the input file
-
refField
public java.lang.String refField
Referenced field
-
-