/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public QueueType createQueueType () { QueueTypeImpl queueType = new QueueTypeImpl (); return queueType; }
/** * <!-- 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.QUEUE_TYPE__NAME, oldName, name ) ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset ( int featureID ) { switch ( featureID ) { case ConfigurationPackage.QUEUE_TYPE__COMMAND: getCommand ().clear (); return; case ConfigurationPackage.QUEUE_TYPE__NAME: setName ( NAME_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.QUEUE_TYPE__COMMAND: return getCommand (); case ConfigurationPackage.QUEUE_TYPE__NAME: return getName (); } 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 ( ')' ); return result.toString (); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove ( InternalEObject otherEnd, int featureID, NotificationChain msgs ) { switch ( featureID ) { case ConfigurationPackage.QUEUE_TYPE__COMMAND: return ( (InternalEList<?>)getCommand () ).basicRemove ( otherEnd, msgs ); } return super.eInverseRemove ( otherEnd, featureID, msgs ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings ( "unchecked" ) @Override public void eSet ( int featureID, Object newValue ) { switch ( featureID ) { case ConfigurationPackage.QUEUE_TYPE__COMMAND: getCommand ().clear (); getCommand ().addAll ( (Collection<? extends SingleCommandType>)newValue ); return; case ConfigurationPackage.QUEUE_TYPE__NAME: setName ( (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.QUEUE_TYPE__COMMAND: return getCommand (); case ConfigurationPackage.QUEUE_TYPE__NAME: return getName (); } 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 ( ')' ); return result.toString (); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove ( InternalEObject otherEnd, int featureID, NotificationChain msgs ) { switch ( featureID ) { case ConfigurationPackage.QUEUE_TYPE__COMMAND: return ( (InternalEList<?>)getCommand () ).basicRemove ( otherEnd, msgs ); } return super.eInverseRemove ( otherEnd, featureID, msgs ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings ( "unchecked" ) @Override public void eSet ( int featureID, Object newValue ) { switch ( featureID ) { case ConfigurationPackage.QUEUE_TYPE__COMMAND: getCommand ().clear (); getCommand ().addAll ( (Collection<? extends SingleCommandType>)newValue ); return; case ConfigurationPackage.QUEUE_TYPE__NAME: setName ( (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.QUEUE_TYPE__NAME, oldName, name ) ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public QueueType createQueueType () { QueueTypeImpl queueType = new QueueTypeImpl (); return queueType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset ( int featureID ) { switch ( featureID ) { case ConfigurationPackage.QUEUE_TYPE__COMMAND: getCommand ().clear (); return; case ConfigurationPackage.QUEUE_TYPE__NAME: setName ( NAME_EDEFAULT ); return; } super.eUnset ( featureID ); }