diff options
Diffstat (limited to 'extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/IStereotypeImpl.java')
-rw-r--r-- | extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/IStereotypeImpl.java | 1281 |
1 files changed, 1281 insertions, 0 deletions
diff --git a/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/IStereotypeImpl.java b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/IStereotypeImpl.java new file mode 100644 index 00000000000..18ee32fad12 --- /dev/null +++ b/extraplugins/migration/rhapsody/org.eclipse.papyrus.migration.rhapsody.metamodel/src-gen/org/eclipse/papyrus/migration/rhapsody/rhapsodymetamodel/impl/IStereotypeImpl.java @@ -0,0 +1,1281 @@ +/** + * Copyright (c) 2016 CEA LIST and others. + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * CEA LIST - Initial API and implementation + * + */ +package org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; + +import org.eclipse.emf.ecore.util.EDataTypeEList; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.DeclarativesType; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.DependsOnType; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.ElementsType; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IComment; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IDependency; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IDescription; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IGeneralization; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IPropertyContainer; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IStereotype; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.ITag; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.IUnit; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.M_pModelObjectType; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.UMLRhapsodyPackage; +import org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.ValueType; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>IStereotype</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * </p> + * <ul> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getModifiedTimeWeak <em>Modified Time Weak</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getId <em>Id</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getMyState <em>My State</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getProperties <em>Properties</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getM2Classes <em>M2 Classes</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getNewTerm <em>New Term</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getTags <em>Tags</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getLastID <em>Last ID</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getInheritances <em>Inheritances</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getDependencies <em>Dependencies</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getRequiremenTracabilityHandle <em>Requiremen Tracability Handle</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getObjectCreation <em>Object Creation</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getUmlDependencyID <em>Uml Dependency ID</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getTheMainDiagram <em>The Main Diagram</em>}</li> + * <li>{@link org.eclipse.papyrus.migration.rhapsody.rhapsodymetamodel.impl.IStereotypeImpl#getAnnotations <em>Annotations</em>}</li> + * </ul> + * + * @generated + */ +public class IStereotypeImpl extends IClassifierImpl implements IStereotype { + /** + * The cached value of the '{@link #getModifiedTimeWeak() <em>Modified Time Weak</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getModifiedTimeWeak() + * @generated + * @ordered + */ + protected EList<String> modifiedTimeWeak; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * The default value of the '{@link #getMyState() <em>My State</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMyState() + * @generated + * @ordered + */ + protected static final String MY_STATE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getMyState() <em>My State</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMyState() + * @generated + * @ordered + */ + protected String myState = MY_STATE_EDEFAULT; + + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getProperties() <em>Properties</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getProperties() + * @generated + * @ordered + */ + protected IPropertyContainer properties; + + /** + * The cached value of the '{@link #getM2Classes() <em>M2 Classes</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getM2Classes() + * @generated + * @ordered + */ + protected EList<String> m2Classes; + + /** + * The default value of the '{@link #getNewTerm() <em>New Term</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getNewTerm() + * @generated + * @ordered + */ + protected static final String NEW_TERM_EDEFAULT = null; + + /** + * The cached value of the '{@link #getNewTerm() <em>New Term</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getNewTerm() + * @generated + * @ordered + */ + protected String newTerm = NEW_TERM_EDEFAULT; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected IDescription description; + + /** + * The cached value of the '{@link #getTags() <em>Tags</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTags() + * @generated + * @ordered + */ + protected EList<ITag> tags; + + /** + * The default value of the '{@link #getLastID() <em>Last ID</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLastID() + * @generated + * @ordered + */ + protected static final String LAST_ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLastID() <em>Last ID</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLastID() + * @generated + * @ordered + */ + protected String lastID = LAST_ID_EDEFAULT; + + /** + * The cached value of the '{@link #getInheritances() <em>Inheritances</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getInheritances() + * @generated + * @ordered + */ + protected EList<IGeneralization> inheritances; + + /** + * The cached value of the '{@link #getDependencies() <em>Dependencies</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDependencies() + * @generated + * @ordered + */ + protected IDependency dependencies; + + /** + * The default value of the '{@link #getRequiremenTracabilityHandle() <em>Requiremen Tracability Handle</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRequiremenTracabilityHandle() + * @generated + * @ordered + */ + protected static final String REQUIREMEN_TRACABILITY_HANDLE_EDEFAULT = null; + + /** + * The cached value of the '{@link #getRequiremenTracabilityHandle() <em>Requiremen Tracability Handle</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRequiremenTracabilityHandle() + * @generated + * @ordered + */ + protected String requiremenTracabilityHandle = REQUIREMEN_TRACABILITY_HANDLE_EDEFAULT; + + /** + * The default value of the '{@link #getDisplayName() <em>Display Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected static final String DISPLAY_NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected String displayName = DISPLAY_NAME_EDEFAULT; + + /** + * The default value of the '{@link #getObjectCreation() <em>Object Creation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getObjectCreation() + * @generated + * @ordered + */ + protected static final String OBJECT_CREATION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getObjectCreation() <em>Object Creation</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getObjectCreation() + * @generated + * @ordered + */ + protected String objectCreation = OBJECT_CREATION_EDEFAULT; + + /** + * The default value of the '{@link #getUmlDependencyID() <em>Uml Dependency ID</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getUmlDependencyID() + * @generated + * @ordered + */ + protected static final String UML_DEPENDENCY_ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getUmlDependencyID() <em>Uml Dependency ID</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getUmlDependencyID() + * @generated + * @ordered + */ + protected String umlDependencyID = UML_DEPENDENCY_ID_EDEFAULT; + + /** + * The cached value of the '{@link #getTheMainDiagram() <em>The Main Diagram</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTheMainDiagram() + * @generated + * @ordered + */ + protected IUnit theMainDiagram; + + /** + * The cached value of the '{@link #getAnnotations() <em>Annotations</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAnnotations() + * @generated + * @ordered + */ + protected IComment annotations; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected IStereotypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() { + return UMLRhapsodyPackage.eINSTANCE.getIStereotype(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<String> getModifiedTimeWeak() { + if (modifiedTimeWeak == null) { + modifiedTimeWeak = new EDataTypeEList<String>(String.class, this, UMLRhapsodyPackage.ISTEREOTYPE__MODIFIED_TIME_WEAK); + } + return modifiedTimeWeak; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setId(String newId) { + String oldId = id; + id = newId; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getMyState() { + return myState; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMyState(String newMyState) { + String oldMyState = myState; + myState = newMyState; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__MY_STATE, oldMyState, myState)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getName() { + return name; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setName(String newName) { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IPropertyContainer getProperties() { + if (properties != null && properties.eIsProxy()) { + InternalEObject oldProperties = (InternalEObject)properties; + properties = (IPropertyContainer)eResolveProxy(oldProperties); + if (properties != oldProperties) { + InternalEObject newProperties = (InternalEObject)properties; + NotificationChain msgs = oldProperties.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__PROPERTIES, null, null); + if (newProperties.eInternalContainer() == null) { + msgs = newProperties.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__PROPERTIES, null, msgs); + } + if (msgs != null) msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.ISTEREOTYPE__PROPERTIES, oldProperties, properties)); + } + } + return properties; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IPropertyContainer basicGetProperties() { + return properties; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetProperties(IPropertyContainer newProperties, NotificationChain msgs) { + IPropertyContainer oldProperties = properties; + properties = newProperties; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__PROPERTIES, oldProperties, newProperties); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setProperties(IPropertyContainer newProperties) { + if (newProperties != properties) { + NotificationChain msgs = null; + if (properties != null) + msgs = ((InternalEObject)properties).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__PROPERTIES, null, msgs); + if (newProperties != null) + msgs = ((InternalEObject)newProperties).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__PROPERTIES, null, msgs); + msgs = basicSetProperties(newProperties, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__PROPERTIES, newProperties, newProperties)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<String> getM2Classes() { + if (m2Classes == null) { + m2Classes = new EDataTypeEList<String>(String.class, this, UMLRhapsodyPackage.ISTEREOTYPE__M2_CLASSES); + } + return m2Classes; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getNewTerm() { + return newTerm; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setNewTerm(String newNewTerm) { + String oldNewTerm = newTerm; + newTerm = newNewTerm; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__NEW_TERM, oldNewTerm, newTerm)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IDescription getDescription() { + if (description != null && description.eIsProxy()) { + InternalEObject oldDescription = (InternalEObject)description; + description = (IDescription)eResolveProxy(oldDescription); + if (description != oldDescription) { + InternalEObject newDescription = (InternalEObject)description; + NotificationChain msgs = oldDescription.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__DESCRIPTION, null, null); + if (newDescription.eInternalContainer() == null) { + msgs = newDescription.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__DESCRIPTION, null, msgs); + } + if (msgs != null) msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.ISTEREOTYPE__DESCRIPTION, oldDescription, description)); + } + } + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IDescription basicGetDescription() { + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetDescription(IDescription newDescription, NotificationChain msgs) { + IDescription oldDescription = description; + description = newDescription; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__DESCRIPTION, oldDescription, newDescription); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDescription(IDescription newDescription) { + if (newDescription != description) { + NotificationChain msgs = null; + if (description != null) + msgs = ((InternalEObject)description).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__DESCRIPTION, null, msgs); + if (newDescription != null) + msgs = ((InternalEObject)newDescription).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__DESCRIPTION, null, msgs); + msgs = basicSetDescription(newDescription, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__DESCRIPTION, newDescription, newDescription)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<ITag> getTags() { + if (tags == null) { + tags = new EObjectContainmentEList.Resolving<ITag>(ITag.class, this, UMLRhapsodyPackage.ISTEREOTYPE__TAGS); + } + return tags; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLastID() { + return lastID; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setLastID(String newLastID) { + String oldLastID = lastID; + lastID = newLastID; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__LAST_ID, oldLastID, lastID)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<IGeneralization> getInheritances() { + if (inheritances == null) { + inheritances = new EObjectContainmentEList.Resolving<IGeneralization>(IGeneralization.class, this, UMLRhapsodyPackage.ISTEREOTYPE__INHERITANCES); + } + return inheritances; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IDependency getDependencies() { + if (dependencies != null && dependencies.eIsProxy()) { + InternalEObject oldDependencies = (InternalEObject)dependencies; + dependencies = (IDependency)eResolveProxy(oldDependencies); + if (dependencies != oldDependencies) { + InternalEObject newDependencies = (InternalEObject)dependencies; + NotificationChain msgs = oldDependencies.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__DEPENDENCIES, null, null); + if (newDependencies.eInternalContainer() == null) { + msgs = newDependencies.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__DEPENDENCIES, null, msgs); + } + if (msgs != null) msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.ISTEREOTYPE__DEPENDENCIES, oldDependencies, dependencies)); + } + } + return dependencies; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IDependency basicGetDependencies() { + return dependencies; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetDependencies(IDependency newDependencies, NotificationChain msgs) { + IDependency oldDependencies = dependencies; + dependencies = newDependencies; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__DEPENDENCIES, oldDependencies, newDependencies); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDependencies(IDependency newDependencies) { + if (newDependencies != dependencies) { + NotificationChain msgs = null; + if (dependencies != null) + msgs = ((InternalEObject)dependencies).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__DEPENDENCIES, null, msgs); + if (newDependencies != null) + msgs = ((InternalEObject)newDependencies).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__DEPENDENCIES, null, msgs); + msgs = basicSetDependencies(newDependencies, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__DEPENDENCIES, newDependencies, newDependencies)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getRequiremenTracabilityHandle() { + return requiremenTracabilityHandle; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRequiremenTracabilityHandle(String newRequiremenTracabilityHandle) { + String oldRequiremenTracabilityHandle = requiremenTracabilityHandle; + requiremenTracabilityHandle = newRequiremenTracabilityHandle; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__REQUIREMEN_TRACABILITY_HANDLE, oldRequiremenTracabilityHandle, requiremenTracabilityHandle)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getDisplayName() { + return displayName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDisplayName(String newDisplayName) { + String oldDisplayName = displayName; + displayName = newDisplayName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__DISPLAY_NAME, oldDisplayName, displayName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getObjectCreation() { + return objectCreation; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setObjectCreation(String newObjectCreation) { + String oldObjectCreation = objectCreation; + objectCreation = newObjectCreation; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__OBJECT_CREATION, oldObjectCreation, objectCreation)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getUmlDependencyID() { + return umlDependencyID; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setUmlDependencyID(String newUmlDependencyID) { + String oldUmlDependencyID = umlDependencyID; + umlDependencyID = newUmlDependencyID; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__UML_DEPENDENCY_ID, oldUmlDependencyID, umlDependencyID)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IUnit getTheMainDiagram() { + if (theMainDiagram != null && theMainDiagram.eIsProxy()) { + InternalEObject oldTheMainDiagram = (InternalEObject)theMainDiagram; + theMainDiagram = (IUnit)eResolveProxy(oldTheMainDiagram); + if (theMainDiagram != oldTheMainDiagram) { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.ISTEREOTYPE__THE_MAIN_DIAGRAM, oldTheMainDiagram, theMainDiagram)); + } + } + return theMainDiagram; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IUnit basicGetTheMainDiagram() { + return theMainDiagram; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTheMainDiagram(IUnit newTheMainDiagram) { + IUnit oldTheMainDiagram = theMainDiagram; + theMainDiagram = newTheMainDiagram; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__THE_MAIN_DIAGRAM, oldTheMainDiagram, theMainDiagram)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IComment getAnnotations() { + if (annotations != null && annotations.eIsProxy()) { + InternalEObject oldAnnotations = (InternalEObject)annotations; + annotations = (IComment)eResolveProxy(oldAnnotations); + if (annotations != oldAnnotations) { + InternalEObject newAnnotations = (InternalEObject)annotations; + NotificationChain msgs = oldAnnotations.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__ANNOTATIONS, null, null); + if (newAnnotations.eInternalContainer() == null) { + msgs = newAnnotations.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__ANNOTATIONS, null, msgs); + } + if (msgs != null) msgs.dispatch(); + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRhapsodyPackage.ISTEREOTYPE__ANNOTATIONS, oldAnnotations, annotations)); + } + } + return annotations; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IComment basicGetAnnotations() { + return annotations; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetAnnotations(IComment newAnnotations, NotificationChain msgs) { + IComment oldAnnotations = annotations; + annotations = newAnnotations; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__ANNOTATIONS, oldAnnotations, newAnnotations); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setAnnotations(IComment newAnnotations) { + if (newAnnotations != annotations) { + NotificationChain msgs = null; + if (annotations != null) + msgs = ((InternalEObject)annotations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__ANNOTATIONS, null, msgs); + if (newAnnotations != null) + msgs = ((InternalEObject)newAnnotations).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - UMLRhapsodyPackage.ISTEREOTYPE__ANNOTATIONS, null, msgs); + msgs = basicSetAnnotations(newAnnotations, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, UMLRhapsodyPackage.ISTEREOTYPE__ANNOTATIONS, newAnnotations, newAnnotations)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case UMLRhapsodyPackage.ISTEREOTYPE__PROPERTIES: + return basicSetProperties(null, msgs); + case UMLRhapsodyPackage.ISTEREOTYPE__DESCRIPTION: + return basicSetDescription(null, msgs); + case UMLRhapsodyPackage.ISTEREOTYPE__TAGS: + return ((InternalEList<?>)getTags()).basicRemove(otherEnd, msgs); + case UMLRhapsodyPackage.ISTEREOTYPE__INHERITANCES: + return ((InternalEList<?>)getInheritances()).basicRemove(otherEnd, msgs); + case UMLRhapsodyPackage.ISTEREOTYPE__DEPENDENCIES: + return basicSetDependencies(null, msgs); + case UMLRhapsodyPackage.ISTEREOTYPE__ANNOTATIONS: + return basicSetAnnotations(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case UMLRhapsodyPackage.ISTEREOTYPE__MODIFIED_TIME_WEAK: + return getModifiedTimeWeak(); + case UMLRhapsodyPackage.ISTEREOTYPE__ID: + return getId(); + case UMLRhapsodyPackage.ISTEREOTYPE__MY_STATE: + return getMyState(); + case UMLRhapsodyPackage.ISTEREOTYPE__NAME: + return getName(); + case UMLRhapsodyPackage.ISTEREOTYPE__PROPERTIES: + if (resolve) return getProperties(); + return basicGetProperties(); + case UMLRhapsodyPackage.ISTEREOTYPE__M2_CLASSES: + return getM2Classes(); + case UMLRhapsodyPackage.ISTEREOTYPE__NEW_TERM: + return getNewTerm(); + case UMLRhapsodyPackage.ISTEREOTYPE__DESCRIPTION: + if (resolve) return getDescription(); + return basicGetDescription(); + case UMLRhapsodyPackage.ISTEREOTYPE__TAGS: + return getTags(); + case UMLRhapsodyPackage.ISTEREOTYPE__LAST_ID: + return getLastID(); + case UMLRhapsodyPackage.ISTEREOTYPE__INHERITANCES: + return getInheritances(); + case UMLRhapsodyPackage.ISTEREOTYPE__DEPENDENCIES: + if (resolve) return getDependencies(); + return basicGetDependencies(); + case UMLRhapsodyPackage.ISTEREOTYPE__REQUIREMEN_TRACABILITY_HANDLE: + return getRequiremenTracabilityHandle(); + case UMLRhapsodyPackage.ISTEREOTYPE__DISPLAY_NAME: + return getDisplayName(); + case UMLRhapsodyPackage.ISTEREOTYPE__OBJECT_CREATION: + return getObjectCreation(); + case UMLRhapsodyPackage.ISTEREOTYPE__UML_DEPENDENCY_ID: + return getUmlDependencyID(); + case UMLRhapsodyPackage.ISTEREOTYPE__THE_MAIN_DIAGRAM: + if (resolve) return getTheMainDiagram(); + return basicGetTheMainDiagram(); + case UMLRhapsodyPackage.ISTEREOTYPE__ANNOTATIONS: + if (resolve) return getAnnotations(); + return basicGetAnnotations(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case UMLRhapsodyPackage.ISTEREOTYPE__MODIFIED_TIME_WEAK: + getModifiedTimeWeak().clear(); + getModifiedTimeWeak().addAll((Collection<? extends String>)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__ID: + setId((String)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__MY_STATE: + setMyState((String)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__NAME: + setName((String)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__PROPERTIES: + setProperties((IPropertyContainer)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__M2_CLASSES: + getM2Classes().clear(); + getM2Classes().addAll((Collection<? extends String>)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__NEW_TERM: + setNewTerm((String)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__DESCRIPTION: + setDescription((IDescription)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__TAGS: + getTags().clear(); + getTags().addAll((Collection<? extends ITag>)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__LAST_ID: + setLastID((String)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__INHERITANCES: + getInheritances().clear(); + getInheritances().addAll((Collection<? extends IGeneralization>)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__DEPENDENCIES: + setDependencies((IDependency)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__REQUIREMEN_TRACABILITY_HANDLE: + setRequiremenTracabilityHandle((String)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__DISPLAY_NAME: + setDisplayName((String)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__OBJECT_CREATION: + setObjectCreation((String)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__UML_DEPENDENCY_ID: + setUmlDependencyID((String)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__THE_MAIN_DIAGRAM: + setTheMainDiagram((IUnit)newValue); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__ANNOTATIONS: + setAnnotations((IComment)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case UMLRhapsodyPackage.ISTEREOTYPE__MODIFIED_TIME_WEAK: + getModifiedTimeWeak().clear(); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__ID: + setId(ID_EDEFAULT); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__MY_STATE: + setMyState(MY_STATE_EDEFAULT); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__NAME: + setName(NAME_EDEFAULT); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__PROPERTIES: + setProperties((IPropertyContainer)null); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__M2_CLASSES: + getM2Classes().clear(); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__NEW_TERM: + setNewTerm(NEW_TERM_EDEFAULT); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__DESCRIPTION: + setDescription((IDescription)null); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__TAGS: + getTags().clear(); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__LAST_ID: + setLastID(LAST_ID_EDEFAULT); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__INHERITANCES: + getInheritances().clear(); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__DEPENDENCIES: + setDependencies((IDependency)null); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__REQUIREMEN_TRACABILITY_HANDLE: + setRequiremenTracabilityHandle(REQUIREMEN_TRACABILITY_HANDLE_EDEFAULT); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__DISPLAY_NAME: + setDisplayName(DISPLAY_NAME_EDEFAULT); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__OBJECT_CREATION: + setObjectCreation(OBJECT_CREATION_EDEFAULT); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__UML_DEPENDENCY_ID: + setUmlDependencyID(UML_DEPENDENCY_ID_EDEFAULT); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__THE_MAIN_DIAGRAM: + setTheMainDiagram((IUnit)null); + return; + case UMLRhapsodyPackage.ISTEREOTYPE__ANNOTATIONS: + setAnnotations((IComment)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case UMLRhapsodyPackage.ISTEREOTYPE__MODIFIED_TIME_WEAK: + return modifiedTimeWeak != null && !modifiedTimeWeak.isEmpty(); + case UMLRhapsodyPackage.ISTEREOTYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + case UMLRhapsodyPackage.ISTEREOTYPE__MY_STATE: + return MY_STATE_EDEFAULT == null ? myState != null : !MY_STATE_EDEFAULT.equals(myState); + case UMLRhapsodyPackage.ISTEREOTYPE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case UMLRhapsodyPackage.ISTEREOTYPE__PROPERTIES: + return properties != null; + case UMLRhapsodyPackage.ISTEREOTYPE__M2_CLASSES: + return m2Classes != null && !m2Classes.isEmpty(); + case UMLRhapsodyPackage.ISTEREOTYPE__NEW_TERM: + return NEW_TERM_EDEFAULT == null ? newTerm != null : !NEW_TERM_EDEFAULT.equals(newTerm); + case UMLRhapsodyPackage.ISTEREOTYPE__DESCRIPTION: + return description != null; + case UMLRhapsodyPackage.ISTEREOTYPE__TAGS: + return tags != null && !tags.isEmpty(); + case UMLRhapsodyPackage.ISTEREOTYPE__LAST_ID: + return LAST_ID_EDEFAULT == null ? lastID != null : !LAST_ID_EDEFAULT.equals(lastID); + case UMLRhapsodyPackage.ISTEREOTYPE__INHERITANCES: + return inheritances != null && !inheritances.isEmpty(); + case UMLRhapsodyPackage.ISTEREOTYPE__DEPENDENCIES: + return dependencies != null; + case UMLRhapsodyPackage.ISTEREOTYPE__REQUIREMEN_TRACABILITY_HANDLE: + return REQUIREMEN_TRACABILITY_HANDLE_EDEFAULT == null ? requiremenTracabilityHandle != null : !REQUIREMEN_TRACABILITY_HANDLE_EDEFAULT.equals(requiremenTracabilityHandle); + case UMLRhapsodyPackage.ISTEREOTYPE__DISPLAY_NAME: + return DISPLAY_NAME_EDEFAULT == null ? displayName != null : !DISPLAY_NAME_EDEFAULT.equals(displayName); + case UMLRhapsodyPackage.ISTEREOTYPE__OBJECT_CREATION: + return OBJECT_CREATION_EDEFAULT == null ? objectCreation != null : !OBJECT_CREATION_EDEFAULT.equals(objectCreation); + case UMLRhapsodyPackage.ISTEREOTYPE__UML_DEPENDENCY_ID: + return UML_DEPENDENCY_ID_EDEFAULT == null ? umlDependencyID != null : !UML_DEPENDENCY_ID_EDEFAULT.equals(umlDependencyID); + case UMLRhapsodyPackage.ISTEREOTYPE__THE_MAIN_DIAGRAM: + return theMainDiagram != null; + case UMLRhapsodyPackage.ISTEREOTYPE__ANNOTATIONS: + return annotations != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) { + if (baseClass == ValueType.class) { + switch (derivedFeatureID) { + case UMLRhapsodyPackage.ISTEREOTYPE__MODIFIED_TIME_WEAK: return UMLRhapsodyPackage.VALUE_TYPE__MODIFIED_TIME_WEAK; + case UMLRhapsodyPackage.ISTEREOTYPE__ID: return UMLRhapsodyPackage.VALUE_TYPE__ID; + case UMLRhapsodyPackage.ISTEREOTYPE__MY_STATE: return UMLRhapsodyPackage.VALUE_TYPE__MY_STATE; + case UMLRhapsodyPackage.ISTEREOTYPE__NAME: return UMLRhapsodyPackage.VALUE_TYPE__NAME; + default: return -1; + } + } + if (baseClass == DeclarativesType.class) { + switch (derivedFeatureID) { + default: return -1; + } + } + if (baseClass == ElementsType.class) { + switch (derivedFeatureID) { + default: return -1; + } + } + if (baseClass == DependsOnType.class) { + switch (derivedFeatureID) { + default: return -1; + } + } + if (baseClass == M_pModelObjectType.class) { + switch (derivedFeatureID) { + default: return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) { + if (baseClass == ValueType.class) { + switch (baseFeatureID) { + case UMLRhapsodyPackage.VALUE_TYPE__MODIFIED_TIME_WEAK: return UMLRhapsodyPackage.ISTEREOTYPE__MODIFIED_TIME_WEAK; + case UMLRhapsodyPackage.VALUE_TYPE__ID: return UMLRhapsodyPackage.ISTEREOTYPE__ID; + case UMLRhapsodyPackage.VALUE_TYPE__MY_STATE: return UMLRhapsodyPackage.ISTEREOTYPE__MY_STATE; + case UMLRhapsodyPackage.VALUE_TYPE__NAME: return UMLRhapsodyPackage.ISTEREOTYPE__NAME; + default: return -1; + } + } + if (baseClass == DeclarativesType.class) { + switch (baseFeatureID) { + default: return -1; + } + } + if (baseClass == ElementsType.class) { + switch (baseFeatureID) { + default: return -1; + } + } + if (baseClass == DependsOnType.class) { + switch (baseFeatureID) { + default: return -1; + } + } + if (baseClass == M_pModelObjectType.class) { + switch (baseFeatureID) { + default: return -1; + } + } + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (modifiedTimeWeak: "); //$NON-NLS-1$ + result.append(modifiedTimeWeak); + result.append(", id: "); //$NON-NLS-1$ + result.append(id); + result.append(", myState: "); //$NON-NLS-1$ + result.append(myState); + result.append(", name: "); //$NON-NLS-1$ + result.append(name); + result.append(", m2Classes: "); //$NON-NLS-1$ + result.append(m2Classes); + result.append(", newTerm: "); //$NON-NLS-1$ + result.append(newTerm); + result.append(", lastID: "); //$NON-NLS-1$ + result.append(lastID); + result.append(", requiremenTracabilityHandle: "); //$NON-NLS-1$ + result.append(requiremenTracabilityHandle); + result.append(", displayName: "); //$NON-NLS-1$ + result.append(displayName); + result.append(", objectCreation: "); //$NON-NLS-1$ + result.append(objectCreation); + result.append(", umlDependencyID: "); //$NON-NLS-1$ + result.append(umlDependencyID); + result.append(')'); + return result.toString(); + } + +} //IStereotypeImpl |