/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setProcess ( ProcessType newProcess ) { if ( newProcess != process ) { NotificationChain msgs = null; if ( process != null ) msgs = ( (InternalEObject)process ).eInverseRemove ( this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.COMMAND_TYPE__PROCESS, null, msgs ); if ( newProcess != null ) msgs = ( (InternalEObject)newProcess ).eInverseAdd ( this, EOPPOSITE_FEATURE_BASE - ConfigurationPackage.COMMAND_TYPE__PROCESS, null, msgs ); msgs = basicSetProcess ( newProcess, msgs ); if ( msgs != null ) msgs.dispatch (); } else if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.SET, ConfigurationPackage.COMMAND_TYPE__PROCESS, newProcess, newProcess ) ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet ( int featureID, boolean resolve, boolean coreType ) { switch ( featureID ) { case ConfigurationPackage.SINGLE_COMMAND_TYPE__PERIOD: return getPeriod (); } return super.eGet ( featureID, resolve, coreType ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public boolean eIsSet ( int featureID ) { switch ( featureID ) { case ConfigurationPackage.SINGLE_COMMAND_TYPE__PERIOD: return isSetPeriod (); } return super.eIsSet ( featureID ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setId ( String newId ) { String oldId = id; id = newId; if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.SET, ConfigurationPackage.COMMAND_TYPE__ID, oldId, id ) ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet ( int featureID, boolean resolve, boolean coreType ) { switch ( featureID ) { case ConfigurationPackage.COMMAND_TYPE__PROCESS: return getProcess (); case ConfigurationPackage.COMMAND_TYPE__EXTRACTOR: return getExtractor (); case ConfigurationPackage.COMMAND_TYPE__ID: return getId (); } return super.eGet ( featureID, resolve, coreType ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset ( int featureID ) { switch ( featureID ) { case ConfigurationPackage.COMMAND_TYPE__PROCESS: setProcess ( (ProcessType)null ); return; case ConfigurationPackage.COMMAND_TYPE__EXTRACTOR: getExtractor ().clear (); return; case ConfigurationPackage.COMMAND_TYPE__ID: setId ( ID_EDEFAULT ); return; } super.eUnset ( featureID ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove ( InternalEObject otherEnd, int featureID, NotificationChain msgs ) { switch ( featureID ) { case ConfigurationPackage.COMMAND_TYPE__PROCESS: return basicSetProcess ( null, msgs ); case ConfigurationPackage.COMMAND_TYPE__EXTRACTOR: return ( (InternalEList<?>)getExtractor () ).basicRemove ( otherEnd, msgs ); } return super.eInverseRemove ( otherEnd, featureID, msgs ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eSet ( int featureID, Object newValue ) { switch ( featureID ) { case ConfigurationPackage.SINGLE_COMMAND_TYPE__PERIOD: setPeriod ( (Integer)newValue ); return; } super.eSet ( featureID, newValue ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset ( int featureID ) { switch ( featureID ) { case ConfigurationPackage.SINGLE_COMMAND_TYPE__PERIOD: unsetPeriod (); return; } super.eUnset ( featureID ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public String toString () { if ( eIsProxy () ) return super.toString (); StringBuffer result = new StringBuffer ( super.toString () ); result.append ( " (id: " ); //$NON-NLS-1$ result.append ( id ); result.append ( ')' ); return result.toString (); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetProcess ( ProcessType newProcess, NotificationChain msgs ) { ProcessType oldProcess = process; process = newProcess; if ( eNotificationRequired () ) { ENotificationImpl notification = new ENotificationImpl ( this, Notification.SET, ConfigurationPackage.COMMAND_TYPE__PROCESS, oldProcess, newProcess ); if ( msgs == null ) msgs = notification; else msgs.add ( notification ); } return msgs; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings ( "unchecked" ) @Override public void eSet ( int featureID, Object newValue ) { switch ( featureID ) { case ConfigurationPackage.COMMAND_TYPE__PROCESS: setProcess ( (ProcessType)newValue ); return; case ConfigurationPackage.COMMAND_TYPE__EXTRACTOR: getExtractor ().clear (); getExtractor ().addAll ( (Collection<? extends ExtractorType>)newValue ); return; case ConfigurationPackage.COMMAND_TYPE__ID: setId ( (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.COMMAND_TYPE__PROCESS: return getProcess (); case ConfigurationPackage.COMMAND_TYPE__EXTRACTOR: return getExtractor (); case ConfigurationPackage.COMMAND_TYPE__ID: return getId (); } return super.eGet ( featureID, resolve, coreType ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setId ( String newId ) { String oldId = id; id = newId; if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.SET, ConfigurationPackage.COMMAND_TYPE__ID, oldId, id ) ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove ( InternalEObject otherEnd, int featureID, NotificationChain msgs ) { switch ( featureID ) { case ConfigurationPackage.COMMAND_TYPE__PROCESS: return basicSetProcess ( null, msgs ); case ConfigurationPackage.COMMAND_TYPE__EXTRACTOR: return ( (InternalEList<?>)getExtractor () ).basicRemove ( otherEnd, msgs ); } return super.eInverseRemove ( otherEnd, featureID, msgs ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eSet ( int featureID, Object newValue ) { switch ( featureID ) { case ConfigurationPackage.SINGLE_COMMAND_TYPE__PERIOD: setPeriod ( (Integer)newValue ); return; } super.eSet ( featureID, newValue ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset ( int featureID ) { switch ( featureID ) { case ConfigurationPackage.SINGLE_COMMAND_TYPE__PERIOD: unsetPeriod (); return; } super.eUnset ( featureID ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public String toString () { if ( eIsProxy () ) return super.toString (); StringBuffer result = new StringBuffer ( super.toString () ); result.append ( " (id: " ); //$NON-NLS-1$ result.append ( id ); result.append ( ')' ); return result.toString (); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetProcess ( ProcessType newProcess, NotificationChain msgs ) { ProcessType oldProcess = process; process = newProcess; if ( eNotificationRequired () ) { ENotificationImpl notification = new ENotificationImpl ( this, Notification.SET, ConfigurationPackage.COMMAND_TYPE__PROCESS, oldProcess, newProcess ); if ( msgs == null ) msgs = notification; else msgs.add ( notification ); } return msgs; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset ( int featureID ) { switch ( featureID ) { case ConfigurationPackage.COMMAND_TYPE__PROCESS: setProcess ( (ProcessType)null ); return; case ConfigurationPackage.COMMAND_TYPE__EXTRACTOR: getExtractor ().clear (); return; case ConfigurationPackage.COMMAND_TYPE__ID: setId ( ID_EDEFAULT ); return; } super.eUnset ( featureID ); }