/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public MIView createView() { MView view = new MView(); return view; }
/** * <!-- 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, MIAnalysisMetaModelPackage.VIEW__ID, oldId, id)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case MIAnalysisMetaModelPackage.VIEW__NAME: setName(NAME_EDEFAULT); return; case MIAnalysisMetaModelPackage.VIEW__DESCRIPTION: setDescription(DESCRIPTION_EDEFAULT); return; case MIAnalysisMetaModelPackage.VIEW__DISPLAY_CONNECTORS: getDisplayConnectors().clear(); return; case MIAnalysisMetaModelPackage.VIEW__ID: setId(ID_EDEFAULT); return; } super.eUnset(featureID); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case MIAnalysisMetaModelPackage.VIEW__NAME: return getName(); case MIAnalysisMetaModelPackage.VIEW__DESCRIPTION: return getDescription(); case MIAnalysisMetaModelPackage.VIEW__DISPLAY_CONNECTORS: return getDisplayConnectors(); case MIAnalysisMetaModelPackage.VIEW__ID: return getId(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case MIAnalysisMetaModelPackage.VIEW__DISPLAY_CONNECTORS: return ((InternalEList<?>)getDisplayConnectors()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public String toString() { if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (name: "); result.append(name); result.append(", description: "); result.append(description); result.append(", id: "); result.append(id); result.append(')'); return result.toString(); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case MIAnalysisMetaModelPackage.VIEW__NAME: setName(NAME_EDEFAULT); return; case MIAnalysisMetaModelPackage.VIEW__DESCRIPTION: setDescription(DESCRIPTION_EDEFAULT); return; case MIAnalysisMetaModelPackage.VIEW__DISPLAY_CONNECTORS: getDisplayConnectors().clear(); return; case MIAnalysisMetaModelPackage.VIEW__ID: setId(ID_EDEFAULT); return; } super.eUnset(featureID); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case MIAnalysisMetaModelPackage.VIEW__NAME: return getName(); case MIAnalysisMetaModelPackage.VIEW__DESCRIPTION: return getDescription(); case MIAnalysisMetaModelPackage.VIEW__DISPLAY_CONNECTORS: return getDisplayConnectors(); case MIAnalysisMetaModelPackage.VIEW__ID: return getId(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case MIAnalysisMetaModelPackage.VIEW__DISPLAY_CONNECTORS: return ((InternalEList<?>)getDisplayConnectors()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public String toString() { if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (name: "); result.append(name); result.append(", description: "); result.append(description); result.append(", id: "); result.append(id); result.append(')'); return result.toString(); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case MIAnalysisMetaModelPackage.VIEW__NAME: setName((String)newValue); return; case MIAnalysisMetaModelPackage.VIEW__DESCRIPTION: setDescription((String)newValue); return; case MIAnalysisMetaModelPackage.VIEW__DISPLAY_CONNECTORS: getDisplayConnectors().clear(); getDisplayConnectors().addAll((Collection<? extends MIDisplayConnector>)newValue); return; case MIAnalysisMetaModelPackage.VIEW__ID: setId((String)newValue); return; } super.eSet(featureID, newValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setDescription(String newDescription) { String oldDescription = description; description = newDescription; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, MIAnalysisMetaModelPackage.VIEW__DESCRIPTION, oldDescription, description)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public MIView createView() { MView view = new MView(); return view; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case MIAnalysisMetaModelPackage.VIEW__NAME: setName((String)newValue); return; case MIAnalysisMetaModelPackage.VIEW__DESCRIPTION: setDescription((String)newValue); return; case MIAnalysisMetaModelPackage.VIEW__DISPLAY_CONNECTORS: getDisplayConnectors().clear(); getDisplayConnectors().addAll((Collection<? extends MIDisplayConnector>)newValue); return; case MIAnalysisMetaModelPackage.VIEW__ID: setId((String)newValue); return; } super.eSet(featureID, newValue); }
/** * <!-- 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, MIAnalysisMetaModelPackage.VIEW__NAME, oldName, name)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setDescription(String newDescription) { String oldDescription = description; description = newDescription; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, MIAnalysisMetaModelPackage.VIEW__DESCRIPTION, oldDescription, description)); }
/** * <!-- 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, MIAnalysisMetaModelPackage.VIEW__NAME, oldName, name)); }
/** * <!-- 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, MIAnalysisMetaModelPackage.VIEW__ID, oldId, id)); }