public class BinaryEncodingImpl extends AbstractEncodingImpl implements BinaryEncoding
Modifier and Type | Field and Description |
---|---|
protected ByteEncoding |
byteEncoding |
protected Long |
byteLength |
protected ByteOrder |
byteOrder |
protected List<BinaryMember> |
memberList |
extensionList, id
Constructor and Description |
---|
BinaryEncodingImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addMemberAsBlock(BinaryBlock member)
Adds a new memberAsBlock property
|
void |
addMemberAsComponent(BinaryComponent member)
Adds a new memberAsComponent property
|
BinaryEncodingImpl |
copy() |
ByteEncoding |
getByteEncoding()
Gets the byteEncoding property
|
long |
getByteLength()
Gets the byteLength property
|
ByteOrder |
getByteOrder()
Gets the byteOrder property
|
List<BinaryMember> |
getMemberList()
Gets the list of member properties
|
int |
getNumMembers()
Returns number of member properties
|
boolean |
isSetByteLength()
Checks if byteLength is set
|
void |
setByteEncoding(ByteEncoding byteEncoding)
Sets the byteEncoding property
|
void |
setByteLength(long byteLength)
Sets the byteLength property
|
void |
setByteOrder(ByteOrder byteOrder)
Sets the byteOrder property
|
String |
toString() |
void |
unSetByteLength()
Unsets the byteLength 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 List<BinaryMember> memberList
protected ByteOrder byteOrder
protected ByteEncoding byteEncoding
protected Long byteLength
public BinaryEncodingImpl copy()
copy
in interface HasCopy
copy
in interface DataEncoding
copy
in class AbstractEncodingImpl
public List<BinaryMember> getMemberList()
getMemberList
in interface BinaryEncoding
public int getNumMembers()
getNumMembers
in interface BinaryEncoding
public void addMemberAsComponent(BinaryComponent member)
addMemberAsComponent
in interface BinaryEncoding
public void addMemberAsBlock(BinaryBlock member)
addMemberAsBlock
in interface BinaryEncoding
public ByteOrder getByteOrder()
getByteOrder
in interface BinaryEncoding
public void setByteOrder(ByteOrder byteOrder)
setByteOrder
in interface BinaryEncoding
public ByteEncoding getByteEncoding()
getByteEncoding
in interface BinaryEncoding
public void setByteEncoding(ByteEncoding byteEncoding)
setByteEncoding
in interface BinaryEncoding
public long getByteLength()
getByteLength
in interface BinaryEncoding
public boolean isSetByteLength()
isSetByteLength
in interface BinaryEncoding
public void setByteLength(long byteLength)
setByteLength
in interface BinaryEncoding
public void unSetByteLength()
unSetByteLength
in interface BinaryEncoding
Copyright © 2016 Sensia Software LLC. All rights reserved.