public final class G50V4 extends G50V1
ObjectInstance.Abstract, ObjectInstance.Packed, ObjectInstance.WithFlags, ObjectInstance.WithStatus, ObjectInstance.WithTime, ObjectInstance.WithValue
TIME_BYTES
Constructor and Description |
---|
G50V4() |
Modifier and Type | Method and Description |
---|---|
void |
dumpToBuffer(ByteBuffer buffer)
Dumps itself into a buffer.
|
long |
getCount()
Gets the count.
|
int |
getObjectLength()
Gets the object length in bytes.
|
ObjectVariation |
getObjectVariation()
Gets the object variation.
|
Optional<IntervalUnit> |
getUnit()
Gets the unit.
|
void |
loadFromBuffer(ByteBuffer buffer)
Loads values from a buffer.
|
void |
setCount(long count)
Sets the count.
|
void |
setUnit(IntervalUnit unit)
Sets the unit.
|
byteCount, getBits, getGroupCategory, getGroupCode, getGroupName, getGroupTitle, getObjectGroup, getObjectIndex, getPointType, getTimeFromBuffer, getValueCount, getVariationCode, getVariationName, getVariationTitle, putBits, putTimeToBuffer, setObjectIndex, setUp, setValueCount, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGroupCategory, getGroupCode, getGroupName, getGroupTitle, getObjectGroup, getObjectIndex, getPointType, getValueCount, getVariationCode, getVariationName, getVariationTitle, setObjectIndex, setUp, setValueCount
public void dumpToBuffer(ByteBuffer buffer)
dumpToBuffer
in interface ObjectInstance
dumpToBuffer
in class G50V1
buffer
- The buffer.@CheckReturnValue public long getCount()
public int getObjectLength()
getObjectLength
in interface ObjectInstance
getObjectLength
in class G50V1
public ObjectVariation getObjectVariation()
getObjectVariation
in interface ObjectInstance
getObjectVariation
in class G50V1
@Nonnull @CheckReturnValue public Optional<IntervalUnit> getUnit()
public void loadFromBuffer(ByteBuffer buffer)
loadFromBuffer
in interface ObjectInstance
loadFromBuffer
in class G50V1
buffer
- The buffer.public void setCount(long count)
count
- The count.public void setUnit(@Nonnull IntervalUnit unit)
unit
- The unit.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.