|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.dna.graph.connector.path.DefaultPathNode
@Immutable public class DefaultPathNode

Default immutable implementation of PathNode
| Constructor Summary | |
|---|---|
DefaultPathNode(Path path,
UUID uuid,
Iterable<Property> properties,
List<Path.Segment> childSegments)
|
|
DefaultPathNode(Path path,
UUID uuid,
Map<Name,Property> properties,
List<Path.Segment> childSegments)
|
|
| Method Summary | |
|---|---|
List<Path.Segment> |
getChildSegments()
|
Path |
getPath()
Returns the full path to this node |
Map<Name,Property> |
getProperties()
Returns a map of property names to the property for the given name |
Property |
getProperty(ExecutionContext context,
String name)
Returns the named property |
Property |
getProperty(Name name)
Returns the named property |
Set<Name> |
getUniqueChildNames()
Returns the set of child names for this node |
UUID |
getUuid()
Returns the UUID for this node. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPathNode(Path path,
UUID uuid,
Map<Name,Property> properties,
List<Path.Segment> childSegments)
public DefaultPathNode(Path path,
UUID uuid,
Iterable<Property> properties,
List<Path.Segment> childSegments)
| Method Detail |
|---|
public List<Path.Segment> getChildSegments()
getChildSegments in interface PathNodepublic Path getPath()
PathNode
getPath in interface PathNodepublic UUID getUuid()
PathNodePathWorkspace should have a UUID. All other nodes should
return null from this method.
getUuid in interface PathNodepublic Map<Name,Property> getProperties()
PathNode
getProperties in interface PathNode
public Property getProperty(ExecutionContext context,
String name)
PathNode
getProperty in interface PathNodecontext - the current execution context, used to get a name factoryname - the name of the property to return
public Property getProperty(Name name)
PathNode
getProperty in interface PathNodename - the name of the property to return
public Set<Name> getUniqueChildNames()
PathNode
getUniqueChildNames in interface PathNodepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||