/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case ToscaPackage.TRELATIONSHIP_TEMPLATE__SOURCE_ELEMENT: setSourceElement((SourceElementType) null); return; case ToscaPackage.TRELATIONSHIP_TEMPLATE__TARGET_ELEMENT: setTargetElement((TargetElementType) null); return; case ToscaPackage.TRELATIONSHIP_TEMPLATE__RELATIONSHIP_CONSTRAINTS: setRelationshipConstraints((RelationshipConstraintsType) null); return; case ToscaPackage.TRELATIONSHIP_TEMPLATE__NAME: setName(NAME_EDEFAULT); return; } super.eUnset(featureID); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case ToscaPackage.TRELATIONSHIP_TEMPLATE__SOURCE_ELEMENT: setSourceElement((SourceElementType) newValue); return; case ToscaPackage.TRELATIONSHIP_TEMPLATE__TARGET_ELEMENT: setTargetElement((TargetElementType) newValue); return; case ToscaPackage.TRELATIONSHIP_TEMPLATE__RELATIONSHIP_CONSTRAINTS: setRelationshipConstraints((RelationshipConstraintsType) newValue); return; case ToscaPackage.TRELATIONSHIP_TEMPLATE__NAME: setName((String) newValue); return; } super.eSet(featureID, newValue); }