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 voidaddSection(UInt8 code, Data value)voidaddSection(UInt8 code, Float16 value)voidaddSection(UInt8 code, Int16 value)voidaddSection(UInt8 code, Int32 value)voidaddSection(UInt8 code, Int64 value)voidaddSection(UInt8 code, Int8 value)voidaddSection(UInt8 code, UInt16 value)voidaddSection(UInt8 code, UInt32 value)voidaddSection(UInt8 code, UInt64 value)voidaddSection(UInt8 code, UInt8 value)voidaddSection(UInt8 code, java.lang.String value)java.util.List<ConcreteExtendedDataSectionV1>getSections()booleanhasData()PayloadDatapayload()
-
-
-
Constructor Detail
-
ConcreteExtendedDataV1
public ConcreteExtendedDataV1()
-
ConcreteExtendedDataV1
public ConcreteExtendedDataV1(@NonNull PayloadData unparsedData)
-
-
Method Detail
-
hasData
public boolean hasData()
- Specified by:
hasDatain interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull UInt8 value)- Specified by:
addSectionin interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull UInt16 value)- Specified by:
addSectionin interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull UInt32 value)- Specified by:
addSectionin interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull UInt64 value)- Specified by:
addSectionin interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull Int8 value)- Specified by:
addSectionin interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull Int16 value)- Specified by:
addSectionin interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull Int32 value)- Specified by:
addSectionin interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull Int64 value)- Specified by:
addSectionin interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull Float16 value)- Specified by:
addSectionin interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull java.lang.String value)- Specified by:
addSectionin interfaceExtendedData
-
addSection
public void addSection(@NonNull UInt8 code, @NonNull Data value)- Specified by:
addSectionin interfaceExtendedData
-
payload
@NonNull public PayloadData payload()
- Specified by:
payloadin interfaceExtendedData
-
getSections
@NonNull public java.util.List<ConcreteExtendedDataSectionV1> getSections()
-
-