|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.dna.graph.connector.map.MapNode
public class MapNode
A node within a MapRepository
.
Constructor Summary | |
---|---|
MapNode(UUID uuid)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
LinkedList<MapNode> |
getChildren()
|
Path.Segment |
getName()
|
MapNode |
getParent()
|
Property |
getProperty(ExecutionContext context,
String name)
Returns the named property |
Property |
getProperty(Name name)
Returns the named property |
Set<Name> |
getUniqueChildNames()
|
UUID |
getUuid()
|
int |
hashCode()
|
void |
setName(Path.Segment name)
|
void |
setParent(MapNode parent)
|
MapNode |
setProperty(ExecutionContext context,
String name,
Object... values)
Sets the property with the given name, overwriting any previous property for the given name |
MapNode |
setProperty(Property property)
Sets the property with the given name, overwriting any previous property for the given name |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MapNode(UUID uuid)
Method Detail |
---|
public UUID getUuid()
public Path.Segment getName()
public void setName(Path.Segment name)
name
- Sets name to the specified value.public Set<Name> getUniqueChildNames()
public MapNode getParent()
public void setParent(MapNode parent)
parent
- Sets parent to the specified value.public LinkedList<MapNode> getChildren()
public MapNode setProperty(Property property)
property
- the property to set
public MapNode setProperty(ExecutionContext context, String name, Object... values)
context
- the current execution context, used to get a name factory
and property factory
.name
- the name of the propertyvalues
- the values for the property
public Property getProperty(ExecutionContext context, String name)
context
- the current execution context, used to get a name factory
name
- the name of the property to return
public Property getProperty(Name name)
name
- the name of the property to return
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |