public class OwnedObject extends EncodableObject implements IOwnable
| Constructor and Description |
|---|
OwnedObject() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getParentObject() |
Object |
getParentObject(Class parentClass)
Go up the chain of parents until a parent with the specified class is found or until no parent is found.
|
void |
setParentObject(Object parent) |
decode, decoded, decoded, decodeFields, decodeFields, encode, encoded, encoded, encodeFields, encodeFields, textDecode, textEncode_getFieldType, _getSetField, cache, compareTo, copied, copyFrom, equals, getCopy, getDeclaredField, getDeclaredFieldValue, getMyFieldList, getNewpublic void setParentObject(Object parent)
setParentObject in interface IOwnablepublic Object getParentObject()
getParentObject in interface IOwnablepublic final Object getParentObject(Class parentClass)
getParentObject in interface IOwnableparentClass - the class of the parent to search for or null to return the first parent.