/** * <copyright> * </copyright> * * $Id$ */ package orgomg.cwm.objectmodel.relationships; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EEnum; import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; import orgomg.cwm.objectmodel.core.CorePackage; /** * <!-- begin-user-doc --> * The <b>Package</b> for the model. * It contains accessors for the meta objects to represent * <ul> * <li>each class,</li> * <li>each feature of each class,</li> * <li>each enum,</li> * <li>and each data type</li> * </ul> * <!-- end-user-doc --> * <!-- begin-model-doc --> * The Relationships metamodel depends on the following package: * * org.omg::CWM::ObjectModel::Core * * The Relationships metamodel collects together classes and associations that describe the relationships between object within a CWM information store. The Relationships metamodel describes to types of relationships: association and generalization. * * Association relationships record linkages between model elements. These linkages may represent simple linkages between model elements or aggregation ("is part of") relationships between model elements; aggregation relationships come in two forms -- shared and composite. Associations have two or more named ends that link them to instances of the classes connected by the association. * * Generalization relationships record arrangements of model elements into type hierarchies in a parent/child (or "is type of") fashion. Child types are said to "specialize", "subclass" or "subtype" their parental types, represent a subset of parental instances that fulfill the definition of the child type, and inherit the structural features * (Attributes, AssociationEnd) and behavioral features (Operations, Methods) of their parents. Parental types are said to "generalize" their child types or to be "superclasses" or "supertypes" of their children. * * CWM generalization hierarchies support multiple inheritance; that is, child types may have more than one parental type and inherit the union of the features of all their parental types. Although called "hierarchies", multiple inheritance actually represents a directed acyclic graph of parental and child types. * * OCL Representation of Relationships Constraints * * Operations * * The operation allConnections results in the set of all AssociationEnds of the Association. * allConnections : Set(AssociationEnd); * allConnections = self.feature.oclIsKindOf(AssociationEnd) * * Constraints * * [C-5-1] An Association must have at least 2 AssociationEnds. * context Association inv: * self.allConnections->size > 1 * * [C-5-2] The AssociationEnds must have a unique name within the association. * context Association inv: * self.allConnections->forAll( r1, r2 | r1.name = r2.name implies r1 = r2) * * [C-5-3] At most one AssociationEnd may be an aggregation or composition. * context Association inv: * self.allConnections->select(aggregation <> #ak_none)->size <= 1 * * [C-5-4] If an Association has three or more AssociationEnds, then no AssociationEnd may be an aggregation or composition. * context Association inv: * self.allConnections->size >=3 implies * self.allConnections->forall(aggregation = #ak_none) * * [C-5-5] The connected Classifiers of the AssociationEnds should be included in the Namespace of the Association, or be Classifiers with public visibility in other Namespaces to which the Association has access. * context Association inv: * self.allConnections->forAll(r | self.namespace.allContents->includes (r.type) ) or * self.allConnections->forAll(r | self.namespace.allContents->excludes (r.type)) * implies * self.namespace.clientDependency->exists (d | * d.supplier.oclAsType(Namespace).ownedElement->select (e | * e.elementOwnership.visibility = #ak_public)->includes (r.type) or * d.supplier.oclAsType(Classifier).allParents. * oclAsType(Namespace).ownedElement->select (e | * e.elementOwnership.visibility = #ak_public)->includes (r.type) or * d.supplier.oclAsType(Package).allImportedElements->select (e | * e.elementImport.visibility = #ak_public) ->includes (r.type) ) ) * * [C-5-6] An AssociationEnd must have an owning Association. * context AssociationEnd inv: * self.owner.oclIsKindOf(Association) * * [C-5-7] The Classifier of an AssociationEnd cannot be an Interface or a DataType if the association is navigable away from that end. * context AssociationEnd inv: * (self.type.oclIsKindOf (Interface) or * self.type.oclIsKindOf (DataType)) implies * self.owner->select (ae | ae <self)->forAll(ae | ae.isNavigable = #false) * * [C-5-8] An instance may not belong by composition to more than one composite Instance. * context AssociationEnd inv: * self.aggregation = #ak_composite implies self.multiplicity.max <= 1 * * [C-5-9] An AssociationEnd with composite or shared aggregation semantics must be owned by an Association. * context AssociationEnd inv: * self.aggregation = #ak_composite or self.aggregation = #ak_shared implies * self.owner.oclIsKindOf(Association) * * <!-- end-model-doc --> * @see orgomg.cwm.objectmodel.relationships.RelationshipsFactory * @model kind="package" * @generated */ public interface RelationshipsPackage extends EPackage { /** * The package name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ String eNAME = "relationships"; /** * The package namespace URI. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ String eNS_URI = "http:///orgomg/cwm/objectmodel/relationships.ecore"; /** * The package namespace name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ String eNS_PREFIX = "orgomg.cwm.objectmodel.relationships"; /** * The singleton instance of the package. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ RelationshipsPackage eINSTANCE = orgomg.cwm.objectmodel.relationships.impl.RelationshipsPackageImpl.init(); /** * The meta object id for the '{@link orgomg.cwm.objectmodel.relationships.impl.AssociationImpl <em>Association</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see orgomg.cwm.objectmodel.relationships.impl.AssociationImpl * @see orgomg.cwm.objectmodel.relationships.impl.RelationshipsPackageImpl#getAssociation() * @generated */ int ASSOCIATION = 0; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__NAME = CorePackage.CLASS__NAME; /** * The feature id for the '<em><b>Visibility</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__VISIBILITY = CorePackage.CLASS__VISIBILITY; /** * The feature id for the '<em><b>Client Dependency</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__CLIENT_DEPENDENCY = CorePackage.CLASS__CLIENT_DEPENDENCY; /** * The feature id for the '<em><b>Supplier Dependency</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__SUPPLIER_DEPENDENCY = CorePackage.CLASS__SUPPLIER_DEPENDENCY; /** * The feature id for the '<em><b>Constraint</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__CONSTRAINT = CorePackage.CLASS__CONSTRAINT; /** * The feature id for the '<em><b>Namespace</b></em>' container reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__NAMESPACE = CorePackage.CLASS__NAMESPACE; /** * The feature id for the '<em><b>Importer</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__IMPORTER = CorePackage.CLASS__IMPORTER; /** * The feature id for the '<em><b>Stereotype</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__STEREOTYPE = CorePackage.CLASS__STEREOTYPE; /** * The feature id for the '<em><b>Tagged Value</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__TAGGED_VALUE = CorePackage.CLASS__TAGGED_VALUE; /** * The feature id for the '<em><b>Document</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__DOCUMENT = CorePackage.CLASS__DOCUMENT; /** * The feature id for the '<em><b>Description</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__DESCRIPTION = CorePackage.CLASS__DESCRIPTION; /** * The feature id for the '<em><b>Responsible Party</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__RESPONSIBLE_PARTY = CorePackage.CLASS__RESPONSIBLE_PARTY; /** * The feature id for the '<em><b>Element Node</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__ELEMENT_NODE = CorePackage.CLASS__ELEMENT_NODE; /** * The feature id for the '<em><b>Set</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__SET = CorePackage.CLASS__SET; /** * The feature id for the '<em><b>Rendered Object</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__RENDERED_OBJECT = CorePackage.CLASS__RENDERED_OBJECT; /** * The feature id for the '<em><b>Vocabulary Element</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__VOCABULARY_ELEMENT = CorePackage.CLASS__VOCABULARY_ELEMENT; /** * The feature id for the '<em><b>Measurement</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__MEASUREMENT = CorePackage.CLASS__MEASUREMENT; /** * The feature id for the '<em><b>Change Request</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__CHANGE_REQUEST = CorePackage.CLASS__CHANGE_REQUEST; /** * The feature id for the '<em><b>Owned Element</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__OWNED_ELEMENT = CorePackage.CLASS__OWNED_ELEMENT; /** * The feature id for the '<em><b>Is Abstract</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__IS_ABSTRACT = CorePackage.CLASS__IS_ABSTRACT; /** * The feature id for the '<em><b>Feature</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__FEATURE = CorePackage.CLASS__FEATURE; /** * The feature id for the '<em><b>Structural Feature</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__STRUCTURAL_FEATURE = CorePackage.CLASS__STRUCTURAL_FEATURE; /** * The feature id for the '<em><b>Parameter</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__PARAMETER = CorePackage.CLASS__PARAMETER; /** * The feature id for the '<em><b>Generalization</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__GENERALIZATION = CorePackage.CLASS__GENERALIZATION; /** * The feature id for the '<em><b>Specialization</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__SPECIALIZATION = CorePackage.CLASS__SPECIALIZATION; /** * The feature id for the '<em><b>Instance</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__INSTANCE = CorePackage.CLASS__INSTANCE; /** * The feature id for the '<em><b>Alias</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__ALIAS = CorePackage.CLASS__ALIAS; /** * The feature id for the '<em><b>Expression Node</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__EXPRESSION_NODE = CorePackage.CLASS__EXPRESSION_NODE; /** * The feature id for the '<em><b>Mapping From</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__MAPPING_FROM = CorePackage.CLASS__MAPPING_FROM; /** * The feature id for the '<em><b>Mapping To</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__MAPPING_TO = CorePackage.CLASS__MAPPING_TO; /** * The feature id for the '<em><b>Classifier Map</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__CLASSIFIER_MAP = CorePackage.CLASS__CLASSIFIER_MAP; /** * The feature id for the '<em><b>Cf Map</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__CF_MAP = CorePackage.CLASS__CF_MAP; /** * The feature id for the '<em><b>Index</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION__INDEX = CorePackage.CLASS__INDEX; /** * The number of structural features of the '<em>Association</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_FEATURE_COUNT = CorePackage.CLASS_FEATURE_COUNT + 0; /** * The meta object id for the '{@link orgomg.cwm.objectmodel.relationships.impl.AssociationEndImpl <em>Association End</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see orgomg.cwm.objectmodel.relationships.impl.AssociationEndImpl * @see orgomg.cwm.objectmodel.relationships.impl.RelationshipsPackageImpl#getAssociationEnd() * @generated */ int ASSOCIATION_END = 1; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__NAME = CorePackage.STRUCTURAL_FEATURE__NAME; /** * The feature id for the '<em><b>Visibility</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__VISIBILITY = CorePackage.STRUCTURAL_FEATURE__VISIBILITY; /** * The feature id for the '<em><b>Client Dependency</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__CLIENT_DEPENDENCY = CorePackage.STRUCTURAL_FEATURE__CLIENT_DEPENDENCY; /** * The feature id for the '<em><b>Supplier Dependency</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__SUPPLIER_DEPENDENCY = CorePackage.STRUCTURAL_FEATURE__SUPPLIER_DEPENDENCY; /** * The feature id for the '<em><b>Constraint</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__CONSTRAINT = CorePackage.STRUCTURAL_FEATURE__CONSTRAINT; /** * The feature id for the '<em><b>Namespace</b></em>' container reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__NAMESPACE = CorePackage.STRUCTURAL_FEATURE__NAMESPACE; /** * The feature id for the '<em><b>Importer</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__IMPORTER = CorePackage.STRUCTURAL_FEATURE__IMPORTER; /** * The feature id for the '<em><b>Stereotype</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__STEREOTYPE = CorePackage.STRUCTURAL_FEATURE__STEREOTYPE; /** * The feature id for the '<em><b>Tagged Value</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__TAGGED_VALUE = CorePackage.STRUCTURAL_FEATURE__TAGGED_VALUE; /** * The feature id for the '<em><b>Document</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__DOCUMENT = CorePackage.STRUCTURAL_FEATURE__DOCUMENT; /** * The feature id for the '<em><b>Description</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__DESCRIPTION = CorePackage.STRUCTURAL_FEATURE__DESCRIPTION; /** * The feature id for the '<em><b>Responsible Party</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__RESPONSIBLE_PARTY = CorePackage.STRUCTURAL_FEATURE__RESPONSIBLE_PARTY; /** * The feature id for the '<em><b>Element Node</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__ELEMENT_NODE = CorePackage.STRUCTURAL_FEATURE__ELEMENT_NODE; /** * The feature id for the '<em><b>Set</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__SET = CorePackage.STRUCTURAL_FEATURE__SET; /** * The feature id for the '<em><b>Rendered Object</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__RENDERED_OBJECT = CorePackage.STRUCTURAL_FEATURE__RENDERED_OBJECT; /** * The feature id for the '<em><b>Vocabulary Element</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__VOCABULARY_ELEMENT = CorePackage.STRUCTURAL_FEATURE__VOCABULARY_ELEMENT; /** * The feature id for the '<em><b>Measurement</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__MEASUREMENT = CorePackage.STRUCTURAL_FEATURE__MEASUREMENT; /** * The feature id for the '<em><b>Change Request</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__CHANGE_REQUEST = CorePackage.STRUCTURAL_FEATURE__CHANGE_REQUEST; /** * The feature id for the '<em><b>Owner Scope</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__OWNER_SCOPE = CorePackage.STRUCTURAL_FEATURE__OWNER_SCOPE; /** * The feature id for the '<em><b>Owner</b></em>' container reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__OWNER = CorePackage.STRUCTURAL_FEATURE__OWNER; /** * The feature id for the '<em><b>Feature Node</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__FEATURE_NODE = CorePackage.STRUCTURAL_FEATURE__FEATURE_NODE; /** * The feature id for the '<em><b>Feature Map</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__FEATURE_MAP = CorePackage.STRUCTURAL_FEATURE__FEATURE_MAP; /** * The feature id for the '<em><b>Cf Map</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__CF_MAP = CorePackage.STRUCTURAL_FEATURE__CF_MAP; /** * The feature id for the '<em><b>Changeability</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__CHANGEABILITY = CorePackage.STRUCTURAL_FEATURE__CHANGEABILITY; /** * The feature id for the '<em><b>Multiplicity</b></em>' containment reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__MULTIPLICITY = CorePackage.STRUCTURAL_FEATURE__MULTIPLICITY; /** * The feature id for the '<em><b>Ordering</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__ORDERING = CorePackage.STRUCTURAL_FEATURE__ORDERING; /** * The feature id for the '<em><b>Target Scope</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__TARGET_SCOPE = CorePackage.STRUCTURAL_FEATURE__TARGET_SCOPE; /** * The feature id for the '<em><b>Type</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__TYPE = CorePackage.STRUCTURAL_FEATURE__TYPE; /** * The feature id for the '<em><b>Slot</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__SLOT = CorePackage.STRUCTURAL_FEATURE__SLOT; /** * The feature id for the '<em><b>Discriminated Union</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__DISCRIMINATED_UNION = CorePackage.STRUCTURAL_FEATURE__DISCRIMINATED_UNION; /** * The feature id for the '<em><b>Indexed Feature</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__INDEXED_FEATURE = CorePackage.STRUCTURAL_FEATURE__INDEXED_FEATURE; /** * The feature id for the '<em><b>Key Relationship</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__KEY_RELATIONSHIP = CorePackage.STRUCTURAL_FEATURE__KEY_RELATIONSHIP; /** * The feature id for the '<em><b>Unique Key</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__UNIQUE_KEY = CorePackage.STRUCTURAL_FEATURE__UNIQUE_KEY; /** * The feature id for the '<em><b>Aggregation</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__AGGREGATION = CorePackage.STRUCTURAL_FEATURE_FEATURE_COUNT + 0; /** * The feature id for the '<em><b>Is Navigable</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END__IS_NAVIGABLE = CorePackage.STRUCTURAL_FEATURE_FEATURE_COUNT + 1; /** * The number of structural features of the '<em>Association End</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int ASSOCIATION_END_FEATURE_COUNT = CorePackage.STRUCTURAL_FEATURE_FEATURE_COUNT + 2; /** * The meta object id for the '{@link orgomg.cwm.objectmodel.relationships.impl.GeneralizationImpl <em>Generalization</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see orgomg.cwm.objectmodel.relationships.impl.GeneralizationImpl * @see orgomg.cwm.objectmodel.relationships.impl.RelationshipsPackageImpl#getGeneralization() * @generated */ int GENERALIZATION = 2; /** * The feature id for the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__NAME = CorePackage.MODEL_ELEMENT__NAME; /** * The feature id for the '<em><b>Visibility</b></em>' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__VISIBILITY = CorePackage.MODEL_ELEMENT__VISIBILITY; /** * The feature id for the '<em><b>Client Dependency</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__CLIENT_DEPENDENCY = CorePackage.MODEL_ELEMENT__CLIENT_DEPENDENCY; /** * The feature id for the '<em><b>Supplier Dependency</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__SUPPLIER_DEPENDENCY = CorePackage.MODEL_ELEMENT__SUPPLIER_DEPENDENCY; /** * The feature id for the '<em><b>Constraint</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__CONSTRAINT = CorePackage.MODEL_ELEMENT__CONSTRAINT; /** * The feature id for the '<em><b>Namespace</b></em>' container reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__NAMESPACE = CorePackage.MODEL_ELEMENT__NAMESPACE; /** * The feature id for the '<em><b>Importer</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__IMPORTER = CorePackage.MODEL_ELEMENT__IMPORTER; /** * The feature id for the '<em><b>Stereotype</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__STEREOTYPE = CorePackage.MODEL_ELEMENT__STEREOTYPE; /** * The feature id for the '<em><b>Tagged Value</b></em>' containment reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__TAGGED_VALUE = CorePackage.MODEL_ELEMENT__TAGGED_VALUE; /** * The feature id for the '<em><b>Document</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__DOCUMENT = CorePackage.MODEL_ELEMENT__DOCUMENT; /** * The feature id for the '<em><b>Description</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__DESCRIPTION = CorePackage.MODEL_ELEMENT__DESCRIPTION; /** * The feature id for the '<em><b>Responsible Party</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__RESPONSIBLE_PARTY = CorePackage.MODEL_ELEMENT__RESPONSIBLE_PARTY; /** * The feature id for the '<em><b>Element Node</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__ELEMENT_NODE = CorePackage.MODEL_ELEMENT__ELEMENT_NODE; /** * The feature id for the '<em><b>Set</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__SET = CorePackage.MODEL_ELEMENT__SET; /** * The feature id for the '<em><b>Rendered Object</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__RENDERED_OBJECT = CorePackage.MODEL_ELEMENT__RENDERED_OBJECT; /** * The feature id for the '<em><b>Vocabulary Element</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__VOCABULARY_ELEMENT = CorePackage.MODEL_ELEMENT__VOCABULARY_ELEMENT; /** * The feature id for the '<em><b>Measurement</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__MEASUREMENT = CorePackage.MODEL_ELEMENT__MEASUREMENT; /** * The feature id for the '<em><b>Change Request</b></em>' reference list. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__CHANGE_REQUEST = CorePackage.MODEL_ELEMENT__CHANGE_REQUEST; /** * The feature id for the '<em><b>Child</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__CHILD = CorePackage.MODEL_ELEMENT_FEATURE_COUNT + 0; /** * The feature id for the '<em><b>Parent</b></em>' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION__PARENT = CorePackage.MODEL_ELEMENT_FEATURE_COUNT + 1; /** * The number of structural features of the '<em>Generalization</em>' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated * @ordered */ int GENERALIZATION_FEATURE_COUNT = CorePackage.MODEL_ELEMENT_FEATURE_COUNT + 2; /** * The meta object id for the '{@link orgomg.cwm.objectmodel.relationships.AggregationKind <em>Aggregation Kind</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see orgomg.cwm.objectmodel.relationships.AggregationKind * @see orgomg.cwm.objectmodel.relationships.impl.RelationshipsPackageImpl#getAggregationKind() * @generated */ int AGGREGATION_KIND = 3; /** * Returns the meta object for class '{@link orgomg.cwm.objectmodel.relationships.Association <em>Association</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Association</em>'. * @see orgomg.cwm.objectmodel.relationships.Association * @generated */ EClass getAssociation(); /** * Returns the meta object for class '{@link orgomg.cwm.objectmodel.relationships.AssociationEnd <em>Association End</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Association End</em>'. * @see orgomg.cwm.objectmodel.relationships.AssociationEnd * @generated */ EClass getAssociationEnd(); /** * Returns the meta object for the attribute '{@link orgomg.cwm.objectmodel.relationships.AssociationEnd#getAggregation <em>Aggregation</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Aggregation</em>'. * @see orgomg.cwm.objectmodel.relationships.AssociationEnd#getAggregation() * @see #getAssociationEnd() * @generated */ EAttribute getAssociationEnd_Aggregation(); /** * Returns the meta object for the attribute '{@link orgomg.cwm.objectmodel.relationships.AssociationEnd#isIsNavigable <em>Is Navigable</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the attribute '<em>Is Navigable</em>'. * @see orgomg.cwm.objectmodel.relationships.AssociationEnd#isIsNavigable() * @see #getAssociationEnd() * @generated */ EAttribute getAssociationEnd_IsNavigable(); /** * Returns the meta object for class '{@link orgomg.cwm.objectmodel.relationships.Generalization <em>Generalization</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for class '<em>Generalization</em>'. * @see orgomg.cwm.objectmodel.relationships.Generalization * @generated */ EClass getGeneralization(); /** * Returns the meta object for the reference '{@link orgomg.cwm.objectmodel.relationships.Generalization#getChild <em>Child</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the reference '<em>Child</em>'. * @see orgomg.cwm.objectmodel.relationships.Generalization#getChild() * @see #getGeneralization() * @generated */ EReference getGeneralization_Child(); /** * Returns the meta object for the reference '{@link orgomg.cwm.objectmodel.relationships.Generalization#getParent <em>Parent</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for the reference '<em>Parent</em>'. * @see orgomg.cwm.objectmodel.relationships.Generalization#getParent() * @see #getGeneralization() * @generated */ EReference getGeneralization_Parent(); /** * Returns the meta object for enum '{@link orgomg.cwm.objectmodel.relationships.AggregationKind <em>Aggregation Kind</em>}'. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the meta object for enum '<em>Aggregation Kind</em>'. * @see orgomg.cwm.objectmodel.relationships.AggregationKind * @generated */ EEnum getAggregationKind(); /** * Returns the factory that creates the instances of the model. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @return the factory that creates the instances of the model. * @generated */ RelationshipsFactory getRelationshipsFactory(); /** * <!-- begin-user-doc --> * Defines literals for the meta objects that represent * <ul> * <li>each class,</li> * <li>each feature of each class,</li> * <li>each enum,</li> * <li>and each data type</li> * </ul> * <!-- end-user-doc --> * @generated */ interface Literals { /** * The meta object literal for the '{@link orgomg.cwm.objectmodel.relationships.impl.AssociationImpl <em>Association</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see orgomg.cwm.objectmodel.relationships.impl.AssociationImpl * @see orgomg.cwm.objectmodel.relationships.impl.RelationshipsPackageImpl#getAssociation() * @generated */ EClass ASSOCIATION = eINSTANCE.getAssociation(); /** * The meta object literal for the '{@link orgomg.cwm.objectmodel.relationships.impl.AssociationEndImpl <em>Association End</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see orgomg.cwm.objectmodel.relationships.impl.AssociationEndImpl * @see orgomg.cwm.objectmodel.relationships.impl.RelationshipsPackageImpl#getAssociationEnd() * @generated */ EClass ASSOCIATION_END = eINSTANCE.getAssociationEnd(); /** * The meta object literal for the '<em><b>Aggregation</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute ASSOCIATION_END__AGGREGATION = eINSTANCE.getAssociationEnd_Aggregation(); /** * The meta object literal for the '<em><b>Is Navigable</b></em>' attribute feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EAttribute ASSOCIATION_END__IS_NAVIGABLE = eINSTANCE.getAssociationEnd_IsNavigable(); /** * The meta object literal for the '{@link orgomg.cwm.objectmodel.relationships.impl.GeneralizationImpl <em>Generalization</em>}' class. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see orgomg.cwm.objectmodel.relationships.impl.GeneralizationImpl * @see orgomg.cwm.objectmodel.relationships.impl.RelationshipsPackageImpl#getGeneralization() * @generated */ EClass GENERALIZATION = eINSTANCE.getGeneralization(); /** * The meta object literal for the '<em><b>Child</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference GENERALIZATION__CHILD = eINSTANCE.getGeneralization_Child(); /** * The meta object literal for the '<em><b>Parent</b></em>' reference feature. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ EReference GENERALIZATION__PARENT = eINSTANCE.getGeneralization_Parent(); /** * The meta object literal for the '{@link orgomg.cwm.objectmodel.relationships.AggregationKind <em>Aggregation Kind</em>}' enum. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @see orgomg.cwm.objectmodel.relationships.AggregationKind * @see orgomg.cwm.objectmodel.relationships.impl.RelationshipsPackageImpl#getAggregationKind() * @generated */ EEnum AGGREGATION_KIND = eINSTANCE.getAggregationKind(); } } //RelationshipsPackage