/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case UmlPackage.STATE_INVARIANT__GROUP6: getGroup6().clear(); return; case UmlPackage.STATE_INVARIANT__INVARIANT: getInvariant().clear(); return; } super.eUnset(featureID); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case UmlPackage.STATE_INVARIANT__GROUP6: ((FeatureMap.Internal) getGroup6()).set(newValue); return; case UmlPackage.STATE_INVARIANT__INVARIANT: getInvariant().clear(); getInvariant().addAll((Collection<? extends Constraint>) newValue); return; } super.eSet(featureID, newValue); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case InteractionPackage.COMBINED_FRAGMENT__OPERATOR: setOperator(OPERATOR_EDEFAULT); return; case InteractionPackage.COMBINED_FRAGMENT__COVERED_PARTICIPANTS: getCoveredParticipants().clear(); return; case InteractionPackage.COMBINED_FRAGMENT__OWNED_OPERANDS: getOwnedOperands().clear(); return; } super.eUnset(featureID); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case InteractionPackage.COMBINED_FRAGMENT__OPERATOR: setOperator((String) newValue); return; case InteractionPackage.COMBINED_FRAGMENT__COVERED_PARTICIPANTS: getCoveredParticipants().clear(); getCoveredParticipants().addAll((Collection<? extends Participant>) newValue); return; case InteractionPackage.COMBINED_FRAGMENT__OWNED_OPERANDS: getOwnedOperands().clear(); getOwnedOperands().addAll((Collection<? extends Operand>) newValue); return; } super.eSet(featureID, newValue); }