T
- The ComponentOwner
type this Component
is owned
bypublic interface Component<T extends ComponentOwner>
ComponentOwner
.
All Component
s are inherently orphanable. An object is considered
orphaned when it is dissociated from its parent container, leaving it for all
intents and purposes obsolete. Orphaned objects will throw an
OrphanedComponentException
in response to any defined method being
invoked upon them.
Modifier and Type | Method and Description |
---|---|
T |
getOwner()
Gets the
owner of this object. |
T getOwner() throws OrphanedComponentException
owner
of this object.owner
of this objectOrphanedComponentException
- If this object is orphaned (see
Component
for details)