org.ofbiz.datafile
Class ModelField

java.lang.Object
  extended by org.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
 java.lang.Object defaultValue
          Default value for the Field
 java.lang.String description
          Free form description of the Field
 boolean expression
          boolean which specifies whether or not the Field is taken from the input file
 java.lang.String format
          The format of the Field
 boolean ignored
          boolean which specifies whether or not the Field is ignored
 boolean isPk
          boolean which specifies whether or not the Field is a Primary Key
 int length
          The length of the Field in bytes, if applicable (mostly for fixed-length)
 java.lang.String name
          The name of the Field
 int position
          The position of the field in the record - byte number for fixed-length, or field number for delimited
 java.lang.String refField
          Referenced field
 java.lang.String type
          The type of the Field
 java.lang.String validExp
          The valid-exp of the Field
 
Constructor Summary
ModelField()
           
 
Method Summary
 java.lang.String getName()
           
 void setName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

Constructor Detail

ModelField

public ModelField()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)