Class ModelRecord

java.lang.Object
org.apache.ofbiz.datafile.ModelRecord

public class ModelRecord extends Object
ModelRecord
  • Constructor Details

    • ModelRecord

      public ModelRecord()
  • Method Details

    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets name.
      Parameters:
      name - the name
    • getDescription

      public String getDescription()
      Gets description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets description.
      Parameters:
      description - the description
    • getParentName

      public String getParentName()
      Gets parent name.
      Returns:
      the parent name
    • setParentName

      public void setParentName(String parentName)
      Sets parent name.
      Parameters:
      parentName - the parent name
    • getFields

      public List<ModelField> getFields()
      Gets fields.
      Returns:
      the fields
    • setFields

      public void setFields(List<ModelField> fields)
      Sets fields.
      Parameters:
      fields - the fields
    • getTypeCode

      public String getTypeCode()
      Gets type code.
      Returns:
      the type code
    • getTcPosition

      public int getTcPosition()
      Gets tc position.
      Returns:
      the tc position
    • setTypeCode

      public void setTypeCode(String typeCode)
      Sets type code.
      Parameters:
      typeCode - the type code
    • setTcMin

      public void setTcMin(String tcMin)
      Sets tc min.
      Parameters:
      tcMin - the tc min
    • setTcMax

      public void setTcMax(String tcMax)
      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

      public String getTcMin()
      Gets tc min.
      Returns:
      the tc min
    • getTcMax

      public String 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

      public void setLimit(String limit)
      Sets limit.
      Parameters:
      limit - the limit
    • getParentRecord

      public ModelRecord getParentRecord()
      Gets parent record.
      Returns:
      the parent record
    • getChildRecords

      public List<ModelRecord> getChildRecords()
      Gets child records.
      Returns:
      the child records
    • setParentRecord

      public void setParentRecord(ModelRecord parentRecord)
      Sets parent record.
      Parameters:
      parentRecord - the parent record