|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PathNode
Basic interface for a read-only node in a path repository
.
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. |
Method Detail |
---|
Path getPath()
UUID getUuid()
PathWorkspace
should have a UUID. All other nodes should
return null from this method.
Set<Name> getUniqueChildNames()
List<Path.Segment> getChildSegments()
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
Property getProperty(Name name)
name
- the name of the property to return
Map<Name,Property> getProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |