java.lang.Object
com.port80.util.attr.AttrTable
com.port80.graph.impl.GraphElement
- All Implemented Interfaces:
- com.port80.util.attr.IAttrTable, com.port80.graph.IGraphElement
- Direct Known Subclasses:
- DirectedGraph, Edge, Vertex
- public abstract class GraphElement
- extends com.port80.util.attr.AttrTable
- implements com.port80.graph.IGraphElement
An abstract base class for graph objects (eg. Vertex,Edge,Graph)
| Methods inherited from class com.port80.util.attr.AttrTable |
attrKeySet, clearAttrs, getAttr, getAttrAsString, getAttrBool, getAttrBool, getAttrCached, getAttrDouble, getAttrDouble, getAttrFloat, getAttrFloat, getAttrInt, getAttrInt, getAttrLong, getAttrLong, getAttrRegistry, getAttrString, hasAttr, initAttr, initAttr, initAttr, initAttr, initAttr, initAttr, initAttr, initAttr, removeAttr, removeUnregisteredAttrs, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttrFromString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.port80.util.attr.IAttrTable |
attrKeySet, clearAttrs, getAttr, getAttrAsString, getAttrBool, getAttrBool, getAttrCached, getAttrDouble, getAttrDouble, getAttrFloat, getAttrFloat, getAttrInt, getAttrInt, getAttrLong, getAttrLong, getAttrRegistry, getAttrString, hasAttr, removeAttr, removeUnregisteredAttrs, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttrFromString |
NAME
private static final java.lang.String NAME
- See Also:
- Constant Field Values
PACKAGENAME
private static final java.lang.String PACKAGENAME
- See Also:
- Constant Field Values
CLASSNAME
private static final java.lang.String CLASSNAME
- See Also:
- Constant Field Values
VERSION
private static final int VERSION
- See Also:
- Constant Field Values
VERSIONNAME
private static final java.lang.String VERSIONNAME
- See Also:
- Constant Field Values
DEBUG
private static boolean DEBUG
fName
protected java.lang.String fName
fData
protected java.lang.Object fData
GraphElement
public GraphElement(com.port80.util.attr.IAttrTable parentAttrTable)
getElementTypeName
public java.lang.String getElementTypeName()
- Specified by:
getElementTypeName in interface com.port80.graph.IGraphElement
getName
public java.lang.String getName()
- Specified by:
getName in interface com.port80.graph.IGraphElement
getData
public java.lang.Object getData()
- Specified by:
getData in interface com.port80.graph.IGraphElement
setName
public void setName(java.lang.String name)
- Specified by:
setName in interface com.port80.graph.IGraphElement
setData
public void setData(java.lang.Object a)
- Specified by:
setData in interface com.port80.graph.IGraphElement