org.pfsw.odem
Interface IContainer
- All Superinterfaces:
- IExplorableElement, IExplorableElementVisiting, IExplorationModelObject, IObjectProperties, IStructureVisiting
public interface IContainer
- extends IExplorableElement, IStructureVisiting
Represents a containers that hold types and namespaces.
- Version:
- 1.0
- Author:
- M.Duchrow
Field Summary |
static IContainer[] |
EMPTY_CONTAINER_ARRAY
An empty array of IContainer elements that can be used as return value
in implementations whenever an empty array is needed. |
EMPTY_CONTAINER_ARRAY
static final IContainer[] EMPTY_CONTAINER_ARRAY
- An empty array of IContainer elements that can be used as return value
in implementations whenever an empty array is needed.
getParentContainer
IContainer getParentContainer()
- Returns the parent container of this container.
If this method returns null this is a top-level container.
getSubContainers
java.util.Collection<IContainer> getSubContainers()
- Returns all sub containers of this container.
Theis method never returns null. If this container has no sub containers
an empty collection will be returned.
The result collection is always a copy. That means, manipulating the collection
does not affect the internal state/structure of this container,
getNamespaces
java.util.Collection<INamespace> getNamespaces()
- Returns all namespaces in this container.
This method never returns null. If no namespace is contained in the
container an empty collection will be returned.
getClassification
ContainerClassification getClassification()
- Returns the classification of this container.