Esempio n. 1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case ReportingPackage.META_RECORD__SE_TYPE:
       setSEType((EObject) newValue);
       return;
     case ReportingPackage.META_RECORD__MATCHING_CRITERIA:
       getMatchingCriteria().clear();
       getMatchingCriteria().addAll((Collection<? extends Constraint>) newValue);
       return;
     case ReportingPackage.META_RECORD__ATTRIBUTE:
       getAttribute().clear();
       getAttribute().addAll((Collection<? extends EObject>) newValue);
       return;
     case ReportingPackage.META_RECORD__TRACK_SIZE:
       setTrackSize((Boolean) newValue);
       return;
     case ReportingPackage.META_RECORD__TRACKED:
       setTracked((Boolean) newValue);
       return;
     case ReportingPackage.META_RECORD__NAMED_ELEMENT_LIST:
       getNamedElementList().clear();
       getNamedElementList().addAll((Collection<? extends NamedElementList>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
Esempio n. 2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case ReportingPackage.META_RECORD__SE_TYPE:
       setSEType((EObject) null);
       return;
     case ReportingPackage.META_RECORD__MATCHING_CRITERIA:
       getMatchingCriteria().clear();
       return;
     case ReportingPackage.META_RECORD__ATTRIBUTE:
       getAttribute().clear();
       return;
     case ReportingPackage.META_RECORD__TRACK_SIZE:
       setTrackSize(TRACK_SIZE_EDEFAULT);
       return;
     case ReportingPackage.META_RECORD__TRACKED:
       setTracked(TRACKED_EDEFAULT);
       return;
     case ReportingPackage.META_RECORD__NAMED_ELEMENT_LIST:
       getNamedElementList().clear();
       return;
   }
   super.eUnset(featureID);
 }