Class ConcreteExtendedDataV1
- java.lang.Object
-
- io.heraldprox.herald.sensor.payload.extended.ConcreteExtendedDataV1
-
- All Implemented Interfaces:
ExtendedData
public class ConcreteExtendedDataV1 extends java.lang.Object implements ExtendedData
-
-
Constructor Summary
Constructors Constructor Description ConcreteExtendedDataV1()
ConcreteExtendedDataV1(PayloadData unparsedData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSection(UInt8 code, Data value)
void
addSection(UInt8 code, Float16 value)
void
addSection(UInt8 code, Int16 value)
void
addSection(UInt8 code, Int32 value)
void
addSection(UInt8 code, Int64 value)
void
addSection(UInt8 code, Int8 value)
void
addSection(UInt8 code, UInt16 value)
void
addSection(UInt8 code, UInt32 value)
void
addSection(UInt8 code, UInt64 value)
void
addSection(UInt8 code, UInt8 value)
void
addSection(UInt8 code, java.lang.String value)
java.util.List<ConcreteExtendedDataSectionV1>
getSections()
boolean
hasData()
PayloadData
payload()
-
-
-
Constructor Detail
-
ConcreteExtendedDataV1
public ConcreteExtendedDataV1()
-
ConcreteExtendedDataV1
public ConcreteExtendedDataV1(@NonNull PayloadData unparsedData)
-
-
Method Detail
-
hasData
public boolean hasData()
- Specified by:
hasData
in interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull UInt8 value)
- Specified by:
addSection
in interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull UInt16 value)
- Specified by:
addSection
in interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull UInt32 value)
- Specified by:
addSection
in interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull UInt64 value)
- Specified by:
addSection
in interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull Int8 value)
- Specified by:
addSection
in interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull Int16 value)
- Specified by:
addSection
in interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull Int32 value)
- Specified by:
addSection
in interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull Int64 value)
- Specified by:
addSection
in interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull Float16 value)
- Specified by:
addSection
in interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull java.lang.String value)
- Specified by:
addSection
in interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull Data value)
- Specified by:
addSection
in interfaceExtendedData
-
payload
@NonNull public PayloadData payload()
- Specified by:
payload
in interfaceExtendedData
-
getSections
@NonNull public java.util.List<ConcreteExtendedDataSectionV1> getSections()
-
-