コード例 #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case DataminingPackage.COST_MATRIX__SETTINGS:
       getSettings().clear();
       return;
   }
   super.eUnset(featureID);
 }
コード例 #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case DataminingPackage.COST_MATRIX__SETTINGS:
       getSettings().clear();
       getSettings().addAll((Collection<? extends ClassificationSettings>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
コード例 #3
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case DataminingPackage.MINING_MODEL__FUNCTION:
       setFunction(FUNCTION_EDEFAULT);
       return;
     case DataminingPackage.MINING_MODEL__ALGORITHM:
       setAlgorithm(ALGORITHM_EDEFAULT);
       return;
     case DataminingPackage.MINING_MODEL__SETTINGS:
       setSettings((MiningSettings) null);
       return;
     case DataminingPackage.MINING_MODEL__MINING_RESULT:
       getMiningResult().clear();
       return;
     case DataminingPackage.MINING_MODEL__INPUT_SPEC:
       getInputSpec().clear();
       return;
   }
   super.eUnset(featureID);
 }
コード例 #4
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case DataminingPackage.MINING_MODEL__FUNCTION:
       setFunction((String) newValue);
       return;
     case DataminingPackage.MINING_MODEL__ALGORITHM:
       setAlgorithm((String) newValue);
       return;
     case DataminingPackage.MINING_MODEL__SETTINGS:
       setSettings((MiningSettings) newValue);
       return;
     case DataminingPackage.MINING_MODEL__MINING_RESULT:
       getMiningResult().clear();
       getMiningResult().addAll((Collection<? extends MiningModelResult>) newValue);
       return;
     case DataminingPackage.MINING_MODEL__INPUT_SPEC:
       getInputSpec().clear();
       getInputSpec().addAll((Collection<? extends ApplicationInputSpecification>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }