Package org.apache.ofbiz.datafile
Class ModelRecord
- java.lang.Object
-
- org.apache.ofbiz.datafile.ModelRecord
-
public class ModelRecord extends java.lang.Object
ModelRecord
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<ModelRecord>
childRecords
java.lang.String
description
A free form description of the Recordjava.util.List<ModelField>
fields
List of the fields that compose this recordjava.lang.String
limit
The number limit of records to go under the parent, may be one or manystatic java.lang.String
LIMIT_MANY
static java.lang.String
LIMIT_ONE
java.lang.String
name
The name of the Recordjava.lang.String
parentName
The name of the parent record for this record, if anyModelRecord
parentRecord
boolean
tcIsNum
specifies whether or not the type min and max are numbers, if so does a number compare, otherwise a String compareint
tcLength
The length of the type-code of the Record - optionaljava.lang.String
tcMax
The maximum type-code of the Record, an alternative to the single type codelong
tcMaxNum
java.lang.String
tcMin
The minimum type-code of the Record, an alternative to the single type codelong
tcMinNum
int
tcPosition
The position of the type-code of the Recordjava.lang.String
typeCode
The type-code of the Record
-
Constructor Summary
Constructors Constructor Description ModelRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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
-
-
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)
-
-