info.bioinfweb.treegraph.document.nodedata
Class AbstractIDElementAdapter

java.lang.Object
  extended by info.bioinfweb.treegraph.document.nodedata.TextElementDataAdapter
      extended by info.bioinfweb.treegraph.document.nodedata.AbstractIDElementAdapter
All Implemented Interfaces:
IDElementAdapter, NodeDataAdapter
Direct Known Subclasses:
HiddenDataAdapter, LabelAdapter

public abstract class AbstractIDElementAdapter
extends TextElementDataAdapter
implements IDElementAdapter

Node data adapters that need to store an ID can be inherited from this abstract class.

Author:
Ben Stöver

Field Summary
protected  java.lang.String id
           
 
Constructor Summary
AbstractIDElementAdapter(java.lang.String id)
           
 
Method Summary
 java.lang.String getID()
           
 
Methods inherited from class info.bioinfweb.treegraph.document.nodedata.TextElementDataAdapter
assignData, createData, decimalOnly, delete, getData, getDecimal, getDecimalFormat, getText, isDecimal, isEmpty, isString, setDecimal, setText, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.bioinfweb.treegraph.document.nodedata.NodeDataAdapter
getDataElement, toString
 

Field Detail

id

protected java.lang.String id
Constructor Detail

AbstractIDElementAdapter

public AbstractIDElementAdapter(java.lang.String id)
Method Detail

getID

public java.lang.String getID()
Specified by:
getID in interface IDElementAdapter