Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.port80.graph.impl
Class GraphElement  view GraphElement download GraphElement.java

java.lang.Object
  extended bycom.port80.util.attr.AttrTable
      extended bycom.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)


Field Summary
private static java.lang.String CLASSNAME
           
private static boolean DEBUG
           
protected  java.lang.Object fData
           
protected  java.lang.String fName
           
private static java.lang.String NAME
           
private static java.lang.String PACKAGENAME
           
private static int VERSION
           
private static java.lang.String VERSIONNAME
           
 
Fields inherited from class com.port80.util.attr.AttrTable
parentAttrTable
 
Constructor Summary
GraphElement(com.port80.util.attr.IAttrTable parentAttrTable)
           
 
Method Summary
 java.lang.Object getData()
           
 java.lang.String getElementTypeName()
           
 java.lang.String getName()
           
 void setData(java.lang.Object a)
           
 void setName(java.lang.String name)
           
 
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
 

Field Detail

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
Constructor Detail

GraphElement

public GraphElement(com.port80.util.attr.IAttrTable parentAttrTable)
Method Detail

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