Class ImpexForType

  • All Implemented Interfaces:
    java.io.Serializable

    public class ImpexForType
    extends java.lang.Object
    implements java.io.Serializable
    Represents impex for given type code. The object consists of type code and table with impex headers and data rows.
    See Also:
    Serialized Form
    • Constructor Detail

      • ImpexForType

        public ImpexForType​(java.lang.String typeCode)
    • Method Detail

      • putValue

        public void putValue​(java.lang.Integer rowNumber,
                             ImpexHeaderValue key,
                             java.lang.Object value)
        Puts value to impex table. A key for row is equals to row index. A key for column is equals to ImpexHeaderValue. If value is null then empty string is put to the table.
        Parameters:
        rowNumber - of impex table where value should be put.
        key - ImpexHeaderValue column key where value should be put.
        value - Object value which should be put into table. If value is null then empty string is put.
      • getRow

        public ImpexRow getRow​(java.lang.Integer rowIndex)
        Finds impex row by rowIndex
        Parameters:
        rowIndex -
        Returns:
        ImpexRow
      • getTypeCode

        public java.lang.String getTypeCode()
        Returns:
        type code for the Impex.
      • setTypeCode

        public void setTypeCode​(java.lang.String typeCode)
        Sets type code for the Impex
        Parameters:
        typeCode -
      • getOrder

        public int getOrder()
        Indicates order of impex processing.
        Returns:
        order
      • setOrder

        public void setOrder​(int order)
        Sets order of impex processing.
        Parameters:
        order -
      • getImpexTable

        public com.google.common.collect.Table<java.lang.Integer,​ImpexHeaderValue,​java.lang.Object> getImpexTable()
        Returns:
        table represents impex structure.