Decoupling interface which specifies that an implementing class is associated with at most one Container instance.
| Modifier and Type | Method and Description |
|---|---|
| public Container | Returns: The Container with which this instance is associated ornull if not associated with a ContainerGet the |
| public void | setContainer(Container
The Container instance with which this instance is to
be associated, or container)null to disassociate this instance
from any ContainerSet the |
| getContainer | back to summary |
|---|---|
| public Container getContainer() Get the
| |
| setContainer | back to summary |
|---|---|
| public void setContainer(Container container) Set the
| |