Class ModelDataFile


  • public class ModelDataFile
    extends java.lang.Object
    ModelDataFile
    • Field Detail

      • SEP_FIXED_LENGTH

        public static final java.lang.String SEP_FIXED_LENGTH
        See Also:
        Constant Field Values
      • SEP_FIXED_RECORD

        public static final java.lang.String SEP_FIXED_RECORD
        See Also:
        Constant Field Values
      • name

        public java.lang.String name
        The name of the File
      • typeCode

        public java.lang.String typeCode
        The type code of the File, ususally contained somewhere in the file and can be used to identify it
      • sender

        public java.lang.String sender
        The entity that generally sends the file
      • receiver

        public java.lang.String receiver
        The entity that generally receives the file
      • recordLength

        public int recordLength
        The length in bytes of a single record, ONLY if it uses fixed length records
      • startLine

        public int startLine
        Start the file read at line
      • delimiter

        public char delimiter
        The delimiter used in the file, if delimiter separated fields are used
      • textDelimiter

        public java.lang.String textDelimiter
        The text delimiter, like quots, used in the file, if delimiter separated fields are used
      • separatorStyle

        public java.lang.String separatorStyle
        The field serparator style, either fixed-length, or delimited
      • description

        public java.lang.String description
        A free form description of the file
      • records

        public java.util.List<ModelRecord> records
        List of record definitions for the file
    • Constructor Detail

      • ModelDataFile

        public ModelDataFile()
    • Method Detail

      • getModelRecord

        public ModelRecord getModelRecord​(java.lang.String recordName)
      • getName

        public java.lang.String getName()
      • setName

        public void setName​(java.lang.String name)
      • getTypeCode

        public java.lang.String getTypeCode()
      • setTypeCode

        public void setTypeCode​(java.lang.String typeCode)
      • getSender

        public java.lang.String getSender()
      • setSender

        public void setSender​(java.lang.String sender)
      • getReceiver

        public java.lang.String getReceiver()
      • setReceiver

        public void setReceiver​(java.lang.String receiver)
      • getRecordLength

        public int getRecordLength()
      • setRecordLength

        public void setRecordLength​(int recordLength)
      • getDelimiter

        public char getDelimiter()
      • setDelimiter

        public void setDelimiter​(char delimiter)
      • getStartLine

        public int getStartLine()
      • setStartLine

        public void setStartLine​(int startLine)
      • getSeparatorStyle

        public java.lang.String getSeparatorStyle()
      • setSeparatorStyle

        public void setSeparatorStyle​(java.lang.String separatorStyle)
      • getDescription

        public java.lang.String getDescription()
      • setDescription

        public void setDescription​(java.lang.String description)
      • getEOLType

        public java.lang.String getEOLType()
      • setEOLType

        public void setEOLType​(java.lang.String eolType)
      • getRecords

        public java.util.List<ModelRecord> getRecords()
      • setRecords

        public void setRecords​(java.util.List<ModelRecord> records)