public class UaDataTypeImpl extends UaTypeImpl implements UaDataType
UaDataType.
It keeps all attributes in memory.
UaNode.ParametersaddressSpace, logger, references, supportedAttributesMaplogger| Modifier | Constructor and Description |
|---|---|
|
UaDataTypeImpl(AddressSpace addressSpace,
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName) |
|
UaDataTypeImpl(AddressSpace addressSpace,
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
AttributeWriteMask writeMask,
AttributeWriteMask userWriteMask,
UaClientReference[] references,
UaProperty[] properties,
Boolean isAbstract) |
|
UaDataTypeImpl(AddressSpace addressSpace,
NodeId nodeId,
String name,
Locale locale) |
protected |
UaDataTypeImpl(UaNode.Parameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
NodeAttributes |
getAttributes()
Returns the current attribute values of the node in a NodeAttributes structure.
|
protected DataTypeAttributes |
getAttributes(DataTypeAttributes attributes) |
protected void |
getAttributesMap(Map<UnsignedInteger,Object> map) |
DataTypeDefinition |
getDataTypeDefinition()
Get the DataTypeDefinition Attribute value.
|
NodeClass |
getNodeClass()
The NodeClass Attribute identifies the NodeClass of a Node.
|
protected void |
initSupportedAttributes(List<UnsignedInteger> l) |
protected void |
readAttributeValue(UnsignedInteger attributeId,
DataValue dataValue)
Read the value of an attribute.
|
void |
setAttributes(DataTypeAttributes dataTypeAttributes) |
boolean |
supportsAttribute(UnsignedInteger attributeId)
Check if the node supports the specified attribute.
|
protected void |
writeAttributeValue(UnsignedInteger attributeId,
Object value,
StatusCode statusCode,
DateTime sourceTime,
UnsignedShort sourcePicoseconds) |
addSubType, getIsAbstract, getSuperType, getSuperTypeId, hasSuperType, inheritsFrom, inheritsFrom, setIsAbstract, setSuperType, toStringaddComponent, addProperties, addProperty, addReference, addReference, addReference, addReference, afterAddReference, afterDeleteReference, assertTypeSupport, assertTypeSupport, beforeAddReference, deleteReference, deleteReference, deleteReference, deleteReference, deleteReferences, doAddProperty, equals, findPlaceholders, getAddressSpace, getAttributes, getAttributesMap, getBrowseName, getComponent, getComponents, getDescription, getDescription, getDisplayName, getDisplayName, getMethod, getNodeId, getNodeVersion, getNodeVersionNode, getProperties, getProperty, getPropertyValue, getReference, getReferenceList, getReferences, getSupportedAttributes, getUaNodeId, getUserWriteMask, getWriteMask, hashCode, hasProperty, hasTypeDefinition, hasUserWriteAccess, hasWriteAccess, readAttribute, readAttribute, referenceTypeInherits, removeComponent, removeProperty, setAttribute, setAttributes, setBrowseName, setDescription, setDisplayName, setNodeVersion, setPropertyValue, setReferences, setUserWriteMask, setWriteMask, writeAttributegetForwardReferences, getInverseReferences, getReferences, getReferences, getReferencesAsList, getUserData, referenceTypeInherits, setUserDataclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetJavaClassaddSubType, getIsAbstract, getSuperType, getSuperTypeId, hasSuperType, inheritsFrom, inheritsFrom, inheritsFromAny, inheritsFromAny, setIsAbstract, setSuperTypeaddComponent, addOrganizes, addProperty, addReference, addReference, addReference, addReference, addReference, addReference, deleteReference, deleteReference, deleteReference, deleteReference, getAddressSpace, getAttributesMap, getBrowseName, getBrowsePaths, getComponent, getComponents, getDescription, getDisplayName, getForwardReferences, getInverseReferences, getMethod, getNodeId, getNodeVersionNode, getOrganizedNode, getOrganizedNodes, getProperties, getProperty, getReference, getReferences, getReferences, getSupportedAttributes, getUaBrowsePaths, getUaNodeId, getUserData, getUserWriteMask, getWriteMask, hasUserWriteAccess, hasWriteAccess, readAttribute, readAttribute, removeComponent, removeProperty, setAttribute, setAttributes, setBrowseName, setDescription, setDisplayName, setReferences, setUserData, setUserWriteMask, setWriteMask, writeAttributepublic UaDataTypeImpl(AddressSpace addressSpace, NodeId nodeId, QualifiedName browseName, LocalizedText displayName)
public UaDataTypeImpl(AddressSpace addressSpace, NodeId nodeId, QualifiedName browseName, LocalizedText displayName, LocalizedText description, AttributeWriteMask writeMask, AttributeWriteMask userWriteMask, UaClientReference[] references, UaProperty[] properties, Boolean isAbstract)
public UaDataTypeImpl(AddressSpace addressSpace, NodeId nodeId, String name, Locale locale)
protected UaDataTypeImpl(UaNode.Parameters parameters)
public NodeAttributes getAttributes()
UaNodegetAttributes in interface UaNodepublic DataTypeDefinition getDataTypeDefinition()
UaDataType
Per specification 1.04 Part 3, for Enumeration, UInteger sub-types having OptionSet
semantics and subtypes of the OptionSet Structure this should return EnumDefinition.
For other Structure types StructureDefinition should be returned.
getDataTypeDefinition in interface UaDataTypepublic final NodeClass getNodeClass()
UaNodegetNodeClass in interface UaNodegetNodeClass in class UaNodeImplpublic void setAttributes(DataTypeAttributes dataTypeAttributes)
public boolean supportsAttribute(UnsignedInteger attributeId)
UaNode
Use the method to check if the node object you have is actually supporting a specific UA
Attribute. The supported attributes are available from specific Java properties, and the values
can also be read with UaNode.readAttribute(com.prosysopc.ua.stack.builtintypes.UnsignedInteger).
supportsAttribute in interface UaNodesupportsAttribute in class UaNodeImplattributeId - the attribute to check - the valid values are defined in
Attributesprotected DataTypeAttributes getAttributes(DataTypeAttributes attributes)
protected void getAttributesMap(Map<UnsignedInteger,Object> map)
getAttributesMap in class UaNodeImplprotected void initSupportedAttributes(List<UnsignedInteger> l)
initSupportedAttributes in class UaTypeImplprotected void readAttributeValue(UnsignedInteger attributeId, DataValue dataValue) throws StatusException
UaNodeImplreadAttributeValue in class UaTypeImplattributeId - the ID of the attribute to read.dataValue - the DataValue structure in which the value is set.StatusException - on failureprotected void writeAttributeValue(UnsignedInteger attributeId, Object value, StatusCode statusCode, DateTime sourceTime, UnsignedShort sourcePicoseconds) throws StatusException
writeAttributeValue in class UaTypeImplStatusExceptionCopyright © 2026. All rights reserved.