public class UaReferenceTypeImpl extends UaTypeImpl implements UaReferenceType
It keeps all attributes in memory.
UaNode.ParametersaddressSpace, logger, references, supportedAttributesMap| Modifier | Constructor and Description |
|---|---|
|
UaReferenceTypeImpl(AddressSpace addressSpace,
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName)
Initialize a new non-abstract, symmetric reference type.
|
|
UaReferenceTypeImpl(AddressSpace addressSpace,
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText inverseName)
Initialize a reference type with InverseName.
|
|
UaReferenceTypeImpl(AddressSpace addressSpace,
NodeId nodeId,
QualifiedName browseName,
LocalizedText displayName,
LocalizedText description,
AttributeWriteMask writeMask,
AttributeWriteMask userWriteMask,
UaClientReference[] references,
UaProperty[] properties,
Boolean isAbstract,
Boolean symmetric,
LocalizedText inverseName)
Initialize a new reference type.
|
|
UaReferenceTypeImpl(AddressSpace addressSpace,
NodeId nodeId,
String browseName,
Locale locale) |
|
UaReferenceTypeImpl(AddressSpace addressSpace,
NodeId nodeId,
String browseName,
String inverseName,
Locale locale) |
protected |
UaReferenceTypeImpl(UaNode.Parameters parameters) |
| Modifier and Type | Method and Description |
|---|---|
NodeAttributes |
getAttributes()
Returns the current attribute values of the node in a NodeAttributes structure.
|
protected ReferenceTypeAttributes |
getAttributes(ReferenceTypeAttributes attributes) |
protected void |
getAttributesMap(Map<UnsignedInteger,Object> map) |
LocalizedText |
getInverseName()
The inverse name of the Reference, i.e.
|
NodeClass |
getNodeClass()
The NodeClass Attribute identifies the NodeClass of a Node.
|
Boolean |
getSymmetric()
A boolean Attribute with the following values:
true
the meaning of the ReferenceType is the same as seen from both the SourceNode and the
TargetNode. |
protected void |
initSupportedAttributes(List<UnsignedInteger> l) |
protected void |
readAttributeValue(UnsignedInteger attributeId,
DataValue dataValue)
Read the value of an attribute.
|
void |
setAttributes(ReferenceTypeAttributes referenceTypeAttributes) |
void |
setInverseName(LocalizedText inverseName) |
void |
setSymmetric(Boolean symmetric) |
String |
toString() |
protected void |
writeAttributeValue(UnsignedInteger attributeId,
Object value,
StatusCode statusCode,
DateTime sourceTime,
UnsignedShort sourcePicoseconds) |
addSubType, getIsAbstract, getSuperType, getSuperTypeId, hasSuperType, inheritsFrom, inheritsFrom, setIsAbstract, setSuperTypeaddComponent, 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, supportsAttribute, writeAttributegetForwardReferences, getInverseReferences, getReferences, getReferences, getReferencesAsList, getUserData, referenceTypeInherits, setUserDataclone, finalize, getClass, notify, notifyAll, wait, wait, waitisHierarchical, isNonHierarchicaladdSubType, 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, supportsAttribute, writeAttributepublic UaReferenceTypeImpl(AddressSpace addressSpace, NodeId nodeId, QualifiedName browseName, LocalizedText displayName)
nodeId - browseName - displayName - public UaReferenceTypeImpl(AddressSpace addressSpace, NodeId nodeId, QualifiedName browseName, LocalizedText displayName, LocalizedText inverseName)
nodeId - browseName - displayName - inverseName - public UaReferenceTypeImpl(AddressSpace addressSpace, NodeId nodeId, QualifiedName browseName, LocalizedText displayName, LocalizedText description, AttributeWriteMask writeMask, AttributeWriteMask userWriteMask, UaClientReference[] references, UaProperty[] properties, Boolean isAbstract, Boolean symmetric, LocalizedText inverseName)
nodeId - browseName - displayName - description - writeMask - userWriteMask - references - isAbstract - symmetric - inverseName - public UaReferenceTypeImpl(AddressSpace addressSpace, NodeId nodeId, String browseName, Locale locale)
nodeId - browseName - locale - public UaReferenceTypeImpl(AddressSpace addressSpace, NodeId nodeId, String browseName, String inverseName, Locale locale)
nodeId - browseName - inverseName - locale - protected UaReferenceTypeImpl(UaNode.Parameters parameters)
public NodeAttributes getAttributes()
UaNodegetAttributes in interface UaNodepublic LocalizedText getInverseName()
UaReferenceTypegetInverseName in interface UaReferenceTypepublic final NodeClass getNodeClass()
UaNodegetNodeClass in interface UaNodegetNodeClass in class UaNodeImplpublic Boolean getSymmetric()
UaReferenceTypetrue
| the meaning of the ReferenceType is the same as seen from both the SourceNode and the TargetNode. |
false
| the meaning of the ReferenceType as seen from the TargetNode is the inverse of that as seen from the SourceNode. |
getSymmetric in interface UaReferenceTypepublic void setAttributes(ReferenceTypeAttributes referenceTypeAttributes)
public void setInverseName(LocalizedText inverseName)
setInverseName in interface UaReferenceTypeinverseName - the InverseName to setUaReferenceType.getInverseName()public void setSymmetric(Boolean symmetric)
setSymmetric in interface UaReferenceTypesymmetric - the value of Symmetric to setUaReferenceType.getSymmetric()public String toString()
toString in class UaTypeImplprotected ReferenceTypeAttributes getAttributes(ReferenceTypeAttributes 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.