com.softwareag.mdm.adaptation
Class AdaptationNode

java.lang.Object
  extended bycom.softwareag.mdm.adaptation.AdaptationNode

public final class AdaptationNode
extends Object

Represents an adaptation node.

See Also:
Adaptation

Method Summary
 Adaptation getAdaptation()
          Returns the Adaptation containing this node.
 Object getAdaptationValue()
          Returns the adaptation value, either hold by this node or inherited.
 AdaptationNode getChildNode(Step aStep)
          Returns specified child node.
 List getChildren()
          Returns the children nodes of this node.
 Path getNodePath()
          Returns this node's path, from adaptation's root node.
 Object getOwnAdaptationValue()
          Returns the own value hold by this node.
 AdaptationNode getParentNode()
          Returns parent node within adaptation.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getOwnAdaptationValue

public Object getOwnAdaptationValue()
Returns the own value hold by this node. There are three possibilities:
  1. If value is not present (in the sense that this node inherits actual value), it returns AdaptationValue.INHERIT_VALUE.
  2. If value is present and not null, it returns this value (it is an instance of the node's type).
  3. If value is present and null, it returns null.

See Also:
getAdaptationValue(), AdaptationValue.INHERIT_VALUE

getAdaptationValue

public Object getAdaptationValue()
Returns the adaptation value, either hold by this node or inherited. It returns null if this node holds or inherits null.

See Also:
getOwnAdaptationValue()

getAdaptation

public Adaptation getAdaptation()
Returns the Adaptation containing this node.


getNodePath

public Path getNodePath()
Returns this node's path, from adaptation's root node.


getParentNode

public AdaptationNode getParentNode()
Returns parent node within adaptation.


toString

public String toString()

getChildNode

public AdaptationNode getChildNode(Step aStep)
                            throws PathAccessException
Returns specified child node.

Throws:
PathAccessException - If aPath does not refer to an existing adaptation node in the underlying type tree structure.

getChildren

public List getChildren()
                 throws PathAccessException
Returns the children nodes of this node.

Returns:
List of AdaptationNode instances.
Throws:
PathAccessException


(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.