/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SetupModuleContainer createSetupModuleContainer () { SetupModuleContainerImpl setupModuleContainer = new SetupModuleContainerImpl (); return setupModuleContainer; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SubContainerModule createSubContainerModule () { SubContainerModuleImpl subContainerModule = new SubContainerModuleImpl (); return subContainerModule; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public OperatingSystemDescriptor createOperatingSystemDescriptor () { OperatingSystemDescriptorImpl operatingSystemDescriptor = new OperatingSystemDescriptorImpl (); return operatingSystemDescriptor; }
operatingSystemDescriptorEClass = createEClass ( OPERATING_SYSTEM_DESCRIPTOR ); createEReference ( operatingSystemDescriptorEClass, OPERATING_SYSTEM_DESCRIPTOR__PARENT ); createEReference ( operatingSystemDescriptorEClass, OPERATING_SYSTEM_DESCRIPTOR__PROPERTIES ); createEAttribute ( operatingSystemDescriptorEClass, OPERATING_SYSTEM_DESCRIPTOR__ID ); createEAttribute ( operatingSystemDescriptorEClass, OPERATING_SYSTEM_DESCRIPTOR__LABEL ); setupModuleContainerEClass = createEClass ( SETUP_MODULE_CONTAINER ); createEReference ( setupModuleContainerEClass, SETUP_MODULE_CONTAINER__MODULES ); createEAttribute ( setupModuleContainerEClass, SETUP_MODULE_CONTAINER__ID ); createEOperation ( setupModuleContainerEClass, SETUP_MODULE_CONTAINER___VALIDATE_OPERATING_SYSTEM__OPERATINGSYSTEMDESCRIPTOR_VALIDATIONCONTEXT ); setupModuleEClass = createEClass ( SETUP_MODULE ); createEOperation ( setupModuleEClass, SETUP_MODULE___VALIDATE_OPERATING_SYSTEM__OPERATINGSYSTEMDESCRIPTOR_VALIDATIONCONTEXT ); subContainerModuleEClass = createEClass ( SUB_CONTAINER_MODULE ); createEReference ( subContainerModuleEClass, SUB_CONTAINER_MODULE__CONTAINER ); setupDefinitionsEClass = createEClass ( SETUP_DEFINITIONS ); createEReference ( setupDefinitionsEClass, SETUP_DEFINITIONS__CONTAINERS ); createEReference ( setupDefinitionsEClass, SETUP_DEFINITIONS__OPERATION_SYSTEM_DEFINITIONS ); statusEDataType = createEDataType ( STATUS );
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet ( int featureID, boolean resolve, boolean coreType ) { switch ( featureID ) { case SetupPackage.OPERATING_SYSTEM_DESCRIPTOR__PARENT: if ( resolve ) return getParent (); return basicGetParent (); case SetupPackage.OPERATING_SYSTEM_DESCRIPTOR__PROPERTIES: return getProperties (); case SetupPackage.OPERATING_SYSTEM_DESCRIPTOR__ID: return getId (); case SetupPackage.OPERATING_SYSTEM_DESCRIPTOR__LABEL: return getLabel (); } return super.eGet ( featureID, resolve, coreType ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setLabel ( String newLabel ) { String oldLabel = label; label = newLabel; if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.SET, SetupPackage.OPERATING_SYSTEM_DESCRIPTOR__LABEL, oldLabel, label ) ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void setId ( String newId ) { String oldId = id; id = newId; if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.SET, SetupPackage.SETUP_MODULE_CONTAINER__ID, oldId, id ) ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void setContainer ( SetupModuleContainer newContainer ) { SetupModuleContainer oldContainer = container; container = newContainer; if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.SET, SetupPackage.SUB_CONTAINER_MODULE__CONTAINER, oldContainer, container ) ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet ( int featureID, boolean resolve, boolean coreType ) { switch ( featureID ) { case SetupPackage.SETUP_MODULE_CONTAINER__MODULES: return getModules (); case SetupPackage.SETUP_MODULE_CONTAINER__ID: return getId (); } return super.eGet ( featureID, resolve, coreType ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet ( int featureID, boolean resolve, boolean coreType ) { switch ( featureID ) { case SetupPackage.SETUP_DEFINITIONS__CONTAINERS: return getContainers (); case SetupPackage.SETUP_DEFINITIONS__OPERATION_SYSTEM_DEFINITIONS: return getOperationSystemDefinitions (); } return super.eGet ( featureID, resolve, coreType ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eGet ( int featureID, boolean resolve, boolean coreType ) { switch ( featureID ) { case SetupPackage.SUB_CONTAINER_MODULE__CONTAINER: if ( resolve ) return getContainer (); return basicGetContainer (); } return super.eGet ( featureID, resolve, coreType ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eUnset ( int featureID ) { switch ( featureID ) { case SetupPackage.SUB_CONTAINER_MODULE__CONTAINER: setContainer ( (SetupModuleContainer)null ); return; } super.eUnset ( featureID ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SetupDefinitions createSetupDefinitions () { SetupDefinitionsImpl setupDefinitions = new SetupDefinitionsImpl (); return setupDefinitions; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SetupPackage getSetupPackage () { return (SetupPackage)getEPackage (); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SetupFactory getSetupFactory () { return (SetupFactory)getEFactoryInstance (); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object eInvoke ( int operationID, EList<?> arguments ) throws InvocationTargetException { switch ( operationID ) { case SetupPackage.SUB_CONTAINER_MODULE___VALIDATE_OPERATING_SYSTEM__OPERATINGSYSTEMDESCRIPTOR_VALIDATIONCONTEXT: validateOperatingSystem ( (OperatingSystemDescriptor)arguments.get ( 0 ), (ValidationContext)arguments.get ( 1 ) ); return null; } return super.eInvoke ( operationID, arguments ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove ( InternalEObject otherEnd, int featureID, NotificationChain msgs ) { switch ( featureID ) { case SetupPackage.OPERATING_SYSTEM_DESCRIPTOR__PROPERTIES: return ( (InternalEList<?>)getProperties () ).basicRemove ( otherEnd, msgs ); } return super.eInverseRemove ( otherEnd, featureID, msgs ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setParent ( OperatingSystemDescriptor newParent ) { OperatingSystemDescriptor oldParent = parent; parent = newParent; if ( eNotificationRequired () ) eNotify ( new ENotificationImpl ( this, Notification.SET, SetupPackage.OPERATING_SYSTEM_DESCRIPTOR__PARENT, oldParent, parent ) ); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void eSet ( int featureID, Object newValue ) { switch ( featureID ) { case SetupPackage.SUB_CONTAINER_MODULE__CONTAINER: setContainer ( (SetupModuleContainer)newValue ); return; } super.eSet ( featureID, newValue ); }
/** * <!-- 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, SetupPackage.OPERATING_SYSTEM_DESCRIPTOR__ID, oldId, id ) ); }