se.cambio.cds.ts
Class Node

Package class diagram package Node
java.lang.Object
  extended by se.cambio.cds.ts.Node

public class Node
extends Object

A generic tree representation with codedText as value. Immutable object.

Author:
rong.chen

Constructor Summary
Node(org.openehr.rm.datatypes.text.DvCodedText value)
           
Node(org.openehr.rm.datatypes.text.DvCodedText value, List<Node> children)
           
 
Method Summary
 void addChild(Node child)
           
 boolean equals(Object o)
           
 List<Node> getChildren()
           
 org.openehr.rm.datatypes.text.DvCodedText getValue()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node

public Node(org.openehr.rm.datatypes.text.DvCodedText value,
            List<Node> children)

Node

public Node(org.openehr.rm.datatypes.text.DvCodedText value)
Method Detail

getValue

public org.openehr.rm.datatypes.text.DvCodedText getValue()

addChild

public void addChild(Node child)

getChildren

public List<Node> getChildren()

equals

public boolean equals(Object o)
Overrides:
equals in class Object


Copyright © 2013 Cambio. All Rights Reserved.