|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.prosysopc.ua.nodes.AbstractUaNode
com.prosysopc.ua.client.nodes.UaNodeImpl
com.prosysopc.ua.client.nodes.UaTypeImpl
com.prosysopc.ua.client.nodes.UaReferenceTypeImpl
public class UaReferenceTypeImpl
Straight forward implementation of UaReferenceType.
It keeps all attributes in memory.
| Field Summary |
|---|
| Fields inherited from class com.prosysopc.ua.client.nodes.UaTypeImpl |
|---|
javaClass |
| Fields inherited from class com.prosysopc.ua.client.nodes.UaNodeImpl |
|---|
addressSpace, logger, references, supportedAttributesMap |
| Constructor Summary | |
|---|---|
UaReferenceTypeImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName)
Initialize a new non-abstract, symmetric reference type. |
|
UaReferenceTypeImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName,
org.opcfoundation.ua.builtintypes.LocalizedText inverseName)
Initialize a reference type with InverseName. |
|
UaReferenceTypeImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName,
org.opcfoundation.ua.builtintypes.LocalizedText description,
EnumSet<WriteAccess> writeMask,
EnumSet<WriteAccess> userWriteMask,
UaClientReference[] references,
UaProperty[] properties,
Boolean isAbstract,
Boolean symmetric,
org.opcfoundation.ua.builtintypes.LocalizedText inverseName)
Initialize a new reference type. |
|
UaReferenceTypeImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
String browseName,
Locale locale)
|
|
UaReferenceTypeImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
String browseName,
String inverseName,
Locale locale)
|
|
| Method Summary | |
|---|---|
org.opcfoundation.ua.core.NodeAttributes |
getAttributes()
|
protected org.opcfoundation.ua.core.ReferenceTypeAttributes |
getAttributes(org.opcfoundation.ua.core.ReferenceTypeAttributes attributes)
|
org.opcfoundation.ua.builtintypes.LocalizedText |
getInverseName()
The inverse name of the Reference, i.e. the meaning of the ReferenceType as seen from the TargetNode. |
org.opcfoundation.ua.core.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<org.opcfoundation.ua.builtintypes.UnsignedInteger> l)
|
protected void |
readAttributeValue(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
Read the value of an attribute. |
void |
setAttributes(org.opcfoundation.ua.core.ReferenceTypeAttributes referenceTypeAttributes)
|
void |
setInverseName(org.opcfoundation.ua.builtintypes.LocalizedText inverseName)
|
void |
setSymmetric(Boolean symmetric)
|
String |
toString()
|
protected void |
writeAttributeValue(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
Object value,
org.opcfoundation.ua.builtintypes.StatusCode statusCode,
org.opcfoundation.ua.builtintypes.DateTime sourceTime,
org.opcfoundation.ua.builtintypes.UnsignedShort sourcePicoseconds)
|
| Methods inherited from class com.prosysopc.ua.client.nodes.UaTypeImpl |
|---|
addSubType, getIsAbstract, getJavaClass, getSuperType, hasSuperType, inheritsFrom, inheritsFrom, setIsAbstract, setJavaClass, setSuperType |
| Methods inherited from class com.prosysopc.ua.nodes.AbstractUaNode |
|---|
getForwardReferences, getInverseReferences, getReferences, getReferences, getReferencesAsList, referenceTypeInherits |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.prosysopc.ua.nodes.UaType |
|---|
addSubType, getIsAbstract, getJavaClass, getSuperType, hasSuperType, inheritsFrom, inheritsFrom, setIsAbstract, setJavaClass, setSuperType |
| Constructor Detail |
|---|
public UaReferenceTypeImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName)
nodeId - browseName - displayName -
public UaReferenceTypeImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName,
org.opcfoundation.ua.builtintypes.LocalizedText inverseName)
nodeId - browseName - displayName - inverseName -
public UaReferenceTypeImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName,
org.opcfoundation.ua.builtintypes.LocalizedText description,
EnumSet<WriteAccess> writeMask,
EnumSet<WriteAccess> userWriteMask,
UaClientReference[] references,
UaProperty[] properties,
Boolean isAbstract,
Boolean symmetric,
org.opcfoundation.ua.builtintypes.LocalizedText inverseName)
nodeId - browseName - displayName - description - writeMask - userWriteMask - references - isAbstract - symmetric - inverseName -
public UaReferenceTypeImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
String browseName,
Locale locale)
nodeId - browseName - locale -
public UaReferenceTypeImpl(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
String browseName,
String inverseName,
Locale locale)
nodeId - browseName - inverseName - locale - | Method Detail |
|---|
public org.opcfoundation.ua.core.NodeAttributes getAttributes()
getAttributes in interface UaNodepublic org.opcfoundation.ua.builtintypes.LocalizedText getInverseName()
UaReferenceType
getInverseName in interface UaReferenceTypepublic final org.opcfoundation.ua.core.NodeClass getNodeClass()
UaNode
getNodeClass 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(org.opcfoundation.ua.core.ReferenceTypeAttributes referenceTypeAttributes)
public void setInverseName(org.opcfoundation.ua.builtintypes.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 org.opcfoundation.ua.core.ReferenceTypeAttributes getAttributes(org.opcfoundation.ua.core.ReferenceTypeAttributes attributes)
protected void initSupportedAttributes(List<org.opcfoundation.ua.builtintypes.UnsignedInteger> l)
initSupportedAttributes in class UaTypeImpl
protected void readAttributeValue(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
org.opcfoundation.ua.builtintypes.DataValue dataValue)
throws StatusException
UaNodeImpl
readAttributeValue in class UaTypeImplattributeId - the ID of the attribute to read.dataValue - the DataValue structure in which the value is set.
StatusException
protected void writeAttributeValue(org.opcfoundation.ua.builtintypes.UnsignedInteger attributeId,
Object value,
org.opcfoundation.ua.builtintypes.StatusCode statusCode,
org.opcfoundation.ua.builtintypes.DateTime sourceTime,
org.opcfoundation.ua.builtintypes.UnsignedShort sourcePicoseconds)
throws StatusException
writeAttributeValue in class UaTypeImplStatusException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||