|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsalvo.jesus.graph.VertexImpl
edu.ksu.cis.kdd.util.graph.Node
Wrapper for OpenJGraph
| Field Summary | |
protected java.lang.String |
name
|
protected Graph |
owner
|
protected java.util.Hashtable |
property
|
| Fields inherited from class salvo.jesus.graph.VertexImpl |
object |
| Constructor Summary | |
Node()
Create an anonymous Node object |
|
Node(Graph owner)
Create a node from a specific graph owner |
|
Node(Graph owner,
java.lang.String name)
Create a node with a specific name and a graph owner |
|
Node(java.lang.String name)
Create node with a specific name |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Equals |
java.util.Set |
getAncestors()
Get the ancestors of this node (Kleene closure) |
java.util.List |
getChildren()
Get the children nodes |
java.util.Set |
getChildrenNames()
Returns the set of node names |
java.util.Set |
getDescendants()
Get the descendants of this node (Kleene closure) |
java.lang.String |
getLabel()
|
java.lang.String |
getName()
Get the node name |
Graph |
getOwner()
Returns the owner. |
java.util.Set |
getParentNames()
Returns the set of node names |
java.util.List |
getParents()
Get the parent nodes |
java.util.Hashtable |
getProperty()
Returns the property. |
java.lang.Object |
getProperty(java.lang.Object p)
Get the property value with key p. |
int |
hashCode()
|
void |
putProperty(java.lang.Object p,
java.lang.Object v)
Put the property p with value v |
void |
removeProperty(java.lang.Object p)
Remove the property with key p. |
void |
setName(java.lang.String name)
Set the node name |
void |
setOwner(Graph owner)
Sets the owner. |
void |
setProperty(java.util.Hashtable property)
Sets the property. |
java.lang.String |
toString()
|
| Methods inherited from class salvo.jesus.graph.VertexImpl |
getObject, hasLabel, setLabel, setObject |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Graph owner
protected java.util.Hashtable property
protected java.lang.String name
| Constructor Detail |
public Node()
Object.Object()public Node(Graph owner)
owner -
public Node(Graph owner,
java.lang.String name)
owner - name - public Node(java.lang.String name)
name - | Method Detail |
public Graph getOwner()
public void setOwner(Graph owner)
owner - The owner to setpublic java.util.List getParents()
public java.util.List getChildren()
public java.util.Set getParentNames()
public java.util.Set getChildrenNames()
public java.util.Set getAncestors()
public java.util.Set getDescendants()
public void setName(java.lang.String name)
name - public java.lang.String getName()
public java.util.Hashtable getProperty()
getProperty in interface HasPropertypublic java.lang.Object getProperty(java.lang.Object p)
getProperty in interface HasPropertyp -
public void setProperty(java.util.Hashtable property)
setProperty in interface HasPropertyproperty - The property to set
public void putProperty(java.lang.Object p,
java.lang.Object v)
putProperty in interface HasPropertyp - v - public void removeProperty(java.lang.Object p)
removeProperty in interface HasPropertyp - public boolean equals(java.lang.Object o)
Object.equals(Object)public int hashCode()
Object.hashCode()public java.lang.String getLabel()
getLabel in interface salvo.jesus.graph.LabeledGraphComponentpublic java.lang.String toString()
Object.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||