/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case ApplicationPackage.WEB_MODULE__CONTEXT_ROOT: return getContextRoot(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eSet(int featureID, Object newValue) { switch (featureID) { case ApplicationPackage.WEB_MODULE__CONTEXT_ROOT: setContextRoot((String)newValue); return; } super.eSet(featureID, newValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eUnset(int featureID) { switch (featureID) { case ApplicationPackage.WEB_MODULE__CONTEXT_ROOT: setContextRoot(CONTEXT_ROOT_EDEFAULT); return; } super.eUnset(featureID); }
/** * Get the one ejb package. */ public ApplicationPackage getApplicationPackage() { return ApplicationFactoryImpl.getPackage(); }
/** * @generated This field/method will be replaced during code generation. */ public String toString() { if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (contextRoot: "); result.append(contextRoot); result.append(')'); return result.toString(); }
/** * @see org.eclipse.jst.j2ee.internal.application.Application */ public boolean containsSecurityRole(java.lang.String name) { return getSecurityRoleNamed(name) != null; } public Module getModule(String uri) {
/** * Return the first element in the EList. */ public Application getApplication() { return (Application) getRootObject(); }
/** * @generated This field/method will be replaced during code generation. */ public Module createModule() { ModuleImpl module = new ModuleImpl(); return module; }
/** * @generated This field/method will be replaced during code generation. */ public Application createApplication() { ApplicationImpl application = new ApplicationImpl(); return application; }
/** * @generated This field/method will be replaced during code generation. */ public JavaClientModule createJavaClientModule() { JavaClientModuleImpl javaClientModule = new JavaClientModuleImpl(); return javaClientModule; }
/** * @generated This field/method will be replaced during code generation. */ public WebModule createWebModule() { WebModuleImpl webModule = new WebModuleImpl(); return webModule; }
/** * @generated This field/method will be replaced during code generation. */ public ApplicationFactory getApplicationFactory() { return (ApplicationFactory)getEFactoryInstance(); }
public String getDoctype() { switch (getJ2EEVersionID()) { case (J2EE_1_2_ID) : case (J2EE_1_3_ID) : return J2EEConstants.APPLICATION_DOCTYPE; default : return null; } } /* App version is always the same as the J2EE version
/** * @generated This field/method will be replaced during code generation. */ public EjbModule createEjbModule() { EjbModuleImpl ejbModule = new EjbModuleImpl(); return ejbModule; }
/** * @generated This field/method will be replaced during code generation. */ public ApplicationPackage getApplicationPackage() { return (ApplicationPackage)getEPackage(); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetApplication(Application newApplication, NotificationChain msgs) { msgs = eBasicSetContainer((InternalEObject)newApplication, ApplicationPackage.MODULE__APPLICATION, msgs); return msgs; }
public int getJ2EEVersionID() { return getModuleVersionID(); } public Translator getRootTranslator() {
/** * @generated This field/method will be replaced during code generation. */ public ConnectorModule createConnectorModule() { ConnectorModuleImpl connectorModule = new ConnectorModuleImpl(); return connectorModule; }
/** * @generated This field/method will be replaced during code generation */ public Application getApplication() { if (eContainerFeatureID != ApplicationPackage.MODULE__APPLICATION) return null; return (Application)eContainer(); }
public List getEARModules() { return getModules(); } public ICommonModule getFirstEARModule(String uri) {