|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.security.session.manager.helpers.LocationTreeWrapper
public class LocationTreeWrapper
Some Utility tools missing from the ontology. This class gives a utility
model of the Location
tree represented by the Location
instances. It relies on the data they have, and creates no more information.
Field Summary | |
---|---|
protected Location |
loc
|
Constructor Summary | |
---|---|
LocationTreeWrapper(Location l)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(LocationTreeWrapper obj)
|
Set<LocationTreeWrapper> |
getChildren()
Get all children of the Location
represented buy this node. |
Location |
getLocation()
|
LocationTreeWrapper |
getParent()
Get the parent Location of
the represented Location in LocationTreeWrapper form. |
LocationTreeWrapper |
getRoot()
Get the most generic Location reachable from the Location
represented. |
boolean |
isRoot()
Check if there are no parents. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Location loc
Constructor Detail |
---|
public LocationTreeWrapper(Location l)
l
- the location to be extended.Method Detail |
---|
public Location getLocation()
public Set<LocationTreeWrapper> getChildren()
children
of the Location
represented buy this node.
LocationTreeWrapper
form.public LocationTreeWrapper getParent()
parent
Location
of
the represented Location
in LocationTreeWrapper
form.
public LocationTreeWrapper getRoot()
Location
reachable from the Location
represented.
public boolean isRoot()
Location
tree.
public boolean equals(LocationTreeWrapper obj)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |