Example #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case CimPackage.LOGICAL_FILE__FILENAME:
       setFilename(FILENAME_EDEFAULT);
       return;
     case CimPackage.LOGICAL_FILE__FILE_SIZE:
       setFileSize(FILE_SIZE_EDEFAULT);
       return;
     case CimPackage.LOGICAL_FILE__CREATION_DATE:
       setCreationDate(CREATION_DATE_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }
Example #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case CimPackage.LOGICAL_FILE__FILENAME:
       setFilename((String) newValue);
       return;
     case CimPackage.LOGICAL_FILE__FILE_SIZE:
       setFileSize((Integer) newValue);
       return;
     case CimPackage.LOGICAL_FILE__CREATION_DATE:
       setCreationDate((Date) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case CimPackage.NEXT_HOP_ROUTING__DESTINATION_ADDRESS:
       setDestinationAddress(DESTINATION_ADDRESS_EDEFAULT);
       return;
     case CimPackage.NEXT_HOP_ROUTING__DESTINATION_MASK:
       setDestinationMask(DESTINATION_MASK_EDEFAULT);
       return;
     case CimPackage.NEXT_HOP_ROUTING__NEXT_HOP:
       setNextHop(NEXT_HOP_EDEFAULT);
       return;
     case CimPackage.NEXT_HOP_ROUTING__IS_STATIC:
       setIsStatic(IS_STATIC_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case CimPackage.NEXT_HOP_ROUTING__DESTINATION_ADDRESS:
       setDestinationAddress((String) newValue);
       return;
     case CimPackage.NEXT_HOP_ROUTING__DESTINATION_MASK:
       setDestinationMask((String) newValue);
       return;
     case CimPackage.NEXT_HOP_ROUTING__NEXT_HOP:
       setNextHop((String) newValue);
       return;
     case CimPackage.NEXT_HOP_ROUTING__IS_STATIC:
       setIsStatic((Boolean) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }