Class ViewDescription
- java.lang.Object
-
- org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
-
- org.apache.plc4x.java.opcua.readwrite.ViewDescription
-
- All Implemented Interfaces:
Message,Serializable
public class ViewDescription extends ExtensionObjectDefinition implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classViewDescription.ViewDescriptionBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
ExtensionObjectDefinition.ExtensionObjectDefinitionBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected longtimestampprotected NodeIdviewIdprotected longviewVersion
-
Constructor Summary
Constructors Constructor Description ViewDescription(NodeId viewId, long timestamp, long viewVersion)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetIdentifier()intgetLengthInBits()intgetLengthInBytes()longgetTimestamp()NodeIdgetViewId()longgetViewVersion()inthashCode()protected voidserializeExtensionObjectDefinitionChild(WriteBuffer writeBuffer)static ExtensionObjectDefinition.ExtensionObjectDefinitionBuilderstaticParseExtensionObjectDefinitionBuilder(ReadBuffer readBuffer, String identifier)StringtoString()-
Methods inherited from class org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
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
-
-
-
-
Field Detail
-
viewId
protected final NodeId viewId
-
timestamp
protected final long timestamp
-
viewVersion
protected final long viewVersion
-
-
Constructor Detail
-
ViewDescription
public ViewDescription(NodeId viewId, long timestamp, long viewVersion)
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifierin classExtensionObjectDefinition
-
getViewId
public NodeId getViewId()
-
getTimestamp
public long getTimestamp()
-
getViewVersion
public long getViewVersion()
-
serializeExtensionObjectDefinitionChild
protected void serializeExtensionObjectDefinitionChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeExtensionObjectDefinitionChildin classExtensionObjectDefinition- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classExtensionObjectDefinition
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classExtensionObjectDefinition
-
staticParseExtensionObjectDefinitionBuilder
public static ExtensionObjectDefinition.ExtensionObjectDefinitionBuilder staticParseExtensionObjectDefinitionBuilder(ReadBuffer readBuffer, String identifier) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classExtensionObjectDefinition
-
hashCode
public int hashCode()
- Overrides:
hashCodein classExtensionObjectDefinition
-
toString
public String toString()
- Overrides:
toStringin classExtensionObjectDefinition
-
-