com.prosysopc.ua.server.instantiation
Class InstanceDeclarationImpl
java.lang.Object
com.prosysopc.ua.server.instantiation.InstanceDeclarationImpl
- All Implemented Interfaces:
- InstanceDeclaration, Comparable<InstanceDeclaration>
- Direct Known Subclasses:
- ModelledInstanceDeclaration, TypeNodeInstanceDeclaration
public abstract class InstanceDeclarationImpl
- extends Object
- implements InstanceDeclaration, Comparable<InstanceDeclaration>
addReference
public void addReference(com.prosysopc.ua.server.instantiation.InstanceReferenceDeclaration reference)
compareTo
public int compareTo(InstanceDeclaration o)
- Specified by:
compareTo in interface Comparable<InstanceDeclaration>
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getBrowsePaths
public Set<BrowsePath> getBrowsePaths()
- Specified by:
getBrowsePaths in interface InstanceDeclaration
- Returns:
- All the browse paths of the InstanceDeclaration.
getExternalReferences
public Set<ExternalReferenceDeclaration> getExternalReferences()
- Specified by:
getExternalReferences in interface InstanceDeclaration
- Returns:
- ExternalReferenceDeclarations of the InstanceDeclaration.
getInstanceReferences
public Set<com.prosysopc.ua.server.instantiation.InstanceReferenceDeclaration> getInstanceReferences()
- Specified by:
getInstanceReferences in interface InstanceDeclaration
- Returns:
- InstanceReferenceDeclarations of the InstanceDeclaration.
getNextDeclarations
public Set<InstanceDeclaration> getNextDeclarations()
- Specified by:
getNextDeclarations in interface InstanceDeclaration
- Returns:
- All InstanceDeclarations, that are connected to this InstanceDeclaration with forward
InstanceReferenceDeclarations.
getNextMandatoryDeclarations
public Set<InstanceDeclaration> getNextMandatoryDeclarations()
- Specified by:
getNextMandatoryDeclarations in interface InstanceDeclaration
- Returns:
- All the mandatory InstanceDeclarations, that are connected to this InstanceDeclaration
with forward InstanceReferenceDeclarations.
getNextMandatoryDeclarations
public Set<InstanceDeclaration> getNextMandatoryDeclarations(Set<BrowsePath> optionalNodes)
- Specified by:
getNextMandatoryDeclarations in interface InstanceDeclaration
- Parameters:
optionalNodes - set of browse paths to optional declarations that should be returned too
- Returns:
- All the mandatory InstanceDeclarations, that are connected to this InstanceDeclaration
with forward InstanceReferenceDeclarations.
getNode
public UaNode getNode()
- Specified by:
getNode in interface InstanceDeclaration
- Returns:
- The corresponding UaNode.
getNodeId
public org.opcfoundation.ua.builtintypes.NodeId getNodeId()
- Description copied from interface:
InstanceDeclaration
- Returns the NodeId of the
InstanceDeclaration.getNode().
- Specified by:
getNodeId in interface InstanceDeclaration
- Returns:
- the node id.
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2018. All rights reserved.