Package org.apache.ofbiz.datafile
Class ModelRecord
java.lang.Object
org.apache.ofbiz.datafile.ModelRecord
ModelRecord
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets child records.Gets description.Gets fields.getName()
Gets name.Gets parent name.Gets parent record.int
Gets tc length.getTcMax()
Gets tc max.long
Gets tc max num.getTcMin()
Gets tc min.long
Gets tc min num.int
Gets tc position.Gets type code.boolean
Is tc is num boolean.void
setDescription
(String description) Sets description.void
setFields
(List<ModelField> fields) Sets fields.void
Sets limit.void
Sets name.void
setParentName
(String parentName) Sets parent name.void
setParentRecord
(ModelRecord parentRecord) Sets parent record.void
setTcIsNum
(boolean tcIsNum) Sets tc is num.void
setTcLength
(int tcLength) Sets tc length.void
Sets tc max.void
setTcMaxNum
(long tcMaxNum) Sets tc max num.void
Sets tc min.void
setTcMinNum
(long tcMinNum) Sets tc min num.void
setTcPosition
(int tcPosition) Sets tc position.void
setTypeCode
(String typeCode) Sets type code.
-
Constructor Details
-
ModelRecord
public ModelRecord()
-
-
Method Details
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name
- the name
-
getDescription
Gets description.- Returns:
- the description
-
setDescription
Sets description.- Parameters:
description
- the description
-
getParentName
Gets parent name.- Returns:
- the parent name
-
setParentName
Sets parent name.- Parameters:
parentName
- the parent name
-
getFields
Gets fields.- Returns:
- the fields
-
setFields
Sets fields.- Parameters:
fields
- the fields
-
getTypeCode
Gets type code.- Returns:
- the type code
-
getTcPosition
public int getTcPosition()Gets tc position.- Returns:
- the tc position
-
setTypeCode
Sets type code.- Parameters:
typeCode
- the type code
-
setTcMin
Sets tc min.- Parameters:
tcMin
- the tc min
-
setTcMax
Sets tc max.- Parameters:
tcMax
- the tc max
-
setTcIsNum
public void setTcIsNum(boolean tcIsNum) Sets tc is num.- Parameters:
tcIsNum
- the tc is num
-
getTcMin
Gets tc min.- Returns:
- the tc min
-
getTcMax
Gets tc max.- Returns:
- the tc max
-
getTcLength
public int getTcLength()Gets tc length.- Returns:
- the tc length
-
setTcPosition
public void setTcPosition(int tcPosition) Sets tc position.- Parameters:
tcPosition
- the tc position
-
setTcMinNum
public void setTcMinNum(long tcMinNum) Sets tc min num.- Parameters:
tcMinNum
- the tc min num
-
setTcMaxNum
public void setTcMaxNum(long tcMaxNum) Sets tc max num.- Parameters:
tcMaxNum
- the tc max num
-
getTcMinNum
public long getTcMinNum()Gets tc min num.- Returns:
- the tc min num
-
getTcMaxNum
public long getTcMaxNum()Gets tc max num.- Returns:
- the tc max num
-
isTcIsNum
public boolean isTcIsNum()Is tc is num boolean.- Returns:
- the boolean
-
setTcLength
public void setTcLength(int tcLength) Sets tc length.- Parameters:
tcLength
- the tc length
-
setLimit
Sets limit.- Parameters:
limit
- the limit
-
getParentRecord
Gets parent record.- Returns:
- the parent record
-
getChildRecords
Gets child records.- Returns:
- the child records
-
setParentRecord
Sets parent record.- Parameters:
parentRecord
- the parent record
-