Class DataTypeSchemaHeader
- java.lang.Object
-
- org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
-
- org.apache.plc4x.java.opcua.readwrite.DataTypeSchemaHeader
-
- All Implemented Interfaces:
Message,Serializable
public class DataTypeSchemaHeader extends ExtensionObjectDefinition implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataTypeSchemaHeader.DataTypeSchemaHeaderBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.opcua.readwrite.ExtensionObjectDefinition
ExtensionObjectDefinition.ExtensionObjectDefinitionBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected List<DataTypeDescription>enumDataTypesprotected List<PascalString>namespacesprotected intnoOfEnumDataTypesprotected intnoOfNamespacesprotected intnoOfSimpleDataTypesprotected intnoOfStructureDataTypesprotected List<DataTypeDescription>simpleDataTypesprotected List<DataTypeDescription>structureDataTypes
-
Constructor Summary
Constructors Constructor Description DataTypeSchemaHeader(int noOfNamespaces, List<PascalString> namespaces, int noOfStructureDataTypes, List<DataTypeDescription> structureDataTypes, int noOfEnumDataTypes, List<DataTypeDescription> enumDataTypes, int noOfSimpleDataTypes, List<DataTypeDescription> simpleDataTypes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<DataTypeDescription>getEnumDataTypes()StringgetIdentifier()intgetLengthInBits()intgetLengthInBytes()List<PascalString>getNamespaces()intgetNoOfEnumDataTypes()intgetNoOfNamespaces()intgetNoOfSimpleDataTypes()intgetNoOfStructureDataTypes()List<DataTypeDescription>getSimpleDataTypes()List<DataTypeDescription>getStructureDataTypes()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
-
noOfNamespaces
protected final int noOfNamespaces
-
namespaces
protected final List<PascalString> namespaces
-
noOfStructureDataTypes
protected final int noOfStructureDataTypes
-
structureDataTypes
protected final List<DataTypeDescription> structureDataTypes
-
noOfEnumDataTypes
protected final int noOfEnumDataTypes
-
enumDataTypes
protected final List<DataTypeDescription> enumDataTypes
-
noOfSimpleDataTypes
protected final int noOfSimpleDataTypes
-
simpleDataTypes
protected final List<DataTypeDescription> simpleDataTypes
-
-
Constructor Detail
-
DataTypeSchemaHeader
public DataTypeSchemaHeader(int noOfNamespaces, List<PascalString> namespaces, int noOfStructureDataTypes, List<DataTypeDescription> structureDataTypes, int noOfEnumDataTypes, List<DataTypeDescription> enumDataTypes, int noOfSimpleDataTypes, List<DataTypeDescription> simpleDataTypes)
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifierin classExtensionObjectDefinition
-
getNoOfNamespaces
public int getNoOfNamespaces()
-
getNamespaces
public List<PascalString> getNamespaces()
-
getNoOfStructureDataTypes
public int getNoOfStructureDataTypes()
-
getStructureDataTypes
public List<DataTypeDescription> getStructureDataTypes()
-
getNoOfEnumDataTypes
public int getNoOfEnumDataTypes()
-
getEnumDataTypes
public List<DataTypeDescription> getEnumDataTypes()
-
getNoOfSimpleDataTypes
public int getNoOfSimpleDataTypes()
-
getSimpleDataTypes
public List<DataTypeDescription> getSimpleDataTypes()
-
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
-
-