uk.ac.ic.doc.automed.p2p.tree
Class Field

java.lang.Object
  extended by uk.ac.ic.doc.automed.p2p.tree.TreeNode
      extended by uk.ac.ic.doc.automed.p2p.tree.Field

public class Field
extends TreeNode


Field Summary
 
Fields inherited from class uk.ac.ic.doc.automed.p2p.tree.TreeNode
children, CLASS, COLLECTION, COLLECTION_SET, FIELD, GLOBAL, id, ID, LIST, MAIN_OBJECT_CLASSES, OBJECT, OBJECT_DEFINITION, OBJECT_LIST, parent, REF, VALUE
 
Constructor Summary
Field(java.lang.String name, Value value)
           
 
Method Summary
 Value getValue()
           
protected  org.w3c.dom.Node getXMLNode(org.w3c.dom.Document document)
           
protected  boolean isValidChild(TreeNode child)
           
 void placeChild(TreeNode value)
           
 
Methods inherited from class uk.ac.ic.doc.automed.p2p.tree.TreeNode
addChild, createObjectNode, createTree, createTree, getChild, getChildren, getId, getXMLDocument, getXMLString, setId, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Field

public Field(java.lang.String name,
             Value value)
Method Detail

placeChild

public void placeChild(TreeNode value)
Overrides:
placeChild in class TreeNode

getValue

public Value getValue()
Returns:
Returns the values.

getXMLNode

protected org.w3c.dom.Node getXMLNode(org.w3c.dom.Document document)
Specified by:
getXMLNode in class TreeNode

isValidChild

protected boolean isValidChild(TreeNode child)
Specified by:
isValidChild in class TreeNode