Package org.vast.data

Class BinaryBlockImpl

java.lang.Object
org.vast.data.AbstractSWEImpl
org.vast.data.BinaryBlockImpl
All Implemented Interfaces:
Serializable, HasCopy, AbstractSWE, BinaryBlock, BinaryMember

public class BinaryBlockImpl extends AbstractSWEImpl implements BinaryBlock, HasCopy
POJO class for XML type BlockType(@http://www.opengis.net/swe/2.0). This is a complex type.
See Also:
  • Field Details

    • compression

      protected String compression
    • encryption

      protected String encryption
    • paddingBytesAfter

      protected Integer paddingBytesAfter
    • paddingBytesBefore

      protected Integer paddingBytesBefore
    • byteLength

      protected Long byteLength
    • ref

      protected String ref
    • reader

      protected transient CompressedStreamParser reader
  • Constructor Details

    • BinaryBlockImpl

      public BinaryBlockImpl()
  • Method Details

    • copy

      public BinaryBlockImpl copy()
      Specified by:
      copy in interface HasCopy
    • getCompression

      public String getCompression()
      Gets the compression property
      Specified by:
      getCompression in interface BinaryBlock
    • isSetCompression

      public boolean isSetCompression()
      Checks if compression is set
      Specified by:
      isSetCompression in interface BinaryBlock
    • setCompression

      public void setCompression(String compression)
      Sets the compression property
      Specified by:
      setCompression in interface BinaryBlock
    • getEncryption

      public String getEncryption()
      Gets the encryption property
      Specified by:
      getEncryption in interface BinaryBlock
    • isSetEncryption

      public boolean isSetEncryption()
      Checks if encryption is set
      Specified by:
      isSetEncryption in interface BinaryBlock
    • setEncryption

      public void setEncryption(String encryption)
      Sets the encryption property
      Specified by:
      setEncryption in interface BinaryBlock
    • getPaddingBytesAfter

      public int getPaddingBytesAfter()
      Gets the paddingBytesAfter property
      Specified by:
      getPaddingBytesAfter in interface BinaryBlock
    • isSetPaddingBytesAfter

      public boolean isSetPaddingBytesAfter()
      Checks if paddingBytesAfter is set
      Specified by:
      isSetPaddingBytesAfter in interface BinaryBlock
    • setPaddingBytesAfter

      public void setPaddingBytesAfter(int paddingBytesAfter)
      Sets the paddingBytesAfter property
      Specified by:
      setPaddingBytesAfter in interface BinaryBlock
    • unSetPaddingBytesAfter

      public void unSetPaddingBytesAfter()
      Unsets the paddingBytesAfter property
      Specified by:
      unSetPaddingBytesAfter in interface BinaryBlock
    • getPaddingBytesBefore

      public int getPaddingBytesBefore()
      Gets the paddingBytesBefore property
      Specified by:
      getPaddingBytesBefore in interface BinaryBlock
    • isSetPaddingBytesBefore

      public boolean isSetPaddingBytesBefore()
      Checks if paddingBytesBefore is set
      Specified by:
      isSetPaddingBytesBefore in interface BinaryBlock
    • setPaddingBytesBefore

      public void setPaddingBytesBefore(int paddingBytesBefore)
      Sets the paddingBytesBefore property
      Specified by:
      setPaddingBytesBefore in interface BinaryBlock
    • unSetPaddingBytesBefore

      public void unSetPaddingBytesBefore()
      Unsets the paddingBytesBefore property
      Specified by:
      unSetPaddingBytesBefore in interface BinaryBlock
    • getByteLength

      public long getByteLength()
      Gets the byteLength property
      Specified by:
      getByteLength in interface BinaryBlock
    • isSetByteLength

      public boolean isSetByteLength()
      Checks if byteLength is set
      Specified by:
      isSetByteLength in interface BinaryBlock
    • setByteLength

      public void setByteLength(long byteLength)
      Sets the byteLength property
      Specified by:
      setByteLength in interface BinaryBlock
    • unSetByteLength

      public void unSetByteLength()
      Unsets the byteLength property
      Specified by:
      unSetByteLength in interface BinaryBlock
    • getRef

      public String getRef()
      Gets the ref property
      Specified by:
      getRef in interface BinaryMember
    • setRef

      public void setRef(String ref)
      Sets the ref property
      Specified by:
      setRef in interface BinaryMember
    • getBlockReader

      public CompressedStreamParser getBlockReader()
      Gets the reader to use to decode the data for this block
      Returns:
      reader instance
    • setBlockReader

      public void setBlockReader(CompressedStreamParser reader)
      Sets the reader to use for decoding this block
      Parameters:
      reader -
    • toString

      public String toString()
      Overrides:
      toString in class Object