net.sf.farrago.cwm.core
Interface CwmModelElement

All Superinterfaces:
CwmElement, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
CwmArgument, CwmAttribute, CwmBehavioralFeature, CwmCallAction, CwmCatalog, CwmCheckConstraint, CwmClass, CwmClassifier, CwmColumn, CwmColumnSet, CwmColumnValue, CwmConstraint, CwmDataType, CwmDataValue, CwmDependency, CwmEnumeration, CwmEnumerationLiteral, CwmEvent, CwmExtent, CwmFeature, CwmForeignKey, CwmIndex, CwmIndexedFeature, CwmInstance, CwmInterface, CwmKeyRelationship, CwmMethod, CwmModel, CwmNamedColumnSet, CwmNamespace, CwmObject, CwmOperation, CwmPackage, CwmParameter, CwmPrimaryKey, CwmProcedure, CwmQueryColumnSet, CwmRow, CwmRowSet, CwmSchema, CwmSlot, CwmSqldataType, CwmSqldistinctType, CwmSqlindex, CwmSqlindexColumn, CwmSqlparameter, CwmSqlsimpleType, CwmSqlstructuredType, CwmStereotype, CwmStructuralFeature, CwmSubsystem, CwmTable, CwmTrigger, CwmTypeAlias, CwmUnion, CwmUnionMember, CwmUniqueConstraint, CwmUniqueKey, CwmView, FemAbstractAttribute, FemAbstractColumn, FemAbstractColumnSet, FemAbstractKeyConstraint, FemAbstractTypedElement, FemAbstractUniqueConstraint, FemAuthId, FemBaseColumnSet, FemColumnListRoutineParameter, FemDataServer, FemDataWrapper, FemForeignTable, FemJar, FemKeyComponent, FemLabel, FemLocalCatalog, FemLocalIndex, FemLocalIndexColumn, FemLocalSchema, FemLocalTable, FemLocalView, FemPrimaryKeyConstraint, FemRecoveryReference, FemRole, FemRoutine, FemRoutineParameter, FemSequenceGenerator, FemSqlarrayType, FemSqlcollectionType, FemSqldistinguishedType, FemSqlmultisetType, FemSqlobjectType, FemSqlrowType, FemSqltypeAttribute, FemStoredColumn, FemStoredTable, FemUniqueKeyConstraint, FemUser, FemUserDefinedOrdering, FemUserDefinedType, FemViewColumn, RngRandomNumberGenerator
All Known Implementing Classes:
CwmArgument$Hib, CwmAttribute$Hib, CwmCallAction$Hib, CwmCatalog$Hib, CwmCheckConstraint$Hib, CwmClass$Hib, CwmColumn$Hib, CwmColumnSet$Hib, CwmColumnValue$Hib, CwmConstraint$Hib, CwmDataType$Hib, CwmDataValue$Hib, CwmDependency$Hib, CwmEnumeration$Hib, CwmEnumerationLiteral$Hib, CwmEvent$Hib, CwmExtent$Hib, CwmForeignKey$Hib, CwmIndex$Hib, CwmIndexedFeature$Hib, CwmInterface$Hib, CwmKeyRelationship$Hib, CwmMethod$Hib, CwmModel$Hib, CwmNamedColumnSet$Hib, CwmObject$Hib, CwmOperation$Hib, CwmPackage$Hib, CwmParameter$Hib, CwmPrimaryKey$Hib, CwmProcedure$Hib, CwmQueryColumnSet$Hib, CwmRow$Hib, CwmRowSet$Hib, CwmSchema$Hib, CwmSlot$Hib, CwmSqldistinctType$Hib, CwmSqlindex$Hib, CwmSqlindexColumn$Hib, CwmSqlparameter$Hib, CwmSqlsimpleType$Hib, CwmSqlstructuredType$Hib, CwmStereotype$Hib, CwmSubsystem$Hib, CwmTable$Hib, CwmTrigger$Hib, CwmTypeAlias$Hib, CwmUnion$Hib, CwmUnionMember$Hib, CwmUniqueConstraint$Hib, CwmUniqueKey$Hib, CwmView$Hib, FemColumnListRoutineParameter$Hib, FemDataServer$Hib, FemDataWrapper$Hib, FemForeignTable$Hib, FemJar$Hib, FemKeyComponent$Hib, FemLabel$Hib, FemLocalCatalog$Hib, FemLocalIndex$Hib, FemLocalIndexColumn$Hib, FemLocalSchema$Hib, FemLocalTable$Hib, FemLocalView$Hib, FemPrimaryKeyConstraint$Hib, FemRecoveryReference$Hib, FemRole$Hib, FemRoutine$Hib, FemRoutineParameter$Hib, FemSequenceGenerator$Hib, FemSqlarrayType$Hib, FemSqldistinguishedType$Hib, FemSqlmultisetType$Hib, FemSqlobjectType$Hib, FemSqlrowType$Hib, FemSqltypeAttribute$Hib, FemStoredColumn$Hib, FemUniqueKeyConstraint$Hib, FemUser$Hib, FemUserDefinedOrdering$Hib, FemUserDefinedType$Hib, FemViewColumn$Hib, RngRandomNumberGenerator$Hib

public interface CwmModelElement
extends CwmElement

ModelElement object instance interface. A model element is an element that is an abstraction drawn from the system being modeled. In the metamodel, a ModelElement is a named entity in a Model. It is the base for all modeling metaclasses in the CWM. All other modeling metaclasses are either direct or indirect subclasses of ModelElement.

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.


Method Summary
 Collection<CwmDependency> getClientDependency()
          Returns the value of reference clientDependency.
 Collection<CwmConstraint> getConstraint()
          Returns the value of reference constraint.
 Collection<CwmPackage> getImporter()
          Returns the value of reference importer.
 String getName()
          Returns the value of attribute name.
 CwmNamespace getNamespace()
          Returns the value of reference namespace.
 VisibilityKind getVisibility()
          Returns the value of attribute visibility.
 void setName(String newValue)
          Sets the value of name attribute.
 void setNamespace(CwmNamespace newValue)
          Sets the value of namespace reference.
 void setVisibility(VisibilityKind newValue)
          Sets the value of visibility attribute.
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getName

String getName()
Returns the value of attribute name. An identifier for the ModelElement within its containing Namespace.

Returns:
Value of attribute name.

setName

void setName(String newValue)
Sets the value of name attribute. See getName() for description on the attribute.

Parameters:
newValue - New value to be set.

getVisibility

VisibilityKind getVisibility()
Returns the value of attribute visibility. Specifies extent of the visibility of the ModelElement within its owning Namespace.

Returns:
Value of attribute visibility.

setVisibility

void setVisibility(VisibilityKind newValue)
Sets the value of visibility attribute. See getVisibility() for description on the attribute.

Parameters:
newValue - New value to be set.

getClientDependency

Collection<CwmDependency> getClientDependency()
Returns the value of reference clientDependency.

Returns:
Value of reference clientDependency. Element type: CwmDependency

getConstraint

Collection<CwmConstraint> getConstraint()
Returns the value of reference constraint.

Returns:
Value of reference constraint. Element type: CwmConstraint

getImporter

Collection<CwmPackage> getImporter()
Returns the value of reference importer.

Returns:
Value of reference importer. Element type: CwmPackage

getNamespace

CwmNamespace getNamespace()
Returns the value of reference namespace.

Returns:
Value of reference namespace.

setNamespace

void setNamespace(CwmNamespace newValue)
Sets the value of namespace reference. See getNamespace() for description on the attribute.

Parameters:
newValue - New value to be set.