org.ofbiz.datafile
Class ModelRecord

java.lang.Object
  extended by org.ofbiz.datafile.ModelRecord

public class ModelRecord
extends java.lang.Object

ModelRecord


Field Summary
 java.util.List<ModelRecord> childRecords
           
 java.lang.String description
          A free form description of the Record
 java.util.List<ModelField> fields
          List of the fields that compose this record
 java.lang.String limit
          The number limit of records to go under the parent, may be one or many
static java.lang.String LIMIT_MANY
           
static java.lang.String LIMIT_ONE
           
 java.lang.String name
          The name of the Record
 java.lang.String parentName
          The name of the parent record for this record, if any
 ModelRecord parentRecord
           
 boolean tcIsNum
          specifies whether or not the type min and max are numbers, if so does a number compare, otherwise a String compare
 int tcLength
          The length of the type-code of the Record - optional
 java.lang.String tcMax
          The maximum type-code of the Record, an alternative to the single type code
 long tcMaxNum
           
 java.lang.String tcMin
          The minimum type-code of the Record, an alternative to the single type code
 long tcMinNum
           
 int tcPosition
          The position of the type-code of the Record
 java.lang.String typeCode
          The type-code of the Record
 
Constructor Summary
ModelRecord()
           
 
Method Summary
 java.lang.String getDescription()
           
 java.util.List<ModelField> getFields()
           
 java.lang.String getName()
           
 java.lang.String getParentName()
           
 void setDescription(java.lang.String description)
           
 void setFields(java.util.List<ModelField> fields)
           
 void setName(java.lang.String name)
           
 void setParentName(java.lang.String parentName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LIMIT_ONE

public static final java.lang.String LIMIT_ONE
See Also:
Constant Field Values

LIMIT_MANY

public static final java.lang.String LIMIT_MANY
See Also:
Constant Field Values

name

public java.lang.String name
The name of the Record


typeCode

public java.lang.String typeCode
The type-code of the Record


tcMin

public java.lang.String tcMin
The minimum type-code of the Record, an alternative to the single type code


tcMinNum

public long tcMinNum

tcMax

public java.lang.String tcMax
The maximum type-code of the Record, an alternative to the single type code


tcMaxNum

public long tcMaxNum

tcIsNum

public boolean tcIsNum
specifies whether or not the type min and max are numbers, if so does a number compare, otherwise a String compare


tcPosition

public int tcPosition
The position of the type-code of the Record


tcLength

public int tcLength
The length of the type-code of the Record - optional


description

public java.lang.String description
A free form description of the Record


parentName

public java.lang.String parentName
The name of the parent record for this record, if any


limit

public java.lang.String limit
The number limit of records to go under the parent, may be one or many


parentRecord

public ModelRecord parentRecord

childRecords

public java.util.List<ModelRecord> childRecords

fields

public java.util.List<ModelField> fields
List of the fields that compose this record

Constructor Detail

ModelRecord

public ModelRecord()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getParentName

public java.lang.String getParentName()

setParentName

public void setParentName(java.lang.String parentName)

getFields

public java.util.List<ModelField> getFields()

setFields

public void setFields(java.util.List<ModelField> fields)