com.prosysopc.ua.server.instantiation
Class InstanceDeclarationImpl

java.lang.Object
  extended by 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>


Method Summary
 void addReference(com.prosysopc.ua.server.instantiation.InstanceReferenceDeclaration reference)
           
 int compareTo(InstanceDeclaration o)
           
 boolean equals(Object obj)
           
 Set<BrowsePath> getBrowsePaths()
           
 Set<ExternalReferenceDeclaration> getExternalReferences()
           
 Set<com.prosysopc.ua.server.instantiation.InstanceReferenceDeclaration> getInstanceReferences()
           
 Set<InstanceDeclaration> getNextDeclarations()
           
 Set<InstanceDeclaration> getNextMandatoryDeclarations()
           
 Set<InstanceDeclaration> getNextMandatoryDeclarations(Set<BrowsePath> optionalNodes)
           
 UaNode getNode()
           
 org.opcfoundation.ua.builtintypes.NodeId getNodeId()
          Returns the NodeId of the InstanceDeclaration.getNode().
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.prosysopc.ua.server.instantiation.InstanceDeclaration
getModellingRule
 

Method Detail

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.