|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the methods required to establish a heirarchical relationship between objects.
Method Summary | |
PData |
getParent()
get the objects parent (null if root) |
PData |
getRootParent()
get the root parent by chaining back up the heirarchy until we find the highest PData object in the heirarchy. |
boolean |
isInheritParents()
Return true if we are inheriting parents. |
void |
setInheritParents(boolean val)
Do we want to inherit parents. |
void |
setParent(PData p)
set the object's parent |
Methods inherited from interface org.enhydra.barracuda.core.util.data.StateMap |
getState, getStateKeys, getStateValues, putState, removeState |
Method Detail |
public void setParent(PData p)
p
- public PData getParent()
public PData getRootParent()
public void setInheritParents(boolean val)
val
- true if we should inherit parentspublic boolean isInheritParents()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |