public class BinaryBlockImpl extends AbstractSWEImpl implements BinaryBlock, HasCopy
Modifier and Type | Field and Description |
---|---|
protected Long |
byteLength |
protected String |
compression |
protected String |
encryption |
protected Integer |
paddingBytesAfter |
protected Integer |
paddingBytesBefore |
protected CompressedStreamParser |
reader |
protected String |
ref |
extensionList, id
Constructor and Description |
---|
BinaryBlockImpl() |
Modifier and Type | Method and Description |
---|---|
BinaryBlockImpl |
copy() |
CompressedStreamParser |
getBlockReader()
Gets the reader to use to decode the data for this block
|
long |
getByteLength()
Gets the byteLength property
|
String |
getCompression()
Gets the compression property
|
String |
getEncryption()
Gets the encryption property
|
int |
getPaddingBytesAfter()
Gets the paddingBytesAfter property
|
int |
getPaddingBytesBefore()
Gets the paddingBytesBefore property
|
String |
getRef()
Gets the ref property
|
boolean |
isSetByteLength()
Checks if byteLength is set
|
boolean |
isSetCompression()
Checks if compression is set
|
boolean |
isSetEncryption()
Checks if encryption is set
|
boolean |
isSetPaddingBytesAfter()
Checks if paddingBytesAfter is set
|
boolean |
isSetPaddingBytesBefore()
Checks if paddingBytesBefore is set
|
void |
setBlockReader(CompressedStreamParser reader)
Sets the reader to use for decoding this block
|
void |
setByteLength(long byteLength)
Sets the byteLength property
|
void |
setCompression(String compression)
Sets the compression property
|
void |
setEncryption(String encryption)
Sets the encryption property
|
void |
setPaddingBytesAfter(int paddingBytesAfter)
Sets the paddingBytesAfter property
|
void |
setPaddingBytesBefore(int paddingBytesBefore)
Sets the paddingBytesBefore property
|
void |
setRef(String ref)
Sets the ref property
|
String |
toString() |
void |
unSetByteLength()
Unsets the byteLength property
|
void |
unSetPaddingBytesAfter()
Unsets the paddingBytesAfter property
|
void |
unSetPaddingBytesBefore()
Unsets the paddingBytesBefore property
|
addExtension, copyTo, getExtensionList, getId, getNumExtensions, isSetId, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addExtension, getExtensionList, getId, getNumExtensions, isSetId, setId
protected String compression
protected String encryption
protected Integer paddingBytesAfter
protected Integer paddingBytesBefore
protected Long byteLength
protected String ref
protected CompressedStreamParser reader
public BinaryBlockImpl copy()
public String getCompression()
getCompression
in interface BinaryBlock
public boolean isSetCompression()
isSetCompression
in interface BinaryBlock
public void setCompression(String compression)
setCompression
in interface BinaryBlock
public String getEncryption()
getEncryption
in interface BinaryBlock
public boolean isSetEncryption()
isSetEncryption
in interface BinaryBlock
public void setEncryption(String encryption)
setEncryption
in interface BinaryBlock
public int getPaddingBytesAfter()
getPaddingBytesAfter
in interface BinaryBlock
public boolean isSetPaddingBytesAfter()
isSetPaddingBytesAfter
in interface BinaryBlock
public void setPaddingBytesAfter(int paddingBytesAfter)
setPaddingBytesAfter
in interface BinaryBlock
public void unSetPaddingBytesAfter()
unSetPaddingBytesAfter
in interface BinaryBlock
public int getPaddingBytesBefore()
getPaddingBytesBefore
in interface BinaryBlock
public boolean isSetPaddingBytesBefore()
isSetPaddingBytesBefore
in interface BinaryBlock
public void setPaddingBytesBefore(int paddingBytesBefore)
setPaddingBytesBefore
in interface BinaryBlock
public void unSetPaddingBytesBefore()
unSetPaddingBytesBefore
in interface BinaryBlock
public long getByteLength()
getByteLength
in interface BinaryBlock
public boolean isSetByteLength()
isSetByteLength
in interface BinaryBlock
public void setByteLength(long byteLength)
setByteLength
in interface BinaryBlock
public void unSetByteLength()
unSetByteLength
in interface BinaryBlock
public String getRef()
getRef
in interface BinaryMember
public void setRef(String ref)
setRef
in interface BinaryMember
public CompressedStreamParser getBlockReader()
public void setBlockReader(CompressedStreamParser reader)
reader
- Copyright © 2016 Sensia Software LLC. All rights reserved.