Class VariantFloat
- java.lang.Object
-
- org.apache.plc4x.java.opcua.readwrite.Variant
-
- org.apache.plc4x.java.opcua.readwrite.VariantFloat
-
- All Implemented Interfaces:
Message,Serializable
public class VariantFloat extends Variant implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVariantFloat.VariantFloatBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.opcua.readwrite.Variant
Variant.VariantBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected IntegerarrayLengthprotected List<Float>value-
Fields inherited from class org.apache.plc4x.java.opcua.readwrite.Variant
arrayDimensions, arrayDimensionsSpecified, arrayLengthSpecified, noOfArrayDimensions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)IntegergetArrayLength()intgetLengthInBits()intgetLengthInBytes()List<Float>getValue()BytegetVariantType()inthashCode()protected voidserializeVariantChild(WriteBuffer writeBuffer)static Variant.VariantBuilderstaticParseVariantBuilder(ReadBuffer readBuffer, Boolean arrayLengthSpecified)StringtoString()-
Methods inherited from class org.apache.plc4x.java.opcua.readwrite.Variant
getArrayDimensions, getArrayDimensionsSpecified, getArrayLengthSpecified, getNoOfArrayDimensions, serialize, staticParse, staticParse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
-
-
-
Method Detail
-
getVariantType
public Byte getVariantType()
- Specified by:
getVariantTypein classVariant
-
getArrayLength
public Integer getArrayLength()
-
serializeVariantChild
protected void serializeVariantChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeVariantChildin classVariant- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classVariant
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classVariant
-
staticParseVariantBuilder
public static Variant.VariantBuilder staticParseVariantBuilder(ReadBuffer readBuffer, Boolean arrayLengthSpecified) throws ParseException
- Throws:
ParseException
-
-