Class 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 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

      Constructors 
      Constructor Description
      ModelRecord()  
    • Field Detail

      • 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
      • 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)