Class Blockette1000

java.lang.Object
All Implemented Interfaces:
RecordLengthBlockette, java.io.Serializable

public class Blockette1000
extends DataBlockette
implements RecordLengthBlockette
See Also:
Serialized Form
  • Field Details

  • Constructor Details

  • Method Details

    • getSize

      public int getSize()
      Specified by:
      getSize in class Blockette
    • getType

      public int getType()
      Specified by:
      getType in class Blockette
    • getName

      public java.lang.String getName()
      Specified by:
      getName in class Blockette
    • getEncodingFormat

      public byte getEncodingFormat()
      Get the value of encodingFormat.
      Returns:
      Value of encodingFormat.
    • setEncodingFormat

      public void setEncodingFormat​(byte v)
      Set the value of encodingFormat.
      Parameters:
      v - Value to assign to encodingFormat.
    • getWordOrder

      public byte getWordOrder()
      Get the value of wordOrder.
      Returns:
      Value of wordOrder.
    • setWordOrder

      public void setWordOrder​(byte v)
      Set the value of wordOrder.
      Parameters:
      v - Value to assign to wordOrder.
    • isBigEndian

      public boolean isBigEndian()
    • isLittleEndian

      public boolean isLittleEndian()
    • getLogicalRecordLengthByte

      public int getLogicalRecordLengthByte()
      Specified by:
      getLogicalRecordLengthByte in interface RecordLengthBlockette
    • getLogicalRecordLength

      public int getLogicalRecordLength()
      Specified by:
      getLogicalRecordLength in interface RecordLengthBlockette
    • getDataRecordLengthByte

      public byte getDataRecordLengthByte()
      Get the value of dataRecordLengthByte.
      Returns:
      Value of dataRecordLengthByte.
    • getDataRecordLength

      public int getDataRecordLength()
      Get the value of dataRecordLengthByte.
      Returns:
      Value of dataRecordLengthByte.
    • setDataRecordLength

      public void setDataRecordLength​(byte v)
      Set the value of dataRecordLength.
      Parameters:
      v - Value to assign to dataRecordLength.
    • getReserved

      public byte getReserved()
      Get the value of reserved.
      Returns:
      Value of reserved.
    • setReserved

      public void setReserved​(byte v)
      Set the value of reserved.
      Parameters:
      v - Value to assign to reserved.
    • writeASCII

      public void writeASCII​(java.io.PrintWriter out)
      Description copied from class: Blockette
      Writes an ASCII version of the blockette. This is not meant to be a definitive ascii representation, merely to give something to print for debugging purposes. Ideally each field of each blockette should be printed in the order they appear in the blockette in a visually appealing way.
      Specified by:
      writeASCII in class Blockette
      Parameters:
      out - a Writer
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class Blockette