|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.graph.Graph.GraphNode
@Immutable protected class Graph.GraphNode

| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
List<Location> |
getChildren()
Get the children of the node. |
List<Location> |
getChildren(Name namePattern)
Get the children that have the supplied name. |
List<Path.Segment> |
getChildrenSegments()
Get the list of child segments. |
DateTime |
getExpirationTime()
Get the time at which this node representation should no longer be used. |
Graph |
getGraph()
Get the graph containing the node. |
Location |
getLocation()
Get the location of the node. |
Collection<Property> |
getProperties()
Get the properties on the node. |
Map<Name,Property> |
getPropertiesByName()
Get the map of properties keyed by the property names. |
Property |
getProperty(Name name)
Get the property with the supplied name. |
Property |
getProperty(String nameStr)
Get the property with the supplied name. |
boolean |
hasChildren()
Return whether this node has children. |
int |
hashCode()
|
Iterator<Location> |
iterator()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Location getLocation()
Node
getLocation in interface Nodepublic DateTime getExpirationTime()
Node
getExpirationTime in interface Nodepublic Graph getGraph()
Node
getGraph in interface Nodepublic Collection<Property> getProperties()
Node
getProperties in interface Nodepublic Property getProperty(Name name)
Node
getProperty in interface Nodename - the property name
public Property getProperty(String nameStr)
Node
getProperty in interface NodenameStr - the property name
public Map<Name,Property> getPropertiesByName()
Node
getPropertiesByName in interface Nodepublic List<Location> getChildren()
Node
getChildren in interface Nodepublic List<Location> getChildren(Name namePattern)
Node
getChildren in interface NodenamePattern - the name that each returned node should have
public boolean hasChildren()
Node
hasChildren in interface Nodepublic List<Path.Segment> getChildrenSegments()
Nodesegments.
getChildrenSegments in interface Nodepublic Iterator<Location> iterator()
iterator in interface Iterable<Location>public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||