|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nodal.model.NodeAdapter
A utility class for those Objects that are interfaces on top of a Node.
Field Summary | |
protected Node |
node
The Node that is being adapted. |
Constructor Summary | |
protected |
NodeAdapter()
Initialize an unattached adapter. |
protected |
NodeAdapter(Node node)
Initialize an adapter with the given Node. |
Method Summary | |
protected void |
attachNode(Node node)
Attach a Node to an unattached adapter. |
Capability |
capability()
A Capability describing the permissions we have for this object. |
Node |
node()
|
Path |
path()
The Path that was used to access this object. |
Repository |
repository()
The Repository within which this object is stored. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Node node
Constructor Detail |
protected NodeAdapter(Node node)
protected NodeAdapter()
Method Detail |
public Repository repository()
public Path path()
public Capability capability()
public Node node()
protected void attachNode(Node node)
java.lang.RuntimeException
- if the adapter is already attached.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |