/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EnvEntryType createEnvEntryType () { EnvEntryTypeImpl envEntryType = new EnvEntryTypeImpl (); return envEntryType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setValue ( String newValue ) { String oldValue = value; value = newValue; if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.SET, ConfigurationPackage.ENV_ENTRY_TYPE__VALUE, oldValue, value ) ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eSet ( int featureID, Object newValue ) { switch ( featureID ) { case ConfigurationPackage.ENV_ENTRY_TYPE__NAME: setName ( (String)newValue ); return; case ConfigurationPackage.ENV_ENTRY_TYPE__VALUE: setValue ( (String)newValue ); return; } super.eSet ( featureID, newValue ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet ( int featureID, boolean resolve, boolean coreType ) { switch ( featureID ) { case ConfigurationPackage.ENV_ENTRY_TYPE__NAME: return getName (); case ConfigurationPackage.ENV_ENTRY_TYPE__VALUE: return getValue (); } return super.eGet ( featureID, resolve, coreType ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public String toString () { if ( eIsProxy () ) return super.toString (); StringBuffer result = new StringBuffer ( super.toString () ); result.append ( " (name: " ); //$NON-NLS-1$ result.append ( name ); result.append ( ", value: " ); //$NON-NLS-1$ result.append ( value ); result.append ( ')' ); return result.toString (); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset ( int featureID ) { switch ( featureID ) { case ConfigurationPackage.ENV_ENTRY_TYPE__NAME: setName ( NAME_EDEFAULT ); return; case ConfigurationPackage.ENV_ENTRY_TYPE__VALUE: setValue ( VALUE_EDEFAULT ); return; } super.eUnset ( featureID ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet ( int featureID, boolean resolve, boolean coreType ) { switch ( featureID ) { case ConfigurationPackage.ENV_ENTRY_TYPE__NAME: return getName (); case ConfigurationPackage.ENV_ENTRY_TYPE__VALUE: return getValue (); } return super.eGet ( featureID, resolve, coreType ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public String toString () { if ( eIsProxy () ) return super.toString (); StringBuffer result = new StringBuffer ( super.toString () ); result.append ( " (name: " ); //$NON-NLS-1$ result.append ( name ); result.append ( ", value: " ); //$NON-NLS-1$ result.append ( value ); result.append ( ')' ); return result.toString (); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setName ( String newName ) { String oldName = name; name = newName; if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.SET, ConfigurationPackage.ENV_ENTRY_TYPE__NAME, oldName, name ) ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset ( int featureID ) { switch ( featureID ) { case ConfigurationPackage.ENV_ENTRY_TYPE__NAME: setName ( NAME_EDEFAULT ); return; case ConfigurationPackage.ENV_ENTRY_TYPE__VALUE: setValue ( VALUE_EDEFAULT ); return; } super.eUnset ( featureID ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public EnvEntryType createEnvEntryType () { EnvEntryTypeImpl envEntryType = new EnvEntryTypeImpl (); return envEntryType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setValue ( String newValue ) { String oldValue = value; value = newValue; if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.SET, ConfigurationPackage.ENV_ENTRY_TYPE__VALUE, oldValue, value ) ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eSet ( int featureID, Object newValue ) { switch ( featureID ) { case ConfigurationPackage.ENV_ENTRY_TYPE__NAME: setName ( (String)newValue ); return; case ConfigurationPackage.ENV_ENTRY_TYPE__VALUE: setValue ( (String)newValue ); return; } super.eSet ( featureID, newValue ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setName ( String newName ) { String oldName = name; name = newName; if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.SET, ConfigurationPackage.ENV_ENTRY_TYPE__NAME, oldName, name ) ); }