|
||||||||||
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 Node
public DateTime getExpirationTime()
Node
getExpirationTime
in interface Node
public Graph getGraph()
Node
getGraph
in interface Node
public Collection<Property> getProperties()
Node
getProperties
in interface Node
public Property getProperty(Name name)
Node
getProperty
in interface Node
name
- the property name
public Property getProperty(String nameStr)
Node
getProperty
in interface Node
nameStr
- the property name
public Map<Name,Property> getPropertiesByName()
Node
getPropertiesByName
in interface Node
public List<Location> getChildren()
Node
getChildren
in interface Node
public List<Location> getChildren(Name namePattern)
Node
getChildren
in interface Node
namePattern
- the name that each returned node should have
public boolean hasChildren()
Node
hasChildren
in interface Node
public List<Path.Segment> getChildrenSegments()
Node
segments
.
getChildrenSegments
in interface Node
public Iterator<Location> iterator()
iterator
in interface Iterable<Location>
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |