コード例 #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case CSTPackage.PARAMETER_DECLARATION_CS__SIMPLE_NAME_CS:
       setSimpleNameCS((SimpleNameCS) null);
       return;
     case CSTPackage.PARAMETER_DECLARATION_CS__TYPE_SPEC_CS:
       setTypeSpecCS((TypeSpecCS) null);
       return;
     case CSTPackage.PARAMETER_DECLARATION_CS__DIRECTION_KIND:
       unsetDirectionKind();
       return;
   }
   super.eUnset(featureID);
 }
コード例 #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case CSTPackage.PARAMETER_DECLARATION_CS__SIMPLE_NAME_CS:
       setSimpleNameCS((SimpleNameCS) newValue);
       return;
     case CSTPackage.PARAMETER_DECLARATION_CS__TYPE_SPEC_CS:
       setTypeSpecCS((TypeSpecCS) newValue);
       return;
     case CSTPackage.PARAMETER_DECLARATION_CS__DIRECTION_KIND:
       setDirectionKind((DirectionKindEnum) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }