Exemplo n.º 1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case KmlPackage.ABSTRACT_VIEW__LONGITUDE:
       setLongitude(LONGITUDE_EDEFAULT);
       return;
     case KmlPackage.ABSTRACT_VIEW__LATITUDE:
       setLatitude(LATITUDE_EDEFAULT);
       return;
     case KmlPackage.ABSTRACT_VIEW__ALTITUDE:
       setAltitude(ALTITUDE_EDEFAULT);
       return;
     case KmlPackage.ABSTRACT_VIEW__HEADING:
       setHeading(HEADING_EDEFAULT);
       return;
     case KmlPackage.ABSTRACT_VIEW__MODE:
       setMode(MODE_EDEFAULT);
       return;
   }
   super.eUnset(featureID);
 }
Exemplo n.º 2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case KmlPackage.ABSTRACT_VIEW__LONGITUDE:
       setLongitude((Double) newValue);
       return;
     case KmlPackage.ABSTRACT_VIEW__LATITUDE:
       setLatitude((Double) newValue);
       return;
     case KmlPackage.ABSTRACT_VIEW__ALTITUDE:
       setAltitude((Double) newValue);
       return;
     case KmlPackage.ABSTRACT_VIEW__HEADING:
       setHeading((Double) newValue);
       return;
     case KmlPackage.ABSTRACT_VIEW__MODE:
       setMode((AltitudeMode) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }