net.sf.farrago.cwm.core
Interface CwmNamespace
- All Superinterfaces:
- CwmElement, CwmModelElement, RefBaseObject, RefFeatured, RefObject
- All Known Subinterfaces:
- CwmCatalog, CwmClass, CwmClassifier, CwmColumnSet, CwmDataType, CwmEnumeration, CwmExtent, CwmInterface, CwmModel, CwmNamedColumnSet, CwmPackage, CwmQueryColumnSet, CwmRowSet, CwmSchema, CwmSqldataType, CwmSqldistinctType, CwmSqlsimpleType, CwmSqlstructuredType, CwmSubsystem, CwmTable, CwmTypeAlias, CwmUnion, CwmView, FemAbstractColumnSet, FemBaseColumnSet, FemDataServer, FemForeignTable, FemJar, FemLocalCatalog, FemLocalSchema, FemLocalTable, FemLocalView, FemRecoveryReference, FemRoutine, FemSqlarrayType, FemSqlcollectionType, FemSqldistinguishedType, FemSqlmultisetType, FemSqlobjectType, FemSqlrowType, FemStoredTable, FemUserDefinedOrdering, FemUserDefinedType
- All Known Implementing Classes:
- CwmCatalog$Hib, CwmClass$Hib, CwmColumnSet$Hib, CwmDataType$Hib, CwmEnumeration$Hib, CwmExtent$Hib, CwmInterface$Hib, CwmModel$Hib, CwmNamedColumnSet$Hib, CwmPackage$Hib, CwmQueryColumnSet$Hib, CwmRowSet$Hib, CwmSchema$Hib, CwmSqldistinctType$Hib, CwmSqlsimpleType$Hib, CwmSqlstructuredType$Hib, CwmSubsystem$Hib, CwmTable$Hib, CwmTypeAlias$Hib, CwmUnion$Hib, CwmView$Hib, FemDataServer$Hib, FemForeignTable$Hib, FemJar$Hib, FemLocalCatalog$Hib, FemLocalSchema$Hib, FemLocalTable$Hib, FemLocalView$Hib, FemRecoveryReference$Hib, FemRoutine$Hib, FemSqlarrayType$Hib, FemSqldistinguishedType$Hib, FemSqlmultisetType$Hib, FemSqlobjectType$Hib, FemSqlrowType$Hib, FemUserDefinedOrdering$Hib, FemUserDefinedType$Hib
public interface CwmNamespace
- extends CwmModelElement
Namespace object instance interface.
A namespace is a part of a model that contains a set of ModelElements each
of whose
names designates a unique element within the namespace.
In the metamodel, a Namespace is a ModelElement that can own other
ModelElements, such as Classifiers. The name of each owned ModelElement
must be unique within the Namespace. Moreover, each contained ModelElement
is owned by at most one Namespace. The concrete subclasses of Namespace
may have additional constraints on which kind of elements may be
contained.
Namespace is an abstract metaclass.
Note that explicit parts of a model element, such as the features of a
Classifier, are not modeled as owned elements in a namespace. A namespace
is used for unstructured contents such as the contents of a package, or a
class declared inside the scope of another class.
Note: This type should not be subclassed,
implemented or directly instantiated by clients. It is generated from a
MOF metamodel and implemented by Enki or MDR.
getOwnedElement
Collection<CwmModelElement> getOwnedElement()
- Returns the value of reference ownedElement.
- Returns:
- Value of reference ownedElement. Element type:
CwmModelElement