diff options
author | justinchen | 2006-04-27 23:42:48 +0000 |
---|---|---|
committer | justinchen | 2006-04-27 23:42:48 +0000 |
commit | 7f57f4a3de467777a419550d384721abf65439f5 (patch) | |
tree | 814a396b37fc59d51b2f8aa9952f4b7cfd40ba27 /jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse | |
parent | 9b927b7c0127b0d70ec58aba928c8f8b4f41297b (diff) | |
download | webtools.jsf-7f57f4a3de467777a419550d384721abf65439f5.tar.gz webtools.jsf-7f57f4a3de467777a419550d384721abf65439f5.tar.xz webtools.jsf-7f57f4a3de467777a419550d384721abf65439f5.zip |
Initial checkin after module renamed.
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse')
264 files changed, 69947 insertions, 0 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/FacesConfigPlugin.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/FacesConfigPlugin.java new file mode 100644 index 000000000..7f02bb952 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/FacesConfigPlugin.java @@ -0,0 +1,88 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig; + +import org.eclipse.emf.common.EMFPlugin; +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigFactory; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl; +import org.eclipse.jst.jsf.facesconfig.util.FacesConfigResourceFactory; +import org.osgi.framework.BundleContext; + + +/** + * The main plugin class to be used in the desktop. + */ +public class FacesConfigPlugin extends EMFPlugin { + + public static final String FACES_CONFIG_EDITOR_ID = "org.eclipse.jst.jsf.facesconfig.internal.presentation.FacesConfigEditor"; + + public static final FacesConfigPlugin INSTANCE = new FacesConfigPlugin(); + private static Implementation plugin; + + private FacesConfigPlugin() { + super(new ResourceLocator[] {}); + } + + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * @return the singleton instance. + */ + public static Implementation getPlugin() { + return plugin; + } + + /** + * Returns the singleton instance of the Eclipse plugin. + */ + public static void write(Exception exception) + { + INSTANCE.log(exception); + } + + /** + * The actual implementation of the Eclipse <b>Plugin</b>. + */ + public static class Implementation extends EMFPlugin.EclipsePlugin { + public Implementation() { + super(); + // Remember the static instance. + plugin = this; + } + public void start(BundleContext context) throws Exception { + super.start(context); + // Init Faces Config Package + FacesConfigPackageImpl.init(); + + getFacesconfigPackage(); + + // TODO: XN: no sure whether this line is needed + FacesConfigResourceFactory.registerDtds(); + + FacesConfigResourceFactory.register(); + } + + public FacesConfigPackage getFacesconfigPackage() { + return FacesConfigPackage.eINSTANCE; + } + + public FacesConfigFactory getFacesconfigFactory() { + return (FacesConfigFactory) getFacesconfigPackage().getEFactoryInstance(); + } + + } +} + diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ActionListenerType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ActionListenerType.java new file mode 100644 index 000000000..3688ff384 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ActionListenerType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Action Listener Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getActionListenerType() + * @model extendedMetaData="name='action-listener_._type' kind='simple'" + * @generated + */ +public interface ActionListenerType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getActionListenerType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getActionListenerType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ActionListenerType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ApplicationFactoryType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ApplicationFactoryType.java new file mode 100644 index 000000000..d7b8f460d --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ApplicationFactoryType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Application Factory Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getApplicationFactoryType() + * @model extendedMetaData="name='application-factory_._type' kind='simple'" + * @generated + */ +public interface ApplicationFactoryType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getApplicationFactoryType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getApplicationFactoryType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ApplicationFactoryType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ApplicationType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ApplicationType.java new file mode 100644 index 000000000..915312395 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ApplicationType.java @@ -0,0 +1,231 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Application Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getActionListener <em>Action Listener</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getDefaultRenderKitId <em>Default Render Kit Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getMessageBundle <em>Message Bundle</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getNavigationHandler <em>Navigation Handler</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getViewHandler <em>View Handler</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getStateManager <em>State Manager</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getPropertyResolver <em>Property Resolver</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getVariableResolver <em>Variable Resolver</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getLocaleConfig <em>Locale Config</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getApplicationType() + * @model extendedMetaData="name='application_._type' kind='elementOnly'" + * @generated + */ +public interface ApplicationType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Action Listener</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Action Listener</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Action Listener</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getApplicationType_ActionListener() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='action-listener' namespace='##targetNamespace'" + * @generated + */ + EList getActionListener(); + + /** + * Returns the value of the '<em><b>Default Render Kit Id</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Default Render Kit Id</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Default Render Kit Id</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getApplicationType_DefaultRenderKitId() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='default-render-kit-id' namespace='##targetNamespace'" + * @generated + */ + EList getDefaultRenderKitId(); + + /** + * Returns the value of the '<em><b>Message Bundle</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Message Bundle</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Message Bundle</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getApplicationType_MessageBundle() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='message-bundle' namespace='##targetNamespace'" + * @generated + */ + EList getMessageBundle(); + + /** + * Returns the value of the '<em><b>Navigation Handler</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Navigation Handler</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Navigation Handler</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getApplicationType_NavigationHandler() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='navigation-handler' namespace='##targetNamespace'" + * @generated + */ + EList getNavigationHandler(); + + /** + * Returns the value of the '<em><b>View Handler</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>View Handler</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>View Handler</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getApplicationType_ViewHandler() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='view-handler' namespace='##targetNamespace'" + * @generated + */ + EList getViewHandler(); + + /** + * Returns the value of the '<em><b>State Manager</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.StateManagerType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>State Manager</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>State Manager</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getApplicationType_StateManager() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.StateManagerType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='state-manager' namespace='##targetNamespace'" + * @generated + */ + EList getStateManager(); + + /** + * Returns the value of the '<em><b>Property Resolver</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Property Resolver</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Property Resolver</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getApplicationType_PropertyResolver() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='property-resolver' namespace='##targetNamespace'" + * @generated + */ + EList getPropertyResolver(); + + /** + * Returns the value of the '<em><b>Variable Resolver</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Variable Resolver</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Variable Resolver</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getApplicationType_VariableResolver() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='variable-resolver' namespace='##targetNamespace'" + * @generated + */ + EList getVariableResolver(); + + /** + * Returns the value of the '<em><b>Locale Config</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Locale Config</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Locale Config</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getApplicationType_LocaleConfig() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='locale-config' namespace='##targetNamespace'" + * @generated + */ + EList getLocaleConfig(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getApplicationType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ApplicationType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeClassType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeClassType.java new file mode 100644 index 000000000..4d55bc2e0 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeClassType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Attribute Class Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeClassType() + * @model extendedMetaData="name='attribute-class_._type' kind='simple'" + * @generated + */ +public interface AttributeClassType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeClassType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeClassType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // AttributeClassType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeExtensionType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeExtensionType.java new file mode 100644 index 000000000..69507474a --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeExtensionType.java @@ -0,0 +1,123 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Attribute Extension Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType#getMixed <em>Mixed</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType#getAny <em>Any</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeExtensionType() + * @model extendedMetaData="name='attribute-extension_._type' kind='mixed'" + * @generated + */ +public interface AttributeExtensionType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Mixed</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Mixed</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Mixed</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeExtensionType_Mixed() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" + * extendedMetaData="kind='elementWildcard' name=':mixed'" + * @generated + */ + FeatureMap getMixed(); + + /** + * Returns the value of the '<em><b>Group</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Group</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Group</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeExtensionType_Group() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='group' name='group:1'" + * @generated + */ + FeatureMap getGroup(); + + /** + * Returns the value of the '<em><b>Any</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Any</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Any</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeExtensionType_Any() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='elementWildcard' wildcards='##any' name=':2' processing='strict' group='group:1'" + * @generated + */ + FeatureMap getAny(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeExtensionType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // AttributeExtensionType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeNameType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeNameType.java new file mode 100644 index 000000000..d075c622a --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeNameType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Attribute Name Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeNameType() + * @model extendedMetaData="name='attribute-name_._type' kind='simple'" + * @generated + */ +public interface AttributeNameType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeNameType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeNameType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // AttributeNameType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeType.java new file mode 100644 index 000000000..d0adbfbf0 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeType.java @@ -0,0 +1,253 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Attribute Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getAttributeName <em>Attribute Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getAttributeClass <em>Attribute Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getDefaultValue <em>Default Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getSuggestedValue <em>Suggested Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getAttributeExtension <em>Attribute Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeType() + * @model extendedMetaData="name='attribute_._type' kind='elementOnly'" + * @generated + */ +public interface AttributeType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Description</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeType_Description() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DescriptionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'" + * @generated + */ + EList getDescription(); + + /** + * Returns the value of the '<em><b>Display Name</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Display Name</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Display Name</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeType_DisplayName() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='display-name' namespace='##targetNamespace'" + * @generated + */ + EList getDisplayName(); + + /** + * Returns the value of the '<em><b>Icon</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.IconType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Icon</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeType_Icon() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.IconType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='icon' namespace='##targetNamespace'" + * @generated + */ + EList getIcon(); + + /** + * Returns the value of the '<em><b>Attribute Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Attribute Name</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Attribute Name</em>' containment reference. + * @see #setAttributeName(AttributeNameType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeType_AttributeName() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='attribute-name' namespace='##targetNamespace'" + * @generated + */ + AttributeNameType getAttributeName(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getAttributeName <em>Attribute Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Attribute Name</em>' containment reference. + * @see #getAttributeName() + * @generated + */ + void setAttributeName(AttributeNameType value); + + /** + * Returns the value of the '<em><b>Attribute Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Attribute Class</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Attribute Class</em>' containment reference. + * @see #setAttributeClass(AttributeClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeType_AttributeClass() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='attribute-class' namespace='##targetNamespace'" + * @generated + */ + AttributeClassType getAttributeClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getAttributeClass <em>Attribute Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Attribute Class</em>' containment reference. + * @see #getAttributeClass() + * @generated + */ + void setAttributeClass(AttributeClassType value); + + /** + * Returns the value of the '<em><b>Default Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Default Value</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Default Value</em>' containment reference. + * @see #setDefaultValue(DefaultValueType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeType_DefaultValue() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='default-value' namespace='##targetNamespace'" + * @generated + */ + DefaultValueType getDefaultValue(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getDefaultValue <em>Default Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Default Value</em>' containment reference. + * @see #getDefaultValue() + * @generated + */ + void setDefaultValue(DefaultValueType value); + + /** + * Returns the value of the '<em><b>Suggested Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Suggested Value</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Suggested Value</em>' containment reference. + * @see #setSuggestedValue(SuggestedValueType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeType_SuggestedValue() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='suggested-value' namespace='##targetNamespace'" + * @generated + */ + SuggestedValueType getSuggestedValue(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getSuggestedValue <em>Suggested Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Suggested Value</em>' containment reference. + * @see #getSuggestedValue() + * @generated + */ + void setSuggestedValue(SuggestedValueType value); + + /** + * Returns the value of the '<em><b>Attribute Extension</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Attribute Extension</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Attribute Extension</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeType_AttributeExtension() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='attribute-extension' namespace='##targetNamespace'" + * @generated + */ + EList getAttributeExtension(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getAttributeType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // AttributeType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentClassType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentClassType.java new file mode 100644 index 000000000..bfce3876c --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentClassType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Component Class Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentClassType() + * @model extendedMetaData="name='component-class_._type' kind='simple'" + * @generated + */ +public interface ComponentClassType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentClassType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentClassType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ComponentClassType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentExtensionType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentExtensionType.java new file mode 100644 index 000000000..4dd21f319 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentExtensionType.java @@ -0,0 +1,123 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Component Extension Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType#getMixed <em>Mixed</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType#getAny <em>Any</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentExtensionType() + * @model extendedMetaData="name='component-extension_._type' kind='mixed'" + * @generated + */ +public interface ComponentExtensionType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Mixed</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Mixed</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Mixed</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentExtensionType_Mixed() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" + * extendedMetaData="kind='elementWildcard' name=':mixed'" + * @generated + */ + FeatureMap getMixed(); + + /** + * Returns the value of the '<em><b>Group</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Group</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Group</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentExtensionType_Group() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='group' name='group:1'" + * @generated + */ + FeatureMap getGroup(); + + /** + * Returns the value of the '<em><b>Any</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Any</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Any</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentExtensionType_Any() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='elementWildcard' wildcards='##any' name=':2' processing='strict' group='group:1'" + * @generated + */ + FeatureMap getAny(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentExtensionType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ComponentExtensionType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentFamilyType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentFamilyType.java new file mode 100644 index 000000000..0243d55f0 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentFamilyType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Component Family Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentFamilyType() + * @model extendedMetaData="name='component-family_._type' kind='simple'" + * @generated + */ +public interface ComponentFamilyType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentFamilyType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentFamilyType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ComponentFamilyType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentType.java new file mode 100644 index 000000000..e50509748 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentType.java @@ -0,0 +1,251 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Component Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getComponentType <em>Component Type</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getComponentClass <em>Component Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getFacet <em>Facet</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getAttribute <em>Attribute</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getProperty <em>Property</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getComponentExtension <em>Component Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentType() + * @model extendedMetaData="name='component_._type' kind='elementOnly'" + * @generated + */ +public interface ComponentType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Description</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentType_Description() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DescriptionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'" + * @generated + */ + EList getDescription(); + + /** + * Returns the value of the '<em><b>Display Name</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Display Name</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Display Name</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentType_DisplayName() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='display-name' namespace='##targetNamespace'" + * @generated + */ + EList getDisplayName(); + + /** + * Returns the value of the '<em><b>Icon</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.IconType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Icon</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentType_Icon() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.IconType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='icon' namespace='##targetNamespace'" + * @generated + */ + EList getIcon(); + + /** + * Returns the value of the '<em><b>Component Type</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Component Type</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Component Type</em>' containment reference. + * @see #setComponentType(ComponentTypeType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentType_ComponentType() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='component-type' namespace='##targetNamespace'" + * @generated + */ + ComponentTypeType getComponentType(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getComponentType <em>Component Type</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Component Type</em>' containment reference. + * @see #getComponentType() + * @generated + */ + void setComponentType(ComponentTypeType value); + + /** + * Returns the value of the '<em><b>Component Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Component Class</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Component Class</em>' containment reference. + * @see #setComponentClass(ComponentClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentType_ComponentClass() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='component-class' namespace='##targetNamespace'" + * @generated + */ + ComponentClassType getComponentClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getComponentClass <em>Component Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Component Class</em>' containment reference. + * @see #getComponentClass() + * @generated + */ + void setComponentClass(ComponentClassType value); + + /** + * Returns the value of the '<em><b>Facet</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.FacetType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Facet</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Facet</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentType_Facet() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.FacetType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='facet' namespace='##targetNamespace'" + * @generated + */ + EList getFacet(); + + /** + * Returns the value of the '<em><b>Attribute</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Attribute</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Attribute</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentType_Attribute() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.AttributeType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='attribute' namespace='##targetNamespace'" + * @generated + */ + EList getAttribute(); + + /** + * Returns the value of the '<em><b>Property</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Property</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Property</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentType_Property() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.PropertyType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='property' namespace='##targetNamespace'" + * @generated + */ + EList getProperty(); + + /** + * Returns the value of the '<em><b>Component Extension</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Component Extension</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Component Extension</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentType_ComponentExtension() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='component-extension' namespace='##targetNamespace'" + * @generated + */ + EList getComponentExtension(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ComponentType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentTypeType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentTypeType.java new file mode 100644 index 000000000..c7ed1a2ac --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentTypeType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Component Type Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentTypeType() + * @model extendedMetaData="name='component-type_._type' kind='simple'" + * @generated + */ +public interface ComponentTypeType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentTypeType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getComponentTypeType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ComponentTypeType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterClassType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterClassType.java new file mode 100644 index 000000000..ad03845fb --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterClassType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Converter Class Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterClassType() + * @model extendedMetaData="name='converter-class_._type' kind='simple'" + * @generated + */ +public interface ConverterClassType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterClassType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterClassType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ConverterClassType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterForClassType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterForClassType.java new file mode 100644 index 000000000..c759bdc91 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterForClassType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Converter For Class Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterForClassType() + * @model extendedMetaData="name='converter-for-class_._type' kind='simple'" + * @generated + */ +public interface ConverterForClassType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterForClassType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterForClassType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ConverterForClassType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterIdType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterIdType.java new file mode 100644 index 000000000..746b89d8b --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterIdType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Converter Id Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterIdType() + * @model extendedMetaData="name='converter-id_._type' kind='simple'" + * @generated + */ +public interface ConverterIdType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterIdType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterIdType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ConverterIdType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterType.java new file mode 100644 index 000000000..32d024a01 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterType.java @@ -0,0 +1,243 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Converter Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getConverterId <em>Converter Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getConverterForClass <em>Converter For Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getConverterClass <em>Converter Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getAttribute <em>Attribute</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getProperty <em>Property</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterType() + * @model extendedMetaData="name='converter_._type' kind='elementOnly'" + * @generated + */ +public interface ConverterType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Description</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterType_Description() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DescriptionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'" + * @generated + */ + EList getDescription(); + + /** + * Returns the value of the '<em><b>Display Name</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Display Name</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Display Name</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterType_DisplayName() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='display-name' namespace='##targetNamespace'" + * @generated + */ + EList getDisplayName(); + + /** + * Returns the value of the '<em><b>Icon</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.IconType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Icon</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterType_Icon() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.IconType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='icon' namespace='##targetNamespace'" + * @generated + */ + EList getIcon(); + + /** + * Returns the value of the '<em><b>Converter Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Converter Id</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Converter Id</em>' containment reference. + * @see #setConverterId(ConverterIdType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterType_ConverterId() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='converter-id' namespace='##targetNamespace'" + * @generated + */ + ConverterIdType getConverterId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getConverterId <em>Converter Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Converter Id</em>' containment reference. + * @see #getConverterId() + * @generated + */ + void setConverterId(ConverterIdType value); + + /** + * Returns the value of the '<em><b>Converter For Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Converter For Class</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Converter For Class</em>' containment reference. + * @see #setConverterForClass(ConverterForClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterType_ConverterForClass() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='converter-for-class' namespace='##targetNamespace'" + * @generated + */ + ConverterForClassType getConverterForClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getConverterForClass <em>Converter For Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Converter For Class</em>' containment reference. + * @see #getConverterForClass() + * @generated + */ + void setConverterForClass(ConverterForClassType value); + + /** + * Returns the value of the '<em><b>Converter Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Converter Class</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Converter Class</em>' containment reference. + * @see #setConverterClass(ConverterClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterType_ConverterClass() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='converter-class' namespace='##targetNamespace'" + * @generated + */ + ConverterClassType getConverterClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getConverterClass <em>Converter Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Converter Class</em>' containment reference. + * @see #getConverterClass() + * @generated + */ + void setConverterClass(ConverterClassType value); + + /** + * Returns the value of the '<em><b>Attribute</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Attribute</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Attribute</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterType_Attribute() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.AttributeType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='attribute' namespace='##targetNamespace'" + * @generated + */ + EList getAttribute(); + + /** + * Returns the value of the '<em><b>Property</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Property</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Property</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterType_Property() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.PropertyType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='property' namespace='##targetNamespace'" + * @generated + */ + EList getProperty(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getConverterType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ConverterType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DefaultLocaleType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DefaultLocaleType.java new file mode 100644 index 000000000..4a640d8a9 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DefaultLocaleType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Default Locale Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDefaultLocaleType() + * @model extendedMetaData="name='default-locale_._type' kind='simple'" + * @generated + */ +public interface DefaultLocaleType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDefaultLocaleType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDefaultLocaleType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // DefaultLocaleType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DefaultRenderKitIdType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DefaultRenderKitIdType.java new file mode 100644 index 000000000..d26b5356c --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DefaultRenderKitIdType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Default Render Kit Id Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDefaultRenderKitIdType() + * @model extendedMetaData="name='default-render-kit-id_._type' kind='simple'" + * @generated + */ +public interface DefaultRenderKitIdType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDefaultRenderKitIdType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDefaultRenderKitIdType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // DefaultRenderKitIdType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DefaultValueType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DefaultValueType.java new file mode 100644 index 000000000..a2760382e --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DefaultValueType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Default Value Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDefaultValueType() + * @model extendedMetaData="name='default-value_._type' kind='simple'" + * @generated + */ +public interface DefaultValueType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDefaultValueType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDefaultValueType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // DefaultValueType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DescriptionType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DescriptionType.java new file mode 100644 index 000000000..f4086ff1d --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DescriptionType.java @@ -0,0 +1,123 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Description Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType#getLang <em>Lang</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDescriptionType() + * @model extendedMetaData="name='description_._type' kind='simple'" + * @generated + */ +public interface DescriptionType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDescriptionType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Lang</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Lang</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Lang</em>' attribute. + * @see #setLang(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDescriptionType_Lang() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Language" + * extendedMetaData="kind='attribute' name='lang' namespace='http://www.w3.org/XML/1998/namespace'" + * @generated + */ + String getLang(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType#getLang <em>Lang</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Lang</em>' attribute. + * @see #getLang() + * @generated + */ + void setLang(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDescriptionType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // DescriptionType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DisplayNameType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DisplayNameType.java new file mode 100644 index 000000000..7f29cd7aa --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DisplayNameType.java @@ -0,0 +1,123 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Display Name Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType#getLang <em>Lang</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDisplayNameType() + * @model extendedMetaData="name='display-name_._type' kind='simple'" + * @generated + */ +public interface DisplayNameType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDisplayNameType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Lang</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Lang</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Lang</em>' attribute. + * @see #setLang(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDisplayNameType_Lang() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Language" + * extendedMetaData="kind='attribute' name='lang' namespace='http://www.w3.org/XML/1998/namespace'" + * @generated + */ + String getLang(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType#getLang <em>Lang</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Lang</em>' attribute. + * @see #getLang() + * @generated + */ + void setLang(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDisplayNameType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // DisplayNameType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DocumentRoot.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DocumentRoot.java new file mode 100644 index 000000000..1d1d52997 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DocumentRoot.java @@ -0,0 +1,2589 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EMap; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Document Root</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMixed <em>Mixed</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getActionListener <em>Action Listener</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getApplication <em>Application</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getApplicationFactory <em>Application Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttribute <em>Attribute</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttributeClass <em>Attribute Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttributeExtension <em>Attribute Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttributeName <em>Attribute Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponent <em>Component</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentClass <em>Component Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentExtension <em>Component Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentFamily <em>Component Family</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentType <em>Component Type</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverter <em>Converter</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverterClass <em>Converter Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverterForClass <em>Converter For Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverterId <em>Converter Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDefaultLocale <em>Default Locale</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDefaultRenderKitId <em>Default Render Kit Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDefaultValue <em>Default Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacesConfig <em>Faces Config</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacesContextFactory <em>Faces Context Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacet <em>Facet</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacetExtension <em>Facet Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacetName <em>Facet Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFactory <em>Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFromAction <em>From Action</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFromOutcome <em>From Outcome</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFromViewId <em>From View Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getKey <em>Key</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getKeyClass <em>Key Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLargeIcon <em>Large Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLifecycle <em>Lifecycle</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLifecycleFactory <em>Lifecycle Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getListEntries <em>List Entries</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLocaleConfig <em>Locale Config</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBean <em>Managed Bean</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBeanClass <em>Managed Bean Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBeanName <em>Managed Bean Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBeanScope <em>Managed Bean Scope</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedProperty <em>Managed Property</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMapEntries <em>Map Entries</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMapEntry <em>Map Entry</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMessageBundle <em>Message Bundle</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNavigationCase <em>Navigation Case</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNavigationHandler <em>Navigation Handler</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNavigationRule <em>Navigation Rule</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNullValue <em>Null Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPhaseListener <em>Phase Listener</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getProperty <em>Property</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyClass <em>Property Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyExtension <em>Property Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyName <em>Property Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyResolver <em>Property Resolver</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRedirect <em>Redirect</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getReferencedBean <em>Referenced Bean</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getReferencedBeanClass <em>Referenced Bean Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getReferencedBeanName <em>Referenced Bean Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderer <em>Renderer</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRendererClass <em>Renderer Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRendererExtension <em>Renderer Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRendererType <em>Renderer Type</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKit <em>Render Kit</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKitClass <em>Render Kit Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKitFactory <em>Render Kit Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKitId <em>Render Kit Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getSmallIcon <em>Small Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getStateManager <em>State Manager</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getSuggestedValue <em>Suggested Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getSupportedLocale <em>Supported Locale</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getToViewId <em>To View Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValidator <em>Validator</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValidatorClass <em>Validator Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValidatorId <em>Validator Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValue <em>Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValueClass <em>Value Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getVariableResolver <em>Variable Resolver</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getViewHandler <em>View Handler</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot() + * @model extendedMetaData="name='' kind='mixed'" + * @generated + */ +public interface DocumentRoot extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Mixed</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Mixed</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Mixed</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Mixed() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" + * extendedMetaData="kind='elementWildcard' name=':mixed'" + * @generated + */ + FeatureMap getMixed(); + + /** + * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map. + * The key is of type {@link java.lang.String}, + * and the value is of type {@link java.lang.String}, + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>XMLNS Prefix Map</em>' map. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_XMLNSPrefixMap() + * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true" + * extendedMetaData="kind='attribute' name='xmlns:prefix'" + * @generated + */ + EMap getXMLNSPrefixMap(); + + /** + * Returns the value of the '<em><b>XSI Schema Location</b></em>' map. + * The key is of type {@link java.lang.String}, + * and the value is of type {@link java.lang.String}, + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>XSI Schema Location</em>' map. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_XSISchemaLocation() + * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true" + * extendedMetaData="kind='attribute' name='xsi:schemaLocation'" + * @generated + */ + EMap getXSISchemaLocation(); + + /** + * Returns the value of the '<em><b>Action Listener</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * ==================== Subordinate + * Elements ============================ The + * "action-listener" element contains the fully + * qualified class name of the concrete ActionListener + * implementation class that will be called during the + * Invoke Application phase of the request processing + * lifecycle. It must be of type "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Action Listener</em>' containment reference. + * @see #setActionListener(ActionListenerType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ActionListener() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='action-listener' namespace='##targetNamespace'" + * @generated + */ + ActionListenerType getActionListener(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getActionListener <em>Action Listener</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Action Listener</em>' containment reference. + * @see #getActionListener() + * @generated + */ + void setActionListener(ActionListenerType value); + + /** + * Returns the value of the '<em><b>Application</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * ==================== Definition Elements + * ============================= The + * "application" element provides a mechanism to + * define the various per-application-singleton + * implementation classes for a particular web + * application that is utilizing JavaServer Faces. For + * nested elements that are not specified, the JSF + * implementation must provide a suitable default. + * <!-- end-model-doc --> + * @return the value of the '<em>Application</em>' containment reference. + * @see #setApplication(ApplicationType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Application() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='application' namespace='##targetNamespace'" + * @generated + */ + ApplicationType getApplication(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getApplication <em>Application</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Application</em>' containment reference. + * @see #getApplication() + * @generated + */ + void setApplication(ApplicationType value); + + /** + * Returns the value of the '<em><b>Application Factory</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "application-factory" + * element contains the fully qualified class name of + * the concrete ApplicationFactory implementation class + * that will be called when + * FactoryFinder.getFactory(APPLICATION_FACTORY) is + * called. It must be of type "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Application Factory</em>' containment reference. + * @see #setApplicationFactory(ApplicationFactoryType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ApplicationFactory() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='application-factory' namespace='##targetNamespace'" + * @generated + */ + ApplicationFactoryType getApplicationFactory(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getApplicationFactory <em>Application Factory</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Application Factory</em>' containment reference. + * @see #getApplicationFactory() + * @generated + */ + void setApplicationFactory(ApplicationFactoryType value); + + /** + * Returns the value of the '<em><b>Attribute</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "attribute" element + * represents a named, typed, value associated with the + * parent UIComponent via the generic attributes mechanism. + * Attribute names must be unique within the scope of the + * parent (or related) component. + * <!-- end-model-doc --> + * @return the value of the '<em>Attribute</em>' containment reference. + * @see #setAttribute(AttributeType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Attribute() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='attribute' namespace='##targetNamespace'" + * @generated + */ + AttributeType getAttribute(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttribute <em>Attribute</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Attribute</em>' containment reference. + * @see #getAttribute() + * @generated + */ + void setAttribute(AttributeType value); + + /** + * Returns the value of the '<em><b>Attribute Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "attribute-class" element represents the Java type of the value + * associated with this attribute name. It must be of type "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Attribute Class</em>' containment reference. + * @see #setAttributeClass(AttributeClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_AttributeClass() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='attribute-class' namespace='##targetNamespace'" + * @generated + */ + AttributeClassType getAttributeClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttributeClass <em>Attribute Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Attribute Class</em>' containment reference. + * @see #getAttributeClass() + * @generated + */ + void setAttributeClass(AttributeClassType value); + + /** + * Returns the value of the '<em><b>Attribute Extension</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * Extension element for attribute. + * May contain implementation specific content. + * <!-- end-model-doc --> + * @return the value of the '<em>Attribute Extension</em>' containment reference. + * @see #setAttributeExtension(AttributeExtensionType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_AttributeExtension() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='attribute-extension' namespace='##targetNamespace'" + * @generated + */ + AttributeExtensionType getAttributeExtension(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttributeExtension <em>Attribute Extension</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Attribute Extension</em>' containment reference. + * @see #getAttributeExtension() + * @generated + */ + void setAttributeExtension(AttributeExtensionType value); + + /** + * Returns the value of the '<em><b>Attribute Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "attribute-name" + * element represents the name under which the + * corresponding value will be stored, in the generic + * attributes of the UIComponent we are related to. + * <!-- end-model-doc --> + * @return the value of the '<em>Attribute Name</em>' containment reference. + * @see #setAttributeName(AttributeNameType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_AttributeName() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='attribute-name' namespace='##targetNamespace'" + * @generated + */ + AttributeNameType getAttributeName(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttributeName <em>Attribute Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Attribute Name</em>' containment reference. + * @see #getAttributeName() + * @generated + */ + void setAttributeName(AttributeNameType value); + + /** + * Returns the value of the '<em><b>Component</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "component" element + * represents a concrete UIComponent implementation + * class that should be registered under the specified type + * identifier, along with its associated properties and + * attributes. Component types must be unique within + * the entire web application. Nested + * "attribute" elements identify generic + * attributes that are recognized by the implementation + * logic of this component. Nested "property" + * elements identify JavaBeans properties of the + * component class that may be exposed for manipulation + * via tools. + * <!-- end-model-doc --> + * @return the value of the '<em>Component</em>' containment reference. + * @see #setComponent(ComponentType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Component() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='component' namespace='##targetNamespace'" + * @generated + */ + ComponentType getComponent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponent <em>Component</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Component</em>' containment reference. + * @see #getComponent() + * @generated + */ + void setComponent(ComponentType value); + + /** + * Returns the value of the '<em><b>Component Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "component-class" + * element represents the fully qualified class name of + * a concrete UIComponent implementation class. It must be + * of type "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Component Class</em>' containment reference. + * @see #setComponentClass(ComponentClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ComponentClass() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='component-class' namespace='##targetNamespace'" + * @generated + */ + ComponentClassType getComponentClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentClass <em>Component Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Component Class</em>' containment reference. + * @see #getComponentClass() + * @generated + */ + void setComponentClass(ComponentClassType value); + + /** + * Returns the value of the '<em><b>Component Extension</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * Extension element for component. + * May contain implementation specific content. + * <!-- end-model-doc --> + * @return the value of the '<em>Component Extension</em>' containment reference. + * @see #setComponentExtension(ComponentExtensionType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ComponentExtension() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='component-extension' namespace='##targetNamespace'" + * @generated + */ + ComponentExtensionType getComponentExtension(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentExtension <em>Component Extension</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Component Extension</em>' containment reference. + * @see #getComponentExtension() + * @generated + */ + void setComponentExtension(ComponentExtensionType value); + + /** + * Returns the value of the '<em><b>Component Family</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "component-family" element represents the component family for + * which the Renderer represented by the parent "renderer" element will be + * used. + * <!-- end-model-doc --> + * @return the value of the '<em>Component Family</em>' containment reference. + * @see #setComponentFamily(ComponentFamilyType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ComponentFamily() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='component-family' namespace='##targetNamespace'" + * @generated + */ + ComponentFamilyType getComponentFamily(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentFamily <em>Component Family</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Component Family</em>' containment reference. + * @see #getComponentFamily() + * @generated + */ + void setComponentFamily(ComponentFamilyType value); + + /** + * Returns the value of the '<em><b>Component Type</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "component-type" + * element represents the name under which the + * corresponding UIComponent class should be registered. + * <!-- end-model-doc --> + * @return the value of the '<em>Component Type</em>' containment reference. + * @see #setComponentType(ComponentTypeType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ComponentType() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='component-type' namespace='##targetNamespace'" + * @generated + */ + ComponentTypeType getComponentType(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentType <em>Component Type</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Component Type</em>' containment reference. + * @see #getComponentType() + * @generated + */ + void setComponentType(ComponentTypeType value); + + /** + * Returns the value of the '<em><b>Converter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "converter" element + * represents a concrete Converter implementation class + * that should be registered under the specified converter + * identifier. Converter identifiers must be unique + * within the entire web application. Nested + * "attribute" elements identify generic + * attributes that may be configured on the + * corresponding UIComponent in order to affect the + * operation of the Converter. Nested "property" + * elements identify JavaBeans properties of the + * Converter implementation class that may be configured + * to affect the operation of the Converter. + * <!-- end-model-doc --> + * @return the value of the '<em>Converter</em>' containment reference. + * @see #setConverter(ConverterType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Converter() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='converter' namespace='##targetNamespace'" + * @generated + */ + ConverterType getConverter(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverter <em>Converter</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Converter</em>' containment reference. + * @see #getConverter() + * @generated + */ + void setConverter(ConverterType value); + + /** + * Returns the value of the '<em><b>Converter Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "converter-class" element represents the fully qualified class name + * of a concrete Converter implementation class. It must be of + * type "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Converter Class</em>' containment reference. + * @see #setConverterClass(ConverterClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ConverterClass() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='converter-class' namespace='##targetNamespace'" + * @generated + */ + ConverterClassType getConverterClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverterClass <em>Converter Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Converter Class</em>' containment reference. + * @see #getConverterClass() + * @generated + */ + void setConverterClass(ConverterClassType value); + + /** + * Returns the value of the '<em><b>Converter For Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "converter-for-class" element represents the fully qualified class name + * for which a Converter class will be registered. It must be of + * type "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Converter For Class</em>' containment reference. + * @see #setConverterForClass(ConverterForClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ConverterForClass() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='converter-for-class' namespace='##targetNamespace'" + * @generated + */ + ConverterForClassType getConverterForClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverterForClass <em>Converter For Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Converter For Class</em>' containment reference. + * @see #getConverterForClass() + * @generated + */ + void setConverterForClass(ConverterForClassType value); + + /** + * Returns the value of the '<em><b>Converter Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "converter-id" element represents the identifier under which the + * corresponding Converter class should be registered. + * <!-- end-model-doc --> + * @return the value of the '<em>Converter Id</em>' containment reference. + * @see #setConverterId(ConverterIdType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ConverterId() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='converter-id' namespace='##targetNamespace'" + * @generated + */ + ConverterIdType getConverterId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverterId <em>Converter Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Converter Id</em>' containment reference. + * @see #getConverterId() + * @generated + */ + void setConverterId(ConverterIdType value); + + /** + * Returns the value of the '<em><b>Default Locale</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "default-locale" + * element declares the default locale for this + * application instance. It must be specified as + * :language:[_:country:[_:variant:]] without the colons, + * for example "ja_JP_SJIS". The separators + * between the segments may be '-' or + * '_'. + * <!-- end-model-doc --> + * @return the value of the '<em>Default Locale</em>' containment reference. + * @see #setDefaultLocale(DefaultLocaleType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_DefaultLocale() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='default-locale' namespace='##targetNamespace'" + * @generated + */ + DefaultLocaleType getDefaultLocale(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDefaultLocale <em>Default Locale</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Default Locale</em>' containment reference. + * @see #getDefaultLocale() + * @generated + */ + void setDefaultLocale(DefaultLocaleType value); + + /** + * Returns the value of the '<em><b>Default Render Kit Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "default-render-kit-id" element allows the application to define + * a renderkit to be used other than the standard one. + * <!-- end-model-doc --> + * @return the value of the '<em>Default Render Kit Id</em>' containment reference. + * @see #setDefaultRenderKitId(DefaultRenderKitIdType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_DefaultRenderKitId() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='default-render-kit-id' namespace='##targetNamespace'" + * @generated + */ + DefaultRenderKitIdType getDefaultRenderKitId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDefaultRenderKitId <em>Default Render Kit Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Default Render Kit Id</em>' containment reference. + * @see #getDefaultRenderKitId() + * @generated + */ + void setDefaultRenderKitId(DefaultRenderKitIdType value); + + /** + * Returns the value of the '<em><b>Default Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "default-value" contains the value for the property or attribute + * in which this element resides. This value differs from the + * "suggested-value" in that the property or attribute must take the + * value, whereas in "suggested-value" taking the value is optional. + * <!-- end-model-doc --> + * @return the value of the '<em>Default Value</em>' containment reference. + * @see #setDefaultValue(DefaultValueType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_DefaultValue() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='default-value' namespace='##targetNamespace'" + * @generated + */ + DefaultValueType getDefaultValue(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDefaultValue <em>Default Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Default Value</em>' containment reference. + * @see #getDefaultValue() + * @generated + */ + void setDefaultValue(DefaultValueType value); + + /** + * Returns the value of the '<em><b>Description</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "description" element + * contains a textual description of the element it is + * nested in, optionally flagged with a language code using + * the "xml:lang" attribute. + * <!-- end-model-doc --> + * @return the value of the '<em>Description</em>' containment reference. + * @see #setDescription(DescriptionType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Description() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'" + * @generated + */ + DescriptionType getDescription(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDescription <em>Description</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Description</em>' containment reference. + * @see #getDescription() + * @generated + */ + void setDescription(DescriptionType value); + + /** + * Returns the value of the '<em><b>Display Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "display-name" element + * is a short descriptive name describing the entity + * associated with the element it is nested in, intended to + * be displayed by tools, and optionally flagged with a + * language code using the "xml:lang" + * attribute. + * <!-- end-model-doc --> + * @return the value of the '<em>Display Name</em>' containment reference. + * @see #setDisplayName(DisplayNameType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_DisplayName() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='display-name' namespace='##targetNamespace'" + * @generated + */ + DisplayNameType getDisplayName(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDisplayName <em>Display Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Display Name</em>' containment reference. + * @see #getDisplayName() + * @generated + */ + void setDisplayName(DisplayNameType value); + + /** + * Returns the value of the '<em><b>Faces Config</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * ==================== Top Level Elements + * ============================== The + * "faces-config" element is the root of the + * configuration information hierarchy, and contains + * nested elements for all of the other configuration + * settings. + * <!-- end-model-doc --> + * @return the value of the '<em>Faces Config</em>' containment reference. + * @see #setFacesConfig(FacesConfigType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_FacesConfig() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='faces-config' namespace='##targetNamespace'" + * @generated + */ + FacesConfigType getFacesConfig(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacesConfig <em>Faces Config</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Faces Config</em>' containment reference. + * @see #getFacesConfig() + * @generated + */ + void setFacesConfig(FacesConfigType value); + + /** + * Returns the value of the '<em><b>Faces Context Factory</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The + * "faces-context-factory" element contains the + * fully qualified class name of the concrete + * FacesContextFactory implementation class that will + * be called when + * FactoryFinder.getFactory(FACES_CONTEXT_FACTORY) is + * called. It must be of type "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Faces Context Factory</em>' containment reference. + * @see #setFacesContextFactory(FacesContextFactoryType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_FacesContextFactory() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='faces-context-factory' namespace='##targetNamespace'" + * @generated + */ + FacesContextFactoryType getFacesContextFactory(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacesContextFactory <em>Faces Context Factory</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Faces Context Factory</em>' containment reference. + * @see #getFacesContextFactory() + * @generated + */ + void setFacesContextFactory(FacesContextFactoryType value); + + /** + * Returns the value of the '<em><b>Facet</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * Define the name and other design-time information for a facet that is + * associated with a renderer or a component. + * <!-- end-model-doc --> + * @return the value of the '<em>Facet</em>' containment reference. + * @see #setFacet(FacetType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Facet() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='facet' namespace='##targetNamespace'" + * @generated + */ + FacetType getFacet(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacet <em>Facet</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Facet</em>' containment reference. + * @see #getFacet() + * @generated + */ + void setFacet(FacetType value); + + /** + * Returns the value of the '<em><b>Facet Extension</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * Extension element for facet. May contain implementation + * specific content. + * <!-- end-model-doc --> + * @return the value of the '<em>Facet Extension</em>' containment reference. + * @see #setFacetExtension(FacetExtensionType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_FacetExtension() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='facet-extension' namespace='##targetNamespace'" + * @generated + */ + FacetExtensionType getFacetExtension(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacetExtension <em>Facet Extension</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Facet Extension</em>' containment reference. + * @see #getFacetExtension() + * @generated + */ + void setFacetExtension(FacetExtensionType value); + + /** + * Returns the value of the '<em><b>Facet Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "facet-name" element represents the facet name under which a + * UIComponent will be added to its parent. It must be of type + * "Identifier". + * <!-- end-model-doc --> + * @return the value of the '<em>Facet Name</em>' containment reference. + * @see #setFacetName(FacetNameType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_FacetName() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='facet-name' namespace='##targetNamespace'" + * @generated + */ + FacetNameType getFacetName(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacetName <em>Facet Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Facet Name</em>' containment reference. + * @see #getFacetName() + * @generated + */ + void setFacetName(FacetNameType value); + + /** + * Returns the value of the '<em><b>Factory</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "factory" element + * provides a mechanism to define the various Factories + * that comprise parts of the implementation of JavaServer + * Faces. For nested elements that are not specified, the + * JSF implementation must provide a suitable default. + * <!-- end-model-doc --> + * @return the value of the '<em>Factory</em>' containment reference. + * @see #setFactory(FactoryType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Factory() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='factory' namespace='##targetNamespace'" + * @generated + */ + FactoryType getFactory(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFactory <em>Factory</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Factory</em>' containment reference. + * @see #getFactory() + * @generated + */ + void setFactory(FactoryType value); + + /** + * Returns the value of the '<em><b>From Action</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "from-action" element contains an action reference expression + * that must have been executed (by the default ActionListener for handling + * application level events) in order to select this navigation rule. If + * not specified, this rule will be relevant no matter which action reference + * was executed (or if no action reference was executed). + * + * This value must be of type "Action". + * <!-- end-model-doc --> + * @return the value of the '<em>From Action</em>' containment reference. + * @see #setFromAction(FromActionType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_FromAction() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='from-action' namespace='##targetNamespace'" + * @generated + */ + FromActionType getFromAction(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFromAction <em>From Action</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>From Action</em>' containment reference. + * @see #getFromAction() + * @generated + */ + void setFromAction(FromActionType value); + + /** + * Returns the value of the '<em><b>From Outcome</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "from-outcome" element contains a logical outcome string returned + * by the execution of an application action method selected via an + * "actionRef" property (or a literal value specified by an "action" + * property) of a UICommand component. If specified, this rule will be + * relevant only if the outcome value matches this element's value. If + * not specified, this rule will be relevant no matter what the outcome + * value was. + * <!-- end-model-doc --> + * @return the value of the '<em>From Outcome</em>' containment reference. + * @see #setFromOutcome(FromOutcomeType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_FromOutcome() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='from-outcome' namespace='##targetNamespace'" + * @generated + */ + FromOutcomeType getFromOutcome(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFromOutcome <em>From Outcome</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>From Outcome</em>' containment reference. + * @see #getFromOutcome() + * @generated + */ + void setFromOutcome(FromOutcomeType value); + + /** + * Returns the value of the '<em><b>From View Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "from-view-id" element contains the view identifier of the view + * for which the containing navigation rule is relevant. If no + * "from-view" element is specified, this rule applies to navigation + * decisions on all views. If this element is not specified, a value + * of "*" is assumed, meaning that this navigation rule applies to all + * views. + * + * This value must be of type "ViewIdPattern". + * <!-- end-model-doc --> + * @return the value of the '<em>From View Id</em>' containment reference. + * @see #setFromViewId(FromViewIdType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_FromViewId() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='from-view-id' namespace='##targetNamespace'" + * @generated + */ + FromViewIdType getFromViewId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFromViewId <em>From View Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>From View Id</em>' containment reference. + * @see #getFromViewId() + * @generated + */ + void setFromViewId(FromViewIdType value); + + /** + * Returns the value of the '<em><b>Icon</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "icon" element + * contains "small-icon" and + * "large-icon" elements that specify the + * resoruce paths for small and large GIF or JPG icon + * images used to represent the parent element in a GUI + * tool. + * <!-- end-model-doc --> + * @return the value of the '<em>Icon</em>' containment reference. + * @see #setIcon(IconType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Icon() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='icon' namespace='##targetNamespace'" + * @generated + */ + IconType getIcon(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getIcon <em>Icon</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Icon</em>' containment reference. + * @see #getIcon() + * @generated + */ + void setIcon(IconType value); + + /** + * Returns the value of the '<em><b>Key</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "key" element is the String representation of a map key that + * will be stored in a managed property of type java.util.Map. + * <!-- end-model-doc --> + * @return the value of the '<em>Key</em>' containment reference. + * @see #setKey(KeyType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Key() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='key' namespace='##targetNamespace'" + * @generated + */ + KeyType getKey(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getKey <em>Key</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Key</em>' containment reference. + * @see #getKey() + * @generated + */ + void setKey(KeyType value); + + /** + * Returns the value of the '<em><b>Key Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "key-class" element defines the Java type to which each "key" + * element in a set of "map-entry" elements will be converted to. It + * must be of type "ClassName". If omitted, "java.lang.String" + * is assumed. + * <!-- end-model-doc --> + * @return the value of the '<em>Key Class</em>' containment reference. + * @see #setKeyClass(KeyClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_KeyClass() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='key-class' namespace='##targetNamespace'" + * @generated + */ + KeyClassType getKeyClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getKeyClass <em>Key Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Key Class</em>' containment reference. + * @see #getKeyClass() + * @generated + */ + void setKeyClass(KeyClassType value); + + /** + * Returns the value of the '<em><b>Large Icon</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "large-icon" element contains the resource path to a large (32x32) + * icon image. The image may be in either GIF or JPG format. + * <!-- end-model-doc --> + * @return the value of the '<em>Large Icon</em>' containment reference. + * @see #setLargeIcon(LargeIconType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_LargeIcon() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='large-icon' namespace='##targetNamespace'" + * @generated + */ + LargeIconType getLargeIcon(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLargeIcon <em>Large Icon</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Large Icon</em>' containment reference. + * @see #getLargeIcon() + * @generated + */ + void setLargeIcon(LargeIconType value); + + /** + * Returns the value of the '<em><b>Lifecycle</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "lifecycle" element + * provides a mechanism to specify modifications to the + * behaviour of the default Lifecycle implementation + * for this web application. + * <!-- end-model-doc --> + * @return the value of the '<em>Lifecycle</em>' containment reference. + * @see #setLifecycle(LifecycleType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Lifecycle() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='lifecycle' namespace='##targetNamespace'" + * @generated + */ + LifecycleType getLifecycle(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLifecycle <em>Lifecycle</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Lifecycle</em>' containment reference. + * @see #getLifecycle() + * @generated + */ + void setLifecycle(LifecycleType value); + + /** + * Returns the value of the '<em><b>Lifecycle Factory</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "lifecycle-factory" + * element contains the fully qualified class name of + * the concrete LifecycleFactory implementation class that + * will be called when + * FactoryFinder.getFactory(LIFECYCLE_FACTORY) is called. + * It must be of type "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Lifecycle Factory</em>' containment reference. + * @see #setLifecycleFactory(LifecycleFactoryType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_LifecycleFactory() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='lifecycle-factory' namespace='##targetNamespace'" + * @generated + */ + LifecycleFactoryType getLifecycleFactory(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLifecycleFactory <em>Lifecycle Factory</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Lifecycle Factory</em>' containment reference. + * @see #getLifecycleFactory() + * @generated + */ + void setLifecycleFactory(LifecycleFactoryType value); + + /** + * Returns the value of the '<em><b>List Entries</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "list-entries" element + * represents a set of initialization elements for a + * managed property that is a java.util.List or an + * array. In the former case, the "value-class" + * element can optionally be used to declare the Java + * type to which each value should be converted before + * adding it to the Collection. + * <!-- end-model-doc --> + * @return the value of the '<em>List Entries</em>' containment reference. + * @see #setListEntries(ListEntriesType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ListEntries() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='list-entries' namespace='##targetNamespace'" + * @generated + */ + ListEntriesType getListEntries(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getListEntries <em>List Entries</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>List Entries</em>' containment reference. + * @see #getListEntries() + * @generated + */ + void setListEntries(ListEntriesType value); + + /** + * Returns the value of the '<em><b>Locale Config</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "locale-config" + * element allows the app developer to declare the + * supported locales for this application. + * <!-- end-model-doc --> + * @return the value of the '<em>Locale Config</em>' containment reference. + * @see #setLocaleConfig(LocaleConfigType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_LocaleConfig() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='locale-config' namespace='##targetNamespace'" + * @generated + */ + LocaleConfigType getLocaleConfig(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLocaleConfig <em>Locale Config</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Locale Config</em>' containment reference. + * @see #getLocaleConfig() + * @generated + */ + void setLocaleConfig(LocaleConfigType value); + + /** + * Returns the value of the '<em><b>Managed Bean</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "managed-bean" element + * represents a JavaBean, of a particular class, that + * will be dynamically instantiated at runtime (by the + * default VariableResolver implementation) if it is + * referenced as the first element of a value reference + * expression, and no corresponding bean can be + * identified in any scope. In addition to the creation of + * the managed bean, and the optional storing of it + * into the specified scope, the nested + * managed-property elements can be used to initialize the + * contents of settable JavaBeans properties of the + * created instance. + * <!-- end-model-doc --> + * @return the value of the '<em>Managed Bean</em>' containment reference. + * @see #setManagedBean(ManagedBeanType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ManagedBean() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='managed-bean' namespace='##targetNamespace'" + * @generated + */ + ManagedBeanType getManagedBean(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBean <em>Managed Bean</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Managed Bean</em>' containment reference. + * @see #getManagedBean() + * @generated + */ + void setManagedBean(ManagedBeanType value); + + /** + * Returns the value of the '<em><b>Managed Bean Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "managed-bean-class" element represents the fully qualified class + * name of the Java class that will be used to instantiate a new instance + * if creation of the specified managed bean is requested. It must be of + * type "ClassName". + * + * The specified class must conform to standard JavaBeans conventions. + * In particular, it must have a public zero-arguments constructor, and + * zero or more public property setters. + * <!-- end-model-doc --> + * @return the value of the '<em>Managed Bean Class</em>' containment reference. + * @see #setManagedBeanClass(ManagedBeanClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ManagedBeanClass() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='managed-bean-class' namespace='##targetNamespace'" + * @generated + */ + ManagedBeanClassType getManagedBeanClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBeanClass <em>Managed Bean Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Managed Bean Class</em>' containment reference. + * @see #getManagedBeanClass() + * @generated + */ + void setManagedBeanClass(ManagedBeanClassType value); + + /** + * Returns the value of the '<em><b>Managed Bean Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "managed-bean-name" element represents the attribute name under + * which a managed bean will be searched for, as well as stored (unless + * the "managed-bean-scope" value is "none"). It must be of type + * "Identifier". + * <!-- end-model-doc --> + * @return the value of the '<em>Managed Bean Name</em>' containment reference. + * @see #setManagedBeanName(ManagedBeanNameType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ManagedBeanName() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='managed-bean-name' namespace='##targetNamespace'" + * @generated + */ + ManagedBeanNameType getManagedBeanName(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBeanName <em>Managed Bean Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Managed Bean Name</em>' containment reference. + * @see #getManagedBeanName() + * @generated + */ + void setManagedBeanName(ManagedBeanNameType value); + + /** + * Returns the value of the '<em><b>Managed Bean Scope</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "managed-bean-scope" element represents the scope into which a newly + * created instance of the specified managed bean will be stored (unless + * the value is "none"). It must be of type "ScopeOrNone". + * <!-- end-model-doc --> + * @return the value of the '<em>Managed Bean Scope</em>' containment reference. + * @see #setManagedBeanScope(ManagedBeanScopeType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ManagedBeanScope() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='managed-bean-scope' namespace='##targetNamespace'" + * @generated + */ + ManagedBeanScopeType getManagedBeanScope(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBeanScope <em>Managed Bean Scope</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Managed Bean Scope</em>' containment reference. + * @see #getManagedBeanScope() + * @generated + */ + void setManagedBeanScope(ManagedBeanScopeType value); + + /** + * Returns the value of the '<em><b>Managed Property</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "managed-property" + * element represents an individual property of a + * managed bean that will be configured to the specified + * value (or value set) if the corresponding managed + * bean is automatically created. + * <!-- end-model-doc --> + * @return the value of the '<em>Managed Property</em>' containment reference. + * @see #setManagedProperty(ManagedPropertyType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ManagedProperty() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='managed-property' namespace='##targetNamespace'" + * @generated + */ + ManagedPropertyType getManagedProperty(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedProperty <em>Managed Property</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Managed Property</em>' containment reference. + * @see #getManagedProperty() + * @generated + */ + void setManagedProperty(ManagedPropertyType value); + + /** + * Returns the value of the '<em><b>Map Entries</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "map-entries' element + * represents a set of key-entry pairs that will be + * added to the computed value of a managed property of + * type java.util.Map. In addition, the Java class + * types of the key and entry values may be optionally + * declared. + * <!-- end-model-doc --> + * @return the value of the '<em>Map Entries</em>' containment reference. + * @see #setMapEntries(MapEntriesType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_MapEntries() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='map-entries' namespace='##targetNamespace'" + * @generated + */ + MapEntriesType getMapEntries(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMapEntries <em>Map Entries</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Map Entries</em>' containment reference. + * @see #getMapEntries() + * @generated + */ + void setMapEntries(MapEntriesType value); + + /** + * Returns the value of the '<em><b>Map Entry</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "map-entry" element + * reprsents a single key-entry pair that will be added + * to the computed value of a managed property of type + * java.util.Map. + * <!-- end-model-doc --> + * @return the value of the '<em>Map Entry</em>' containment reference. + * @see #setMapEntry(MapEntryType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_MapEntry() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='map-entry' namespace='##targetNamespace'" + * @generated + */ + MapEntryType getMapEntry(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMapEntry <em>Map Entry</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Map Entry</em>' containment reference. + * @see #getMapEntry() + * @generated + */ + void setMapEntry(MapEntryType value); + + /** + * Returns the value of the '<em><b>Message Bundle</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The base name of a resource bundle + * representing the message resources for this + * application. See the JavaDocs for the + * "java.util.ResourceBundle" class for more + * information on the syntax of resource bundle names. + * <!-- end-model-doc --> + * @return the value of the '<em>Message Bundle</em>' containment reference. + * @see #setMessageBundle(MessageBundleType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_MessageBundle() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='message-bundle' namespace='##targetNamespace'" + * @generated + */ + MessageBundleType getMessageBundle(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMessageBundle <em>Message Bundle</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Message Bundle</em>' containment reference. + * @see #getMessageBundle() + * @generated + */ + void setMessageBundle(MessageBundleType value); + + /** + * Returns the value of the '<em><b>Navigation Case</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "navigation-case" + * element describes a particular combination of + * conditions that must match for this case to be executed, + * and the view id of the component tree that should be + * selected next. + * <!-- end-model-doc --> + * @return the value of the '<em>Navigation Case</em>' containment reference. + * @see #setNavigationCase(NavigationCaseType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_NavigationCase() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='navigation-case' namespace='##targetNamespace'" + * @generated + */ + NavigationCaseType getNavigationCase(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNavigationCase <em>Navigation Case</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Navigation Case</em>' containment reference. + * @see #getNavigationCase() + * @generated + */ + void setNavigationCase(NavigationCaseType value); + + /** + * Returns the value of the '<em><b>Navigation Handler</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "navigation-handler" + * element contains the fully qualified class name of + * the concrete NavigationHandler implementation class that + * will be called during the Invoke Application phase + * of the request processing lifecycle, if the default + * ActionListener (provided by the JSF implementation) is + * used. It must be of type "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Navigation Handler</em>' containment reference. + * @see #setNavigationHandler(NavigationHandlerType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_NavigationHandler() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='navigation-handler' namespace='##targetNamespace'" + * @generated + */ + NavigationHandlerType getNavigationHandler(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNavigationHandler <em>Navigation Handler</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Navigation Handler</em>' containment reference. + * @see #getNavigationHandler() + * @generated + */ + void setNavigationHandler(NavigationHandlerType value); + + /** + * Returns the value of the '<em><b>Navigation Rule</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "navigation-rule" + * element represents an individual decision rule that + * will be utilized by the default NavigationHandler + * implementation to make decisions on what view should be + * displayed next, based on the view id being + * processed. + * <!-- end-model-doc --> + * @return the value of the '<em>Navigation Rule</em>' containment reference. + * @see #setNavigationRule(NavigationRuleType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_NavigationRule() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='navigation-rule' namespace='##targetNamespace'" + * @generated + */ + NavigationRuleType getNavigationRule(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNavigationRule <em>Navigation Rule</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Navigation Rule</em>' containment reference. + * @see #getNavigationRule() + * @generated + */ + void setNavigationRule(NavigationRuleType value); + + /** + * Returns the value of the '<em><b>Null Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "null-value" element + * indicates that the managed property in which we are + * nested will be explicitly set to null if our managed + * bean is automatically created. This is different + * from omitting the managed property element entirely, + * which will cause no property setter to be called for + * this property. The "null-value" element + * can only be used when the associated + * "property-class" identifies a Java class, not + * a Java primitive. + * <!-- end-model-doc --> + * @return the value of the '<em>Null Value</em>' containment reference. + * @see #setNullValue(NullValueType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_NullValue() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='null-value' namespace='##targetNamespace'" + * @generated + */ + NullValueType getNullValue(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNullValue <em>Null Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Null Value</em>' containment reference. + * @see #getNullValue() + * @generated + */ + void setNullValue(NullValueType value); + + /** + * Returns the value of the '<em><b>Phase Listener</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "phase-listener" element + * contains the fully qualified class name of the concrete + * PhaseListener implementation class that will be + * registered on the Lifecycle. It must be of type + * "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Phase Listener</em>' containment reference. + * @see #setPhaseListener(PhaseListenerType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_PhaseListener() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='phase-listener' namespace='##targetNamespace'" + * @generated + */ + PhaseListenerType getPhaseListener(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPhaseListener <em>Phase Listener</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Phase Listener</em>' containment reference. + * @see #getPhaseListener() + * @generated + */ + void setPhaseListener(PhaseListenerType value); + + /** + * Returns the value of the '<em><b>Property</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "property" element + * represents a JavaBean property of the Java class + * represented by our parent element. Property names + * must be unique within the scope of the Java class + * that is represented by the parent element, and must + * correspond to property names that will be recognized + * when performing introspection against that class via + * java.beans.Introspector. + * <!-- end-model-doc --> + * @return the value of the '<em>Property</em>' containment reference. + * @see #setProperty(PropertyType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Property() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='property' namespace='##targetNamespace'" + * @generated + */ + PropertyType getProperty(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getProperty <em>Property</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Property</em>' containment reference. + * @see #getProperty() + * @generated + */ + void setProperty(PropertyType value); + + /** + * Returns the value of the '<em><b>Property Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "property-class" element represents the Java type of the value + * associated with this property name. It must be of type "JavaType". + * If not specified, it can be inferred from existing classes; however, + * this element should be specified if the configuration file is going + * to be the source for generating the corresponding classes. + * <!-- end-model-doc --> + * @return the value of the '<em>Property Class</em>' containment reference. + * @see #setPropertyClass(PropertyClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_PropertyClass() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='property-class' namespace='##targetNamespace'" + * @generated + */ + PropertyClassType getPropertyClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyClass <em>Property Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Property Class</em>' containment reference. + * @see #getPropertyClass() + * @generated + */ + void setPropertyClass(PropertyClassType value); + + /** + * Returns the value of the '<em><b>Property Extension</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * Extension element for property. + * May contain implementation specific content. + * <!-- end-model-doc --> + * @return the value of the '<em>Property Extension</em>' containment reference. + * @see #setPropertyExtension(PropertyExtensionType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_PropertyExtension() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='property-extension' namespace='##targetNamespace'" + * @generated + */ + PropertyExtensionType getPropertyExtension(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyExtension <em>Property Extension</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Property Extension</em>' containment reference. + * @see #getPropertyExtension() + * @generated + */ + void setPropertyExtension(PropertyExtensionType value); + + /** + * Returns the value of the '<em><b>Property Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "property-name" element represents the JavaBeans property name + * under which the corresponding value may be stored. + * <!-- end-model-doc --> + * @return the value of the '<em>Property Name</em>' containment reference. + * @see #setPropertyName(PropertyNameType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_PropertyName() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='property-name' namespace='##targetNamespace'" + * @generated + */ + PropertyNameType getPropertyName(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyName <em>Property Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Property Name</em>' containment reference. + * @see #getPropertyName() + * @generated + */ + void setPropertyName(PropertyNameType value); + + /** + * Returns the value of the '<em><b>Property Resolver</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "property-resolver" + * element contains the fully qualified class name of + * the concrete PropertyResolver implementation class that + * will be used during the processing of value + * reference expressions. It must be of type + * "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Property Resolver</em>' containment reference. + * @see #setPropertyResolver(PropertyResolverType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_PropertyResolver() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='property-resolver' namespace='##targetNamespace'" + * @generated + */ + PropertyResolverType getPropertyResolver(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyResolver <em>Property Resolver</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Property Resolver</em>' containment reference. + * @see #getPropertyResolver() + * @generated + */ + void setPropertyResolver(PropertyResolverType value); + + /** + * Returns the value of the '<em><b>Redirect</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "redirect" element + * indicates that navigation to the specified + * "to-view-id" should be accomplished by + * performing an HTTP redirect rather than the usual + * ViewHandler mechanisms. + * <!-- end-model-doc --> + * @return the value of the '<em>Redirect</em>' containment reference. + * @see #setRedirect(RedirectType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Redirect() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='redirect' namespace='##targetNamespace'" + * @generated + */ + RedirectType getRedirect(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRedirect <em>Redirect</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Redirect</em>' containment reference. + * @see #getRedirect() + * @generated + */ + void setRedirect(RedirectType value); + + /** + * Returns the value of the '<em><b>Referenced Bean</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "referenced-bean" + * element represents at design time the promise that a + * Java object of the specified type will exist at runtime + * in some scope, under the specified key. This can be + * used by design time tools to construct user + * interface dialogs based on the properties of the + * specified class. The presence or absence of a + * referenced bean element has no impact on the + * JavaServer Faces runtime environment inside a web + * application. + * <!-- end-model-doc --> + * @return the value of the '<em>Referenced Bean</em>' containment reference. + * @see #setReferencedBean(ReferencedBeanType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ReferencedBean() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='referenced-bean' namespace='##targetNamespace'" + * @generated + */ + ReferencedBeanType getReferencedBean(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getReferencedBean <em>Referenced Bean</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Referenced Bean</em>' containment reference. + * @see #getReferencedBean() + * @generated + */ + void setReferencedBean(ReferencedBeanType value); + + /** + * Returns the value of the '<em><b>Referenced Bean Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "referenced-bean-class" element represents the fully qualified class + * name of the Java class (either abstract or concrete) or Java interface + * implemented by the corresponding referenced bean. It must be of type + * "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Referenced Bean Class</em>' containment reference. + * @see #setReferencedBeanClass(ReferencedBeanClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ReferencedBeanClass() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='referenced-bean-class' namespace='##targetNamespace'" + * @generated + */ + ReferencedBeanClassType getReferencedBeanClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getReferencedBeanClass <em>Referenced Bean Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Referenced Bean Class</em>' containment reference. + * @see #getReferencedBeanClass() + * @generated + */ + void setReferencedBeanClass(ReferencedBeanClassType value); + + /** + * Returns the value of the '<em><b>Referenced Bean Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "referenced-bean-name" element represents the attribute name under + * which the corresponding referenced bean may be assumed to be stored, + * in one of the scopes defined by the "Scope" type. It must be of type + * "Identifier". + * <!-- end-model-doc --> + * @return the value of the '<em>Referenced Bean Name</em>' containment reference. + * @see #setReferencedBeanName(ReferencedBeanNameType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ReferencedBeanName() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='referenced-bean-name' namespace='##targetNamespace'" + * @generated + */ + ReferencedBeanNameType getReferencedBeanName(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getReferencedBeanName <em>Referenced Bean Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Referenced Bean Name</em>' containment reference. + * @see #getReferencedBeanName() + * @generated + */ + void setReferencedBeanName(ReferencedBeanNameType value); + + /** + * Returns the value of the '<em><b>Renderer</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "renderer" element + * represents a concrete Renderer implementation class + * that should be registered under the specified type + * identifier, in the RenderKit associated with the + * parent render-kit element. Renderer types must be + * unique within the RenderKit associated with the parent + * "render-kit" element. Nested + * "attribute" elements identify generic + * component attributes that are recognized by this + * renderer. Nested "supported-component-type" + * and "supported-component-class" elements + * identify supported component classes, by their type + * identifiers or the implementation class name, + * respectively, that are supported by this Renderer. + * <!-- end-model-doc --> + * @return the value of the '<em>Renderer</em>' containment reference. + * @see #setRenderer(RendererType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Renderer() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='renderer' namespace='##targetNamespace'" + * @generated + */ + RendererType getRenderer(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderer <em>Renderer</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Renderer</em>' containment reference. + * @see #getRenderer() + * @generated + */ + void setRenderer(RendererType value); + + /** + * Returns the value of the '<em><b>Renderer Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "renderer-class" element represents the fully qualified class name + * of a concrete Renderer implementation class. It must be of + * type "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Renderer Class</em>' containment reference. + * @see #setRendererClass(RendererClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_RendererClass() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='renderer-class' namespace='##targetNamespace'" + * @generated + */ + RendererClassType getRendererClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRendererClass <em>Renderer Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Renderer Class</em>' containment reference. + * @see #getRendererClass() + * @generated + */ + void setRendererClass(RendererClassType value); + + /** + * Returns the value of the '<em><b>Renderer Extension</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * Extension element for renderer. + * May contain implementation specific content. + * <!-- end-model-doc --> + * @return the value of the '<em>Renderer Extension</em>' containment reference. + * @see #setRendererExtension(RendererExtensionType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_RendererExtension() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='renderer-extension' namespace='##targetNamespace'" + * @generated + */ + RendererExtensionType getRendererExtension(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRendererExtension <em>Renderer Extension</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Renderer Extension</em>' containment reference. + * @see #getRendererExtension() + * @generated + */ + void setRendererExtension(RendererExtensionType value); + + /** + * Returns the value of the '<em><b>Renderer Type</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "renderer-type" element represents a renderer type identifier for the + * Renderer represented by the parent "renderer" element. + * <!-- end-model-doc --> + * @return the value of the '<em>Renderer Type</em>' containment reference. + * @see #setRendererType(RendererTypeType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_RendererType() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='renderer-type' namespace='##targetNamespace'" + * @generated + */ + RendererTypeType getRendererType(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRendererType <em>Renderer Type</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Renderer Type</em>' containment reference. + * @see #getRendererType() + * @generated + */ + void setRendererType(RendererTypeType value); + + /** + * Returns the value of the '<em><b>Render Kit</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "render-kit" element + * represents a concrete RenderKit implementation that + * should be registered under the specified render-kit-id. + * If no render-kit-id is specified, the identifier of + * the default RenderKit + * (RenderKitFactory.DEFAULT_RENDER_KIT) is assumed. + * <!-- end-model-doc --> + * @return the value of the '<em>Render Kit</em>' containment reference. + * @see #setRenderKit(RenderKitType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_RenderKit() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='render-kit' namespace='##targetNamespace'" + * @generated + */ + RenderKitType getRenderKit(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKit <em>Render Kit</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Render Kit</em>' containment reference. + * @see #getRenderKit() + * @generated + */ + void setRenderKit(RenderKitType value); + + /** + * Returns the value of the '<em><b>Render Kit Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "render-kit-class" element represents the fully qualified class name + * of a concrete RenderKit implementation class. It must be of + * type "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Render Kit Class</em>' containment reference. + * @see #setRenderKitClass(RenderKitClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_RenderKitClass() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='render-kit-class' namespace='##targetNamespace'" + * @generated + */ + RenderKitClassType getRenderKitClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKitClass <em>Render Kit Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Render Kit Class</em>' containment reference. + * @see #getRenderKitClass() + * @generated + */ + void setRenderKitClass(RenderKitClassType value); + + /** + * Returns the value of the '<em><b>Render Kit Factory</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "render-kit-factory" + * element contains the fully qualified class name of + * the concrete RenderKitFactory implementation class that + * will be called when + * FactoryFinder.getFactory(RENDER_KIT_FACTORY) is called. + * It must be of type "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Render Kit Factory</em>' containment reference. + * @see #setRenderKitFactory(RenderKitFactoryType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_RenderKitFactory() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='render-kit-factory' namespace='##targetNamespace'" + * @generated + */ + RenderKitFactoryType getRenderKitFactory(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKitFactory <em>Render Kit Factory</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Render Kit Factory</em>' containment reference. + * @see #getRenderKitFactory() + * @generated + */ + void setRenderKitFactory(RenderKitFactoryType value); + + /** + * Returns the value of the '<em><b>Render Kit Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "render-kit-id" element represents an identifier for the + * RenderKit represented by the parent "render-kit" element. + * <!-- end-model-doc --> + * @return the value of the '<em>Render Kit Id</em>' containment reference. + * @see #setRenderKitId(RenderKitIdType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_RenderKitId() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='render-kit-id' namespace='##targetNamespace'" + * @generated + */ + RenderKitIdType getRenderKitId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKitId <em>Render Kit Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Render Kit Id</em>' containment reference. + * @see #getRenderKitId() + * @generated + */ + void setRenderKitId(RenderKitIdType value); + + /** + * Returns the value of the '<em><b>Small Icon</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "small-icon" element contains the resource path to a small (16x16) + * icon image. The image may be in either GIF or JPG format. + * <!-- end-model-doc --> + * @return the value of the '<em>Small Icon</em>' containment reference. + * @see #setSmallIcon(SmallIconType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_SmallIcon() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='small-icon' namespace='##targetNamespace'" + * @generated + */ + SmallIconType getSmallIcon(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getSmallIcon <em>Small Icon</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Small Icon</em>' containment reference. + * @see #getSmallIcon() + * @generated + */ + void setSmallIcon(SmallIconType value); + + /** + * Returns the value of the '<em><b>State Manager</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "state-manager" + * element contains the fully qualified class name of + * the concrete StateManager implementation class that will + * be called during the Restore View and Render + * Response phases of the request processing lifecycle. + * The faces implementation must provide a default + * implementation of this class + * <!-- end-model-doc --> + * @return the value of the '<em>State Manager</em>' containment reference. + * @see #setStateManager(StateManagerType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_StateManager() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='state-manager' namespace='##targetNamespace'" + * @generated + */ + StateManagerType getStateManager(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getStateManager <em>State Manager</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>State Manager</em>' containment reference. + * @see #getStateManager() + * @generated + */ + void setStateManager(StateManagerType value); + + /** + * Returns the value of the '<em><b>Suggested Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "suggested-value" contains the value for the property or + * attribute in which this element resides. This value is advisory + * only and is intended for tools to use when populating pallettes. + * <!-- end-model-doc --> + * @return the value of the '<em>Suggested Value</em>' containment reference. + * @see #setSuggestedValue(SuggestedValueType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_SuggestedValue() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='suggested-value' namespace='##targetNamespace'" + * @generated + */ + SuggestedValueType getSuggestedValue(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getSuggestedValue <em>Suggested Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Suggested Value</em>' containment reference. + * @see #getSuggestedValue() + * @generated + */ + void setSuggestedValue(SuggestedValueType value); + + /** + * Returns the value of the '<em><b>Supported Locale</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "supported-locale" + * element allows authors to declare which locales are + * supported in this application instance. It must be + * specified as :language:[_:country:[_:variant:]] without + * the colons, for example "ja_JP_SJIS". The + * separators between the segments may be + * '-' or '_'. + * <!-- end-model-doc --> + * @return the value of the '<em>Supported Locale</em>' containment reference. + * @see #setSupportedLocale(SupportedLocaleType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_SupportedLocale() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='supported-locale' namespace='##targetNamespace'" + * @generated + */ + SupportedLocaleType getSupportedLocale(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getSupportedLocale <em>Supported Locale</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Supported Locale</em>' containment reference. + * @see #getSupportedLocale() + * @generated + */ + void setSupportedLocale(SupportedLocaleType value); + + /** + * Returns the value of the '<em><b>To View Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "to-view" element contains the view identifier of the next view + * that should be displayed if this navigation rule is matched. It + * must be of type "ViewId". + * <!-- end-model-doc --> + * @return the value of the '<em>To View Id</em>' containment reference. + * @see #setToViewId(ToViewIdType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ToViewId() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='to-view-id' namespace='##targetNamespace'" + * @generated + */ + ToViewIdType getToViewId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getToViewId <em>To View Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>To View Id</em>' containment reference. + * @see #getToViewId() + * @generated + */ + void setToViewId(ToViewIdType value); + + /** + * Returns the value of the '<em><b>Validator</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "validator" element + * represents a concrete Validator implementation class + * that should be registered under the specified validator + * identifier. Validator identifiers must be unique + * within the entire web application. Nested + * "attribute" elements identify generic + * attributes that may be configured on the + * corresponding UIComponent in order to affect the + * operation of the Validator. Nested "property" + * elements identify JavaBeans properties of the + * Validator implementation class that may be configured + * to affect the operation of the Validator. + * <!-- end-model-doc --> + * @return the value of the '<em>Validator</em>' containment reference. + * @see #setValidator(ValidatorType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Validator() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='validator' namespace='##targetNamespace'" + * @generated + */ + ValidatorType getValidator(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValidator <em>Validator</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Validator</em>' containment reference. + * @see #getValidator() + * @generated + */ + void setValidator(ValidatorType value); + + /** + * Returns the value of the '<em><b>Validator Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "validator-class" element represents the fully qualified class name + * of a concrete Validator implementation class. It must be of + * type "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Validator Class</em>' containment reference. + * @see #setValidatorClass(ValidatorClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ValidatorClass() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='validator-class' namespace='##targetNamespace'" + * @generated + */ + ValidatorClassType getValidatorClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValidatorClass <em>Validator Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Validator Class</em>' containment reference. + * @see #getValidatorClass() + * @generated + */ + void setValidatorClass(ValidatorClassType value); + + /** + * Returns the value of the '<em><b>Validator Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "validator-id" element represents the identifier under which the + * corresponding Validator class should be registered. + * <!-- end-model-doc --> + * @return the value of the '<em>Validator Id</em>' containment reference. + * @see #setValidatorId(ValidatorIdType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ValidatorId() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='validator-id' namespace='##targetNamespace'" + * @generated + */ + ValidatorIdType getValidatorId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValidatorId <em>Validator Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Validator Id</em>' containment reference. + * @see #getValidatorId() + * @generated + */ + void setValidatorId(ValidatorIdType value); + + /** + * Returns the value of the '<em><b>Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "value" element is the + * String representation of a literal value to which a + * scalar managed property will be set, or a value + * reference expression ("#{...}") that will be + * used to calculate the required value. It will be + * converted as specified for the actual property type. + * <!-- end-model-doc --> + * @return the value of the '<em>Value</em>' containment reference. + * @see #setValue(ValueType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_Value() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='value' namespace='##targetNamespace'" + * @generated + */ + ValueType getValue(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValue <em>Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value</em>' containment reference. + * @see #getValue() + * @generated + */ + void setValue(ValueType value); + + /** + * Returns the value of the '<em><b>Value Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "value-class" element defines the Java type to which each + * "value" element's value will be converted to, prior to adding it to + * the "list-entries" list for a managed property that is a + * java.util.List, or a "map-entries" map for a managed property that + * is a java.util.Map. It must be of type "ClassName". If omitted, + * "java.lang.String" is assumed. + * <!-- end-model-doc --> + * @return the value of the '<em>Value Class</em>' containment reference. + * @see #setValueClass(ValueClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ValueClass() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='value-class' namespace='##targetNamespace'" + * @generated + */ + ValueClassType getValueClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValueClass <em>Value Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value Class</em>' containment reference. + * @see #getValueClass() + * @generated + */ + void setValueClass(ValueClassType value); + + /** + * Returns the value of the '<em><b>Variable Resolver</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "variable-resolver" + * element contains the fully qualified class name of + * the concrete VariableResolver implementation class that + * will be used during the processing of value + * reference expressions. It must be of type + * "ClassName". + * <!-- end-model-doc --> + * @return the value of the '<em>Variable Resolver</em>' containment reference. + * @see #setVariableResolver(VariableResolverType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_VariableResolver() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='variable-resolver' namespace='##targetNamespace'" + * @generated + */ + VariableResolverType getVariableResolver(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getVariableResolver <em>Variable Resolver</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Variable Resolver</em>' containment reference. + * @see #getVariableResolver() + * @generated + */ + void setVariableResolver(VariableResolverType value); + + /** + * Returns the value of the '<em><b>View Handler</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * The "view-handler" + * element contains the fully qualified class name of + * the concrete ViewHandler implementation class that will + * be called during the Restore View and Render + * Response phases of the request processing lifecycle. + * The faces implementation must provide a default + * implementation of this class + * <!-- end-model-doc --> + * @return the value of the '<em>View Handler</em>' containment reference. + * @see #setViewHandler(ViewHandlerType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getDocumentRoot_ViewHandler() + * @model containment="true" resolveProxies="false" upper="-2" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='element' name='view-handler' namespace='##targetNamespace'" + * @generated + */ + ViewHandlerType getViewHandler(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getViewHandler <em>View Handler</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>View Handler</em>' containment reference. + * @see #getViewHandler() + * @generated + */ + void setViewHandler(ViewHandlerType value); + +} // DocumentRoot diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesConfigFactory.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesConfigFactory.java new file mode 100644 index 000000000..e905f4f08 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesConfigFactory.java @@ -0,0 +1,778 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage + * @generated + */ +public interface FacesConfigFactory extends EFactory { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + FacesConfigFactory eINSTANCE = new org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigFactoryImpl(); + + /** + * Returns a new object of class '<em>Action Listener Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Action Listener Type</em>'. + * @generated + */ + ActionListenerType createActionListenerType(); + + /** + * Returns a new object of class '<em>Application Factory Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Application Factory Type</em>'. + * @generated + */ + ApplicationFactoryType createApplicationFactoryType(); + + /** + * Returns a new object of class '<em>Application Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Application Type</em>'. + * @generated + */ + ApplicationType createApplicationType(); + + /** + * Returns a new object of class '<em>Attribute Class Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Attribute Class Type</em>'. + * @generated + */ + AttributeClassType createAttributeClassType(); + + /** + * Returns a new object of class '<em>Attribute Extension Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Attribute Extension Type</em>'. + * @generated + */ + AttributeExtensionType createAttributeExtensionType(); + + /** + * Returns a new object of class '<em>Attribute Name Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Attribute Name Type</em>'. + * @generated + */ + AttributeNameType createAttributeNameType(); + + /** + * Returns a new object of class '<em>Attribute Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Attribute Type</em>'. + * @generated + */ + AttributeType createAttributeType(); + + /** + * Returns a new object of class '<em>Component Class Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Component Class Type</em>'. + * @generated + */ + ComponentClassType createComponentClassType(); + + /** + * Returns a new object of class '<em>Component Extension Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Component Extension Type</em>'. + * @generated + */ + ComponentExtensionType createComponentExtensionType(); + + /** + * Returns a new object of class '<em>Component Family Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Component Family Type</em>'. + * @generated + */ + ComponentFamilyType createComponentFamilyType(); + + /** + * Returns a new object of class '<em>Component Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Component Type</em>'. + * @generated + */ + ComponentType createComponentType(); + + /** + * Returns a new object of class '<em>Component Type Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Component Type Type</em>'. + * @generated + */ + ComponentTypeType createComponentTypeType(); + + /** + * Returns a new object of class '<em>Converter Class Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Converter Class Type</em>'. + * @generated + */ + ConverterClassType createConverterClassType(); + + /** + * Returns a new object of class '<em>Converter For Class Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Converter For Class Type</em>'. + * @generated + */ + ConverterForClassType createConverterForClassType(); + + /** + * Returns a new object of class '<em>Converter Id Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Converter Id Type</em>'. + * @generated + */ + ConverterIdType createConverterIdType(); + + /** + * Returns a new object of class '<em>Converter Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Converter Type</em>'. + * @generated + */ + ConverterType createConverterType(); + + /** + * Returns a new object of class '<em>Default Locale Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Default Locale Type</em>'. + * @generated + */ + DefaultLocaleType createDefaultLocaleType(); + + /** + * Returns a new object of class '<em>Default Render Kit Id Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Default Render Kit Id Type</em>'. + * @generated + */ + DefaultRenderKitIdType createDefaultRenderKitIdType(); + + /** + * Returns a new object of class '<em>Default Value Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Default Value Type</em>'. + * @generated + */ + DefaultValueType createDefaultValueType(); + + /** + * Returns a new object of class '<em>Description Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Description Type</em>'. + * @generated + */ + DescriptionType createDescriptionType(); + + /** + * Returns a new object of class '<em>Display Name Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Display Name Type</em>'. + * @generated + */ + DisplayNameType createDisplayNameType(); + + /** + * Returns a new object of class '<em>Document Root</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Document Root</em>'. + * @generated + */ + DocumentRoot createDocumentRoot(); + + /** + * Returns a new object of class '<em>Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Type</em>'. + * @generated + */ + FacesConfigType createFacesConfigType(); + + /** + * Returns a new object of class '<em>Faces Context Factory Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Faces Context Factory Type</em>'. + * @generated + */ + FacesContextFactoryType createFacesContextFactoryType(); + + /** + * Returns a new object of class '<em>Facet Extension Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Facet Extension Type</em>'. + * @generated + */ + FacetExtensionType createFacetExtensionType(); + + /** + * Returns a new object of class '<em>Facet Name Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Facet Name Type</em>'. + * @generated + */ + FacetNameType createFacetNameType(); + + /** + * Returns a new object of class '<em>Facet Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Facet Type</em>'. + * @generated + */ + FacetType createFacetType(); + + /** + * Returns a new object of class '<em>Factory Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Factory Type</em>'. + * @generated + */ + FactoryType createFactoryType(); + + /** + * Returns a new object of class '<em>From Action Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>From Action Type</em>'. + * @generated + */ + FromActionType createFromActionType(); + + /** + * Returns a new object of class '<em>From Outcome Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>From Outcome Type</em>'. + * @generated + */ + FromOutcomeType createFromOutcomeType(); + + /** + * Returns a new object of class '<em>From View Id Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>From View Id Type</em>'. + * @generated + */ + FromViewIdType createFromViewIdType(); + + /** + * Returns a new object of class '<em>Icon Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Icon Type</em>'. + * @generated + */ + IconType createIconType(); + + /** + * Returns a new object of class '<em>Key Class Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Key Class Type</em>'. + * @generated + */ + KeyClassType createKeyClassType(); + + /** + * Returns a new object of class '<em>Key Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Key Type</em>'. + * @generated + */ + KeyType createKeyType(); + + /** + * Returns a new object of class '<em>Large Icon Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Large Icon Type</em>'. + * @generated + */ + LargeIconType createLargeIconType(); + + /** + * Returns a new object of class '<em>Lifecycle Factory Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Lifecycle Factory Type</em>'. + * @generated + */ + LifecycleFactoryType createLifecycleFactoryType(); + + /** + * Returns a new object of class '<em>Lifecycle Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Lifecycle Type</em>'. + * @generated + */ + LifecycleType createLifecycleType(); + + /** + * Returns a new object of class '<em>List Entries Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>List Entries Type</em>'. + * @generated + */ + ListEntriesType createListEntriesType(); + + /** + * Returns a new object of class '<em>Locale Config Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Locale Config Type</em>'. + * @generated + */ + LocaleConfigType createLocaleConfigType(); + + /** + * Returns a new object of class '<em>Managed Bean Class Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Managed Bean Class Type</em>'. + * @generated + */ + ManagedBeanClassType createManagedBeanClassType(); + + /** + * Returns a new object of class '<em>Managed Bean Name Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Managed Bean Name Type</em>'. + * @generated + */ + ManagedBeanNameType createManagedBeanNameType(); + + /** + * Returns a new object of class '<em>Managed Bean Scope Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Managed Bean Scope Type</em>'. + * @generated + */ + ManagedBeanScopeType createManagedBeanScopeType(); + + /** + * Returns a new object of class '<em>Managed Bean Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Managed Bean Type</em>'. + * @generated + */ + ManagedBeanType createManagedBeanType(); + + /** + * Returns a new object of class '<em>Managed Property Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Managed Property Type</em>'. + * @generated + */ + ManagedPropertyType createManagedPropertyType(); + + /** + * Returns a new object of class '<em>Map Entries Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Map Entries Type</em>'. + * @generated + */ + MapEntriesType createMapEntriesType(); + + /** + * Returns a new object of class '<em>Map Entry Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Map Entry Type</em>'. + * @generated + */ + MapEntryType createMapEntryType(); + + /** + * Returns a new object of class '<em>Message Bundle Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Message Bundle Type</em>'. + * @generated + */ + MessageBundleType createMessageBundleType(); + + /** + * Returns a new object of class '<em>Navigation Case Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Navigation Case Type</em>'. + * @generated + */ + NavigationCaseType createNavigationCaseType(); + + /** + * Returns a new object of class '<em>Navigation Handler Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Navigation Handler Type</em>'. + * @generated + */ + NavigationHandlerType createNavigationHandlerType(); + + /** + * Returns a new object of class '<em>Navigation Rule Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Navigation Rule Type</em>'. + * @generated + */ + NavigationRuleType createNavigationRuleType(); + + /** + * Returns a new object of class '<em>Null Value Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Null Value Type</em>'. + * @generated + */ + NullValueType createNullValueType(); + + /** + * Returns a new object of class '<em>Phase Listener Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Phase Listener Type</em>'. + * @generated + */ + PhaseListenerType createPhaseListenerType(); + + /** + * Returns a new object of class '<em>Property Class Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Property Class Type</em>'. + * @generated + */ + PropertyClassType createPropertyClassType(); + + /** + * Returns a new object of class '<em>Property Extension Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Property Extension Type</em>'. + * @generated + */ + PropertyExtensionType createPropertyExtensionType(); + + /** + * Returns a new object of class '<em>Property Name Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Property Name Type</em>'. + * @generated + */ + PropertyNameType createPropertyNameType(); + + /** + * Returns a new object of class '<em>Property Resolver Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Property Resolver Type</em>'. + * @generated + */ + PropertyResolverType createPropertyResolverType(); + + /** + * Returns a new object of class '<em>Property Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Property Type</em>'. + * @generated + */ + PropertyType createPropertyType(); + + /** + * Returns a new object of class '<em>Redirect Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Redirect Type</em>'. + * @generated + */ + RedirectType createRedirectType(); + + /** + * Returns a new object of class '<em>Referenced Bean Class Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Referenced Bean Class Type</em>'. + * @generated + */ + ReferencedBeanClassType createReferencedBeanClassType(); + + /** + * Returns a new object of class '<em>Referenced Bean Name Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Referenced Bean Name Type</em>'. + * @generated + */ + ReferencedBeanNameType createReferencedBeanNameType(); + + /** + * Returns a new object of class '<em>Referenced Bean Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Referenced Bean Type</em>'. + * @generated + */ + ReferencedBeanType createReferencedBeanType(); + + /** + * Returns a new object of class '<em>Renderer Class Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Renderer Class Type</em>'. + * @generated + */ + RendererClassType createRendererClassType(); + + /** + * Returns a new object of class '<em>Renderer Extension Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Renderer Extension Type</em>'. + * @generated + */ + RendererExtensionType createRendererExtensionType(); + + /** + * Returns a new object of class '<em>Renderer Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Renderer Type</em>'. + * @generated + */ + RendererType createRendererType(); + + /** + * Returns a new object of class '<em>Renderer Type Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Renderer Type Type</em>'. + * @generated + */ + RendererTypeType createRendererTypeType(); + + /** + * Returns a new object of class '<em>Render Kit Class Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Render Kit Class Type</em>'. + * @generated + */ + RenderKitClassType createRenderKitClassType(); + + /** + * Returns a new object of class '<em>Render Kit Factory Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Render Kit Factory Type</em>'. + * @generated + */ + RenderKitFactoryType createRenderKitFactoryType(); + + /** + * Returns a new object of class '<em>Render Kit Id Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Render Kit Id Type</em>'. + * @generated + */ + RenderKitIdType createRenderKitIdType(); + + /** + * Returns a new object of class '<em>Render Kit Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Render Kit Type</em>'. + * @generated + */ + RenderKitType createRenderKitType(); + + /** + * Returns a new object of class '<em>Small Icon Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Small Icon Type</em>'. + * @generated + */ + SmallIconType createSmallIconType(); + + /** + * Returns a new object of class '<em>State Manager Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>State Manager Type</em>'. + * @generated + */ + StateManagerType createStateManagerType(); + + /** + * Returns a new object of class '<em>Suggested Value Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Suggested Value Type</em>'. + * @generated + */ + SuggestedValueType createSuggestedValueType(); + + /** + * Returns a new object of class '<em>Supported Locale Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Supported Locale Type</em>'. + * @generated + */ + SupportedLocaleType createSupportedLocaleType(); + + /** + * Returns a new object of class '<em>To View Id Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>To View Id Type</em>'. + * @generated + */ + ToViewIdType createToViewIdType(); + + /** + * Returns a new object of class '<em>Validator Class Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Validator Class Type</em>'. + * @generated + */ + ValidatorClassType createValidatorClassType(); + + /** + * Returns a new object of class '<em>Validator Id Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Validator Id Type</em>'. + * @generated + */ + ValidatorIdType createValidatorIdType(); + + /** + * Returns a new object of class '<em>Validator Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Validator Type</em>'. + * @generated + */ + ValidatorType createValidatorType(); + + /** + * Returns a new object of class '<em>Value Class Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Value Class Type</em>'. + * @generated + */ + ValueClassType createValueClassType(); + + /** + * Returns a new object of class '<em>Value Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Value Type</em>'. + * @generated + */ + ValueType createValueType(); + + /** + * Returns a new object of class '<em>Variable Resolver Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Variable Resolver Type</em>'. + * @generated + */ + VariableResolverType createVariableResolverType(); + + /** + * Returns a new object of class '<em>View Handler Type</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>View Handler Type</em>'. + * @generated + */ + ViewHandlerType createViewHandlerType(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + FacesConfigPackage getFacesConfigPackage(); + +} //FacesConfigFactory diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesConfigPackage.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesConfigPackage.java new file mode 100644 index 000000000..4a94aadf0 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesConfigPackage.java @@ -0,0 +1,9816 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * <!-- begin-model-doc --> + * + * See http://www.w3.org/XML/1998/namespace.html and + * http://www.w3.org/TR/REC-xml for information about this namespace. + * + * This schema document describes the XML namespace, in a form + * suitable for import by other schema documents. + * + * Note that local names in this namespace are intended to be defined + * only by the World Wide Web Consortium or its subgroups. The + * following names are currently defined in this namespace and should + * not be used with conflicting semantics by any Working Group, + * specification, or document instance: + * + * base (as an attribute name): denotes an attribute whose value + * provides a URI to be used as the base for interpreting any + * relative URIs in the scope of the element on which it + * appears; its value is inherited. This name is reserved + * by virtue of its definition in the XML Base specification. + * + * id (as an attribute name): denotes an attribute whose value + * should be interpreted as if declared to be of type ID. + * The xml:id specification is not yet a W3C Recommendation, + * but this attribute is included here to facilitate experimentation + * with the mechanisms it proposes. Note that it is _not_ included + * in the specialAttrs attribute group. + * + * lang (as an attribute name): denotes an attribute whose value + * is a language code for the natural language of the content of + * any element; its value is inherited. This name is reserved + * by virtue of its definition in the XML specification. + * + * space (as an attribute name): denotes an attribute whose + * value is a keyword indicating what whitespace processing + * discipline is intended for the content of the element; its + * value is inherited. This name is reserved by virtue of its + * definition in the XML specification. + * + * Father (in any context at all): denotes Jon Bosak, the chair of + * the original XML Working Group. This name is reserved by + * the following decision of the W3C XML Plenary and + * XML Coordination groups: + * + * In appreciation for his vision, leadership and dedication + * the W3C XML Plenary on this 10th day of February, 2000 + * reserves for Jon Bosak in perpetuity the XML name + * xml:Father + * + * This schema defines attributes and an attribute group + * suitable for use by + * schemas wishing to allow xml:base, xml:lang, xml:space or xml:id + * attributes on elements they define. + * + * To enable this, such a schema must import this schema + * for the XML namespace, e.g. as follows: + * <schema . . .> + * . . . + * <import namespace="http://www.w3.org/XML/1998/namespace" + * schemaLocation="http://www.w3.org/2001/xml.xsd"/> + * + * Subsequently, qualified reference to any of the attributes + * or the group defined below will have the desired effect, e.g. + * + * <type . . .> + * . . . + * <attributeGroup ref="xml:specialAttrs"/> + * + * will define a type which will schema-validate an instance + * element with any of those attributes + * In keeping with the XML Schema WG's standard versioning + * policy, this schema document will persist at + * http://www.w3.org/2005/08/xml.xsd. + * At the date of issue it can also be found at + * http://www.w3.org/2001/xml.xsd. + * The schema document at that URI may however change in the future, + * in order to remain compatible with the latest version of XML Schema + * itself, or with the XML namespace itself. In other words, if the XML + * Schema or XML namespaces change, the version of this document at + * http://www.w3.org/2001/xml.xsd will change + * accordingly; the version at + * http://www.w3.org/2005/08/xml.xsd will not change. + * + * <!-- end-model-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigFactory + * @model kind="package" + * @generated + */ +public interface FacesConfigPackage extends EPackage{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "facesconfig"; + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.eclipse.org/webtools/jsf/schema/facesconfig.xsd"; + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "facesconfig"; + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + FacesConfigPackage eINSTANCE = org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ActionListenerTypeImpl <em>Action Listener Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ActionListenerTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getActionListenerType() + * @generated + */ + int ACTION_LISTENER_TYPE = 0; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ACTION_LISTENER_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ACTION_LISTENER_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Action Listener Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ACTION_LISTENER_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationFactoryTypeImpl <em>Application Factory Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationFactoryTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getApplicationFactoryType() + * @generated + */ + int APPLICATION_FACTORY_TYPE = 1; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int APPLICATION_FACTORY_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int APPLICATION_FACTORY_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Application Factory Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int APPLICATION_FACTORY_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl <em>Application Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getApplicationType() + * @generated + */ + int APPLICATION_TYPE = 2; + + /** + * The feature id for the '<em><b>Action Listener</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int APPLICATION_TYPE__ACTION_LISTENER = 0; + + /** + * The feature id for the '<em><b>Default Render Kit Id</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int APPLICATION_TYPE__DEFAULT_RENDER_KIT_ID = 1; + + /** + * The feature id for the '<em><b>Message Bundle</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int APPLICATION_TYPE__MESSAGE_BUNDLE = 2; + + /** + * The feature id for the '<em><b>Navigation Handler</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int APPLICATION_TYPE__NAVIGATION_HANDLER = 3; + + /** + * The feature id for the '<em><b>View Handler</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int APPLICATION_TYPE__VIEW_HANDLER = 4; + + /** + * The feature id for the '<em><b>State Manager</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int APPLICATION_TYPE__STATE_MANAGER = 5; + + /** + * The feature id for the '<em><b>Property Resolver</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int APPLICATION_TYPE__PROPERTY_RESOLVER = 6; + + /** + * The feature id for the '<em><b>Variable Resolver</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int APPLICATION_TYPE__VARIABLE_RESOLVER = 7; + + /** + * The feature id for the '<em><b>Locale Config</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int APPLICATION_TYPE__LOCALE_CONFIG = 8; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int APPLICATION_TYPE__ID = 9; + + /** + * The number of structural features of the the '<em>Application Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int APPLICATION_TYPE_FEATURE_COUNT = 10; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeClassTypeImpl <em>Attribute Class Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeClassTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getAttributeClassType() + * @generated + */ + int ATTRIBUTE_CLASS_TYPE = 3; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_CLASS_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Attribute Class Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_CLASS_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeExtensionTypeImpl <em>Attribute Extension Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeExtensionTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getAttributeExtensionType() + * @generated + */ + int ATTRIBUTE_EXTENSION_TYPE = 4; + + /** + * The feature id for the '<em><b>Mixed</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_EXTENSION_TYPE__MIXED = 0; + + /** + * The feature id for the '<em><b>Group</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_EXTENSION_TYPE__GROUP = 1; + + /** + * The feature id for the '<em><b>Any</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_EXTENSION_TYPE__ANY = 2; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_EXTENSION_TYPE__ID = 3; + + /** + * The number of structural features of the the '<em>Attribute Extension Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_EXTENSION_TYPE_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeNameTypeImpl <em>Attribute Name Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeNameTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getAttributeNameType() + * @generated + */ + int ATTRIBUTE_NAME_TYPE = 5; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_NAME_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_NAME_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Attribute Name Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_NAME_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeTypeImpl <em>Attribute Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getAttributeType() + * @generated + */ + int ATTRIBUTE_TYPE = 6; + + /** + * The feature id for the '<em><b>Description</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE__DESCRIPTION = 0; + + /** + * The feature id for the '<em><b>Display Name</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE__DISPLAY_NAME = 1; + + /** + * The feature id for the '<em><b>Icon</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE__ICON = 2; + + /** + * The feature id for the '<em><b>Attribute Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE__ATTRIBUTE_NAME = 3; + + /** + * The feature id for the '<em><b>Attribute Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE__ATTRIBUTE_CLASS = 4; + + /** + * The feature id for the '<em><b>Default Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE__DEFAULT_VALUE = 5; + + /** + * The feature id for the '<em><b>Suggested Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE__SUGGESTED_VALUE = 6; + + /** + * The feature id for the '<em><b>Attribute Extension</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE__ATTRIBUTE_EXTENSION = 7; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE__ID = 8; + + /** + * The number of structural features of the the '<em>Attribute Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ATTRIBUTE_TYPE_FEATURE_COUNT = 9; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentClassTypeImpl <em>Component Class Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentClassTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getComponentClassType() + * @generated + */ + int COMPONENT_CLASS_TYPE = 7; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_CLASS_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_CLASS_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Component Class Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_CLASS_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentExtensionTypeImpl <em>Component Extension Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentExtensionTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getComponentExtensionType() + * @generated + */ + int COMPONENT_EXTENSION_TYPE = 8; + + /** + * The feature id for the '<em><b>Mixed</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_EXTENSION_TYPE__MIXED = 0; + + /** + * The feature id for the '<em><b>Group</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_EXTENSION_TYPE__GROUP = 1; + + /** + * The feature id for the '<em><b>Any</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_EXTENSION_TYPE__ANY = 2; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_EXTENSION_TYPE__ID = 3; + + /** + * The number of structural features of the the '<em>Component Extension Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_EXTENSION_TYPE_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentFamilyTypeImpl <em>Component Family Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentFamilyTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getComponentFamilyType() + * @generated + */ + int COMPONENT_FAMILY_TYPE = 9; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_FAMILY_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_FAMILY_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Component Family Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_FAMILY_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeImpl <em>Component Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getComponentType() + * @generated + */ + int COMPONENT_TYPE = 10; + + /** + * The feature id for the '<em><b>Description</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_TYPE__DESCRIPTION = 0; + + /** + * The feature id for the '<em><b>Display Name</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_TYPE__DISPLAY_NAME = 1; + + /** + * The feature id for the '<em><b>Icon</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_TYPE__ICON = 2; + + /** + * The feature id for the '<em><b>Component Type</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_TYPE__COMPONENT_TYPE = 3; + + /** + * The feature id for the '<em><b>Component Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_TYPE__COMPONENT_CLASS = 4; + + /** + * The feature id for the '<em><b>Facet</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_TYPE__FACET = 5; + + /** + * The feature id for the '<em><b>Attribute</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_TYPE__ATTRIBUTE = 6; + + /** + * The feature id for the '<em><b>Property</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_TYPE__PROPERTY = 7; + + /** + * The feature id for the '<em><b>Component Extension</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_TYPE__COMPONENT_EXTENSION = 8; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_TYPE__ID = 9; + + /** + * The number of structural features of the the '<em>Component Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_TYPE_FEATURE_COUNT = 10; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeTypeImpl <em>Component Type Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getComponentTypeType() + * @generated + */ + int COMPONENT_TYPE_TYPE = 11; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_TYPE_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_TYPE_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Component Type Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int COMPONENT_TYPE_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterClassTypeImpl <em>Converter Class Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterClassTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getConverterClassType() + * @generated + */ + int CONVERTER_CLASS_TYPE = 12; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_CLASS_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_CLASS_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Converter Class Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_CLASS_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterForClassTypeImpl <em>Converter For Class Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterForClassTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getConverterForClassType() + * @generated + */ + int CONVERTER_FOR_CLASS_TYPE = 13; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_FOR_CLASS_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_FOR_CLASS_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Converter For Class Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_FOR_CLASS_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterIdTypeImpl <em>Converter Id Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterIdTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getConverterIdType() + * @generated + */ + int CONVERTER_ID_TYPE = 14; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_ID_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_ID_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Converter Id Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_ID_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterTypeImpl <em>Converter Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getConverterType() + * @generated + */ + int CONVERTER_TYPE = 15; + + /** + * The feature id for the '<em><b>Description</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_TYPE__DESCRIPTION = 0; + + /** + * The feature id for the '<em><b>Display Name</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_TYPE__DISPLAY_NAME = 1; + + /** + * The feature id for the '<em><b>Icon</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_TYPE__ICON = 2; + + /** + * The feature id for the '<em><b>Converter Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_TYPE__CONVERTER_ID = 3; + + /** + * The feature id for the '<em><b>Converter For Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_TYPE__CONVERTER_FOR_CLASS = 4; + + /** + * The feature id for the '<em><b>Converter Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_TYPE__CONVERTER_CLASS = 5; + + /** + * The feature id for the '<em><b>Attribute</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_TYPE__ATTRIBUTE = 6; + + /** + * The feature id for the '<em><b>Property</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_TYPE__PROPERTY = 7; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_TYPE__ID = 8; + + /** + * The number of structural features of the the '<em>Converter Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONVERTER_TYPE_FEATURE_COUNT = 9; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DefaultLocaleTypeImpl <em>Default Locale Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.DefaultLocaleTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getDefaultLocaleType() + * @generated + */ + int DEFAULT_LOCALE_TYPE = 16; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DEFAULT_LOCALE_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DEFAULT_LOCALE_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Default Locale Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DEFAULT_LOCALE_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DefaultRenderKitIdTypeImpl <em>Default Render Kit Id Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.DefaultRenderKitIdTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getDefaultRenderKitIdType() + * @generated + */ + int DEFAULT_RENDER_KIT_ID_TYPE = 17; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DEFAULT_RENDER_KIT_ID_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DEFAULT_RENDER_KIT_ID_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Default Render Kit Id Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DEFAULT_RENDER_KIT_ID_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DefaultValueTypeImpl <em>Default Value Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.DefaultValueTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getDefaultValueType() + * @generated + */ + int DEFAULT_VALUE_TYPE = 18; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DEFAULT_VALUE_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DEFAULT_VALUE_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Default Value Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DEFAULT_VALUE_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DescriptionTypeImpl <em>Description Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.DescriptionTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getDescriptionType() + * @generated + */ + int DESCRIPTION_TYPE = 19; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DESCRIPTION_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Lang</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DESCRIPTION_TYPE__LANG = 1; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DESCRIPTION_TYPE__ID = 2; + + /** + * The number of structural features of the the '<em>Description Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DESCRIPTION_TYPE_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DisplayNameTypeImpl <em>Display Name Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.DisplayNameTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getDisplayNameType() + * @generated + */ + int DISPLAY_NAME_TYPE = 20; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAY_NAME_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Lang</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAY_NAME_TYPE__LANG = 1; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAY_NAME_TYPE__ID = 2; + + /** + * The number of structural features of the the '<em>Display Name Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DISPLAY_NAME_TYPE_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl <em>Document Root</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getDocumentRoot() + * @generated + */ + int DOCUMENT_ROOT = 21; + + /** + * The feature id for the '<em><b>Mixed</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MIXED = 0; + + /** + * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1; + + /** + * The feature id for the '<em><b>XSI Schema Location</b></em>' map. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2; + + /** + * The feature id for the '<em><b>Action Listener</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ACTION_LISTENER = 3; + + /** + * The feature id for the '<em><b>Application</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__APPLICATION = 4; + + /** + * The feature id for the '<em><b>Application Factory</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__APPLICATION_FACTORY = 5; + + /** + * The feature id for the '<em><b>Attribute</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ATTRIBUTE = 6; + + /** + * The feature id for the '<em><b>Attribute Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ATTRIBUTE_CLASS = 7; + + /** + * The feature id for the '<em><b>Attribute Extension</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ATTRIBUTE_EXTENSION = 8; + + /** + * The feature id for the '<em><b>Attribute Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ATTRIBUTE_NAME = 9; + + /** + * The feature id for the '<em><b>Component</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__COMPONENT = 10; + + /** + * The feature id for the '<em><b>Component Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__COMPONENT_CLASS = 11; + + /** + * The feature id for the '<em><b>Component Extension</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__COMPONENT_EXTENSION = 12; + + /** + * The feature id for the '<em><b>Component Family</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__COMPONENT_FAMILY = 13; + + /** + * The feature id for the '<em><b>Component Type</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__COMPONENT_TYPE = 14; + + /** + * The feature id for the '<em><b>Converter</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CONVERTER = 15; + + /** + * The feature id for the '<em><b>Converter Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CONVERTER_CLASS = 16; + + /** + * The feature id for the '<em><b>Converter For Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CONVERTER_FOR_CLASS = 17; + + /** + * The feature id for the '<em><b>Converter Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__CONVERTER_ID = 18; + + /** + * The feature id for the '<em><b>Default Locale</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DEFAULT_LOCALE = 19; + + /** + * The feature id for the '<em><b>Default Render Kit Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DEFAULT_RENDER_KIT_ID = 20; + + /** + * The feature id for the '<em><b>Default Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DEFAULT_VALUE = 21; + + /** + * The feature id for the '<em><b>Description</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DESCRIPTION = 22; + + /** + * The feature id for the '<em><b>Display Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__DISPLAY_NAME = 23; + + /** + * The feature id for the '<em><b>Faces Config</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__FACES_CONFIG = 24; + + /** + * The feature id for the '<em><b>Faces Context Factory</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__FACES_CONTEXT_FACTORY = 25; + + /** + * The feature id for the '<em><b>Facet</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__FACET = 26; + + /** + * The feature id for the '<em><b>Facet Extension</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__FACET_EXTENSION = 27; + + /** + * The feature id for the '<em><b>Facet Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__FACET_NAME = 28; + + /** + * The feature id for the '<em><b>Factory</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__FACTORY = 29; + + /** + * The feature id for the '<em><b>From Action</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__FROM_ACTION = 30; + + /** + * The feature id for the '<em><b>From Outcome</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__FROM_OUTCOME = 31; + + /** + * The feature id for the '<em><b>From View Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__FROM_VIEW_ID = 32; + + /** + * The feature id for the '<em><b>Icon</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__ICON = 33; + + /** + * The feature id for the '<em><b>Key</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__KEY = 34; + + /** + * The feature id for the '<em><b>Key Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__KEY_CLASS = 35; + + /** + * The feature id for the '<em><b>Large Icon</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__LARGE_ICON = 36; + + /** + * The feature id for the '<em><b>Lifecycle</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__LIFECYCLE = 37; + + /** + * The feature id for the '<em><b>Lifecycle Factory</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__LIFECYCLE_FACTORY = 38; + + /** + * The feature id for the '<em><b>List Entries</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__LIST_ENTRIES = 39; + + /** + * The feature id for the '<em><b>Locale Config</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__LOCALE_CONFIG = 40; + + /** + * The feature id for the '<em><b>Managed Bean</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MANAGED_BEAN = 41; + + /** + * The feature id for the '<em><b>Managed Bean Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MANAGED_BEAN_CLASS = 42; + + /** + * The feature id for the '<em><b>Managed Bean Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MANAGED_BEAN_NAME = 43; + + /** + * The feature id for the '<em><b>Managed Bean Scope</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MANAGED_BEAN_SCOPE = 44; + + /** + * The feature id for the '<em><b>Managed Property</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MANAGED_PROPERTY = 45; + + /** + * The feature id for the '<em><b>Map Entries</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MAP_ENTRIES = 46; + + /** + * The feature id for the '<em><b>Map Entry</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MAP_ENTRY = 47; + + /** + * The feature id for the '<em><b>Message Bundle</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__MESSAGE_BUNDLE = 48; + + /** + * The feature id for the '<em><b>Navigation Case</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__NAVIGATION_CASE = 49; + + /** + * The feature id for the '<em><b>Navigation Handler</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__NAVIGATION_HANDLER = 50; + + /** + * The feature id for the '<em><b>Navigation Rule</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__NAVIGATION_RULE = 51; + + /** + * The feature id for the '<em><b>Null Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__NULL_VALUE = 52; + + /** + * The feature id for the '<em><b>Phase Listener</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PHASE_LISTENER = 53; + + /** + * The feature id for the '<em><b>Property</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PROPERTY = 54; + + /** + * The feature id for the '<em><b>Property Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PROPERTY_CLASS = 55; + + /** + * The feature id for the '<em><b>Property Extension</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PROPERTY_EXTENSION = 56; + + /** + * The feature id for the '<em><b>Property Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PROPERTY_NAME = 57; + + /** + * The feature id for the '<em><b>Property Resolver</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__PROPERTY_RESOLVER = 58; + + /** + * The feature id for the '<em><b>Redirect</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__REDIRECT = 59; + + /** + * The feature id for the '<em><b>Referenced Bean</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__REFERENCED_BEAN = 60; + + /** + * The feature id for the '<em><b>Referenced Bean Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__REFERENCED_BEAN_CLASS = 61; + + /** + * The feature id for the '<em><b>Referenced Bean Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__REFERENCED_BEAN_NAME = 62; + + /** + * The feature id for the '<em><b>Renderer</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RENDERER = 63; + + /** + * The feature id for the '<em><b>Renderer Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RENDERER_CLASS = 64; + + /** + * The feature id for the '<em><b>Renderer Extension</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RENDERER_EXTENSION = 65; + + /** + * The feature id for the '<em><b>Renderer Type</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RENDERER_TYPE = 66; + + /** + * The feature id for the '<em><b>Render Kit</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RENDER_KIT = 67; + + /** + * The feature id for the '<em><b>Render Kit Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RENDER_KIT_CLASS = 68; + + /** + * The feature id for the '<em><b>Render Kit Factory</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RENDER_KIT_FACTORY = 69; + + /** + * The feature id for the '<em><b>Render Kit Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__RENDER_KIT_ID = 70; + + /** + * The feature id for the '<em><b>Small Icon</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__SMALL_ICON = 71; + + /** + * The feature id for the '<em><b>State Manager</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__STATE_MANAGER = 72; + + /** + * The feature id for the '<em><b>Suggested Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__SUGGESTED_VALUE = 73; + + /** + * The feature id for the '<em><b>Supported Locale</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__SUPPORTED_LOCALE = 74; + + /** + * The feature id for the '<em><b>To View Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__TO_VIEW_ID = 75; + + /** + * The feature id for the '<em><b>Validator</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__VALIDATOR = 76; + + /** + * The feature id for the '<em><b>Validator Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__VALIDATOR_CLASS = 77; + + /** + * The feature id for the '<em><b>Validator Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__VALIDATOR_ID = 78; + + /** + * The feature id for the '<em><b>Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__VALUE = 79; + + /** + * The feature id for the '<em><b>Value Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__VALUE_CLASS = 80; + + /** + * The feature id for the '<em><b>Variable Resolver</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__VARIABLE_RESOLVER = 81; + + /** + * The feature id for the '<em><b>View Handler</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT__VIEW_HANDLER = 82; + + /** + * The number of structural features of the the '<em>Document Root</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int DOCUMENT_ROOT_FEATURE_COUNT = 83; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl <em>Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getFacesConfigType() + * @generated + */ + int FACES_CONFIG_TYPE = 22; + + /** + * The feature id for the '<em><b>Application</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONFIG_TYPE__APPLICATION = 0; + + /** + * The feature id for the '<em><b>Factory</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONFIG_TYPE__FACTORY = 1; + + /** + * The feature id for the '<em><b>Component</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONFIG_TYPE__COMPONENT = 2; + + /** + * The feature id for the '<em><b>Converter</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONFIG_TYPE__CONVERTER = 3; + + /** + * The feature id for the '<em><b>Managed Bean</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONFIG_TYPE__MANAGED_BEAN = 4; + + /** + * The feature id for the '<em><b>Navigation Rule</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONFIG_TYPE__NAVIGATION_RULE = 5; + + /** + * The feature id for the '<em><b>Referenced Bean</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONFIG_TYPE__REFERENCED_BEAN = 6; + + /** + * The feature id for the '<em><b>Render Kit</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONFIG_TYPE__RENDER_KIT = 7; + + /** + * The feature id for the '<em><b>Lifecycle</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONFIG_TYPE__LIFECYCLE = 8; + + /** + * The feature id for the '<em><b>Validator</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONFIG_TYPE__VALIDATOR = 9; + + /** + * The feature id for the '<em><b>Xmlns</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONFIG_TYPE__XMLNS = 10; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONFIG_TYPE__ID = 11; + + /** + * The number of structural features of the the '<em>Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONFIG_TYPE_FEATURE_COUNT = 12; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesContextFactoryTypeImpl <em>Faces Context Factory Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesContextFactoryTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getFacesContextFactoryType() + * @generated + */ + int FACES_CONTEXT_FACTORY_TYPE = 23; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONTEXT_FACTORY_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONTEXT_FACTORY_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Faces Context Factory Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACES_CONTEXT_FACTORY_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetExtensionTypeImpl <em>Facet Extension Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacetExtensionTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getFacetExtensionType() + * @generated + */ + int FACET_EXTENSION_TYPE = 24; + + /** + * The feature id for the '<em><b>Mixed</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_EXTENSION_TYPE__MIXED = 0; + + /** + * The feature id for the '<em><b>Group</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_EXTENSION_TYPE__GROUP = 1; + + /** + * The feature id for the '<em><b>Any</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_EXTENSION_TYPE__ANY = 2; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_EXTENSION_TYPE__ID = 3; + + /** + * The number of structural features of the the '<em>Facet Extension Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_EXTENSION_TYPE_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetNameTypeImpl <em>Facet Name Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacetNameTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getFacetNameType() + * @generated + */ + int FACET_NAME_TYPE = 25; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_NAME_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_NAME_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Facet Name Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_NAME_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetTypeImpl <em>Facet Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacetTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getFacetType() + * @generated + */ + int FACET_TYPE = 26; + + /** + * The feature id for the '<em><b>Description</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_TYPE__DESCRIPTION = 0; + + /** + * The feature id for the '<em><b>Display Name</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_TYPE__DISPLAY_NAME = 1; + + /** + * The feature id for the '<em><b>Icon</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_TYPE__ICON = 2; + + /** + * The feature id for the '<em><b>Facet Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_TYPE__FACET_NAME = 3; + + /** + * The feature id for the '<em><b>Facet Extension</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_TYPE__FACET_EXTENSION = 4; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_TYPE__ID = 5; + + /** + * The number of structural features of the the '<em>Facet Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACET_TYPE_FEATURE_COUNT = 6; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FactoryTypeImpl <em>Factory Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FactoryTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getFactoryType() + * @generated + */ + int FACTORY_TYPE = 27; + + /** + * The feature id for the '<em><b>Application Factory</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACTORY_TYPE__APPLICATION_FACTORY = 0; + + /** + * The feature id for the '<em><b>Faces Context Factory</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACTORY_TYPE__FACES_CONTEXT_FACTORY = 1; + + /** + * The feature id for the '<em><b>Lifecycle Factory</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACTORY_TYPE__LIFECYCLE_FACTORY = 2; + + /** + * The feature id for the '<em><b>Render Kit Factory</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACTORY_TYPE__RENDER_KIT_FACTORY = 3; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACTORY_TYPE__ID = 4; + + /** + * The number of structural features of the the '<em>Factory Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FACTORY_TYPE_FEATURE_COUNT = 5; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FromActionTypeImpl <em>From Action Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FromActionTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getFromActionType() + * @generated + */ + int FROM_ACTION_TYPE = 28; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FROM_ACTION_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FROM_ACTION_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>From Action Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FROM_ACTION_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FromOutcomeTypeImpl <em>From Outcome Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FromOutcomeTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getFromOutcomeType() + * @generated + */ + int FROM_OUTCOME_TYPE = 29; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FROM_OUTCOME_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FROM_OUTCOME_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>From Outcome Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FROM_OUTCOME_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FromViewIdTypeImpl <em>From View Id Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FromViewIdTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getFromViewIdType() + * @generated + */ + int FROM_VIEW_ID_TYPE = 30; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FROM_VIEW_ID_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FROM_VIEW_ID_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>From View Id Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int FROM_VIEW_ID_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.IconTypeImpl <em>Icon Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.IconTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getIconType() + * @generated + */ + int ICON_TYPE = 31; + + /** + * The feature id for the '<em><b>Small Icon</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ICON_TYPE__SMALL_ICON = 0; + + /** + * The feature id for the '<em><b>Large Icon</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ICON_TYPE__LARGE_ICON = 1; + + /** + * The feature id for the '<em><b>Lang</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ICON_TYPE__LANG = 2; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ICON_TYPE__ID = 3; + + /** + * The number of structural features of the the '<em>Icon Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int ICON_TYPE_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.KeyClassTypeImpl <em>Key Class Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.KeyClassTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getKeyClassType() + * @generated + */ + int KEY_CLASS_TYPE = 32; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int KEY_CLASS_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int KEY_CLASS_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Key Class Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int KEY_CLASS_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.KeyTypeImpl <em>Key Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.KeyTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getKeyType() + * @generated + */ + int KEY_TYPE = 33; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int KEY_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int KEY_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Key Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int KEY_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.LargeIconTypeImpl <em>Large Icon Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.LargeIconTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getLargeIconType() + * @generated + */ + int LARGE_ICON_TYPE = 34; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LARGE_ICON_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LARGE_ICON_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Large Icon Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LARGE_ICON_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.LifecycleFactoryTypeImpl <em>Lifecycle Factory Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.LifecycleFactoryTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getLifecycleFactoryType() + * @generated + */ + int LIFECYCLE_FACTORY_TYPE = 35; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LIFECYCLE_FACTORY_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LIFECYCLE_FACTORY_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Lifecycle Factory Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LIFECYCLE_FACTORY_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.LifecycleTypeImpl <em>Lifecycle Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.LifecycleTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getLifecycleType() + * @generated + */ + int LIFECYCLE_TYPE = 36; + + /** + * The feature id for the '<em><b>Phase Listener</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LIFECYCLE_TYPE__PHASE_LISTENER = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LIFECYCLE_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Lifecycle Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LIFECYCLE_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ListEntriesTypeImpl <em>List Entries Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ListEntriesTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getListEntriesType() + * @generated + */ + int LIST_ENTRIES_TYPE = 37; + + /** + * The feature id for the '<em><b>Value Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LIST_ENTRIES_TYPE__VALUE_CLASS = 0; + + /** + * The feature id for the '<em><b>Null Value</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LIST_ENTRIES_TYPE__NULL_VALUE = 1; + + /** + * The feature id for the '<em><b>Value</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LIST_ENTRIES_TYPE__VALUE = 2; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LIST_ENTRIES_TYPE__ID = 3; + + /** + * The number of structural features of the the '<em>List Entries Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LIST_ENTRIES_TYPE_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.LocaleConfigTypeImpl <em>Locale Config Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.LocaleConfigTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getLocaleConfigType() + * @generated + */ + int LOCALE_CONFIG_TYPE = 38; + + /** + * The feature id for the '<em><b>Default Locale</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LOCALE_CONFIG_TYPE__DEFAULT_LOCALE = 0; + + /** + * The feature id for the '<em><b>Supported Locale</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LOCALE_CONFIG_TYPE__SUPPORTED_LOCALE = 1; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LOCALE_CONFIG_TYPE__ID = 2; + + /** + * The number of structural features of the the '<em>Locale Config Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int LOCALE_CONFIG_TYPE_FEATURE_COUNT = 3; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanClassTypeImpl <em>Managed Bean Class Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanClassTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getManagedBeanClassType() + * @generated + */ + int MANAGED_BEAN_CLASS_TYPE = 39; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_CLASS_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_CLASS_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Managed Bean Class Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_CLASS_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanNameTypeImpl <em>Managed Bean Name Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanNameTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getManagedBeanNameType() + * @generated + */ + int MANAGED_BEAN_NAME_TYPE = 40; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_NAME_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_NAME_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Managed Bean Name Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_NAME_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanScopeTypeImpl <em>Managed Bean Scope Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanScopeTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getManagedBeanScopeType() + * @generated + */ + int MANAGED_BEAN_SCOPE_TYPE = 41; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_SCOPE_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_SCOPE_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Managed Bean Scope Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_SCOPE_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanTypeImpl <em>Managed Bean Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getManagedBeanType() + * @generated + */ + int MANAGED_BEAN_TYPE = 42; + + /** + * The feature id for the '<em><b>Description</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_TYPE__DESCRIPTION = 0; + + /** + * The feature id for the '<em><b>Display Name</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_TYPE__DISPLAY_NAME = 1; + + /** + * The feature id for the '<em><b>Icon</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_TYPE__ICON = 2; + + /** + * The feature id for the '<em><b>Managed Bean Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_TYPE__MANAGED_BEAN_NAME = 3; + + /** + * The feature id for the '<em><b>Managed Bean Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_TYPE__MANAGED_BEAN_CLASS = 4; + + /** + * The feature id for the '<em><b>Managed Bean Scope</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_TYPE__MANAGED_BEAN_SCOPE = 5; + + /** + * The feature id for the '<em><b>Managed Property</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_TYPE__MANAGED_PROPERTY = 6; + + /** + * The feature id for the '<em><b>Map Entries</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_TYPE__MAP_ENTRIES = 7; + + /** + * The feature id for the '<em><b>List Entries</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_TYPE__LIST_ENTRIES = 8; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_TYPE__ID = 9; + + /** + * The number of structural features of the the '<em>Managed Bean Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_BEAN_TYPE_FEATURE_COUNT = 10; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedPropertyTypeImpl <em>Managed Property Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedPropertyTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getManagedPropertyType() + * @generated + */ + int MANAGED_PROPERTY_TYPE = 43; + + /** + * The feature id for the '<em><b>Description</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_PROPERTY_TYPE__DESCRIPTION = 0; + + /** + * The feature id for the '<em><b>Display Name</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_PROPERTY_TYPE__DISPLAY_NAME = 1; + + /** + * The feature id for the '<em><b>Icon</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_PROPERTY_TYPE__ICON = 2; + + /** + * The feature id for the '<em><b>Property Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_PROPERTY_TYPE__PROPERTY_NAME = 3; + + /** + * The feature id for the '<em><b>Property Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_PROPERTY_TYPE__PROPERTY_CLASS = 4; + + /** + * The feature id for the '<em><b>Map Entries</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_PROPERTY_TYPE__MAP_ENTRIES = 5; + + /** + * The feature id for the '<em><b>Null Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_PROPERTY_TYPE__NULL_VALUE = 6; + + /** + * The feature id for the '<em><b>Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_PROPERTY_TYPE__VALUE = 7; + + /** + * The feature id for the '<em><b>List Entries</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_PROPERTY_TYPE__LIST_ENTRIES = 8; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_PROPERTY_TYPE__ID = 9; + + /** + * The number of structural features of the the '<em>Managed Property Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MANAGED_PROPERTY_TYPE_FEATURE_COUNT = 10; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.MapEntriesTypeImpl <em>Map Entries Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.MapEntriesTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getMapEntriesType() + * @generated + */ + int MAP_ENTRIES_TYPE = 44; + + /** + * The feature id for the '<em><b>Key Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MAP_ENTRIES_TYPE__KEY_CLASS = 0; + + /** + * The feature id for the '<em><b>Value Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MAP_ENTRIES_TYPE__VALUE_CLASS = 1; + + /** + * The feature id for the '<em><b>Map Entry</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MAP_ENTRIES_TYPE__MAP_ENTRY = 2; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MAP_ENTRIES_TYPE__ID = 3; + + /** + * The number of structural features of the the '<em>Map Entries Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MAP_ENTRIES_TYPE_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.MapEntryTypeImpl <em>Map Entry Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.MapEntryTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getMapEntryType() + * @generated + */ + int MAP_ENTRY_TYPE = 45; + + /** + * The feature id for the '<em><b>Key</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MAP_ENTRY_TYPE__KEY = 0; + + /** + * The feature id for the '<em><b>Null Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MAP_ENTRY_TYPE__NULL_VALUE = 1; + + /** + * The feature id for the '<em><b>Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MAP_ENTRY_TYPE__VALUE = 2; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MAP_ENTRY_TYPE__ID = 3; + + /** + * The number of structural features of the the '<em>Map Entry Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MAP_ENTRY_TYPE_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.MessageBundleTypeImpl <em>Message Bundle Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.MessageBundleTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getMessageBundleType() + * @generated + */ + int MESSAGE_BUNDLE_TYPE = 46; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MESSAGE_BUNDLE_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MESSAGE_BUNDLE_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Message Bundle Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MESSAGE_BUNDLE_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationCaseTypeImpl <em>Navigation Case Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationCaseTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getNavigationCaseType() + * @generated + */ + int NAVIGATION_CASE_TYPE = 47; + + /** + * The feature id for the '<em><b>Description</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_CASE_TYPE__DESCRIPTION = 0; + + /** + * The feature id for the '<em><b>Display Name</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_CASE_TYPE__DISPLAY_NAME = 1; + + /** + * The feature id for the '<em><b>Icon</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_CASE_TYPE__ICON = 2; + + /** + * The feature id for the '<em><b>From Action</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_CASE_TYPE__FROM_ACTION = 3; + + /** + * The feature id for the '<em><b>From Outcome</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_CASE_TYPE__FROM_OUTCOME = 4; + + /** + * The feature id for the '<em><b>To View Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_CASE_TYPE__TO_VIEW_ID = 5; + + /** + * The feature id for the '<em><b>Redirect</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_CASE_TYPE__REDIRECT = 6; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_CASE_TYPE__ID = 7; + + /** + * The number of structural features of the the '<em>Navigation Case Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_CASE_TYPE_FEATURE_COUNT = 8; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationHandlerTypeImpl <em>Navigation Handler Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationHandlerTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getNavigationHandlerType() + * @generated + */ + int NAVIGATION_HANDLER_TYPE = 48; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_HANDLER_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_HANDLER_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Navigation Handler Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_HANDLER_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationRuleTypeImpl <em>Navigation Rule Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationRuleTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getNavigationRuleType() + * @generated + */ + int NAVIGATION_RULE_TYPE = 49; + + /** + * The feature id for the '<em><b>Description</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_RULE_TYPE__DESCRIPTION = 0; + + /** + * The feature id for the '<em><b>Display Name</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_RULE_TYPE__DISPLAY_NAME = 1; + + /** + * The feature id for the '<em><b>Icon</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_RULE_TYPE__ICON = 2; + + /** + * The feature id for the '<em><b>From View Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_RULE_TYPE__FROM_VIEW_ID = 3; + + /** + * The feature id for the '<em><b>Navigation Case</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_RULE_TYPE__NAVIGATION_CASE = 4; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_RULE_TYPE__ID = 5; + + /** + * The number of structural features of the the '<em>Navigation Rule Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NAVIGATION_RULE_TYPE_FEATURE_COUNT = 6; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NullValueTypeImpl <em>Null Value Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.NullValueTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getNullValueType() + * @generated + */ + int NULL_VALUE_TYPE = 50; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NULL_VALUE_TYPE__ID = 0; + + /** + * The number of structural features of the the '<em>Null Value Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int NULL_VALUE_TYPE_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PhaseListenerTypeImpl <em>Phase Listener Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.PhaseListenerTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getPhaseListenerType() + * @generated + */ + int PHASE_LISTENER_TYPE = 51; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PHASE_LISTENER_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PHASE_LISTENER_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Phase Listener Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PHASE_LISTENER_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyClassTypeImpl <em>Property Class Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyClassTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getPropertyClassType() + * @generated + */ + int PROPERTY_CLASS_TYPE = 52; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_CLASS_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_CLASS_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Property Class Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_CLASS_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyExtensionTypeImpl <em>Property Extension Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyExtensionTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getPropertyExtensionType() + * @generated + */ + int PROPERTY_EXTENSION_TYPE = 53; + + /** + * The feature id for the '<em><b>Mixed</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_EXTENSION_TYPE__MIXED = 0; + + /** + * The feature id for the '<em><b>Group</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_EXTENSION_TYPE__GROUP = 1; + + /** + * The feature id for the '<em><b>Any</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_EXTENSION_TYPE__ANY = 2; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_EXTENSION_TYPE__ID = 3; + + /** + * The number of structural features of the the '<em>Property Extension Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_EXTENSION_TYPE_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyNameTypeImpl <em>Property Name Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyNameTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getPropertyNameType() + * @generated + */ + int PROPERTY_NAME_TYPE = 54; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_NAME_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_NAME_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Property Name Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_NAME_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyResolverTypeImpl <em>Property Resolver Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyResolverTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getPropertyResolverType() + * @generated + */ + int PROPERTY_RESOLVER_TYPE = 55; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_RESOLVER_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_RESOLVER_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Property Resolver Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_RESOLVER_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyTypeImpl <em>Property Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getPropertyType() + * @generated + */ + int PROPERTY_TYPE = 56; + + /** + * The feature id for the '<em><b>Description</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__DESCRIPTION = 0; + + /** + * The feature id for the '<em><b>Display Name</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__DISPLAY_NAME = 1; + + /** + * The feature id for the '<em><b>Icon</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__ICON = 2; + + /** + * The feature id for the '<em><b>Property Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__PROPERTY_NAME = 3; + + /** + * The feature id for the '<em><b>Property Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__PROPERTY_CLASS = 4; + + /** + * The feature id for the '<em><b>Default Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__DEFAULT_VALUE = 5; + + /** + * The feature id for the '<em><b>Suggested Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__SUGGESTED_VALUE = 6; + + /** + * The feature id for the '<em><b>Property Extension</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__PROPERTY_EXTENSION = 7; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE__ID = 8; + + /** + * The number of structural features of the the '<em>Property Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int PROPERTY_TYPE_FEATURE_COUNT = 9; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RedirectTypeImpl <em>Redirect Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.RedirectTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getRedirectType() + * @generated + */ + int REDIRECT_TYPE = 57; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REDIRECT_TYPE__ID = 0; + + /** + * The number of structural features of the the '<em>Redirect Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REDIRECT_TYPE_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanClassTypeImpl <em>Referenced Bean Class Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanClassTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getReferencedBeanClassType() + * @generated + */ + int REFERENCED_BEAN_CLASS_TYPE = 58; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFERENCED_BEAN_CLASS_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFERENCED_BEAN_CLASS_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Referenced Bean Class Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFERENCED_BEAN_CLASS_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanNameTypeImpl <em>Referenced Bean Name Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanNameTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getReferencedBeanNameType() + * @generated + */ + int REFERENCED_BEAN_NAME_TYPE = 59; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFERENCED_BEAN_NAME_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFERENCED_BEAN_NAME_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Referenced Bean Name Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFERENCED_BEAN_NAME_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanTypeImpl <em>Referenced Bean Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getReferencedBeanType() + * @generated + */ + int REFERENCED_BEAN_TYPE = 60; + + /** + * The feature id for the '<em><b>Description</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFERENCED_BEAN_TYPE__DESCRIPTION = 0; + + /** + * The feature id for the '<em><b>Display Name</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFERENCED_BEAN_TYPE__DISPLAY_NAME = 1; + + /** + * The feature id for the '<em><b>Icon</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFERENCED_BEAN_TYPE__ICON = 2; + + /** + * The feature id for the '<em><b>Referenced Bean Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFERENCED_BEAN_TYPE__REFERENCED_BEAN_NAME = 3; + + /** + * The feature id for the '<em><b>Referenced Bean Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFERENCED_BEAN_TYPE__REFERENCED_BEAN_CLASS = 4; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFERENCED_BEAN_TYPE__ID = 5; + + /** + * The number of structural features of the the '<em>Referenced Bean Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REFERENCED_BEAN_TYPE_FEATURE_COUNT = 6; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererClassTypeImpl <em>Renderer Class Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.RendererClassTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getRendererClassType() + * @generated + */ + int RENDERER_CLASS_TYPE = 61; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_CLASS_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_CLASS_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Renderer Class Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_CLASS_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererExtensionTypeImpl <em>Renderer Extension Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.RendererExtensionTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getRendererExtensionType() + * @generated + */ + int RENDERER_EXTENSION_TYPE = 62; + + /** + * The feature id for the '<em><b>Mixed</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_EXTENSION_TYPE__MIXED = 0; + + /** + * The feature id for the '<em><b>Group</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_EXTENSION_TYPE__GROUP = 1; + + /** + * The feature id for the '<em><b>Any</b></em>' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_EXTENSION_TYPE__ANY = 2; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_EXTENSION_TYPE__ID = 3; + + /** + * The number of structural features of the the '<em>Renderer Extension Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_EXTENSION_TYPE_FEATURE_COUNT = 4; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeImpl <em>Renderer Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getRendererType() + * @generated + */ + int RENDERER_TYPE = 63; + + /** + * The feature id for the '<em><b>Description</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_TYPE__DESCRIPTION = 0; + + /** + * The feature id for the '<em><b>Display Name</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_TYPE__DISPLAY_NAME = 1; + + /** + * The feature id for the '<em><b>Icon</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_TYPE__ICON = 2; + + /** + * The feature id for the '<em><b>Component Family</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_TYPE__COMPONENT_FAMILY = 3; + + /** + * The feature id for the '<em><b>Renderer Type</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_TYPE__RENDERER_TYPE = 4; + + /** + * The feature id for the '<em><b>Renderer Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_TYPE__RENDERER_CLASS = 5; + + /** + * The feature id for the '<em><b>Facet</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_TYPE__FACET = 6; + + /** + * The feature id for the '<em><b>Attribute</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_TYPE__ATTRIBUTE = 7; + + /** + * The feature id for the '<em><b>Renderer Extension</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_TYPE__RENDERER_EXTENSION = 8; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_TYPE__ID = 9; + + /** + * The number of structural features of the the '<em>Renderer Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_TYPE_FEATURE_COUNT = 10; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeTypeImpl <em>Renderer Type Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getRendererTypeType() + * @generated + */ + int RENDERER_TYPE_TYPE = 64; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_TYPE_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_TYPE_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Renderer Type Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDERER_TYPE_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitClassTypeImpl <em>Render Kit Class Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitClassTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getRenderKitClassType() + * @generated + */ + int RENDER_KIT_CLASS_TYPE = 65; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_CLASS_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_CLASS_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Render Kit Class Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_CLASS_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitFactoryTypeImpl <em>Render Kit Factory Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitFactoryTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getRenderKitFactoryType() + * @generated + */ + int RENDER_KIT_FACTORY_TYPE = 66; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_FACTORY_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_FACTORY_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Render Kit Factory Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_FACTORY_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitIdTypeImpl <em>Render Kit Id Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitIdTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getRenderKitIdType() + * @generated + */ + int RENDER_KIT_ID_TYPE = 67; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_ID_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_ID_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Render Kit Id Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_ID_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitTypeImpl <em>Render Kit Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getRenderKitType() + * @generated + */ + int RENDER_KIT_TYPE = 68; + + /** + * The feature id for the '<em><b>Description</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_TYPE__DESCRIPTION = 0; + + /** + * The feature id for the '<em><b>Display Name</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_TYPE__DISPLAY_NAME = 1; + + /** + * The feature id for the '<em><b>Icon</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_TYPE__ICON = 2; + + /** + * The feature id for the '<em><b>Render Kit Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_TYPE__RENDER_KIT_ID = 3; + + /** + * The feature id for the '<em><b>Render Kit Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_TYPE__RENDER_KIT_CLASS = 4; + + /** + * The feature id for the '<em><b>Renderer</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_TYPE__RENDERER = 5; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_TYPE__ID = 6; + + /** + * The number of structural features of the the '<em>Render Kit Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int RENDER_KIT_TYPE_FEATURE_COUNT = 7; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SmallIconTypeImpl <em>Small Icon Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.SmallIconTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getSmallIconType() + * @generated + */ + int SMALL_ICON_TYPE = 69; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SMALL_ICON_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SMALL_ICON_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Small Icon Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SMALL_ICON_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.StateManagerTypeImpl <em>State Manager Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.StateManagerTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getStateManagerType() + * @generated + */ + int STATE_MANAGER_TYPE = 70; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STATE_MANAGER_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STATE_MANAGER_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>State Manager Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STATE_MANAGER_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SuggestedValueTypeImpl <em>Suggested Value Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.SuggestedValueTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getSuggestedValueType() + * @generated + */ + int SUGGESTED_VALUE_TYPE = 71; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SUGGESTED_VALUE_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SUGGESTED_VALUE_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Suggested Value Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SUGGESTED_VALUE_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SupportedLocaleTypeImpl <em>Supported Locale Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.SupportedLocaleTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getSupportedLocaleType() + * @generated + */ + int SUPPORTED_LOCALE_TYPE = 72; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SUPPORTED_LOCALE_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SUPPORTED_LOCALE_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Supported Locale Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SUPPORTED_LOCALE_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ToViewIdTypeImpl <em>To View Id Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ToViewIdTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getToViewIdType() + * @generated + */ + int TO_VIEW_ID_TYPE = 73; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TO_VIEW_ID_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TO_VIEW_ID_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>To View Id Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int TO_VIEW_ID_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorClassTypeImpl <em>Validator Class Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorClassTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getValidatorClassType() + * @generated + */ + int VALIDATOR_CLASS_TYPE = 74; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_CLASS_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_CLASS_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Validator Class Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_CLASS_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorIdTypeImpl <em>Validator Id Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorIdTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getValidatorIdType() + * @generated + */ + int VALIDATOR_ID_TYPE = 75; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_ID_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_ID_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Validator Id Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_ID_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorTypeImpl <em>Validator Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getValidatorType() + * @generated + */ + int VALIDATOR_TYPE = 76; + + /** + * The feature id for the '<em><b>Description</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_TYPE__DESCRIPTION = 0; + + /** + * The feature id for the '<em><b>Display Name</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_TYPE__DISPLAY_NAME = 1; + + /** + * The feature id for the '<em><b>Icon</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_TYPE__ICON = 2; + + /** + * The feature id for the '<em><b>Validator Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_TYPE__VALIDATOR_ID = 3; + + /** + * The feature id for the '<em><b>Validator Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_TYPE__VALIDATOR_CLASS = 4; + + /** + * The feature id for the '<em><b>Attribute</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_TYPE__ATTRIBUTE = 5; + + /** + * The feature id for the '<em><b>Property</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_TYPE__PROPERTY = 6; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_TYPE__ID = 7; + + /** + * The number of structural features of the the '<em>Validator Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALIDATOR_TYPE_FEATURE_COUNT = 8; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValueClassTypeImpl <em>Value Class Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ValueClassTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getValueClassType() + * @generated + */ + int VALUE_CLASS_TYPE = 77; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALUE_CLASS_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALUE_CLASS_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Value Class Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALUE_CLASS_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValueTypeImpl <em>Value Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ValueTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getValueType() + * @generated + */ + int VALUE_TYPE = 78; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALUE_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALUE_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Value Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VALUE_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.VariableResolverTypeImpl <em>Variable Resolver Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.VariableResolverTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getVariableResolverType() + * @generated + */ + int VARIABLE_RESOLVER_TYPE = 79; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VARIABLE_RESOLVER_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VARIABLE_RESOLVER_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>Variable Resolver Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VARIABLE_RESOLVER_TYPE_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ViewHandlerTypeImpl <em>View Handler Type</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.ViewHandlerTypeImpl + * @see org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigPackageImpl#getViewHandlerType() + * @generated + */ + int VIEW_HANDLER_TYPE = 80; + + /** + * The feature id for the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_HANDLER_TYPE__TEXT_CONTENT = 0; + + /** + * The feature id for the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_HANDLER_TYPE__ID = 1; + + /** + * The number of structural features of the the '<em>View Handler Type</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int VIEW_HANDLER_TYPE_FEATURE_COUNT = 2; + + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType <em>Action Listener Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Action Listener Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType + * @generated + */ + EClass getActionListenerType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType#getTextContent() + * @see #getActionListenerType() + * @generated + */ + EAttribute getActionListenerType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType#getId() + * @see #getActionListenerType() + * @generated + */ + EAttribute getActionListenerType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType <em>Application Factory Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Application Factory Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType + * @generated + */ + EClass getApplicationFactoryType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType#getTextContent() + * @see #getApplicationFactoryType() + * @generated + */ + EAttribute getApplicationFactoryType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType#getId() + * @see #getApplicationFactoryType() + * @generated + */ + EAttribute getApplicationFactoryType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType <em>Application Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Application Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationType + * @generated + */ + EClass getApplicationType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getActionListener <em>Action Listener</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Action Listener</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getActionListener() + * @see #getApplicationType() + * @generated + */ + EReference getApplicationType_ActionListener(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getDefaultRenderKitId <em>Default Render Kit Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Default Render Kit Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getDefaultRenderKitId() + * @see #getApplicationType() + * @generated + */ + EReference getApplicationType_DefaultRenderKitId(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getMessageBundle <em>Message Bundle</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Message Bundle</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getMessageBundle() + * @see #getApplicationType() + * @generated + */ + EReference getApplicationType_MessageBundle(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getNavigationHandler <em>Navigation Handler</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Navigation Handler</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getNavigationHandler() + * @see #getApplicationType() + * @generated + */ + EReference getApplicationType_NavigationHandler(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getViewHandler <em>View Handler</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>View Handler</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getViewHandler() + * @see #getApplicationType() + * @generated + */ + EReference getApplicationType_ViewHandler(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getStateManager <em>State Manager</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>State Manager</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getStateManager() + * @see #getApplicationType() + * @generated + */ + EReference getApplicationType_StateManager(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getPropertyResolver <em>Property Resolver</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Property Resolver</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getPropertyResolver() + * @see #getApplicationType() + * @generated + */ + EReference getApplicationType_PropertyResolver(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getVariableResolver <em>Variable Resolver</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Variable Resolver</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getVariableResolver() + * @see #getApplicationType() + * @generated + */ + EReference getApplicationType_VariableResolver(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getLocaleConfig <em>Locale Config</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Locale Config</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getLocaleConfig() + * @see #getApplicationType() + * @generated + */ + EReference getApplicationType_LocaleConfig(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationType#getId() + * @see #getApplicationType() + * @generated + */ + EAttribute getApplicationType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType <em>Attribute Class Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Attribute Class Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType + * @generated + */ + EClass getAttributeClassType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType#getTextContent() + * @see #getAttributeClassType() + * @generated + */ + EAttribute getAttributeClassType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType#getId() + * @see #getAttributeClassType() + * @generated + */ + EAttribute getAttributeClassType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType <em>Attribute Extension Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Attribute Extension Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType + * @generated + */ + EClass getAttributeExtensionType(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType#getMixed <em>Mixed</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Mixed</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType#getMixed() + * @see #getAttributeExtensionType() + * @generated + */ + EAttribute getAttributeExtensionType_Mixed(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType#getGroup <em>Group</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Group</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType#getGroup() + * @see #getAttributeExtensionType() + * @generated + */ + EAttribute getAttributeExtensionType_Group(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType#getAny <em>Any</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Any</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType#getAny() + * @see #getAttributeExtensionType() + * @generated + */ + EAttribute getAttributeExtensionType_Any(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType#getId() + * @see #getAttributeExtensionType() + * @generated + */ + EAttribute getAttributeExtensionType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType <em>Attribute Name Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Attribute Name Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType + * @generated + */ + EClass getAttributeNameType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType#getTextContent() + * @see #getAttributeNameType() + * @generated + */ + EAttribute getAttributeNameType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType#getId() + * @see #getAttributeNameType() + * @generated + */ + EAttribute getAttributeNameType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType <em>Attribute Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Attribute Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeType + * @generated + */ + EClass getAttributeType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Description</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getDescription() + * @see #getAttributeType() + * @generated + */ + EReference getAttributeType_Description(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getDisplayName <em>Display Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Display Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getDisplayName() + * @see #getAttributeType() + * @generated + */ + EReference getAttributeType_DisplayName(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getIcon <em>Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getIcon() + * @see #getAttributeType() + * @generated + */ + EReference getAttributeType_Icon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getAttributeName <em>Attribute Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Attribute Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getAttributeName() + * @see #getAttributeType() + * @generated + */ + EReference getAttributeType_AttributeName(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getAttributeClass <em>Attribute Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Attribute Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getAttributeClass() + * @see #getAttributeType() + * @generated + */ + EReference getAttributeType_AttributeClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getDefaultValue <em>Default Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Default Value</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getDefaultValue() + * @see #getAttributeType() + * @generated + */ + EReference getAttributeType_DefaultValue(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getSuggestedValue <em>Suggested Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Suggested Value</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getSuggestedValue() + * @see #getAttributeType() + * @generated + */ + EReference getAttributeType_SuggestedValue(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getAttributeExtension <em>Attribute Extension</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Attribute Extension</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getAttributeExtension() + * @see #getAttributeType() + * @generated + */ + EReference getAttributeType_AttributeExtension(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeType#getId() + * @see #getAttributeType() + * @generated + */ + EAttribute getAttributeType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType <em>Component Class Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Component Class Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType + * @generated + */ + EClass getComponentClassType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType#getTextContent() + * @see #getComponentClassType() + * @generated + */ + EAttribute getComponentClassType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType#getId() + * @see #getComponentClassType() + * @generated + */ + EAttribute getComponentClassType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType <em>Component Extension Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Component Extension Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType + * @generated + */ + EClass getComponentExtensionType(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType#getMixed <em>Mixed</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Mixed</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType#getMixed() + * @see #getComponentExtensionType() + * @generated + */ + EAttribute getComponentExtensionType_Mixed(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType#getGroup <em>Group</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Group</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType#getGroup() + * @see #getComponentExtensionType() + * @generated + */ + EAttribute getComponentExtensionType_Group(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType#getAny <em>Any</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Any</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType#getAny() + * @see #getComponentExtensionType() + * @generated + */ + EAttribute getComponentExtensionType_Any(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType#getId() + * @see #getComponentExtensionType() + * @generated + */ + EAttribute getComponentExtensionType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType <em>Component Family Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Component Family Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType + * @generated + */ + EClass getComponentFamilyType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType#getTextContent() + * @see #getComponentFamilyType() + * @generated + */ + EAttribute getComponentFamilyType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType#getId() + * @see #getComponentFamilyType() + * @generated + */ + EAttribute getComponentFamilyType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType <em>Component Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Component Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentType + * @generated + */ + EClass getComponentType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Description</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getDescription() + * @see #getComponentType() + * @generated + */ + EReference getComponentType_Description(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getDisplayName <em>Display Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Display Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getDisplayName() + * @see #getComponentType() + * @generated + */ + EReference getComponentType_DisplayName(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getIcon <em>Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getIcon() + * @see #getComponentType() + * @generated + */ + EReference getComponentType_Icon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getComponentType <em>Component Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Component Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getComponentType() + * @see #getComponentType() + * @generated + */ + EReference getComponentType_ComponentType(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getComponentClass <em>Component Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Component Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getComponentClass() + * @see #getComponentType() + * @generated + */ + EReference getComponentType_ComponentClass(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getFacet <em>Facet</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Facet</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getFacet() + * @see #getComponentType() + * @generated + */ + EReference getComponentType_Facet(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getAttribute <em>Attribute</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Attribute</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getAttribute() + * @see #getComponentType() + * @generated + */ + EReference getComponentType_Attribute(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getProperty <em>Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Property</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getProperty() + * @see #getComponentType() + * @generated + */ + EReference getComponentType_Property(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getComponentExtension <em>Component Extension</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Component Extension</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getComponentExtension() + * @see #getComponentType() + * @generated + */ + EReference getComponentType_ComponentExtension(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentType#getId() + * @see #getComponentType() + * @generated + */ + EAttribute getComponentType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType <em>Component Type Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Component Type Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType + * @generated + */ + EClass getComponentTypeType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType#getTextContent() + * @see #getComponentTypeType() + * @generated + */ + EAttribute getComponentTypeType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType#getId() + * @see #getComponentTypeType() + * @generated + */ + EAttribute getComponentTypeType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType <em>Converter Class Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Converter Class Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType + * @generated + */ + EClass getConverterClassType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType#getTextContent() + * @see #getConverterClassType() + * @generated + */ + EAttribute getConverterClassType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType#getId() + * @see #getConverterClassType() + * @generated + */ + EAttribute getConverterClassType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType <em>Converter For Class Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Converter For Class Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType + * @generated + */ + EClass getConverterForClassType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType#getTextContent() + * @see #getConverterForClassType() + * @generated + */ + EAttribute getConverterForClassType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType#getId() + * @see #getConverterForClassType() + * @generated + */ + EAttribute getConverterForClassType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType <em>Converter Id Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Converter Id Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType + * @generated + */ + EClass getConverterIdType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType#getTextContent() + * @see #getConverterIdType() + * @generated + */ + EAttribute getConverterIdType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType#getId() + * @see #getConverterIdType() + * @generated + */ + EAttribute getConverterIdType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType <em>Converter Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Converter Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterType + * @generated + */ + EClass getConverterType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Description</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getDescription() + * @see #getConverterType() + * @generated + */ + EReference getConverterType_Description(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getDisplayName <em>Display Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Display Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getDisplayName() + * @see #getConverterType() + * @generated + */ + EReference getConverterType_DisplayName(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getIcon <em>Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getIcon() + * @see #getConverterType() + * @generated + */ + EReference getConverterType_Icon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getConverterId <em>Converter Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Converter Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getConverterId() + * @see #getConverterType() + * @generated + */ + EReference getConverterType_ConverterId(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getConverterForClass <em>Converter For Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Converter For Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getConverterForClass() + * @see #getConverterType() + * @generated + */ + EReference getConverterType_ConverterForClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getConverterClass <em>Converter Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Converter Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getConverterClass() + * @see #getConverterType() + * @generated + */ + EReference getConverterType_ConverterClass(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getAttribute <em>Attribute</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Attribute</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getAttribute() + * @see #getConverterType() + * @generated + */ + EReference getConverterType_Attribute(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getProperty <em>Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Property</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getProperty() + * @see #getConverterType() + * @generated + */ + EReference getConverterType_Property(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterType#getId() + * @see #getConverterType() + * @generated + */ + EAttribute getConverterType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType <em>Default Locale Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Default Locale Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType + * @generated + */ + EClass getDefaultLocaleType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType#getTextContent() + * @see #getDefaultLocaleType() + * @generated + */ + EAttribute getDefaultLocaleType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType#getId() + * @see #getDefaultLocaleType() + * @generated + */ + EAttribute getDefaultLocaleType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType <em>Default Render Kit Id Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Default Render Kit Id Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType + * @generated + */ + EClass getDefaultRenderKitIdType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType#getTextContent() + * @see #getDefaultRenderKitIdType() + * @generated + */ + EAttribute getDefaultRenderKitIdType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType#getId() + * @see #getDefaultRenderKitIdType() + * @generated + */ + EAttribute getDefaultRenderKitIdType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType <em>Default Value Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Default Value Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType + * @generated + */ + EClass getDefaultValueType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType#getTextContent() + * @see #getDefaultValueType() + * @generated + */ + EAttribute getDefaultValueType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType#getId() + * @see #getDefaultValueType() + * @generated + */ + EAttribute getDefaultValueType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType <em>Description Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Description Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DescriptionType + * @generated + */ + EClass getDescriptionType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DescriptionType#getTextContent() + * @see #getDescriptionType() + * @generated + */ + EAttribute getDescriptionType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType#getLang <em>Lang</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Lang</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DescriptionType#getLang() + * @see #getDescriptionType() + * @generated + */ + EAttribute getDescriptionType_Lang(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DescriptionType#getId() + * @see #getDescriptionType() + * @generated + */ + EAttribute getDescriptionType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType <em>Display Name Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Display Name Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType + * @generated + */ + EClass getDisplayNameType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType#getTextContent() + * @see #getDisplayNameType() + * @generated + */ + EAttribute getDisplayNameType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType#getLang <em>Lang</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Lang</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType#getLang() + * @see #getDisplayNameType() + * @generated + */ + EAttribute getDisplayNameType_Lang(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType#getId() + * @see #getDisplayNameType() + * @generated + */ + EAttribute getDisplayNameType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot <em>Document Root</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Document Root</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot + * @generated + */ + EClass getDocumentRoot(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMixed <em>Mixed</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Mixed</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMixed() + * @see #getDocumentRoot() + * @generated + */ + EAttribute getDocumentRoot_Mixed(); + + /** + * Returns the meta object for the map '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the map '<em>XMLNS Prefix Map</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getXMLNSPrefixMap() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_XMLNSPrefixMap(); + + /** + * Returns the meta object for the map '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the map '<em>XSI Schema Location</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getXSISchemaLocation() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_XSISchemaLocation(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getActionListener <em>Action Listener</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Action Listener</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getActionListener() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ActionListener(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getApplication <em>Application</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Application</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getApplication() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Application(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getApplicationFactory <em>Application Factory</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Application Factory</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getApplicationFactory() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ApplicationFactory(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttribute <em>Attribute</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Attribute</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttribute() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Attribute(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttributeClass <em>Attribute Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Attribute Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttributeClass() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_AttributeClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttributeExtension <em>Attribute Extension</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Attribute Extension</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttributeExtension() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_AttributeExtension(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttributeName <em>Attribute Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Attribute Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getAttributeName() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_AttributeName(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponent <em>Component</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Component</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponent() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Component(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentClass <em>Component Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Component Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentClass() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ComponentClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentExtension <em>Component Extension</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Component Extension</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentExtension() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ComponentExtension(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentFamily <em>Component Family</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Component Family</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentFamily() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ComponentFamily(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentType <em>Component Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Component Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getComponentType() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ComponentType(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverter <em>Converter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Converter</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverter() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Converter(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverterClass <em>Converter Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Converter Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverterClass() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ConverterClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverterForClass <em>Converter For Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Converter For Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverterForClass() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ConverterForClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverterId <em>Converter Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Converter Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getConverterId() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ConverterId(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDefaultLocale <em>Default Locale</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Default Locale</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDefaultLocale() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_DefaultLocale(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDefaultRenderKitId <em>Default Render Kit Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Default Render Kit Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDefaultRenderKitId() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_DefaultRenderKitId(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDefaultValue <em>Default Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Default Value</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDefaultValue() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_DefaultValue(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Description</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDescription() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Description(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDisplayName <em>Display Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Display Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getDisplayName() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_DisplayName(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacesConfig <em>Faces Config</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Faces Config</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacesConfig() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_FacesConfig(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacesContextFactory <em>Faces Context Factory</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Faces Context Factory</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacesContextFactory() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_FacesContextFactory(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacet <em>Facet</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Facet</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacet() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Facet(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacetExtension <em>Facet Extension</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Facet Extension</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacetExtension() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_FacetExtension(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacetName <em>Facet Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Facet Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFacetName() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_FacetName(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFactory <em>Factory</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Factory</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFactory() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Factory(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFromAction <em>From Action</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>From Action</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFromAction() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_FromAction(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFromOutcome <em>From Outcome</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>From Outcome</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFromOutcome() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_FromOutcome(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFromViewId <em>From View Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>From View Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getFromViewId() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_FromViewId(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getIcon <em>Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getIcon() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Icon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getKey <em>Key</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Key</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getKey() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Key(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getKeyClass <em>Key Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Key Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getKeyClass() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_KeyClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLargeIcon <em>Large Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Large Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLargeIcon() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_LargeIcon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLifecycle <em>Lifecycle</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Lifecycle</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLifecycle() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Lifecycle(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLifecycleFactory <em>Lifecycle Factory</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Lifecycle Factory</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLifecycleFactory() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_LifecycleFactory(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getListEntries <em>List Entries</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>List Entries</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getListEntries() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ListEntries(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLocaleConfig <em>Locale Config</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Locale Config</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getLocaleConfig() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_LocaleConfig(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBean <em>Managed Bean</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Managed Bean</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBean() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ManagedBean(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBeanClass <em>Managed Bean Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Managed Bean Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBeanClass() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ManagedBeanClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBeanName <em>Managed Bean Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Managed Bean Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBeanName() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ManagedBeanName(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBeanScope <em>Managed Bean Scope</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Managed Bean Scope</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedBeanScope() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ManagedBeanScope(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedProperty <em>Managed Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Managed Property</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getManagedProperty() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ManagedProperty(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMapEntries <em>Map Entries</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Map Entries</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMapEntries() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_MapEntries(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMapEntry <em>Map Entry</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Map Entry</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMapEntry() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_MapEntry(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMessageBundle <em>Message Bundle</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Message Bundle</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getMessageBundle() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_MessageBundle(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNavigationCase <em>Navigation Case</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Navigation Case</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNavigationCase() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_NavigationCase(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNavigationHandler <em>Navigation Handler</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Navigation Handler</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNavigationHandler() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_NavigationHandler(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNavigationRule <em>Navigation Rule</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Navigation Rule</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNavigationRule() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_NavigationRule(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNullValue <em>Null Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Null Value</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getNullValue() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_NullValue(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPhaseListener <em>Phase Listener</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Phase Listener</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPhaseListener() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_PhaseListener(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getProperty <em>Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Property</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getProperty() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Property(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyClass <em>Property Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Property Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyClass() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_PropertyClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyExtension <em>Property Extension</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Property Extension</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyExtension() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_PropertyExtension(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyName <em>Property Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Property Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyName() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_PropertyName(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyResolver <em>Property Resolver</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Property Resolver</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getPropertyResolver() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_PropertyResolver(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRedirect <em>Redirect</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Redirect</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRedirect() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Redirect(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getReferencedBean <em>Referenced Bean</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Referenced Bean</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getReferencedBean() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ReferencedBean(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getReferencedBeanClass <em>Referenced Bean Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Referenced Bean Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getReferencedBeanClass() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ReferencedBeanClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getReferencedBeanName <em>Referenced Bean Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Referenced Bean Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getReferencedBeanName() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ReferencedBeanName(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderer <em>Renderer</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Renderer</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderer() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Renderer(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRendererClass <em>Renderer Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Renderer Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRendererClass() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_RendererClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRendererExtension <em>Renderer Extension</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Renderer Extension</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRendererExtension() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_RendererExtension(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRendererType <em>Renderer Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Renderer Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRendererType() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_RendererType(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKit <em>Render Kit</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Render Kit</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKit() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_RenderKit(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKitClass <em>Render Kit Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Render Kit Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKitClass() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_RenderKitClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKitFactory <em>Render Kit Factory</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Render Kit Factory</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKitFactory() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_RenderKitFactory(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKitId <em>Render Kit Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Render Kit Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getRenderKitId() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_RenderKitId(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getSmallIcon <em>Small Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Small Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getSmallIcon() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_SmallIcon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getStateManager <em>State Manager</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>State Manager</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getStateManager() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_StateManager(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getSuggestedValue <em>Suggested Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Suggested Value</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getSuggestedValue() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_SuggestedValue(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getSupportedLocale <em>Supported Locale</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Supported Locale</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getSupportedLocale() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_SupportedLocale(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getToViewId <em>To View Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>To View Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getToViewId() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ToViewId(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValidator <em>Validator</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Validator</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValidator() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Validator(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValidatorClass <em>Validator Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Validator Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValidatorClass() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ValidatorClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValidatorId <em>Validator Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Validator Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValidatorId() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ValidatorId(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValue <em>Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Value</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValue() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_Value(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValueClass <em>Value Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Value Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getValueClass() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ValueClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getVariableResolver <em>Variable Resolver</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Variable Resolver</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getVariableResolver() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_VariableResolver(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getViewHandler <em>View Handler</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>View Handler</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot#getViewHandler() + * @see #getDocumentRoot() + * @generated + */ + EReference getDocumentRoot_ViewHandler(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType <em>Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType + * @generated + */ + EClass getFacesConfigType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getApplication <em>Application</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Application</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getApplication() + * @see #getFacesConfigType() + * @generated + */ + EReference getFacesConfigType_Application(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getFactory <em>Factory</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Factory</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getFactory() + * @see #getFacesConfigType() + * @generated + */ + EReference getFacesConfigType_Factory(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getComponent <em>Component</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Component</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getComponent() + * @see #getFacesConfigType() + * @generated + */ + EReference getFacesConfigType_Component(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getConverter <em>Converter</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Converter</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getConverter() + * @see #getFacesConfigType() + * @generated + */ + EReference getFacesConfigType_Converter(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getManagedBean <em>Managed Bean</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Managed Bean</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getManagedBean() + * @see #getFacesConfigType() + * @generated + */ + EReference getFacesConfigType_ManagedBean(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getNavigationRule <em>Navigation Rule</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Navigation Rule</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getNavigationRule() + * @see #getFacesConfigType() + * @generated + */ + EReference getFacesConfigType_NavigationRule(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getReferencedBean <em>Referenced Bean</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Referenced Bean</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getReferencedBean() + * @see #getFacesConfigType() + * @generated + */ + EReference getFacesConfigType_ReferencedBean(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getRenderKit <em>Render Kit</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Render Kit</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getRenderKit() + * @see #getFacesConfigType() + * @generated + */ + EReference getFacesConfigType_RenderKit(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getLifecycle <em>Lifecycle</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Lifecycle</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getLifecycle() + * @see #getFacesConfigType() + * @generated + */ + EReference getFacesConfigType_Lifecycle(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getValidator <em>Validator</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Validator</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getValidator() + * @see #getFacesConfigType() + * @generated + */ + EReference getFacesConfigType_Validator(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getXmlns <em>Xmlns</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Xmlns</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getXmlns() + * @see #getFacesConfigType() + * @generated + */ + EAttribute getFacesConfigType_Xmlns(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getId() + * @see #getFacesConfigType() + * @generated + */ + EAttribute getFacesConfigType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType <em>Faces Context Factory Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Faces Context Factory Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType + * @generated + */ + EClass getFacesContextFactoryType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType#getTextContent() + * @see #getFacesContextFactoryType() + * @generated + */ + EAttribute getFacesContextFactoryType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType#getId() + * @see #getFacesContextFactoryType() + * @generated + */ + EAttribute getFacesContextFactoryType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType <em>Facet Extension Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Facet Extension Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType + * @generated + */ + EClass getFacetExtensionType(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType#getMixed <em>Mixed</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Mixed</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType#getMixed() + * @see #getFacetExtensionType() + * @generated + */ + EAttribute getFacetExtensionType_Mixed(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType#getGroup <em>Group</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Group</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType#getGroup() + * @see #getFacetExtensionType() + * @generated + */ + EAttribute getFacetExtensionType_Group(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType#getAny <em>Any</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Any</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType#getAny() + * @see #getFacetExtensionType() + * @generated + */ + EAttribute getFacetExtensionType_Any(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType#getId() + * @see #getFacetExtensionType() + * @generated + */ + EAttribute getFacetExtensionType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetNameType <em>Facet Name Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Facet Name Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetNameType + * @generated + */ + EClass getFacetNameType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetNameType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetNameType#getTextContent() + * @see #getFacetNameType() + * @generated + */ + EAttribute getFacetNameType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetNameType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetNameType#getId() + * @see #getFacetNameType() + * @generated + */ + EAttribute getFacetNameType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType <em>Facet Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Facet Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetType + * @generated + */ + EClass getFacetType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Description</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetType#getDescription() + * @see #getFacetType() + * @generated + */ + EReference getFacetType_Description(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType#getDisplayName <em>Display Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Display Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetType#getDisplayName() + * @see #getFacetType() + * @generated + */ + EReference getFacetType_DisplayName(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType#getIcon <em>Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetType#getIcon() + * @see #getFacetType() + * @generated + */ + EReference getFacetType_Icon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType#getFacetName <em>Facet Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Facet Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetType#getFacetName() + * @see #getFacetType() + * @generated + */ + EReference getFacetType_FacetName(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType#getFacetExtension <em>Facet Extension</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Facet Extension</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetType#getFacetExtension() + * @see #getFacetType() + * @generated + */ + EReference getFacetType_FacetExtension(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetType#getId() + * @see #getFacetType() + * @generated + */ + EAttribute getFacetType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.FactoryType <em>Factory Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Factory Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FactoryType + * @generated + */ + EClass getFactoryType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getApplicationFactory <em>Application Factory</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Application Factory</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getApplicationFactory() + * @see #getFactoryType() + * @generated + */ + EReference getFactoryType_ApplicationFactory(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getFacesContextFactory <em>Faces Context Factory</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Faces Context Factory</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getFacesContextFactory() + * @see #getFactoryType() + * @generated + */ + EReference getFactoryType_FacesContextFactory(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getLifecycleFactory <em>Lifecycle Factory</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Lifecycle Factory</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getLifecycleFactory() + * @see #getFactoryType() + * @generated + */ + EReference getFactoryType_LifecycleFactory(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getRenderKitFactory <em>Render Kit Factory</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Render Kit Factory</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getRenderKitFactory() + * @see #getFactoryType() + * @generated + */ + EReference getFactoryType_RenderKitFactory(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getId() + * @see #getFactoryType() + * @generated + */ + EAttribute getFactoryType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.FromActionType <em>From Action Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>From Action Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FromActionType + * @generated + */ + EClass getFromActionType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FromActionType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FromActionType#getTextContent() + * @see #getFromActionType() + * @generated + */ + EAttribute getFromActionType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FromActionType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FromActionType#getId() + * @see #getFromActionType() + * @generated + */ + EAttribute getFromActionType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType <em>From Outcome Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>From Outcome Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType + * @generated + */ + EClass getFromOutcomeType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType#getTextContent() + * @see #getFromOutcomeType() + * @generated + */ + EAttribute getFromOutcomeType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType#getId() + * @see #getFromOutcomeType() + * @generated + */ + EAttribute getFromOutcomeType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType <em>From View Id Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>From View Id Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType + * @generated + */ + EClass getFromViewIdType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType#getTextContent() + * @see #getFromViewIdType() + * @generated + */ + EAttribute getFromViewIdType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType#getId() + * @see #getFromViewIdType() + * @generated + */ + EAttribute getFromViewIdType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.IconType <em>Icon Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Icon Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.IconType + * @generated + */ + EClass getIconType(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.IconType#getSmallIcon <em>Small Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Small Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.IconType#getSmallIcon() + * @see #getIconType() + * @generated + */ + EReference getIconType_SmallIcon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.IconType#getLargeIcon <em>Large Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Large Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.IconType#getLargeIcon() + * @see #getIconType() + * @generated + */ + EReference getIconType_LargeIcon(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.IconType#getLang <em>Lang</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Lang</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.IconType#getLang() + * @see #getIconType() + * @generated + */ + EAttribute getIconType_Lang(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.IconType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.IconType#getId() + * @see #getIconType() + * @generated + */ + EAttribute getIconType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.KeyClassType <em>Key Class Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Key Class Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.KeyClassType + * @generated + */ + EClass getKeyClassType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.KeyClassType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.KeyClassType#getTextContent() + * @see #getKeyClassType() + * @generated + */ + EAttribute getKeyClassType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.KeyClassType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.KeyClassType#getId() + * @see #getKeyClassType() + * @generated + */ + EAttribute getKeyClassType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.KeyType <em>Key Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Key Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.KeyType + * @generated + */ + EClass getKeyType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.KeyType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.KeyType#getTextContent() + * @see #getKeyType() + * @generated + */ + EAttribute getKeyType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.KeyType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.KeyType#getId() + * @see #getKeyType() + * @generated + */ + EAttribute getKeyType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.LargeIconType <em>Large Icon Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Large Icon Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.LargeIconType + * @generated + */ + EClass getLargeIconType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.LargeIconType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.LargeIconType#getTextContent() + * @see #getLargeIconType() + * @generated + */ + EAttribute getLargeIconType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.LargeIconType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.LargeIconType#getId() + * @see #getLargeIconType() + * @generated + */ + EAttribute getLargeIconType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType <em>Lifecycle Factory Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Lifecycle Factory Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType + * @generated + */ + EClass getLifecycleFactoryType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType#getTextContent() + * @see #getLifecycleFactoryType() + * @generated + */ + EAttribute getLifecycleFactoryType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType#getId() + * @see #getLifecycleFactoryType() + * @generated + */ + EAttribute getLifecycleFactoryType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleType <em>Lifecycle Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Lifecycle Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.LifecycleType + * @generated + */ + EClass getLifecycleType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleType#getPhaseListener <em>Phase Listener</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Phase Listener</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.LifecycleType#getPhaseListener() + * @see #getLifecycleType() + * @generated + */ + EReference getLifecycleType_PhaseListener(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.LifecycleType#getId() + * @see #getLifecycleType() + * @generated + */ + EAttribute getLifecycleType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType <em>List Entries Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>List Entries Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType + * @generated + */ + EClass getListEntriesType(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType#getValueClass <em>Value Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Value Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType#getValueClass() + * @see #getListEntriesType() + * @generated + */ + EReference getListEntriesType_ValueClass(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType#getNullValue <em>Null Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Null Value</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType#getNullValue() + * @see #getListEntriesType() + * @generated + */ + EReference getListEntriesType_NullValue(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType#getValue <em>Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Value</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType#getValue() + * @see #getListEntriesType() + * @generated + */ + EReference getListEntriesType_Value(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType#getId() + * @see #getListEntriesType() + * @generated + */ + EAttribute getListEntriesType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType <em>Locale Config Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Locale Config Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType + * @generated + */ + EClass getLocaleConfigType(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType#getDefaultLocale <em>Default Locale</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Default Locale</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType#getDefaultLocale() + * @see #getLocaleConfigType() + * @generated + */ + EReference getLocaleConfigType_DefaultLocale(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType#getSupportedLocale <em>Supported Locale</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Supported Locale</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType#getSupportedLocale() + * @see #getLocaleConfigType() + * @generated + */ + EReference getLocaleConfigType_SupportedLocale(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType#getId() + * @see #getLocaleConfigType() + * @generated + */ + EAttribute getLocaleConfigType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType <em>Managed Bean Class Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Managed Bean Class Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType + * @generated + */ + EClass getManagedBeanClassType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType#getTextContent() + * @see #getManagedBeanClassType() + * @generated + */ + EAttribute getManagedBeanClassType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType#getId() + * @see #getManagedBeanClassType() + * @generated + */ + EAttribute getManagedBeanClassType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType <em>Managed Bean Name Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Managed Bean Name Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType + * @generated + */ + EClass getManagedBeanNameType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType#getTextContent() + * @see #getManagedBeanNameType() + * @generated + */ + EAttribute getManagedBeanNameType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType#getId() + * @see #getManagedBeanNameType() + * @generated + */ + EAttribute getManagedBeanNameType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType <em>Managed Bean Scope Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Managed Bean Scope Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType + * @generated + */ + EClass getManagedBeanScopeType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType#getTextContent() + * @see #getManagedBeanScopeType() + * @generated + */ + EAttribute getManagedBeanScopeType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType#getId() + * @see #getManagedBeanScopeType() + * @generated + */ + EAttribute getManagedBeanScopeType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType <em>Managed Bean Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Managed Bean Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType + * @generated + */ + EClass getManagedBeanType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Description</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getDescription() + * @see #getManagedBeanType() + * @generated + */ + EReference getManagedBeanType_Description(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getDisplayName <em>Display Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Display Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getDisplayName() + * @see #getManagedBeanType() + * @generated + */ + EReference getManagedBeanType_DisplayName(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getIcon <em>Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getIcon() + * @see #getManagedBeanType() + * @generated + */ + EReference getManagedBeanType_Icon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedBeanName <em>Managed Bean Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Managed Bean Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedBeanName() + * @see #getManagedBeanType() + * @generated + */ + EReference getManagedBeanType_ManagedBeanName(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedBeanClass <em>Managed Bean Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Managed Bean Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedBeanClass() + * @see #getManagedBeanType() + * @generated + */ + EReference getManagedBeanType_ManagedBeanClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedBeanScope <em>Managed Bean Scope</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Managed Bean Scope</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedBeanScope() + * @see #getManagedBeanType() + * @generated + */ + EReference getManagedBeanType_ManagedBeanScope(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedProperty <em>Managed Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Managed Property</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedProperty() + * @see #getManagedBeanType() + * @generated + */ + EReference getManagedBeanType_ManagedProperty(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getMapEntries <em>Map Entries</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Map Entries</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getMapEntries() + * @see #getManagedBeanType() + * @generated + */ + EReference getManagedBeanType_MapEntries(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getListEntries <em>List Entries</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>List Entries</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getListEntries() + * @see #getManagedBeanType() + * @generated + */ + EReference getManagedBeanType_ListEntries(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getId() + * @see #getManagedBeanType() + * @generated + */ + EAttribute getManagedBeanType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType <em>Managed Property Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Managed Property Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType + * @generated + */ + EClass getManagedPropertyType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Description</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getDescription() + * @see #getManagedPropertyType() + * @generated + */ + EReference getManagedPropertyType_Description(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getDisplayName <em>Display Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Display Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getDisplayName() + * @see #getManagedPropertyType() + * @generated + */ + EReference getManagedPropertyType_DisplayName(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getIcon <em>Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getIcon() + * @see #getManagedPropertyType() + * @generated + */ + EReference getManagedPropertyType_Icon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getPropertyName <em>Property Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Property Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getPropertyName() + * @see #getManagedPropertyType() + * @generated + */ + EReference getManagedPropertyType_PropertyName(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getPropertyClass <em>Property Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Property Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getPropertyClass() + * @see #getManagedPropertyType() + * @generated + */ + EReference getManagedPropertyType_PropertyClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getMapEntries <em>Map Entries</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Map Entries</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getMapEntries() + * @see #getManagedPropertyType() + * @generated + */ + EReference getManagedPropertyType_MapEntries(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getNullValue <em>Null Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Null Value</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getNullValue() + * @see #getManagedPropertyType() + * @generated + */ + EReference getManagedPropertyType_NullValue(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getValue <em>Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Value</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getValue() + * @see #getManagedPropertyType() + * @generated + */ + EReference getManagedPropertyType_Value(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getListEntries <em>List Entries</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>List Entries</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getListEntries() + * @see #getManagedPropertyType() + * @generated + */ + EReference getManagedPropertyType_ListEntries(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getId() + * @see #getManagedPropertyType() + * @generated + */ + EAttribute getManagedPropertyType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType <em>Map Entries Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Map Entries Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType + * @generated + */ + EClass getMapEntriesType(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getKeyClass <em>Key Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Key Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getKeyClass() + * @see #getMapEntriesType() + * @generated + */ + EReference getMapEntriesType_KeyClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getValueClass <em>Value Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Value Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getValueClass() + * @see #getMapEntriesType() + * @generated + */ + EReference getMapEntriesType_ValueClass(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getMapEntry <em>Map Entry</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Map Entry</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getMapEntry() + * @see #getMapEntriesType() + * @generated + */ + EReference getMapEntriesType_MapEntry(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getId() + * @see #getMapEntriesType() + * @generated + */ + EAttribute getMapEntriesType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType <em>Map Entry Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Map Entry Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.MapEntryType + * @generated + */ + EClass getMapEntryType(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getKey <em>Key</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Key</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getKey() + * @see #getMapEntryType() + * @generated + */ + EReference getMapEntryType_Key(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getNullValue <em>Null Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Null Value</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getNullValue() + * @see #getMapEntryType() + * @generated + */ + EReference getMapEntryType_NullValue(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getValue <em>Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Value</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getValue() + * @see #getMapEntryType() + * @generated + */ + EReference getMapEntryType_Value(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getId() + * @see #getMapEntryType() + * @generated + */ + EAttribute getMapEntryType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType <em>Message Bundle Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Message Bundle Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType + * @generated + */ + EClass getMessageBundleType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType#getTextContent() + * @see #getMessageBundleType() + * @generated + */ + EAttribute getMessageBundleType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType#getId() + * @see #getMessageBundleType() + * @generated + */ + EAttribute getMessageBundleType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType <em>Navigation Case Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Navigation Case Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType + * @generated + */ + EClass getNavigationCaseType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Description</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getDescription() + * @see #getNavigationCaseType() + * @generated + */ + EReference getNavigationCaseType_Description(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getDisplayName <em>Display Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Display Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getDisplayName() + * @see #getNavigationCaseType() + * @generated + */ + EReference getNavigationCaseType_DisplayName(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getIcon <em>Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getIcon() + * @see #getNavigationCaseType() + * @generated + */ + EReference getNavigationCaseType_Icon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getFromAction <em>From Action</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>From Action</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getFromAction() + * @see #getNavigationCaseType() + * @generated + */ + EReference getNavigationCaseType_FromAction(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getFromOutcome <em>From Outcome</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>From Outcome</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getFromOutcome() + * @see #getNavigationCaseType() + * @generated + */ + EReference getNavigationCaseType_FromOutcome(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getToViewId <em>To View Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>To View Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getToViewId() + * @see #getNavigationCaseType() + * @generated + */ + EReference getNavigationCaseType_ToViewId(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getRedirect <em>Redirect</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Redirect</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getRedirect() + * @see #getNavigationCaseType() + * @generated + */ + EReference getNavigationCaseType_Redirect(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getId() + * @see #getNavigationCaseType() + * @generated + */ + EAttribute getNavigationCaseType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType <em>Navigation Handler Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Navigation Handler Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType + * @generated + */ + EClass getNavigationHandlerType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType#getTextContent() + * @see #getNavigationHandlerType() + * @generated + */ + EAttribute getNavigationHandlerType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType#getId() + * @see #getNavigationHandlerType() + * @generated + */ + EAttribute getNavigationHandlerType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType <em>Navigation Rule Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Navigation Rule Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType + * @generated + */ + EClass getNavigationRuleType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Description</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getDescription() + * @see #getNavigationRuleType() + * @generated + */ + EReference getNavigationRuleType_Description(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getDisplayName <em>Display Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Display Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getDisplayName() + * @see #getNavigationRuleType() + * @generated + */ + EReference getNavigationRuleType_DisplayName(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getIcon <em>Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getIcon() + * @see #getNavigationRuleType() + * @generated + */ + EReference getNavigationRuleType_Icon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getFromViewId <em>From View Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>From View Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getFromViewId() + * @see #getNavigationRuleType() + * @generated + */ + EReference getNavigationRuleType_FromViewId(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getNavigationCase <em>Navigation Case</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Navigation Case</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getNavigationCase() + * @see #getNavigationRuleType() + * @generated + */ + EReference getNavigationRuleType_NavigationCase(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getId() + * @see #getNavigationRuleType() + * @generated + */ + EAttribute getNavigationRuleType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.NullValueType <em>Null Value Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Null Value Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NullValueType + * @generated + */ + EClass getNullValueType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.NullValueType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.NullValueType#getId() + * @see #getNullValueType() + * @generated + */ + EAttribute getNullValueType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType <em>Phase Listener Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Phase Listener Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType + * @generated + */ + EClass getPhaseListenerType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType#getTextContent() + * @see #getPhaseListenerType() + * @generated + */ + EAttribute getPhaseListenerType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType#getId() + * @see #getPhaseListenerType() + * @generated + */ + EAttribute getPhaseListenerType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType <em>Property Class Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Property Class Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType + * @generated + */ + EClass getPropertyClassType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType#getTextContent() + * @see #getPropertyClassType() + * @generated + */ + EAttribute getPropertyClassType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType#getId() + * @see #getPropertyClassType() + * @generated + */ + EAttribute getPropertyClassType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType <em>Property Extension Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Property Extension Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType + * @generated + */ + EClass getPropertyExtensionType(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType#getMixed <em>Mixed</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Mixed</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType#getMixed() + * @see #getPropertyExtensionType() + * @generated + */ + EAttribute getPropertyExtensionType_Mixed(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType#getGroup <em>Group</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Group</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType#getGroup() + * @see #getPropertyExtensionType() + * @generated + */ + EAttribute getPropertyExtensionType_Group(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType#getAny <em>Any</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Any</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType#getAny() + * @see #getPropertyExtensionType() + * @generated + */ + EAttribute getPropertyExtensionType_Any(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType#getId() + * @see #getPropertyExtensionType() + * @generated + */ + EAttribute getPropertyExtensionType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType <em>Property Name Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Property Name Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType + * @generated + */ + EClass getPropertyNameType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType#getTextContent() + * @see #getPropertyNameType() + * @generated + */ + EAttribute getPropertyNameType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType#getId() + * @see #getPropertyNameType() + * @generated + */ + EAttribute getPropertyNameType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType <em>Property Resolver Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Property Resolver Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType + * @generated + */ + EClass getPropertyResolverType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType#getTextContent() + * @see #getPropertyResolverType() + * @generated + */ + EAttribute getPropertyResolverType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType#getId() + * @see #getPropertyResolverType() + * @generated + */ + EAttribute getPropertyResolverType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType <em>Property Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Property Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyType + * @generated + */ + EClass getPropertyType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Description</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getDescription() + * @see #getPropertyType() + * @generated + */ + EReference getPropertyType_Description(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getDisplayName <em>Display Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Display Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getDisplayName() + * @see #getPropertyType() + * @generated + */ + EReference getPropertyType_DisplayName(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getIcon <em>Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getIcon() + * @see #getPropertyType() + * @generated + */ + EReference getPropertyType_Icon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getPropertyName <em>Property Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Property Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getPropertyName() + * @see #getPropertyType() + * @generated + */ + EReference getPropertyType_PropertyName(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getPropertyClass <em>Property Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Property Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getPropertyClass() + * @see #getPropertyType() + * @generated + */ + EReference getPropertyType_PropertyClass(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getDefaultValue <em>Default Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Default Value</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getDefaultValue() + * @see #getPropertyType() + * @generated + */ + EReference getPropertyType_DefaultValue(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getSuggestedValue <em>Suggested Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Suggested Value</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getSuggestedValue() + * @see #getPropertyType() + * @generated + */ + EReference getPropertyType_SuggestedValue(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getPropertyExtension <em>Property Extension</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Property Extension</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getPropertyExtension() + * @see #getPropertyType() + * @generated + */ + EReference getPropertyType_PropertyExtension(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getId() + * @see #getPropertyType() + * @generated + */ + EAttribute getPropertyType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.RedirectType <em>Redirect Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Redirect Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RedirectType + * @generated + */ + EClass getRedirectType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.RedirectType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RedirectType#getId() + * @see #getRedirectType() + * @generated + */ + EAttribute getRedirectType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType <em>Referenced Bean Class Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Referenced Bean Class Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType + * @generated + */ + EClass getReferencedBeanClassType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType#getTextContent() + * @see #getReferencedBeanClassType() + * @generated + */ + EAttribute getReferencedBeanClassType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType#getId() + * @see #getReferencedBeanClassType() + * @generated + */ + EAttribute getReferencedBeanClassType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType <em>Referenced Bean Name Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Referenced Bean Name Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType + * @generated + */ + EClass getReferencedBeanNameType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType#getTextContent() + * @see #getReferencedBeanNameType() + * @generated + */ + EAttribute getReferencedBeanNameType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType#getId() + * @see #getReferencedBeanNameType() + * @generated + */ + EAttribute getReferencedBeanNameType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType <em>Referenced Bean Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Referenced Bean Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType + * @generated + */ + EClass getReferencedBeanType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Description</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getDescription() + * @see #getReferencedBeanType() + * @generated + */ + EReference getReferencedBeanType_Description(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getDisplayName <em>Display Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Display Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getDisplayName() + * @see #getReferencedBeanType() + * @generated + */ + EReference getReferencedBeanType_DisplayName(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getIcon <em>Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getIcon() + * @see #getReferencedBeanType() + * @generated + */ + EReference getReferencedBeanType_Icon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getReferencedBeanName <em>Referenced Bean Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Referenced Bean Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getReferencedBeanName() + * @see #getReferencedBeanType() + * @generated + */ + EReference getReferencedBeanType_ReferencedBeanName(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getReferencedBeanClass <em>Referenced Bean Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Referenced Bean Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getReferencedBeanClass() + * @see #getReferencedBeanType() + * @generated + */ + EReference getReferencedBeanType_ReferencedBeanClass(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getId() + * @see #getReferencedBeanType() + * @generated + */ + EAttribute getReferencedBeanType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererClassType <em>Renderer Class Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Renderer Class Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererClassType + * @generated + */ + EClass getRendererClassType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererClassType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererClassType#getTextContent() + * @see #getRendererClassType() + * @generated + */ + EAttribute getRendererClassType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererClassType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererClassType#getId() + * @see #getRendererClassType() + * @generated + */ + EAttribute getRendererClassType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType <em>Renderer Extension Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Renderer Extension Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType + * @generated + */ + EClass getRendererExtensionType(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType#getMixed <em>Mixed</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Mixed</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType#getMixed() + * @see #getRendererExtensionType() + * @generated + */ + EAttribute getRendererExtensionType_Mixed(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType#getGroup <em>Group</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Group</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType#getGroup() + * @see #getRendererExtensionType() + * @generated + */ + EAttribute getRendererExtensionType_Group(); + + /** + * Returns the meta object for the attribute list '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType#getAny <em>Any</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute list '<em>Any</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType#getAny() + * @see #getRendererExtensionType() + * @generated + */ + EAttribute getRendererExtensionType_Any(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType#getId() + * @see #getRendererExtensionType() + * @generated + */ + EAttribute getRendererExtensionType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType <em>Renderer Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Renderer Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererType + * @generated + */ + EClass getRendererType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Description</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererType#getDescription() + * @see #getRendererType() + * @generated + */ + EReference getRendererType_Description(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getDisplayName <em>Display Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Display Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererType#getDisplayName() + * @see #getRendererType() + * @generated + */ + EReference getRendererType_DisplayName(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getIcon <em>Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererType#getIcon() + * @see #getRendererType() + * @generated + */ + EReference getRendererType_Icon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getComponentFamily <em>Component Family</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Component Family</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererType#getComponentFamily() + * @see #getRendererType() + * @generated + */ + EReference getRendererType_ComponentFamily(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getRendererType <em>Renderer Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Renderer Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererType#getRendererType() + * @see #getRendererType() + * @generated + */ + EReference getRendererType_RendererType(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getRendererClass <em>Renderer Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Renderer Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererType#getRendererClass() + * @see #getRendererType() + * @generated + */ + EReference getRendererType_RendererClass(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getFacet <em>Facet</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Facet</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererType#getFacet() + * @see #getRendererType() + * @generated + */ + EReference getRendererType_Facet(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getAttribute <em>Attribute</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Attribute</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererType#getAttribute() + * @see #getRendererType() + * @generated + */ + EReference getRendererType_Attribute(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getRendererExtension <em>Renderer Extension</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Renderer Extension</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererType#getRendererExtension() + * @see #getRendererType() + * @generated + */ + EReference getRendererType_RendererExtension(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererType#getId() + * @see #getRendererType() + * @generated + */ + EAttribute getRendererType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType <em>Renderer Type Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Renderer Type Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType + * @generated + */ + EClass getRendererTypeType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType#getTextContent() + * @see #getRendererTypeType() + * @generated + */ + EAttribute getRendererTypeType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType#getId() + * @see #getRendererTypeType() + * @generated + */ + EAttribute getRendererTypeType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType <em>Render Kit Class Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Render Kit Class Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType + * @generated + */ + EClass getRenderKitClassType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType#getTextContent() + * @see #getRenderKitClassType() + * @generated + */ + EAttribute getRenderKitClassType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType#getId() + * @see #getRenderKitClassType() + * @generated + */ + EAttribute getRenderKitClassType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType <em>Render Kit Factory Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Render Kit Factory Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType + * @generated + */ + EClass getRenderKitFactoryType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType#getTextContent() + * @see #getRenderKitFactoryType() + * @generated + */ + EAttribute getRenderKitFactoryType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType#getId() + * @see #getRenderKitFactoryType() + * @generated + */ + EAttribute getRenderKitFactoryType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType <em>Render Kit Id Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Render Kit Id Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType + * @generated + */ + EClass getRenderKitIdType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType#getTextContent() + * @see #getRenderKitIdType() + * @generated + */ + EAttribute getRenderKitIdType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType#getId() + * @see #getRenderKitIdType() + * @generated + */ + EAttribute getRenderKitIdType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType <em>Render Kit Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Render Kit Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitType + * @generated + */ + EClass getRenderKitType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Description</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getDescription() + * @see #getRenderKitType() + * @generated + */ + EReference getRenderKitType_Description(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getDisplayName <em>Display Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Display Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getDisplayName() + * @see #getRenderKitType() + * @generated + */ + EReference getRenderKitType_DisplayName(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getIcon <em>Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getIcon() + * @see #getRenderKitType() + * @generated + */ + EReference getRenderKitType_Icon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getRenderKitId <em>Render Kit Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Render Kit Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getRenderKitId() + * @see #getRenderKitType() + * @generated + */ + EReference getRenderKitType_RenderKitId(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getRenderKitClass <em>Render Kit Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Render Kit Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getRenderKitClass() + * @see #getRenderKitType() + * @generated + */ + EReference getRenderKitType_RenderKitClass(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getRenderer <em>Renderer</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Renderer</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getRenderer() + * @see #getRenderKitType() + * @generated + */ + EReference getRenderKitType_Renderer(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getId() + * @see #getRenderKitType() + * @generated + */ + EAttribute getRenderKitType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.SmallIconType <em>Small Icon Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Small Icon Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.SmallIconType + * @generated + */ + EClass getSmallIconType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.SmallIconType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.SmallIconType#getTextContent() + * @see #getSmallIconType() + * @generated + */ + EAttribute getSmallIconType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.SmallIconType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.SmallIconType#getId() + * @see #getSmallIconType() + * @generated + */ + EAttribute getSmallIconType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.StateManagerType <em>State Manager Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>State Manager Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.StateManagerType + * @generated + */ + EClass getStateManagerType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.StateManagerType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.StateManagerType#getTextContent() + * @see #getStateManagerType() + * @generated + */ + EAttribute getStateManagerType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.StateManagerType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.StateManagerType#getId() + * @see #getStateManagerType() + * @generated + */ + EAttribute getStateManagerType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType <em>Suggested Value Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Suggested Value Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType + * @generated + */ + EClass getSuggestedValueType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType#getTextContent() + * @see #getSuggestedValueType() + * @generated + */ + EAttribute getSuggestedValueType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType#getId() + * @see #getSuggestedValueType() + * @generated + */ + EAttribute getSuggestedValueType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType <em>Supported Locale Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Supported Locale Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType + * @generated + */ + EClass getSupportedLocaleType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType#getTextContent() + * @see #getSupportedLocaleType() + * @generated + */ + EAttribute getSupportedLocaleType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType#getId() + * @see #getSupportedLocaleType() + * @generated + */ + EAttribute getSupportedLocaleType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType <em>To View Id Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>To View Id Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType + * @generated + */ + EClass getToViewIdType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType#getTextContent() + * @see #getToViewIdType() + * @generated + */ + EAttribute getToViewIdType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType#getId() + * @see #getToViewIdType() + * @generated + */ + EAttribute getToViewIdType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType <em>Validator Class Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Validator Class Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType + * @generated + */ + EClass getValidatorClassType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType#getTextContent() + * @see #getValidatorClassType() + * @generated + */ + EAttribute getValidatorClassType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType#getId() + * @see #getValidatorClassType() + * @generated + */ + EAttribute getValidatorClassType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType <em>Validator Id Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Validator Id Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType + * @generated + */ + EClass getValidatorIdType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType#getTextContent() + * @see #getValidatorIdType() + * @generated + */ + EAttribute getValidatorIdType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType#getId() + * @see #getValidatorIdType() + * @generated + */ + EAttribute getValidatorIdType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType <em>Validator Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Validator Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorType + * @generated + */ + EClass getValidatorType(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getDescription <em>Description</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Description</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getDescription() + * @see #getValidatorType() + * @generated + */ + EReference getValidatorType_Description(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getDisplayName <em>Display Name</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Display Name</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getDisplayName() + * @see #getValidatorType() + * @generated + */ + EReference getValidatorType_DisplayName(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getIcon <em>Icon</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Icon</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getIcon() + * @see #getValidatorType() + * @generated + */ + EReference getValidatorType_Icon(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getValidatorId <em>Validator Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Validator Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getValidatorId() + * @see #getValidatorType() + * @generated + */ + EReference getValidatorType_ValidatorId(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getValidatorClass <em>Validator Class</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Validator Class</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getValidatorClass() + * @see #getValidatorType() + * @generated + */ + EReference getValidatorType_ValidatorClass(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getAttribute <em>Attribute</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Attribute</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getAttribute() + * @see #getValidatorType() + * @generated + */ + EReference getValidatorType_Attribute(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getProperty <em>Property</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Property</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getProperty() + * @see #getValidatorType() + * @generated + */ + EReference getValidatorType_Property(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getId() + * @see #getValidatorType() + * @generated + */ + EAttribute getValidatorType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ValueClassType <em>Value Class Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Value Class Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValueClassType + * @generated + */ + EClass getValueClassType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ValueClassType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValueClassType#getTextContent() + * @see #getValueClassType() + * @generated + */ + EAttribute getValueClassType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ValueClassType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValueClassType#getId() + * @see #getValueClassType() + * @generated + */ + EAttribute getValueClassType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ValueType <em>Value Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Value Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValueType + * @generated + */ + EClass getValueType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ValueType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValueType#getTextContent() + * @see #getValueType() + * @generated + */ + EAttribute getValueType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ValueType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValueType#getId() + * @see #getValueType() + * @generated + */ + EAttribute getValueType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType <em>Variable Resolver Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Variable Resolver Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType + * @generated + */ + EClass getVariableResolverType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType#getTextContent() + * @see #getVariableResolverType() + * @generated + */ + EAttribute getVariableResolverType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType#getId() + * @see #getVariableResolverType() + * @generated + */ + EAttribute getVariableResolverType_Id(); + + /** + * Returns the meta object for class '{@link org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType <em>View Handler Type</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>View Handler Type</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType + * @generated + */ + EClass getViewHandlerType(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType#getTextContent <em>Text Content</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Text Content</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType#getTextContent() + * @see #getViewHandlerType() + * @generated + */ + EAttribute getViewHandlerType_TextContent(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType#getId <em>Id</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Id</em>'. + * @see org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType#getId() + * @see #getViewHandlerType() + * @generated + */ + EAttribute getViewHandlerType_Id(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + FacesConfigFactory getFacesConfigFactory(); + +} //FacesConfigPackage diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesConfigType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesConfigType.java new file mode 100644 index 000000000..9391ff6b0 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesConfigType.java @@ -0,0 +1,305 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getApplication <em>Application</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getFactory <em>Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getComponent <em>Component</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getConverter <em>Converter</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getManagedBean <em>Managed Bean</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getNavigationRule <em>Navigation Rule</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getReferencedBean <em>Referenced Bean</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getRenderKit <em>Render Kit</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getLifecycle <em>Lifecycle</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getValidator <em>Validator</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getXmlns <em>Xmlns</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesConfigType() + * @model extendedMetaData="name='faces-config_._type' kind='elementOnly'" + * @generated + */ +public interface FacesConfigType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Application</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Application</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Application</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesConfigType_Application() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.ApplicationType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='application' namespace='##targetNamespace'" + * @generated + */ + EList getApplication(); + + /** + * Returns the value of the '<em><b>Factory</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.FactoryType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Factory</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Factory</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesConfigType_Factory() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.FactoryType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='factory' namespace='##targetNamespace'" + * @generated + */ + EList getFactory(); + + /** + * Returns the value of the '<em><b>Component</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Component</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Component</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesConfigType_Component() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.ComponentType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='component' namespace='##targetNamespace'" + * @generated + */ + EList getComponent(); + + /** + * Returns the value of the '<em><b>Converter</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Converter</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Converter</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesConfigType_Converter() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.ConverterType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='converter' namespace='##targetNamespace'" + * @generated + */ + EList getConverter(); + + /** + * Returns the value of the '<em><b>Managed Bean</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Managed Bean</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Managed Bean</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesConfigType_ManagedBean() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='managed-bean' namespace='##targetNamespace'" + * @generated + */ + EList getManagedBean(); + + /** + * Returns the value of the '<em><b>Navigation Rule</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Navigation Rule</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Navigation Rule</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesConfigType_NavigationRule() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='navigation-rule' namespace='##targetNamespace'" + * @generated + */ + EList getNavigationRule(); + + /** + * Returns the value of the '<em><b>Referenced Bean</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Referenced Bean</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Referenced Bean</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesConfigType_ReferencedBean() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='referenced-bean' namespace='##targetNamespace'" + * @generated + */ + EList getReferencedBean(); + + /** + * Returns the value of the '<em><b>Render Kit</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Render Kit</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Render Kit</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesConfigType_RenderKit() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.RenderKitType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='render-kit' namespace='##targetNamespace'" + * @generated + */ + EList getRenderKit(); + + /** + * Returns the value of the '<em><b>Lifecycle</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Lifecycle</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Lifecycle</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesConfigType_Lifecycle() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.LifecycleType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='lifecycle' namespace='##targetNamespace'" + * @generated + */ + EList getLifecycle(); + + /** + * Returns the value of the '<em><b>Validator</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Validator</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Validator</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesConfigType_Validator() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.ValidatorType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='validator' namespace='##targetNamespace'" + * @generated + */ + EList getValidator(); + + /** + * Returns the value of the '<em><b>Xmlns</b></em>' attribute. + * The default value is <code>"http://java.sun.com/JSF/Configuration"</code>. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Xmlns</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Xmlns</em>' attribute. + * @see #isSetXmlns() + * @see #unsetXmlns() + * @see #setXmlns(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesConfigType_Xmlns() + * @model default="http://java.sun.com/JSF/Configuration" unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='xmlns' namespace='##targetNamespace'" + * @generated + */ + String getXmlns(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getXmlns <em>Xmlns</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Xmlns</em>' attribute. + * @see #isSetXmlns() + * @see #unsetXmlns() + * @see #getXmlns() + * @generated + */ + void setXmlns(String value); + + /** + * Unsets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getXmlns <em>Xmlns</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #isSetXmlns() + * @see #getXmlns() + * @see #setXmlns(String) + * @generated + */ + void unsetXmlns(); + + /** + * Returns whether the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getXmlns <em>Xmlns</em>}' attribute is set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return whether the value of the '<em>Xmlns</em>' attribute is set. + * @see #unsetXmlns() + * @see #getXmlns() + * @see #setXmlns(String) + * @generated + */ + boolean isSetXmlns(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesConfigType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // FacesConfigType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesContextFactoryType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesContextFactoryType.java new file mode 100644 index 000000000..c3c860f78 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesContextFactoryType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Faces Context Factory Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesContextFactoryType() + * @model extendedMetaData="name='faces-context-factory_._type' kind='simple'" + * @generated + */ +public interface FacesContextFactoryType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesContextFactoryType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacesContextFactoryType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // FacesContextFactoryType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacetExtensionType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacetExtensionType.java new file mode 100644 index 000000000..7e103c41b --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacetExtensionType.java @@ -0,0 +1,123 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Facet Extension Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType#getMixed <em>Mixed</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType#getAny <em>Any</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetExtensionType() + * @model extendedMetaData="name='facet-extension_._type' kind='mixed'" + * @generated + */ +public interface FacetExtensionType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Mixed</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Mixed</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Mixed</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetExtensionType_Mixed() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" + * extendedMetaData="kind='elementWildcard' name=':mixed'" + * @generated + */ + FeatureMap getMixed(); + + /** + * Returns the value of the '<em><b>Group</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Group</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Group</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetExtensionType_Group() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='group' name='group:1'" + * @generated + */ + FeatureMap getGroup(); + + /** + * Returns the value of the '<em><b>Any</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Any</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Any</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetExtensionType_Any() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='elementWildcard' wildcards='##any' name=':2' processing='strict' group='group:1'" + * @generated + */ + FeatureMap getAny(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetExtensionType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // FacetExtensionType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacetNameType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacetNameType.java new file mode 100644 index 000000000..28d877e4c --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacetNameType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Facet Name Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacetNameType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacetNameType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetNameType() + * @model extendedMetaData="name='facet-name_._type' kind='simple'" + * @generated + */ +public interface FacetNameType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetNameType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetNameType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetNameType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetNameType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // FacetNameType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacetType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacetType.java new file mode 100644 index 000000000..88f9c422f --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacetType.java @@ -0,0 +1,169 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Facet Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType#getFacetName <em>Facet Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType#getFacetExtension <em>Facet Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetType() + * @model extendedMetaData="name='facet_._type' kind='elementOnly'" + * @generated + */ +public interface FacetType extends EObject{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Description</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetType_Description() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DescriptionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'" + * @generated + */ + EList getDescription(); + + /** + * Returns the value of the '<em><b>Display Name</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Display Name</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Display Name</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetType_DisplayName() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='display-name' namespace='##targetNamespace'" + * @generated + */ + EList getDisplayName(); + + /** + * Returns the value of the '<em><b>Icon</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.IconType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Icon</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetType_Icon() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.IconType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='icon' namespace='##targetNamespace'" + * @generated + */ + EList getIcon(); + + /** + * Returns the value of the '<em><b>Facet Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Facet Name</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Facet Name</em>' containment reference. + * @see #setFacetName(FacetNameType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetType_FacetName() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='facet-name' namespace='##targetNamespace'" + * @generated + */ + FacetNameType getFacetName(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType#getFacetName <em>Facet Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Facet Name</em>' containment reference. + * @see #getFacetName() + * @generated + */ + void setFacetName(FacetNameType value); + + /** + * Returns the value of the '<em><b>Facet Extension</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Facet Extension</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Facet Extension</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetType_FacetExtension() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='facet-extension' namespace='##targetNamespace'" + * @generated + */ + EList getFacetExtension(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFacetType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // FacetType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FactoryType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FactoryType.java new file mode 100644 index 000000000..67fd2920e --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FactoryType.java @@ -0,0 +1,141 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Factory Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getApplicationFactory <em>Application Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getFacesContextFactory <em>Faces Context Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getLifecycleFactory <em>Lifecycle Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getRenderKitFactory <em>Render Kit Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFactoryType() + * @model extendedMetaData="name='factory_._type' kind='elementOnly'" + * @generated + */ +public interface FactoryType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Application Factory</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Application Factory</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Application Factory</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFactoryType_ApplicationFactory() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='application-factory' namespace='##targetNamespace'" + * @generated + */ + EList getApplicationFactory(); + + /** + * Returns the value of the '<em><b>Faces Context Factory</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Faces Context Factory</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Faces Context Factory</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFactoryType_FacesContextFactory() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='faces-context-factory' namespace='##targetNamespace'" + * @generated + */ + EList getFacesContextFactory(); + + /** + * Returns the value of the '<em><b>Lifecycle Factory</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Lifecycle Factory</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Lifecycle Factory</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFactoryType_LifecycleFactory() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='lifecycle-factory' namespace='##targetNamespace'" + * @generated + */ + EList getLifecycleFactory(); + + /** + * Returns the value of the '<em><b>Render Kit Factory</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Render Kit Factory</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Render Kit Factory</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFactoryType_RenderKitFactory() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='render-kit-factory' namespace='##targetNamespace'" + * @generated + */ + EList getRenderKitFactory(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFactoryType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FactoryType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // FactoryType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FromActionType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FromActionType.java new file mode 100644 index 000000000..7a2558de8 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FromActionType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>From Action Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FromActionType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FromActionType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFromActionType() + * @model extendedMetaData="name='from-action_._type' kind='simple'" + * @generated + */ +public interface FromActionType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFromActionType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FromActionType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFromActionType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FromActionType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // FromActionType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FromOutcomeType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FromOutcomeType.java new file mode 100644 index 000000000..193ee3577 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FromOutcomeType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>From Outcome Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFromOutcomeType() + * @model extendedMetaData="name='from-outcome_._type' kind='simple'" + * @generated + */ +public interface FromOutcomeType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFromOutcomeType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFromOutcomeType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // FromOutcomeType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FromViewIdType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FromViewIdType.java new file mode 100644 index 000000000..89b095e03 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FromViewIdType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>From View Id Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFromViewIdType() + * @model extendedMetaData="name='from-view-id_._type' kind='simple'" + * @generated + */ +public interface FromViewIdType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFromViewIdType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getFromViewIdType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // FromViewIdType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/IconType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/IconType.java new file mode 100644 index 000000000..a5e9900f5 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/IconType.java @@ -0,0 +1,151 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Icon Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.IconType#getSmallIcon <em>Small Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.IconType#getLargeIcon <em>Large Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.IconType#getLang <em>Lang</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.IconType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getIconType() + * @model extendedMetaData="name='icon_._type' kind='empty'" + * @generated + */ +public interface IconType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Small Icon</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Small Icon</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Small Icon</em>' containment reference. + * @see #setSmallIcon(SmallIconType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getIconType_SmallIcon() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='small-icon' namespace='##targetNamespace'" + * @generated + */ + SmallIconType getSmallIcon(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.IconType#getSmallIcon <em>Small Icon</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Small Icon</em>' containment reference. + * @see #getSmallIcon() + * @generated + */ + void setSmallIcon(SmallIconType value); + + /** + * Returns the value of the '<em><b>Large Icon</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Large Icon</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Large Icon</em>' containment reference. + * @see #setLargeIcon(LargeIconType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getIconType_LargeIcon() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='large-icon' namespace='##targetNamespace'" + * @generated + */ + LargeIconType getLargeIcon(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.IconType#getLargeIcon <em>Large Icon</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Large Icon</em>' containment reference. + * @see #getLargeIcon() + * @generated + */ + void setLargeIcon(LargeIconType value); + + /** + * Returns the value of the '<em><b>Lang</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Lang</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Lang</em>' attribute. + * @see #setLang(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getIconType_Lang() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Language" + * extendedMetaData="kind='attribute' name='lang' namespace='http://www.w3.org/XML/1998/namespace'" + * @generated + */ + String getLang(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.IconType#getLang <em>Lang</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Lang</em>' attribute. + * @see #getLang() + * @generated + */ + void setLang(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getIconType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.IconType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // IconType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/KeyClassType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/KeyClassType.java new file mode 100644 index 000000000..3f3bdf13c --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/KeyClassType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Key Class Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.KeyClassType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.KeyClassType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getKeyClassType() + * @model extendedMetaData="name='key-class_._type' kind='simple'" + * @generated + */ +public interface KeyClassType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getKeyClassType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.KeyClassType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getKeyClassType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.KeyClassType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // KeyClassType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/KeyType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/KeyType.java new file mode 100644 index 000000000..f46c2d213 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/KeyType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Key Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.KeyType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.KeyType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getKeyType() + * @model extendedMetaData="name='key_._type' kind='simple'" + * @generated + */ +public interface KeyType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getKeyType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.KeyType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getKeyType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.KeyType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // KeyType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LargeIconType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LargeIconType.java new file mode 100644 index 000000000..314c2b3af --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LargeIconType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Large Icon Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.LargeIconType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.LargeIconType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getLargeIconType() + * @model extendedMetaData="name='large-icon_._type' kind='simple'" + * @generated + */ +public interface LargeIconType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getLargeIconType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.LargeIconType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getLargeIconType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.LargeIconType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // LargeIconType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LifecycleFactoryType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LifecycleFactoryType.java new file mode 100644 index 000000000..2b139ac9d --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LifecycleFactoryType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Lifecycle Factory Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getLifecycleFactoryType() + * @model extendedMetaData="name='lifecycle-factory_._type' kind='simple'" + * @generated + */ +public interface LifecycleFactoryType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getLifecycleFactoryType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getLifecycleFactoryType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // LifecycleFactoryType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LifecycleType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LifecycleType.java new file mode 100644 index 000000000..b07d8b0f4 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LifecycleType.java @@ -0,0 +1,87 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Lifecycle Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleType#getPhaseListener <em>Phase Listener</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getLifecycleType() + * @model extendedMetaData="name='lifecycle_._type' kind='elementOnly'" + * @generated + */ +public interface LifecycleType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Phase Listener</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Phase Listener</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Phase Listener</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getLifecycleType_PhaseListener() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='phase-listener' namespace='##targetNamespace'" + * @generated + */ + EList getPhaseListener(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getLifecycleType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // LifecycleType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ListEntriesType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ListEntriesType.java new file mode 100644 index 000000000..712f31210 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ListEntriesType.java @@ -0,0 +1,133 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>List Entries Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType#getValueClass <em>Value Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType#getNullValue <em>Null Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType#getValue <em>Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getListEntriesType() + * @model extendedMetaData="name='list-entries_._type' kind='elementOnly'" + * @generated + */ +public interface ListEntriesType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Value Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Value Class</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Value Class</em>' containment reference. + * @see #setValueClass(ValueClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getListEntriesType_ValueClass() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='value-class' namespace='##targetNamespace'" + * @generated + */ + ValueClassType getValueClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType#getValueClass <em>Value Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value Class</em>' containment reference. + * @see #getValueClass() + * @generated + */ + void setValueClass(ValueClassType value); + + /** + * Returns the value of the '<em><b>Null Value</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.NullValueType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Null Value</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Null Value</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getListEntriesType_NullValue() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.NullValueType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='null-value' namespace='##targetNamespace'" + * @generated + */ + EList getNullValue(); + + /** + * Returns the value of the '<em><b>Value</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.ValueType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Value</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Value</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getListEntriesType_Value() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.ValueType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='value' namespace='##targetNamespace'" + * @generated + */ + EList getValue(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getListEntriesType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ListEntriesType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LocaleConfigType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LocaleConfigType.java new file mode 100644 index 000000000..4ec18107e --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LocaleConfigType.java @@ -0,0 +1,115 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Locale Config Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType#getDefaultLocale <em>Default Locale</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType#getSupportedLocale <em>Supported Locale</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getLocaleConfigType() + * @model extendedMetaData="name='locale-config_._type' kind='elementOnly'" + * @generated + */ +public interface LocaleConfigType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Default Locale</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Default Locale</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Default Locale</em>' containment reference. + * @see #setDefaultLocale(DefaultLocaleType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getLocaleConfigType_DefaultLocale() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='default-locale' namespace='##targetNamespace'" + * @generated + */ + DefaultLocaleType getDefaultLocale(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType#getDefaultLocale <em>Default Locale</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Default Locale</em>' containment reference. + * @see #getDefaultLocale() + * @generated + */ + void setDefaultLocale(DefaultLocaleType value); + + /** + * Returns the value of the '<em><b>Supported Locale</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Supported Locale</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Supported Locale</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getLocaleConfigType_SupportedLocale() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='supported-locale' namespace='##targetNamespace'" + * @generated + */ + EList getSupportedLocale(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getLocaleConfigType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // LocaleConfigType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanClassType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanClassType.java new file mode 100644 index 000000000..32fbbf1d3 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanClassType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Managed Bean Class Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanClassType() + * @model extendedMetaData="name='managed-bean-class_._type' kind='simple'" + * @generated + */ +public interface ManagedBeanClassType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanClassType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanClassType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ManagedBeanClassType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanNameType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanNameType.java new file mode 100644 index 000000000..a6b660cfe --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanNameType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Managed Bean Name Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanNameType() + * @model extendedMetaData="name='managed-bean-name_._type' kind='simple'" + * @generated + */ +public interface ManagedBeanNameType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanNameType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanNameType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ManagedBeanNameType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanScopeType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanScopeType.java new file mode 100644 index 000000000..ea0031a33 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanScopeType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Managed Bean Scope Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanScopeType() + * @model extendedMetaData="name='managed-bean-scope_._type' kind='simple'" + * @generated + */ +public interface ManagedBeanScopeType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanScopeType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanScopeType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ManagedBeanScopeType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanType.java new file mode 100644 index 000000000..534606a06 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanType.java @@ -0,0 +1,281 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Managed Bean Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedBeanName <em>Managed Bean Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedBeanClass <em>Managed Bean Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedBeanScope <em>Managed Bean Scope</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedProperty <em>Managed Property</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getMapEntries <em>Map Entries</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getListEntries <em>List Entries</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanType() + * @model extendedMetaData="name='managed-bean_._type' kind='elementOnly'" + * @generated + */ +public interface ManagedBeanType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Description</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanType_Description() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DescriptionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'" + * @generated + */ + EList getDescription(); + + /** + * Returns the value of the '<em><b>Display Name</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Display Name</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Display Name</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanType_DisplayName() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='display-name' namespace='##targetNamespace'" + * @generated + */ + EList getDisplayName(); + + /** + * Returns the value of the '<em><b>Icon</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.IconType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Icon</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanType_Icon() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.IconType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='icon' namespace='##targetNamespace'" + * @generated + */ + EList getIcon(); + + /** + * Returns the value of the '<em><b>Managed Bean Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Managed Bean Name</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Managed Bean Name</em>' containment reference. + * @see #setManagedBeanName(ManagedBeanNameType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanType_ManagedBeanName() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='managed-bean-name' namespace='##targetNamespace'" + * @generated + */ + ManagedBeanNameType getManagedBeanName(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedBeanName <em>Managed Bean Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Managed Bean Name</em>' containment reference. + * @see #getManagedBeanName() + * @generated + */ + void setManagedBeanName(ManagedBeanNameType value); + + /** + * Returns the value of the '<em><b>Managed Bean Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Managed Bean Class</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Managed Bean Class</em>' containment reference. + * @see #setManagedBeanClass(ManagedBeanClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanType_ManagedBeanClass() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='managed-bean-class' namespace='##targetNamespace'" + * @generated + */ + ManagedBeanClassType getManagedBeanClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedBeanClass <em>Managed Bean Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Managed Bean Class</em>' containment reference. + * @see #getManagedBeanClass() + * @generated + */ + void setManagedBeanClass(ManagedBeanClassType value); + + /** + * Returns the value of the '<em><b>Managed Bean Scope</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Managed Bean Scope</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Managed Bean Scope</em>' containment reference. + * @see #setManagedBeanScope(ManagedBeanScopeType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanType_ManagedBeanScope() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='managed-bean-scope' namespace='##targetNamespace'" + * @generated + */ + ManagedBeanScopeType getManagedBeanScope(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getManagedBeanScope <em>Managed Bean Scope</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Managed Bean Scope</em>' containment reference. + * @see #getManagedBeanScope() + * @generated + */ + void setManagedBeanScope(ManagedBeanScopeType value); + + /** + * Returns the value of the '<em><b>Managed Property</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Managed Property</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Managed Property</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanType_ManagedProperty() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='managed-property' namespace='##targetNamespace'" + * @generated + */ + EList getManagedProperty(); + + /** + * Returns the value of the '<em><b>Map Entries</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Map Entries</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Map Entries</em>' containment reference. + * @see #setMapEntries(MapEntriesType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanType_MapEntries() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='map-entries' namespace='##targetNamespace'" + * @generated + */ + MapEntriesType getMapEntries(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getMapEntries <em>Map Entries</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Map Entries</em>' containment reference. + * @see #getMapEntries() + * @generated + */ + void setMapEntries(MapEntriesType value); + + /** + * Returns the value of the '<em><b>List Entries</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>List Entries</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>List Entries</em>' containment reference. + * @see #setListEntries(ListEntriesType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanType_ListEntries() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='list-entries' namespace='##targetNamespace'" + * @generated + */ + ListEntriesType getListEntries(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getListEntries <em>List Entries</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>List Entries</em>' containment reference. + * @see #getListEntries() + * @generated + */ + void setListEntries(ListEntriesType value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedBeanType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ManagedBeanType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedPropertyType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedPropertyType.java new file mode 100644 index 000000000..9dd99a09e --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedPropertyType.java @@ -0,0 +1,291 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Managed Property Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getPropertyName <em>Property Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getPropertyClass <em>Property Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getMapEntries <em>Map Entries</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getNullValue <em>Null Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getValue <em>Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getListEntries <em>List Entries</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedPropertyType() + * @model extendedMetaData="name='managed-property_._type' kind='elementOnly'" + * @generated + */ +public interface ManagedPropertyType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Description</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedPropertyType_Description() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DescriptionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'" + * @generated + */ + EList getDescription(); + + /** + * Returns the value of the '<em><b>Display Name</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Display Name</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Display Name</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedPropertyType_DisplayName() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='display-name' namespace='##targetNamespace'" + * @generated + */ + EList getDisplayName(); + + /** + * Returns the value of the '<em><b>Icon</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.IconType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Icon</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedPropertyType_Icon() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.IconType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='icon' namespace='##targetNamespace'" + * @generated + */ + EList getIcon(); + + /** + * Returns the value of the '<em><b>Property Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Property Name</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Property Name</em>' containment reference. + * @see #setPropertyName(PropertyNameType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedPropertyType_PropertyName() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='property-name' namespace='##targetNamespace'" + * @generated + */ + PropertyNameType getPropertyName(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getPropertyName <em>Property Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Property Name</em>' containment reference. + * @see #getPropertyName() + * @generated + */ + void setPropertyName(PropertyNameType value); + + /** + * Returns the value of the '<em><b>Property Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Property Class</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Property Class</em>' containment reference. + * @see #setPropertyClass(PropertyClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedPropertyType_PropertyClass() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='property-class' namespace='##targetNamespace'" + * @generated + */ + PropertyClassType getPropertyClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getPropertyClass <em>Property Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Property Class</em>' containment reference. + * @see #getPropertyClass() + * @generated + */ + void setPropertyClass(PropertyClassType value); + + /** + * Returns the value of the '<em><b>Map Entries</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Map Entries</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Map Entries</em>' containment reference. + * @see #setMapEntries(MapEntriesType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedPropertyType_MapEntries() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='map-entries' namespace='##targetNamespace'" + * @generated + */ + MapEntriesType getMapEntries(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getMapEntries <em>Map Entries</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Map Entries</em>' containment reference. + * @see #getMapEntries() + * @generated + */ + void setMapEntries(MapEntriesType value); + + /** + * Returns the value of the '<em><b>Null Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Null Value</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Null Value</em>' containment reference. + * @see #setNullValue(NullValueType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedPropertyType_NullValue() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='null-value' namespace='##targetNamespace'" + * @generated + */ + NullValueType getNullValue(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getNullValue <em>Null Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Null Value</em>' containment reference. + * @see #getNullValue() + * @generated + */ + void setNullValue(NullValueType value); + + /** + * Returns the value of the '<em><b>Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Value</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Value</em>' containment reference. + * @see #setValue(ValueType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedPropertyType_Value() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='value' namespace='##targetNamespace'" + * @generated + */ + ValueType getValue(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getValue <em>Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value</em>' containment reference. + * @see #getValue() + * @generated + */ + void setValue(ValueType value); + + /** + * Returns the value of the '<em><b>List Entries</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>List Entries</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>List Entries</em>' containment reference. + * @see #setListEntries(ListEntriesType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedPropertyType_ListEntries() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='list-entries' namespace='##targetNamespace'" + * @generated + */ + ListEntriesType getListEntries(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getListEntries <em>List Entries</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>List Entries</em>' containment reference. + * @see #getListEntries() + * @generated + */ + void setListEntries(ListEntriesType value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getManagedPropertyType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ManagedPropertyType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/MapEntriesType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/MapEntriesType.java new file mode 100644 index 000000000..23e4de5e4 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/MapEntriesType.java @@ -0,0 +1,143 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Map Entries Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getKeyClass <em>Key Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getValueClass <em>Value Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getMapEntry <em>Map Entry</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getMapEntriesType() + * @model extendedMetaData="name='map-entries_._type' kind='elementOnly'" + * @generated + */ +public interface MapEntriesType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Key Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Key Class</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Key Class</em>' containment reference. + * @see #setKeyClass(KeyClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getMapEntriesType_KeyClass() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='key-class' namespace='##targetNamespace'" + * @generated + */ + KeyClassType getKeyClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getKeyClass <em>Key Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Key Class</em>' containment reference. + * @see #getKeyClass() + * @generated + */ + void setKeyClass(KeyClassType value); + + /** + * Returns the value of the '<em><b>Value Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Value Class</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Value Class</em>' containment reference. + * @see #setValueClass(ValueClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getMapEntriesType_ValueClass() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='value-class' namespace='##targetNamespace'" + * @generated + */ + ValueClassType getValueClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getValueClass <em>Value Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value Class</em>' containment reference. + * @see #getValueClass() + * @generated + */ + void setValueClass(ValueClassType value); + + /** + * Returns the value of the '<em><b>Map Entry</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Map Entry</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Map Entry</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getMapEntriesType_MapEntry() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.MapEntryType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='map-entry' namespace='##targetNamespace'" + * @generated + */ + EList getMapEntry(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getMapEntriesType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // MapEntriesType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/MapEntryType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/MapEntryType.java new file mode 100644 index 000000000..4e0f2eeb1 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/MapEntryType.java @@ -0,0 +1,151 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Map Entry Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getKey <em>Key</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getNullValue <em>Null Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getValue <em>Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getMapEntryType() + * @model extendedMetaData="name='map-entry_._type' kind='empty'" + * @generated + */ +public interface MapEntryType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Key</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Key</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Key</em>' containment reference. + * @see #setKey(KeyType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getMapEntryType_Key() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='key' namespace='##targetNamespace'" + * @generated + */ + KeyType getKey(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getKey <em>Key</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Key</em>' containment reference. + * @see #getKey() + * @generated + */ + void setKey(KeyType value); + + /** + * Returns the value of the '<em><b>Null Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Null Value</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Null Value</em>' containment reference. + * @see #setNullValue(NullValueType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getMapEntryType_NullValue() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='null-value' namespace='##targetNamespace'" + * @generated + */ + NullValueType getNullValue(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getNullValue <em>Null Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Null Value</em>' containment reference. + * @see #getNullValue() + * @generated + */ + void setNullValue(NullValueType value); + + /** + * Returns the value of the '<em><b>Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Value</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Value</em>' containment reference. + * @see #setValue(ValueType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getMapEntryType_Value() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='value' namespace='##targetNamespace'" + * @generated + */ + ValueType getValue(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getValue <em>Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Value</em>' containment reference. + * @see #getValue() + * @generated + */ + void setValue(ValueType value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getMapEntryType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // MapEntryType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/MessageBundleType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/MessageBundleType.java new file mode 100644 index 000000000..747b30927 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/MessageBundleType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Message Bundle Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getMessageBundleType() + * @model extendedMetaData="name='message-bundle_._type' kind='simple'" + * @generated + */ +public interface MessageBundleType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getMessageBundleType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getMessageBundleType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // MessageBundleType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NavigationCaseType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NavigationCaseType.java new file mode 100644 index 000000000..2b74ebb06 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NavigationCaseType.java @@ -0,0 +1,235 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Navigation Case Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getFromAction <em>From Action</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getFromOutcome <em>From Outcome</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getToViewId <em>To View Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getRedirect <em>Redirect</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationCaseType() + * @model extendedMetaData="name='navigation-case_._type' kind='elementOnly'" + * @generated + */ +public interface NavigationCaseType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Description</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationCaseType_Description() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DescriptionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'" + * @generated + */ + EList getDescription(); + + /** + * Returns the value of the '<em><b>Display Name</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Display Name</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Display Name</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationCaseType_DisplayName() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='display-name' namespace='##targetNamespace'" + * @generated + */ + EList getDisplayName(); + + /** + * Returns the value of the '<em><b>Icon</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.IconType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Icon</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationCaseType_Icon() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.IconType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='icon' namespace='##targetNamespace'" + * @generated + */ + EList getIcon(); + + /** + * Returns the value of the '<em><b>From Action</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>From Action</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>From Action</em>' containment reference. + * @see #setFromAction(FromActionType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationCaseType_FromAction() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='from-action' namespace='##targetNamespace'" + * @generated + */ + FromActionType getFromAction(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getFromAction <em>From Action</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>From Action</em>' containment reference. + * @see #getFromAction() + * @generated + */ + void setFromAction(FromActionType value); + + /** + * Returns the value of the '<em><b>From Outcome</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>From Outcome</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>From Outcome</em>' containment reference. + * @see #setFromOutcome(FromOutcomeType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationCaseType_FromOutcome() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='from-outcome' namespace='##targetNamespace'" + * @generated + */ + FromOutcomeType getFromOutcome(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getFromOutcome <em>From Outcome</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>From Outcome</em>' containment reference. + * @see #getFromOutcome() + * @generated + */ + void setFromOutcome(FromOutcomeType value); + + /** + * Returns the value of the '<em><b>To View Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>To View Id</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>To View Id</em>' containment reference. + * @see #setToViewId(ToViewIdType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationCaseType_ToViewId() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='to-view-id' namespace='##targetNamespace'" + * @generated + */ + ToViewIdType getToViewId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getToViewId <em>To View Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>To View Id</em>' containment reference. + * @see #getToViewId() + * @generated + */ + void setToViewId(ToViewIdType value); + + /** + * Returns the value of the '<em><b>Redirect</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Redirect</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Redirect</em>' containment reference. + * @see #setRedirect(RedirectType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationCaseType_Redirect() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='redirect' namespace='##targetNamespace'" + * @generated + */ + RedirectType getRedirect(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getRedirect <em>Redirect</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Redirect</em>' containment reference. + * @see #getRedirect() + * @generated + */ + void setRedirect(RedirectType value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationCaseType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // NavigationCaseType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NavigationHandlerType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NavigationHandlerType.java new file mode 100644 index 000000000..0b36d1d4b --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NavigationHandlerType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Navigation Handler Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationHandlerType() + * @model extendedMetaData="name='navigation-handler_._type' kind='simple'" + * @generated + */ +public interface NavigationHandlerType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationHandlerType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationHandlerType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // NavigationHandlerType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NavigationRuleType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NavigationRuleType.java new file mode 100644 index 000000000..ca69ba859 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NavigationRuleType.java @@ -0,0 +1,169 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Navigation Rule Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getFromViewId <em>From View Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getNavigationCase <em>Navigation Case</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationRuleType() + * @model extendedMetaData="name='navigation-rule_._type' kind='elementOnly'" + * @generated + */ +public interface NavigationRuleType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Description</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationRuleType_Description() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DescriptionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'" + * @generated + */ + EList getDescription(); + + /** + * Returns the value of the '<em><b>Display Name</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Display Name</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Display Name</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationRuleType_DisplayName() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='display-name' namespace='##targetNamespace'" + * @generated + */ + EList getDisplayName(); + + /** + * Returns the value of the '<em><b>Icon</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.IconType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Icon</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationRuleType_Icon() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.IconType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='icon' namespace='##targetNamespace'" + * @generated + */ + EList getIcon(); + + /** + * Returns the value of the '<em><b>From View Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>From View Id</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>From View Id</em>' containment reference. + * @see #setFromViewId(FromViewIdType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationRuleType_FromViewId() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='from-view-id' namespace='##targetNamespace'" + * @generated + */ + FromViewIdType getFromViewId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getFromViewId <em>From View Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>From View Id</em>' containment reference. + * @see #getFromViewId() + * @generated + */ + void setFromViewId(FromViewIdType value); + + /** + * Returns the value of the '<em><b>Navigation Case</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Navigation Case</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Navigation Case</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationRuleType_NavigationCase() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='navigation-case' namespace='##targetNamespace'" + * @generated + */ + EList getNavigationCase(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNavigationRuleType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // NavigationRuleType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NullValueType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NullValueType.java new file mode 100644 index 000000000..ea7e2cfa3 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NullValueType.java @@ -0,0 +1,67 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Null Value Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.NullValueType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNullValueType() + * @model extendedMetaData="name='null-value_._type' kind='empty'" + * @generated + */ +public interface NullValueType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getNullValueType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.NullValueType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // NullValueType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PhaseListenerType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PhaseListenerType.java new file mode 100644 index 000000000..a056c5b18 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PhaseListenerType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Phase Listener Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPhaseListenerType() + * @model extendedMetaData="name='phase-listener_._type' kind='simple'" + * @generated + */ +public interface PhaseListenerType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPhaseListenerType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPhaseListenerType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // PhaseListenerType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyClassType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyClassType.java new file mode 100644 index 000000000..6a0081282 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyClassType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Property Class Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyClassType() + * @model extendedMetaData="name='property-class_._type' kind='simple'" + * @generated + */ +public interface PropertyClassType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyClassType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyClassType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // PropertyClassType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyExtensionType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyExtensionType.java new file mode 100644 index 000000000..f3894ee55 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyExtensionType.java @@ -0,0 +1,123 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Property Extension Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType#getMixed <em>Mixed</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType#getAny <em>Any</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyExtensionType() + * @model extendedMetaData="name='property-extension_._type' kind='mixed'" + * @generated + */ +public interface PropertyExtensionType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Mixed</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Mixed</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Mixed</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyExtensionType_Mixed() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" + * extendedMetaData="kind='elementWildcard' name=':mixed'" + * @generated + */ + FeatureMap getMixed(); + + /** + * Returns the value of the '<em><b>Group</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Group</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Group</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyExtensionType_Group() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='group' name='group:1'" + * @generated + */ + FeatureMap getGroup(); + + /** + * Returns the value of the '<em><b>Any</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Any</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Any</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyExtensionType_Any() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='elementWildcard' wildcards='##any' name=':2' processing='strict' group='group:1'" + * @generated + */ + FeatureMap getAny(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyExtensionType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // PropertyExtensionType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyNameType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyNameType.java new file mode 100644 index 000000000..22fe1ad75 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyNameType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Property Name Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyNameType() + * @model extendedMetaData="name='property-name_._type' kind='simple'" + * @generated + */ +public interface PropertyNameType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyNameType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyNameType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // PropertyNameType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyResolverType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyResolverType.java new file mode 100644 index 000000000..520c10220 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyResolverType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Property Resolver Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyResolverType() + * @model extendedMetaData="name='property-resolver_._type' kind='simple'" + * @generated + */ +public interface PropertyResolverType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyResolverType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyResolverType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // PropertyResolverType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyType.java new file mode 100644 index 000000000..afe1d6eb8 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyType.java @@ -0,0 +1,253 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Property Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getPropertyName <em>Property Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getPropertyClass <em>Property Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getDefaultValue <em>Default Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getSuggestedValue <em>Suggested Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getPropertyExtension <em>Property Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyType() + * @model extendedMetaData="name='property_._type' kind='elementOnly'" + * @generated + */ +public interface PropertyType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Description</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyType_Description() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DescriptionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'" + * @generated + */ + EList getDescription(); + + /** + * Returns the value of the '<em><b>Display Name</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Display Name</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Display Name</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyType_DisplayName() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='display-name' namespace='##targetNamespace'" + * @generated + */ + EList getDisplayName(); + + /** + * Returns the value of the '<em><b>Icon</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.IconType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Icon</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyType_Icon() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.IconType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='icon' namespace='##targetNamespace'" + * @generated + */ + EList getIcon(); + + /** + * Returns the value of the '<em><b>Property Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Property Name</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Property Name</em>' containment reference. + * @see #setPropertyName(PropertyNameType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyType_PropertyName() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='property-name' namespace='##targetNamespace'" + * @generated + */ + PropertyNameType getPropertyName(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getPropertyName <em>Property Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Property Name</em>' containment reference. + * @see #getPropertyName() + * @generated + */ + void setPropertyName(PropertyNameType value); + + /** + * Returns the value of the '<em><b>Property Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Property Class</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Property Class</em>' containment reference. + * @see #setPropertyClass(PropertyClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyType_PropertyClass() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='property-class' namespace='##targetNamespace'" + * @generated + */ + PropertyClassType getPropertyClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getPropertyClass <em>Property Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Property Class</em>' containment reference. + * @see #getPropertyClass() + * @generated + */ + void setPropertyClass(PropertyClassType value); + + /** + * Returns the value of the '<em><b>Default Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Default Value</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Default Value</em>' containment reference. + * @see #setDefaultValue(DefaultValueType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyType_DefaultValue() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='default-value' namespace='##targetNamespace'" + * @generated + */ + DefaultValueType getDefaultValue(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getDefaultValue <em>Default Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Default Value</em>' containment reference. + * @see #getDefaultValue() + * @generated + */ + void setDefaultValue(DefaultValueType value); + + /** + * Returns the value of the '<em><b>Suggested Value</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Suggested Value</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Suggested Value</em>' containment reference. + * @see #setSuggestedValue(SuggestedValueType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyType_SuggestedValue() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='suggested-value' namespace='##targetNamespace'" + * @generated + */ + SuggestedValueType getSuggestedValue(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getSuggestedValue <em>Suggested Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Suggested Value</em>' containment reference. + * @see #getSuggestedValue() + * @generated + */ + void setSuggestedValue(SuggestedValueType value); + + /** + * Returns the value of the '<em><b>Property Extension</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Property Extension</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Property Extension</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyType_PropertyExtension() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='property-extension' namespace='##targetNamespace'" + * @generated + */ + EList getPropertyExtension(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getPropertyType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // PropertyType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RedirectType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RedirectType.java new file mode 100644 index 000000000..25456669d --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RedirectType.java @@ -0,0 +1,67 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Redirect Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RedirectType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRedirectType() + * @model extendedMetaData="name='redirect_._type' kind='empty'" + * @generated + */ +public interface RedirectType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRedirectType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RedirectType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // RedirectType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ReferencedBeanClassType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ReferencedBeanClassType.java new file mode 100644 index 000000000..139205d88 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ReferencedBeanClassType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Referenced Bean Class Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getReferencedBeanClassType() + * @model extendedMetaData="name='referenced-bean-class_._type' kind='simple'" + * @generated + */ +public interface ReferencedBeanClassType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getReferencedBeanClassType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getReferencedBeanClassType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ReferencedBeanClassType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ReferencedBeanNameType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ReferencedBeanNameType.java new file mode 100644 index 000000000..f4f5f8b0a --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ReferencedBeanNameType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Referenced Bean Name Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getReferencedBeanNameType() + * @model extendedMetaData="name='referenced-bean-name_._type' kind='simple'" + * @generated + */ +public interface ReferencedBeanNameType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getReferencedBeanNameType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getReferencedBeanNameType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ReferencedBeanNameType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ReferencedBeanType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ReferencedBeanType.java new file mode 100644 index 000000000..adc8a3e8b --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ReferencedBeanType.java @@ -0,0 +1,179 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Referenced Bean Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getReferencedBeanName <em>Referenced Bean Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getReferencedBeanClass <em>Referenced Bean Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getReferencedBeanType() + * @model extendedMetaData="name='referenced-bean_._type' kind='elementOnly'" + * @generated + */ +public interface ReferencedBeanType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Description</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getReferencedBeanType_Description() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DescriptionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'" + * @generated + */ + EList getDescription(); + + /** + * Returns the value of the '<em><b>Display Name</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Display Name</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Display Name</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getReferencedBeanType_DisplayName() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='display-name' namespace='##targetNamespace'" + * @generated + */ + EList getDisplayName(); + + /** + * Returns the value of the '<em><b>Icon</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.IconType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Icon</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getReferencedBeanType_Icon() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.IconType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='icon' namespace='##targetNamespace'" + * @generated + */ + EList getIcon(); + + /** + * Returns the value of the '<em><b>Referenced Bean Name</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Referenced Bean Name</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Referenced Bean Name</em>' containment reference. + * @see #setReferencedBeanName(ReferencedBeanNameType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getReferencedBeanType_ReferencedBeanName() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='referenced-bean-name' namespace='##targetNamespace'" + * @generated + */ + ReferencedBeanNameType getReferencedBeanName(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getReferencedBeanName <em>Referenced Bean Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Referenced Bean Name</em>' containment reference. + * @see #getReferencedBeanName() + * @generated + */ + void setReferencedBeanName(ReferencedBeanNameType value); + + /** + * Returns the value of the '<em><b>Referenced Bean Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Referenced Bean Class</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Referenced Bean Class</em>' containment reference. + * @see #setReferencedBeanClass(ReferencedBeanClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getReferencedBeanType_ReferencedBeanClass() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='referenced-bean-class' namespace='##targetNamespace'" + * @generated + */ + ReferencedBeanClassType getReferencedBeanClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getReferencedBeanClass <em>Referenced Bean Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Referenced Bean Class</em>' containment reference. + * @see #getReferencedBeanClass() + * @generated + */ + void setReferencedBeanClass(ReferencedBeanClassType value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getReferencedBeanType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ReferencedBeanType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitClassType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitClassType.java new file mode 100644 index 000000000..01dab1853 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitClassType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Render Kit Class Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitClassType() + * @model extendedMetaData="name='render-kit-class_._type' kind='simple'" + * @generated + */ +public interface RenderKitClassType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitClassType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitClassType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // RenderKitClassType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitFactoryType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitFactoryType.java new file mode 100644 index 000000000..04fa76e06 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitFactoryType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Render Kit Factory Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitFactoryType() + * @model extendedMetaData="name='render-kit-factory_._type' kind='simple'" + * @generated + */ +public interface RenderKitFactoryType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitFactoryType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitFactoryType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // RenderKitFactoryType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitIdType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitIdType.java new file mode 100644 index 000000000..bd6755e53 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitIdType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Render Kit Id Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitIdType() + * @model extendedMetaData="name='render-kit-id_._type' kind='simple'" + * @generated + */ +public interface RenderKitIdType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitIdType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitIdType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // RenderKitIdType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitType.java new file mode 100644 index 000000000..35884e469 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitType.java @@ -0,0 +1,197 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Render Kit Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getRenderKitId <em>Render Kit Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getRenderKitClass <em>Render Kit Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getRenderer <em>Renderer</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitType() + * @model extendedMetaData="name='render-kit_._type' kind='elementOnly'" + * @generated + */ +public interface RenderKitType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Description</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitType_Description() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DescriptionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'" + * @generated + */ + EList getDescription(); + + /** + * Returns the value of the '<em><b>Display Name</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Display Name</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Display Name</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitType_DisplayName() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='display-name' namespace='##targetNamespace'" + * @generated + */ + EList getDisplayName(); + + /** + * Returns the value of the '<em><b>Icon</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.IconType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Icon</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitType_Icon() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.IconType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='icon' namespace='##targetNamespace'" + * @generated + */ + EList getIcon(); + + /** + * Returns the value of the '<em><b>Render Kit Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Render Kit Id</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Render Kit Id</em>' containment reference. + * @see #setRenderKitId(RenderKitIdType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitType_RenderKitId() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='render-kit-id' namespace='##targetNamespace'" + * @generated + */ + RenderKitIdType getRenderKitId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getRenderKitId <em>Render Kit Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Render Kit Id</em>' containment reference. + * @see #getRenderKitId() + * @generated + */ + void setRenderKitId(RenderKitIdType value); + + /** + * Returns the value of the '<em><b>Render Kit Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Render Kit Class</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Render Kit Class</em>' containment reference. + * @see #setRenderKitClass(RenderKitClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitType_RenderKitClass() + * @model containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='render-kit-class' namespace='##targetNamespace'" + * @generated + */ + RenderKitClassType getRenderKitClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getRenderKitClass <em>Render Kit Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Render Kit Class</em>' containment reference. + * @see #getRenderKitClass() + * @generated + */ + void setRenderKitClass(RenderKitClassType value); + + /** + * Returns the value of the '<em><b>Renderer</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.RendererType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Renderer</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Renderer</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitType_Renderer() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.RendererType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='renderer' namespace='##targetNamespace'" + * @generated + */ + EList getRenderer(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRenderKitType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // RenderKitType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererClassType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererClassType.java new file mode 100644 index 000000000..a1a7b0037 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererClassType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Renderer Class Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererClassType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererClassType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererClassType() + * @model extendedMetaData="name='renderer-class_._type' kind='simple'" + * @generated + */ +public interface RendererClassType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererClassType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererClassType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererClassType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererClassType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // RendererClassType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererExtensionType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererExtensionType.java new file mode 100644 index 000000000..92748ab7a --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererExtensionType.java @@ -0,0 +1,123 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.emf.ecore.util.FeatureMap; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Renderer Extension Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType#getMixed <em>Mixed</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType#getAny <em>Any</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererExtensionType() + * @model extendedMetaData="name='renderer-extension_._type' kind='mixed'" + * @generated + */ +public interface RendererExtensionType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Mixed</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Mixed</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Mixed</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererExtensionType_Mixed() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" + * extendedMetaData="kind='elementWildcard' name=':mixed'" + * @generated + */ + FeatureMap getMixed(); + + /** + * Returns the value of the '<em><b>Group</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Group</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Group</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererExtensionType_Group() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='group' name='group:1'" + * @generated + */ + FeatureMap getGroup(); + + /** + * Returns the value of the '<em><b>Any</b></em>' attribute list. + * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Any</em>' attribute list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Any</em>' attribute list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererExtensionType_Any() + * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true" transient="true" volatile="true" derived="true" + * extendedMetaData="kind='elementWildcard' wildcards='##any' name=':2' processing='strict' group='group:1'" + * @generated + */ + FeatureMap getAny(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererExtensionType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // RendererExtensionType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererType.java new file mode 100644 index 000000000..27f877b3a --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererType.java @@ -0,0 +1,261 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Renderer Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getComponentFamily <em>Component Family</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getRendererType <em>Renderer Type</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getRendererClass <em>Renderer Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getFacet <em>Facet</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getAttribute <em>Attribute</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getRendererExtension <em>Renderer Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererType() + * @model extendedMetaData="name='renderer_._type' kind='elementOnly'" + * @generated + */ +public interface RendererType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Description</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererType_Description() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DescriptionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'" + * @generated + */ + EList getDescription(); + + /** + * Returns the value of the '<em><b>Display Name</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Display Name</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Display Name</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererType_DisplayName() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='display-name' namespace='##targetNamespace'" + * @generated + */ + EList getDisplayName(); + + /** + * Returns the value of the '<em><b>Icon</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.IconType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Icon</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererType_Icon() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.IconType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='icon' namespace='##targetNamespace'" + * @generated + */ + EList getIcon(); + + /** + * Returns the value of the '<em><b>Component Family</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Component Family</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Component Family</em>' containment reference. + * @see #setComponentFamily(ComponentFamilyType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererType_ComponentFamily() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='component-family' namespace='##targetNamespace'" + * @generated + */ + ComponentFamilyType getComponentFamily(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getComponentFamily <em>Component Family</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Component Family</em>' containment reference. + * @see #getComponentFamily() + * @generated + */ + void setComponentFamily(ComponentFamilyType value); + + /** + * Returns the value of the '<em><b>Renderer Type</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Renderer Type</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Renderer Type</em>' containment reference. + * @see #setRendererType(RendererTypeType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererType_RendererType() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='renderer-type' namespace='##targetNamespace'" + * @generated + */ + RendererTypeType getRendererType(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getRendererType <em>Renderer Type</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Renderer Type</em>' containment reference. + * @see #getRendererType() + * @generated + */ + void setRendererType(RendererTypeType value); + + /** + * Returns the value of the '<em><b>Renderer Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Renderer Class</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Renderer Class</em>' containment reference. + * @see #setRendererClass(RendererClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererType_RendererClass() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='renderer-class' namespace='##targetNamespace'" + * @generated + */ + RendererClassType getRendererClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getRendererClass <em>Renderer Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Renderer Class</em>' containment reference. + * @see #getRendererClass() + * @generated + */ + void setRendererClass(RendererClassType value); + + /** + * Returns the value of the '<em><b>Facet</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.FacetType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Facet</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Facet</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererType_Facet() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.FacetType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='facet' namespace='##targetNamespace'" + * @generated + */ + EList getFacet(); + + /** + * Returns the value of the '<em><b>Attribute</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Attribute</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Attribute</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererType_Attribute() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.AttributeType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='attribute' namespace='##targetNamespace'" + * @generated + */ + EList getAttribute(); + + /** + * Returns the value of the '<em><b>Renderer Extension</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Renderer Extension</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Renderer Extension</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererType_RendererExtension() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='renderer-extension' namespace='##targetNamespace'" + * @generated + */ + EList getRendererExtension(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // RendererType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererTypeType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererTypeType.java new file mode 100644 index 000000000..1b0df8037 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererTypeType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Renderer Type Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererTypeType() + * @model extendedMetaData="name='renderer-type_._type' kind='simple'" + * @generated + */ +public interface RendererTypeType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererTypeType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getRendererTypeType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // RendererTypeType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SmallIconType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SmallIconType.java new file mode 100644 index 000000000..da932b97e --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SmallIconType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Small Icon Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.SmallIconType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.SmallIconType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getSmallIconType() + * @model extendedMetaData="name='small-icon_._type' kind='simple'" + * @generated + */ +public interface SmallIconType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getSmallIconType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.SmallIconType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getSmallIconType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.SmallIconType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // SmallIconType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/StateManagerType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/StateManagerType.java new file mode 100644 index 000000000..fcea10d31 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/StateManagerType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>State Manager Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.StateManagerType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.StateManagerType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getStateManagerType() + * @model extendedMetaData="name='state-manager_._type' kind='simple'" + * @generated + */ +public interface StateManagerType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getStateManagerType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.StateManagerType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getStateManagerType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.StateManagerType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // StateManagerType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SuggestedValueType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SuggestedValueType.java new file mode 100644 index 000000000..8b8032e62 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SuggestedValueType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Suggested Value Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getSuggestedValueType() + * @model extendedMetaData="name='suggested-value_._type' kind='simple'" + * @generated + */ +public interface SuggestedValueType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getSuggestedValueType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getSuggestedValueType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // SuggestedValueType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SupportedLocaleType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SupportedLocaleType.java new file mode 100644 index 000000000..b09f9ede5 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SupportedLocaleType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Supported Locale Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getSupportedLocaleType() + * @model extendedMetaData="name='supported-locale_._type' kind='simple'" + * @generated + */ +public interface SupportedLocaleType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getSupportedLocaleType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getSupportedLocaleType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // SupportedLocaleType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ToViewIdType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ToViewIdType.java new file mode 100644 index 000000000..cf1f45ec7 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ToViewIdType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>To View Id Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getToViewIdType() + * @model extendedMetaData="name='to-view-id_._type' kind='simple'" + * @generated + */ +public interface ToViewIdType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getToViewIdType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getToViewIdType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ToViewIdType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValidatorClassType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValidatorClassType.java new file mode 100644 index 000000000..66ece7def --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValidatorClassType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Validator Class Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorClassType() + * @model extendedMetaData="name='validator-class_._type' kind='simple'" + * @generated + */ +public interface ValidatorClassType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorClassType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorClassType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ValidatorClassType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValidatorIdType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValidatorIdType.java new file mode 100644 index 000000000..d6a2d8694 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValidatorIdType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Validator Id Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorIdType() + * @model extendedMetaData="name='validator-id_._type' kind='simple'" + * @generated + */ +public interface ValidatorIdType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorIdType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorIdType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ValidatorIdType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValidatorType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValidatorType.java new file mode 100644 index 000000000..3ea6d886a --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValidatorType.java @@ -0,0 +1,215 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Validator Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getValidatorId <em>Validator Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getValidatorClass <em>Validator Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getAttribute <em>Attribute</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getProperty <em>Property</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorType() + * @model extendedMetaData="name='validator_._type' kind='elementOnly'" + * @generated + */ +public interface ValidatorType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Description</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Description</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Description</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorType_Description() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DescriptionType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'" + * @generated + */ + EList getDescription(); + + /** + * Returns the value of the '<em><b>Display Name</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Display Name</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Display Name</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorType_DisplayName() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='display-name' namespace='##targetNamespace'" + * @generated + */ + EList getDisplayName(); + + /** + * Returns the value of the '<em><b>Icon</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.IconType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Icon</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Icon</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorType_Icon() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.IconType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='icon' namespace='##targetNamespace'" + * @generated + */ + EList getIcon(); + + /** + * Returns the value of the '<em><b>Validator Id</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Validator Id</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Validator Id</em>' containment reference. + * @see #setValidatorId(ValidatorIdType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorType_ValidatorId() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='validator-id' namespace='##targetNamespace'" + * @generated + */ + ValidatorIdType getValidatorId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getValidatorId <em>Validator Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Validator Id</em>' containment reference. + * @see #getValidatorId() + * @generated + */ + void setValidatorId(ValidatorIdType value); + + /** + * Returns the value of the '<em><b>Validator Class</b></em>' containment reference. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Validator Class</em>' containment reference isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Validator Class</em>' containment reference. + * @see #setValidatorClass(ValidatorClassType) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorType_ValidatorClass() + * @model containment="true" resolveProxies="false" required="true" + * extendedMetaData="kind='element' name='validator-class' namespace='##targetNamespace'" + * @generated + */ + ValidatorClassType getValidatorClass(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getValidatorClass <em>Validator Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Validator Class</em>' containment reference. + * @see #getValidatorClass() + * @generated + */ + void setValidatorClass(ValidatorClassType value); + + /** + * Returns the value of the '<em><b>Attribute</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Attribute</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Attribute</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorType_Attribute() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.AttributeType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='attribute' namespace='##targetNamespace'" + * @generated + */ + EList getAttribute(); + + /** + * Returns the value of the '<em><b>Property</b></em>' containment reference list. + * The list contents are of type {@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType}. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Property</em>' containment reference list isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Property</em>' containment reference list. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorType_Property() + * @model type="org.eclipse.jst.jsf.facesconfig.emf.PropertyType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='property' namespace='##targetNamespace'" + * @generated + */ + EList getProperty(); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValidatorType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ValidatorType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValueClassType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValueClassType.java new file mode 100644 index 000000000..4ff056315 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValueClassType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Value Class Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValueClassType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValueClassType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValueClassType() + * @model extendedMetaData="name='value-class_._type' kind='simple'" + * @generated + */ +public interface ValueClassType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValueClassType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ValueClassType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValueClassType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ValueClassType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ValueClassType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValueType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValueType.java new file mode 100644 index 000000000..4319c3979 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValueType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Value Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValueType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ValueType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValueType() + * @model extendedMetaData="name='value_._type' kind='simple'" + * @generated + */ +public interface ValueType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValueType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ValueType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getValueType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ValueType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ValueType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/VariableResolverType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/VariableResolverType.java new file mode 100644 index 000000000..de163de2e --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/VariableResolverType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>Variable Resolver Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getVariableResolverType() + * @model extendedMetaData="name='variable-resolver_._type' kind='simple'" + * @generated + */ +public interface VariableResolverType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getVariableResolverType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getVariableResolverType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // VariableResolverType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ViewHandlerType.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ViewHandlerType.java new file mode 100644 index 000000000..7168cd8fe --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ViewHandlerType.java @@ -0,0 +1,95 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>View Handler Type</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getViewHandlerType() + * @model extendedMetaData="name='view-handler_._type' kind='simple'" + * @generated + */ +public interface ViewHandlerType extends EObject { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Returns the value of the '<em><b>Text Content</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Text Content</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Text Content</em>' attribute. + * @see #setTextContent(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getViewHandlerType_TextContent() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getTextContent(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType#getTextContent <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Text Content</em>' attribute. + * @see #getTextContent() + * @generated + */ + void setTextContent(String value); + + /** + * Returns the value of the '<em><b>Id</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Id</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * @return the value of the '<em>Id</em>' attribute. + * @see #setId(String) + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#getViewHandlerType_Id() + * @model unique="false" id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" + * extendedMetaData="kind='attribute' name='id' namespace='##targetNamespace'" + * @generated + */ + String getId(); + + /** + * Sets the value of the '{@link org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType#getId <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param value the new value of the '<em>Id</em>' attribute. + * @see #getId() + * @generated + */ + void setId(String value); + +} // ViewHandlerType diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ActionListenerTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ActionListenerTypeImpl.java new file mode 100644 index 000000000..1865aa9fa --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ActionListenerTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Action Listener Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ActionListenerTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ActionListenerTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ActionListenerTypeImpl extends EObjectImpl implements ActionListenerType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ActionListenerTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getActionListenerType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ACTION_LISTENER_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.ACTION_LISTENER_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ACTION_LISTENER_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.ACTION_LISTENER_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ACTION_LISTENER_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.ACTION_LISTENER_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ACTION_LISTENER_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.ACTION_LISTENER_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ACTION_LISTENER_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.ACTION_LISTENER_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ActionListenerTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ApplicationFactoryTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ApplicationFactoryTypeImpl.java new file mode 100644 index 000000000..4f2579dd0 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ApplicationFactoryTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Application Factory Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationFactoryTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationFactoryTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ApplicationFactoryTypeImpl extends EObjectImpl implements ApplicationFactoryType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ApplicationFactoryTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getApplicationFactoryType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.APPLICATION_FACTORY_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.APPLICATION_FACTORY_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.APPLICATION_FACTORY_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.APPLICATION_FACTORY_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.APPLICATION_FACTORY_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.APPLICATION_FACTORY_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.APPLICATION_FACTORY_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.APPLICATION_FACTORY_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.APPLICATION_FACTORY_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.APPLICATION_FACTORY_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ApplicationFactoryTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ApplicationTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ApplicationTypeImpl.java new file mode 100644 index 000000000..ca1beeb00 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ApplicationTypeImpl.java @@ -0,0 +1,531 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType; +import org.eclipse.jst.jsf.facesconfig.emf.ApplicationType; +import org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType; +import org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType; +import org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType; +import org.eclipse.jst.jsf.facesconfig.emf.StateManagerType; +import org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType; +import org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Application Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl#getActionListener <em>Action Listener</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl#getDefaultRenderKitId <em>Default Render Kit Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl#getMessageBundle <em>Message Bundle</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl#getNavigationHandler <em>Navigation Handler</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl#getViewHandler <em>View Handler</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl#getStateManager <em>State Manager</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl#getPropertyResolver <em>Property Resolver</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl#getVariableResolver <em>Variable Resolver</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl#getLocaleConfig <em>Locale Config</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ApplicationTypeImpl extends EObjectImpl implements ApplicationType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getActionListener() <em>Action Listener</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getActionListener() + * @generated + * @ordered + */ + protected EList actionListener = null; + + /** + * The cached value of the '{@link #getDefaultRenderKitId() <em>Default Render Kit Id</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDefaultRenderKitId() + * @generated + * @ordered + */ + protected EList defaultRenderKitId = null; + + /** + * The cached value of the '{@link #getMessageBundle() <em>Message Bundle</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMessageBundle() + * @generated + * @ordered + */ + protected EList messageBundle = null; + + /** + * The cached value of the '{@link #getNavigationHandler() <em>Navigation Handler</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getNavigationHandler() + * @generated + * @ordered + */ + protected EList navigationHandler = null; + + /** + * The cached value of the '{@link #getViewHandler() <em>View Handler</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getViewHandler() + * @generated + * @ordered + */ + protected EList viewHandler = null; + + /** + * The cached value of the '{@link #getStateManager() <em>State Manager</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getStateManager() + * @generated + * @ordered + */ + protected EList stateManager = null; + + /** + * The cached value of the '{@link #getPropertyResolver() <em>Property Resolver</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPropertyResolver() + * @generated + * @ordered + */ + protected EList propertyResolver = null; + + /** + * The cached value of the '{@link #getVariableResolver() <em>Variable Resolver</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getVariableResolver() + * @generated + * @ordered + */ + protected EList variableResolver = null; + + /** + * The cached value of the '{@link #getLocaleConfig() <em>Locale Config</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLocaleConfig() + * @generated + * @ordered + */ + protected EList localeConfig = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ApplicationTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getApplicationType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getActionListener() { + if (actionListener == null) { + actionListener = new EObjectContainmentEList(ActionListenerType.class, this, FacesConfigPackage.APPLICATION_TYPE__ACTION_LISTENER); + } + return actionListener; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDefaultRenderKitId() { + if (defaultRenderKitId == null) { + defaultRenderKitId = new EObjectContainmentEList(DefaultRenderKitIdType.class, this, FacesConfigPackage.APPLICATION_TYPE__DEFAULT_RENDER_KIT_ID); + } + return defaultRenderKitId; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getMessageBundle() { + if (messageBundle == null) { + messageBundle = new EObjectContainmentEList(MessageBundleType.class, this, FacesConfigPackage.APPLICATION_TYPE__MESSAGE_BUNDLE); + } + return messageBundle; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getNavigationHandler() { + if (navigationHandler == null) { + navigationHandler = new EObjectContainmentEList(NavigationHandlerType.class, this, FacesConfigPackage.APPLICATION_TYPE__NAVIGATION_HANDLER); + } + return navigationHandler; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getViewHandler() { + if (viewHandler == null) { + viewHandler = new EObjectContainmentEList(ViewHandlerType.class, this, FacesConfigPackage.APPLICATION_TYPE__VIEW_HANDLER); + } + return viewHandler; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getStateManager() { + if (stateManager == null) { + stateManager = new EObjectContainmentEList(StateManagerType.class, this, FacesConfigPackage.APPLICATION_TYPE__STATE_MANAGER); + } + return stateManager; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getPropertyResolver() { + if (propertyResolver == null) { + propertyResolver = new EObjectContainmentEList(PropertyResolverType.class, this, FacesConfigPackage.APPLICATION_TYPE__PROPERTY_RESOLVER); + } + return propertyResolver; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getVariableResolver() { + if (variableResolver == null) { + variableResolver = new EObjectContainmentEList(VariableResolverType.class, this, FacesConfigPackage.APPLICATION_TYPE__VARIABLE_RESOLVER); + } + return variableResolver; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getLocaleConfig() { + if (localeConfig == null) { + localeConfig = new EObjectContainmentEList(LocaleConfigType.class, this, FacesConfigPackage.APPLICATION_TYPE__LOCALE_CONFIG); + } + return localeConfig; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.APPLICATION_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.APPLICATION_TYPE__ACTION_LISTENER: + return ((InternalEList)getActionListener()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.APPLICATION_TYPE__DEFAULT_RENDER_KIT_ID: + return ((InternalEList)getDefaultRenderKitId()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.APPLICATION_TYPE__MESSAGE_BUNDLE: + return ((InternalEList)getMessageBundle()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.APPLICATION_TYPE__NAVIGATION_HANDLER: + return ((InternalEList)getNavigationHandler()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.APPLICATION_TYPE__VIEW_HANDLER: + return ((InternalEList)getViewHandler()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.APPLICATION_TYPE__STATE_MANAGER: + return ((InternalEList)getStateManager()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.APPLICATION_TYPE__PROPERTY_RESOLVER: + return ((InternalEList)getPropertyResolver()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.APPLICATION_TYPE__VARIABLE_RESOLVER: + return ((InternalEList)getVariableResolver()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.APPLICATION_TYPE__LOCALE_CONFIG: + return ((InternalEList)getLocaleConfig()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.APPLICATION_TYPE__ACTION_LISTENER: + return getActionListener(); + case FacesConfigPackage.APPLICATION_TYPE__DEFAULT_RENDER_KIT_ID: + return getDefaultRenderKitId(); + case FacesConfigPackage.APPLICATION_TYPE__MESSAGE_BUNDLE: + return getMessageBundle(); + case FacesConfigPackage.APPLICATION_TYPE__NAVIGATION_HANDLER: + return getNavigationHandler(); + case FacesConfigPackage.APPLICATION_TYPE__VIEW_HANDLER: + return getViewHandler(); + case FacesConfigPackage.APPLICATION_TYPE__STATE_MANAGER: + return getStateManager(); + case FacesConfigPackage.APPLICATION_TYPE__PROPERTY_RESOLVER: + return getPropertyResolver(); + case FacesConfigPackage.APPLICATION_TYPE__VARIABLE_RESOLVER: + return getVariableResolver(); + case FacesConfigPackage.APPLICATION_TYPE__LOCALE_CONFIG: + return getLocaleConfig(); + case FacesConfigPackage.APPLICATION_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.APPLICATION_TYPE__ACTION_LISTENER: + getActionListener().clear(); + getActionListener().addAll((Collection)newValue); + return; + case FacesConfigPackage.APPLICATION_TYPE__DEFAULT_RENDER_KIT_ID: + getDefaultRenderKitId().clear(); + getDefaultRenderKitId().addAll((Collection)newValue); + return; + case FacesConfigPackage.APPLICATION_TYPE__MESSAGE_BUNDLE: + getMessageBundle().clear(); + getMessageBundle().addAll((Collection)newValue); + return; + case FacesConfigPackage.APPLICATION_TYPE__NAVIGATION_HANDLER: + getNavigationHandler().clear(); + getNavigationHandler().addAll((Collection)newValue); + return; + case FacesConfigPackage.APPLICATION_TYPE__VIEW_HANDLER: + getViewHandler().clear(); + getViewHandler().addAll((Collection)newValue); + return; + case FacesConfigPackage.APPLICATION_TYPE__STATE_MANAGER: + getStateManager().clear(); + getStateManager().addAll((Collection)newValue); + return; + case FacesConfigPackage.APPLICATION_TYPE__PROPERTY_RESOLVER: + getPropertyResolver().clear(); + getPropertyResolver().addAll((Collection)newValue); + return; + case FacesConfigPackage.APPLICATION_TYPE__VARIABLE_RESOLVER: + getVariableResolver().clear(); + getVariableResolver().addAll((Collection)newValue); + return; + case FacesConfigPackage.APPLICATION_TYPE__LOCALE_CONFIG: + getLocaleConfig().clear(); + getLocaleConfig().addAll((Collection)newValue); + return; + case FacesConfigPackage.APPLICATION_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.APPLICATION_TYPE__ACTION_LISTENER: + getActionListener().clear(); + return; + case FacesConfigPackage.APPLICATION_TYPE__DEFAULT_RENDER_KIT_ID: + getDefaultRenderKitId().clear(); + return; + case FacesConfigPackage.APPLICATION_TYPE__MESSAGE_BUNDLE: + getMessageBundle().clear(); + return; + case FacesConfigPackage.APPLICATION_TYPE__NAVIGATION_HANDLER: + getNavigationHandler().clear(); + return; + case FacesConfigPackage.APPLICATION_TYPE__VIEW_HANDLER: + getViewHandler().clear(); + return; + case FacesConfigPackage.APPLICATION_TYPE__STATE_MANAGER: + getStateManager().clear(); + return; + case FacesConfigPackage.APPLICATION_TYPE__PROPERTY_RESOLVER: + getPropertyResolver().clear(); + return; + case FacesConfigPackage.APPLICATION_TYPE__VARIABLE_RESOLVER: + getVariableResolver().clear(); + return; + case FacesConfigPackage.APPLICATION_TYPE__LOCALE_CONFIG: + getLocaleConfig().clear(); + return; + case FacesConfigPackage.APPLICATION_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.APPLICATION_TYPE__ACTION_LISTENER: + return actionListener != null && !actionListener.isEmpty(); + case FacesConfigPackage.APPLICATION_TYPE__DEFAULT_RENDER_KIT_ID: + return defaultRenderKitId != null && !defaultRenderKitId.isEmpty(); + case FacesConfigPackage.APPLICATION_TYPE__MESSAGE_BUNDLE: + return messageBundle != null && !messageBundle.isEmpty(); + case FacesConfigPackage.APPLICATION_TYPE__NAVIGATION_HANDLER: + return navigationHandler != null && !navigationHandler.isEmpty(); + case FacesConfigPackage.APPLICATION_TYPE__VIEW_HANDLER: + return viewHandler != null && !viewHandler.isEmpty(); + case FacesConfigPackage.APPLICATION_TYPE__STATE_MANAGER: + return stateManager != null && !stateManager.isEmpty(); + case FacesConfigPackage.APPLICATION_TYPE__PROPERTY_RESOLVER: + return propertyResolver != null && !propertyResolver.isEmpty(); + case FacesConfigPackage.APPLICATION_TYPE__VARIABLE_RESOLVER: + return variableResolver != null && !variableResolver.isEmpty(); + case FacesConfigPackage.APPLICATION_TYPE__LOCALE_CONFIG: + return localeConfig != null && !localeConfig.isEmpty(); + case FacesConfigPackage.APPLICATION_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ApplicationTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeClassTypeImpl.java new file mode 100644 index 000000000..9ba7ca324 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeClassTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Attribute Class Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeClassTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeClassTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class AttributeClassTypeImpl extends EObjectImpl implements AttributeClassType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AttributeClassTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getAttributeClassType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //AttributeClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeExtensionTypeImpl.java new file mode 100644 index 000000000..72e2642cd --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeExtensionTypeImpl.java @@ -0,0 +1,281 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.BasicFeatureMap; +import org.eclipse.emf.ecore.util.FeatureMap; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Attribute Extension Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeExtensionTypeImpl#getMixed <em>Mixed</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeExtensionTypeImpl#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeExtensionTypeImpl#getAny <em>Any</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeExtensionTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class AttributeExtensionTypeImpl extends EObjectImpl implements AttributeExtensionType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMixed() + * @generated + * @ordered + */ + protected FeatureMap mixed = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AttributeExtensionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getAttributeExtensionType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getMixed() { + if (mixed == null) { + mixed = new BasicFeatureMap(this, FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__MIXED); + } + return mixed; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getGroup() { + return (FeatureMap)((FeatureMap)getMixed()).list(FacesConfigPackage.eINSTANCE.getAttributeExtensionType_Group()); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getAny() { + return (FeatureMap)((FeatureMap)getGroup()).list(FacesConfigPackage.eINSTANCE.getAttributeExtensionType_Any()); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__MIXED: + return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__GROUP: + return ((InternalEList)getGroup()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__ANY: + return ((InternalEList)getAny()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__MIXED: + return getMixed(); + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__GROUP: + return getGroup(); + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__ANY: + return getAny(); + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__MIXED: + getMixed().clear(); + getMixed().addAll((Collection)newValue); + return; + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__GROUP: + getGroup().clear(); + getGroup().addAll((Collection)newValue); + return; + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__ANY: + getAny().clear(); + getAny().addAll((Collection)newValue); + return; + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__MIXED: + getMixed().clear(); + return; + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__GROUP: + getGroup().clear(); + return; + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__ANY: + getAny().clear(); + return; + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__MIXED: + return mixed != null && !mixed.isEmpty(); + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__GROUP: + return !getGroup().isEmpty(); + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__ANY: + return !getAny().isEmpty(); + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (mixed: "); + result.append(mixed); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //AttributeExtensionTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeNameTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeNameTypeImpl.java new file mode 100644 index 000000000..59fd3aa7b --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeNameTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Attribute Name Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeNameTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeNameTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class AttributeNameTypeImpl extends EObjectImpl implements AttributeNameType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AttributeNameTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getAttributeNameType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ATTRIBUTE_NAME_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.ATTRIBUTE_NAME_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //AttributeNameTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeTypeImpl.java new file mode 100644 index 000000000..957933d37 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeTypeImpl.java @@ -0,0 +1,614 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeType; +import org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Attribute Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeTypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeTypeImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeTypeImpl#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeTypeImpl#getAttributeName <em>Attribute Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeTypeImpl#getAttributeClass <em>Attribute Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeTypeImpl#getDefaultValue <em>Default Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeTypeImpl#getSuggestedValue <em>Suggested Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeTypeImpl#getAttributeExtension <em>Attribute Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AttributeTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class AttributeTypeImpl extends EObjectImpl implements AttributeType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected EList description = null; + + /** + * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected EList displayName = null; + + /** + * The cached value of the '{@link #getIcon() <em>Icon</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIcon() + * @generated + * @ordered + */ + protected EList icon = null; + + /** + * The cached value of the '{@link #getAttributeName() <em>Attribute Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAttributeName() + * @generated + * @ordered + */ + protected AttributeNameType attributeName = null; + + /** + * The cached value of the '{@link #getAttributeClass() <em>Attribute Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAttributeClass() + * @generated + * @ordered + */ + protected AttributeClassType attributeClass = null; + + /** + * The cached value of the '{@link #getDefaultValue() <em>Default Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDefaultValue() + * @generated + * @ordered + */ + protected DefaultValueType defaultValue = null; + + /** + * The cached value of the '{@link #getSuggestedValue() <em>Suggested Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSuggestedValue() + * @generated + * @ordered + */ + protected SuggestedValueType suggestedValue = null; + + /** + * The cached value of the '{@link #getAttributeExtension() <em>Attribute Extension</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAttributeExtension() + * @generated + * @ordered + */ + protected EList attributeExtension = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected AttributeTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getAttributeType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDescription() { + if (description == null) { + description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.ATTRIBUTE_TYPE__DESCRIPTION); + } + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDisplayName() { + if (displayName == null) { + displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.ATTRIBUTE_TYPE__DISPLAY_NAME); + } + return displayName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getIcon() { + if (icon == null) { + icon = new EObjectContainmentEList(IconType.class, this, FacesConfigPackage.ATTRIBUTE_TYPE__ICON); + } + return icon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AttributeNameType getAttributeName() { + return attributeName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetAttributeName(AttributeNameType newAttributeName, NotificationChain msgs) { + AttributeNameType oldAttributeName = attributeName; + attributeName = newAttributeName; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_NAME, oldAttributeName, newAttributeName); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setAttributeName(AttributeNameType newAttributeName) { + if (newAttributeName != attributeName) { + NotificationChain msgs = null; + if (attributeName != null) + msgs = ((InternalEObject)attributeName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_NAME, null, msgs); + if (newAttributeName != null) + msgs = ((InternalEObject)newAttributeName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_NAME, null, msgs); + msgs = basicSetAttributeName(newAttributeName, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_NAME, newAttributeName, newAttributeName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AttributeClassType getAttributeClass() { + return attributeClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetAttributeClass(AttributeClassType newAttributeClass, NotificationChain msgs) { + AttributeClassType oldAttributeClass = attributeClass; + attributeClass = newAttributeClass; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_CLASS, oldAttributeClass, newAttributeClass); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setAttributeClass(AttributeClassType newAttributeClass) { + if (newAttributeClass != attributeClass) { + NotificationChain msgs = null; + if (attributeClass != null) + msgs = ((InternalEObject)attributeClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_CLASS, null, msgs); + if (newAttributeClass != null) + msgs = ((InternalEObject)newAttributeClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_CLASS, null, msgs); + msgs = basicSetAttributeClass(newAttributeClass, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_CLASS, newAttributeClass, newAttributeClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DefaultValueType getDefaultValue() { + return defaultValue; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetDefaultValue(DefaultValueType newDefaultValue, NotificationChain msgs) { + DefaultValueType oldDefaultValue = defaultValue; + defaultValue = newDefaultValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ATTRIBUTE_TYPE__DEFAULT_VALUE, oldDefaultValue, newDefaultValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDefaultValue(DefaultValueType newDefaultValue) { + if (newDefaultValue != defaultValue) { + NotificationChain msgs = null; + if (defaultValue != null) + msgs = ((InternalEObject)defaultValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ATTRIBUTE_TYPE__DEFAULT_VALUE, null, msgs); + if (newDefaultValue != null) + msgs = ((InternalEObject)newDefaultValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ATTRIBUTE_TYPE__DEFAULT_VALUE, null, msgs); + msgs = basicSetDefaultValue(newDefaultValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ATTRIBUTE_TYPE__DEFAULT_VALUE, newDefaultValue, newDefaultValue)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SuggestedValueType getSuggestedValue() { + return suggestedValue; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetSuggestedValue(SuggestedValueType newSuggestedValue, NotificationChain msgs) { + SuggestedValueType oldSuggestedValue = suggestedValue; + suggestedValue = newSuggestedValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ATTRIBUTE_TYPE__SUGGESTED_VALUE, oldSuggestedValue, newSuggestedValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSuggestedValue(SuggestedValueType newSuggestedValue) { + if (newSuggestedValue != suggestedValue) { + NotificationChain msgs = null; + if (suggestedValue != null) + msgs = ((InternalEObject)suggestedValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ATTRIBUTE_TYPE__SUGGESTED_VALUE, null, msgs); + if (newSuggestedValue != null) + msgs = ((InternalEObject)newSuggestedValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ATTRIBUTE_TYPE__SUGGESTED_VALUE, null, msgs); + msgs = basicSetSuggestedValue(newSuggestedValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ATTRIBUTE_TYPE__SUGGESTED_VALUE, newSuggestedValue, newSuggestedValue)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getAttributeExtension() { + if (attributeExtension == null) { + attributeExtension = new EObjectContainmentEList(AttributeExtensionType.class, this, FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_EXTENSION); + } + return attributeExtension; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.ATTRIBUTE_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.ATTRIBUTE_TYPE__DESCRIPTION: + return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.ATTRIBUTE_TYPE__DISPLAY_NAME: + return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.ATTRIBUTE_TYPE__ICON: + return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_NAME: + return basicSetAttributeName(null, msgs); + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_CLASS: + return basicSetAttributeClass(null, msgs); + case FacesConfigPackage.ATTRIBUTE_TYPE__DEFAULT_VALUE: + return basicSetDefaultValue(null, msgs); + case FacesConfigPackage.ATTRIBUTE_TYPE__SUGGESTED_VALUE: + return basicSetSuggestedValue(null, msgs); + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_EXTENSION: + return ((InternalEList)getAttributeExtension()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_TYPE__DESCRIPTION: + return getDescription(); + case FacesConfigPackage.ATTRIBUTE_TYPE__DISPLAY_NAME: + return getDisplayName(); + case FacesConfigPackage.ATTRIBUTE_TYPE__ICON: + return getIcon(); + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_NAME: + return getAttributeName(); + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_CLASS: + return getAttributeClass(); + case FacesConfigPackage.ATTRIBUTE_TYPE__DEFAULT_VALUE: + return getDefaultValue(); + case FacesConfigPackage.ATTRIBUTE_TYPE__SUGGESTED_VALUE: + return getSuggestedValue(); + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_EXTENSION: + return getAttributeExtension(); + case FacesConfigPackage.ATTRIBUTE_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_TYPE__DESCRIPTION: + getDescription().clear(); + getDescription().addAll((Collection)newValue); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + getDisplayName().addAll((Collection)newValue); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__ICON: + getIcon().clear(); + getIcon().addAll((Collection)newValue); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_NAME: + setAttributeName((AttributeNameType)newValue); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_CLASS: + setAttributeClass((AttributeClassType)newValue); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__DEFAULT_VALUE: + setDefaultValue((DefaultValueType)newValue); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__SUGGESTED_VALUE: + setSuggestedValue((SuggestedValueType)newValue); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_EXTENSION: + getAttributeExtension().clear(); + getAttributeExtension().addAll((Collection)newValue); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_TYPE__DESCRIPTION: + getDescription().clear(); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__ICON: + getIcon().clear(); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_NAME: + setAttributeName((AttributeNameType)null); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_CLASS: + setAttributeClass((AttributeClassType)null); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__DEFAULT_VALUE: + setDefaultValue((DefaultValueType)null); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__SUGGESTED_VALUE: + setSuggestedValue((SuggestedValueType)null); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_EXTENSION: + getAttributeExtension().clear(); + return; + case FacesConfigPackage.ATTRIBUTE_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ATTRIBUTE_TYPE__DESCRIPTION: + return description != null && !description.isEmpty(); + case FacesConfigPackage.ATTRIBUTE_TYPE__DISPLAY_NAME: + return displayName != null && !displayName.isEmpty(); + case FacesConfigPackage.ATTRIBUTE_TYPE__ICON: + return icon != null && !icon.isEmpty(); + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_NAME: + return attributeName != null; + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_CLASS: + return attributeClass != null; + case FacesConfigPackage.ATTRIBUTE_TYPE__DEFAULT_VALUE: + return defaultValue != null; + case FacesConfigPackage.ATTRIBUTE_TYPE__SUGGESTED_VALUE: + return suggestedValue != null; + case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_EXTENSION: + return attributeExtension != null && !attributeExtension.isEmpty(); + case FacesConfigPackage.ATTRIBUTE_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //AttributeTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentClassTypeImpl.java new file mode 100644 index 000000000..cc932c13b --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentClassTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Component Class Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentClassTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentClassTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ComponentClassTypeImpl extends EObjectImpl implements ComponentClassType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ComponentClassTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getComponentClassType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.COMPONENT_CLASS_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.COMPONENT_CLASS_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_CLASS_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.COMPONENT_CLASS_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_CLASS_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.COMPONENT_CLASS_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_CLASS_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.COMPONENT_CLASS_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_CLASS_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.COMPONENT_CLASS_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ComponentClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentExtensionTypeImpl.java new file mode 100644 index 000000000..8df04de9b --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentExtensionTypeImpl.java @@ -0,0 +1,281 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.BasicFeatureMap; +import org.eclipse.emf.ecore.util.FeatureMap; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Component Extension Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentExtensionTypeImpl#getMixed <em>Mixed</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentExtensionTypeImpl#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentExtensionTypeImpl#getAny <em>Any</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentExtensionTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ComponentExtensionTypeImpl extends EObjectImpl implements ComponentExtensionType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMixed() + * @generated + * @ordered + */ + protected FeatureMap mixed = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ComponentExtensionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getComponentExtensionType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getMixed() { + if (mixed == null) { + mixed = new BasicFeatureMap(this, FacesConfigPackage.COMPONENT_EXTENSION_TYPE__MIXED); + } + return mixed; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getGroup() { + return (FeatureMap)((FeatureMap)getMixed()).list(FacesConfigPackage.eINSTANCE.getComponentExtensionType_Group()); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getAny() { + return (FeatureMap)((FeatureMap)getGroup()).list(FacesConfigPackage.eINSTANCE.getComponentExtensionType_Any()); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.COMPONENT_EXTENSION_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__MIXED: + return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__GROUP: + return ((InternalEList)getGroup()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__ANY: + return ((InternalEList)getAny()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__MIXED: + return getMixed(); + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__GROUP: + return getGroup(); + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__ANY: + return getAny(); + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__MIXED: + getMixed().clear(); + getMixed().addAll((Collection)newValue); + return; + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__GROUP: + getGroup().clear(); + getGroup().addAll((Collection)newValue); + return; + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__ANY: + getAny().clear(); + getAny().addAll((Collection)newValue); + return; + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__MIXED: + getMixed().clear(); + return; + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__GROUP: + getGroup().clear(); + return; + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__ANY: + getAny().clear(); + return; + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__MIXED: + return mixed != null && !mixed.isEmpty(); + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__GROUP: + return !getGroup().isEmpty(); + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__ANY: + return !getAny().isEmpty(); + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (mixed: "); + result.append(mixed); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ComponentExtensionTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentFamilyTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentFamilyTypeImpl.java new file mode 100644 index 000000000..58b8d43cb --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentFamilyTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Component Family Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentFamilyTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentFamilyTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ComponentFamilyTypeImpl extends EObjectImpl implements ComponentFamilyType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ComponentFamilyTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getComponentFamilyType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.COMPONENT_FAMILY_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.COMPONENT_FAMILY_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_FAMILY_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.COMPONENT_FAMILY_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_FAMILY_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.COMPONENT_FAMILY_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_FAMILY_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.COMPONENT_FAMILY_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_FAMILY_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.COMPONENT_FAMILY_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ComponentFamilyTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentTypeImpl.java new file mode 100644 index 000000000..e4f5fdcd1 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentTypeImpl.java @@ -0,0 +1,591 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FacetType; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Component Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeImpl#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeImpl#getComponentType <em>Component Type</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeImpl#getComponentClass <em>Component Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeImpl#getFacet <em>Facet</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeImpl#getAttribute <em>Attribute</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeImpl#getProperty <em>Property</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeImpl#getComponentExtension <em>Component Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ComponentTypeImpl extends EObjectImpl implements ComponentType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected EList description = null; + + /** + * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected EList displayName = null; + + /** + * The cached value of the '{@link #getIcon() <em>Icon</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIcon() + * @generated + * @ordered + */ + protected EList icon = null; + + /** + * The cached value of the '{@link #getComponentType() <em>Component Type</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getComponentType() + * @generated + * @ordered + */ + protected ComponentTypeType componentType = null; + + /** + * The cached value of the '{@link #getComponentClass() <em>Component Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getComponentClass() + * @generated + * @ordered + */ + protected ComponentClassType componentClass = null; + + /** + * The cached value of the '{@link #getFacet() <em>Facet</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFacet() + * @generated + * @ordered + */ + protected EList facet = null; + + /** + * The cached value of the '{@link #getAttribute() <em>Attribute</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAttribute() + * @generated + * @ordered + */ + protected EList attribute = null; + + /** + * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getProperty() + * @generated + * @ordered + */ + protected EList property = null; + + /** + * The cached value of the '{@link #getComponentExtension() <em>Component Extension</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getComponentExtension() + * @generated + * @ordered + */ + protected EList componentExtension = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ComponentTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getComponentType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDescription() { + if (description == null) { + description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.COMPONENT_TYPE__DESCRIPTION); + } + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDisplayName() { + if (displayName == null) { + displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.COMPONENT_TYPE__DISPLAY_NAME); + } + return displayName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getIcon() { + if (icon == null) { + icon = new EObjectContainmentEList(IconType.class, this, FacesConfigPackage.COMPONENT_TYPE__ICON); + } + return icon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComponentTypeType getComponentType() { + return componentType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetComponentType(ComponentTypeType newComponentType, NotificationChain msgs) { + ComponentTypeType oldComponentType = componentType; + componentType = newComponentType; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.COMPONENT_TYPE__COMPONENT_TYPE, oldComponentType, newComponentType); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setComponentType(ComponentTypeType newComponentType) { + if (newComponentType != componentType) { + NotificationChain msgs = null; + if (componentType != null) + msgs = ((InternalEObject)componentType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.COMPONENT_TYPE__COMPONENT_TYPE, null, msgs); + if (newComponentType != null) + msgs = ((InternalEObject)newComponentType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.COMPONENT_TYPE__COMPONENT_TYPE, null, msgs); + msgs = basicSetComponentType(newComponentType, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.COMPONENT_TYPE__COMPONENT_TYPE, newComponentType, newComponentType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComponentClassType getComponentClass() { + return componentClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetComponentClass(ComponentClassType newComponentClass, NotificationChain msgs) { + ComponentClassType oldComponentClass = componentClass; + componentClass = newComponentClass; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.COMPONENT_TYPE__COMPONENT_CLASS, oldComponentClass, newComponentClass); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setComponentClass(ComponentClassType newComponentClass) { + if (newComponentClass != componentClass) { + NotificationChain msgs = null; + if (componentClass != null) + msgs = ((InternalEObject)componentClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.COMPONENT_TYPE__COMPONENT_CLASS, null, msgs); + if (newComponentClass != null) + msgs = ((InternalEObject)newComponentClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.COMPONENT_TYPE__COMPONENT_CLASS, null, msgs); + msgs = basicSetComponentClass(newComponentClass, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.COMPONENT_TYPE__COMPONENT_CLASS, newComponentClass, newComponentClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getFacet() { + if (facet == null) { + facet = new EObjectContainmentEList(FacetType.class, this, FacesConfigPackage.COMPONENT_TYPE__FACET); + } + return facet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getAttribute() { + if (attribute == null) { + attribute = new EObjectContainmentEList(AttributeType.class, this, FacesConfigPackage.COMPONENT_TYPE__ATTRIBUTE); + } + return attribute; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getProperty() { + if (property == null) { + property = new EObjectContainmentEList(PropertyType.class, this, FacesConfigPackage.COMPONENT_TYPE__PROPERTY); + } + return property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getComponentExtension() { + if (componentExtension == null) { + componentExtension = new EObjectContainmentEList(ComponentExtensionType.class, this, FacesConfigPackage.COMPONENT_TYPE__COMPONENT_EXTENSION); + } + return componentExtension; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.COMPONENT_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.COMPONENT_TYPE__DESCRIPTION: + return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.COMPONENT_TYPE__DISPLAY_NAME: + return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.COMPONENT_TYPE__ICON: + return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_TYPE: + return basicSetComponentType(null, msgs); + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_CLASS: + return basicSetComponentClass(null, msgs); + case FacesConfigPackage.COMPONENT_TYPE__FACET: + return ((InternalEList)getFacet()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.COMPONENT_TYPE__ATTRIBUTE: + return ((InternalEList)getAttribute()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.COMPONENT_TYPE__PROPERTY: + return ((InternalEList)getProperty()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_EXTENSION: + return ((InternalEList)getComponentExtension()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_TYPE__DESCRIPTION: + return getDescription(); + case FacesConfigPackage.COMPONENT_TYPE__DISPLAY_NAME: + return getDisplayName(); + case FacesConfigPackage.COMPONENT_TYPE__ICON: + return getIcon(); + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_TYPE: + return getComponentType(); + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_CLASS: + return getComponentClass(); + case FacesConfigPackage.COMPONENT_TYPE__FACET: + return getFacet(); + case FacesConfigPackage.COMPONENT_TYPE__ATTRIBUTE: + return getAttribute(); + case FacesConfigPackage.COMPONENT_TYPE__PROPERTY: + return getProperty(); + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_EXTENSION: + return getComponentExtension(); + case FacesConfigPackage.COMPONENT_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_TYPE__DESCRIPTION: + getDescription().clear(); + getDescription().addAll((Collection)newValue); + return; + case FacesConfigPackage.COMPONENT_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + getDisplayName().addAll((Collection)newValue); + return; + case FacesConfigPackage.COMPONENT_TYPE__ICON: + getIcon().clear(); + getIcon().addAll((Collection)newValue); + return; + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_TYPE: + setComponentType((ComponentTypeType)newValue); + return; + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_CLASS: + setComponentClass((ComponentClassType)newValue); + return; + case FacesConfigPackage.COMPONENT_TYPE__FACET: + getFacet().clear(); + getFacet().addAll((Collection)newValue); + return; + case FacesConfigPackage.COMPONENT_TYPE__ATTRIBUTE: + getAttribute().clear(); + getAttribute().addAll((Collection)newValue); + return; + case FacesConfigPackage.COMPONENT_TYPE__PROPERTY: + getProperty().clear(); + getProperty().addAll((Collection)newValue); + return; + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_EXTENSION: + getComponentExtension().clear(); + getComponentExtension().addAll((Collection)newValue); + return; + case FacesConfigPackage.COMPONENT_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_TYPE__DESCRIPTION: + getDescription().clear(); + return; + case FacesConfigPackage.COMPONENT_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + return; + case FacesConfigPackage.COMPONENT_TYPE__ICON: + getIcon().clear(); + return; + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_TYPE: + setComponentType((ComponentTypeType)null); + return; + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_CLASS: + setComponentClass((ComponentClassType)null); + return; + case FacesConfigPackage.COMPONENT_TYPE__FACET: + getFacet().clear(); + return; + case FacesConfigPackage.COMPONENT_TYPE__ATTRIBUTE: + getAttribute().clear(); + return; + case FacesConfigPackage.COMPONENT_TYPE__PROPERTY: + getProperty().clear(); + return; + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_EXTENSION: + getComponentExtension().clear(); + return; + case FacesConfigPackage.COMPONENT_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_TYPE__DESCRIPTION: + return description != null && !description.isEmpty(); + case FacesConfigPackage.COMPONENT_TYPE__DISPLAY_NAME: + return displayName != null && !displayName.isEmpty(); + case FacesConfigPackage.COMPONENT_TYPE__ICON: + return icon != null && !icon.isEmpty(); + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_TYPE: + return componentType != null; + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_CLASS: + return componentClass != null; + case FacesConfigPackage.COMPONENT_TYPE__FACET: + return facet != null && !facet.isEmpty(); + case FacesConfigPackage.COMPONENT_TYPE__ATTRIBUTE: + return attribute != null && !attribute.isEmpty(); + case FacesConfigPackage.COMPONENT_TYPE__PROPERTY: + return property != null && !property.isEmpty(); + case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_EXTENSION: + return componentExtension != null && !componentExtension.isEmpty(); + case FacesConfigPackage.COMPONENT_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ComponentTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentTypeTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentTypeTypeImpl.java new file mode 100644 index 000000000..dc98350e3 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentTypeTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Component Type Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ComponentTypeTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ComponentTypeTypeImpl extends EObjectImpl implements ComponentTypeType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ComponentTypeTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getComponentTypeType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.COMPONENT_TYPE_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.COMPONENT_TYPE_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_TYPE_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.COMPONENT_TYPE_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_TYPE_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.COMPONENT_TYPE_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_TYPE_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.COMPONENT_TYPE_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.COMPONENT_TYPE_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.COMPONENT_TYPE_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ComponentTypeTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterClassTypeImpl.java new file mode 100644 index 000000000..c61f86ce3 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterClassTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Converter Class Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterClassTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterClassTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ConverterClassTypeImpl extends EObjectImpl implements ConverterClassType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ConverterClassTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getConverterClassType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.CONVERTER_CLASS_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.CONVERTER_CLASS_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_CLASS_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.CONVERTER_CLASS_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_CLASS_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.CONVERTER_CLASS_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_CLASS_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.CONVERTER_CLASS_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_CLASS_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.CONVERTER_CLASS_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ConverterClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterForClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterForClassTypeImpl.java new file mode 100644 index 000000000..fa8ec76b3 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterForClassTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Converter For Class Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterForClassTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterForClassTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ConverterForClassTypeImpl extends EObjectImpl implements ConverterForClassType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ConverterForClassTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getConverterForClassType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ConverterForClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterIdTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterIdTypeImpl.java new file mode 100644 index 000000000..40f372874 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterIdTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Converter Id Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterIdTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterIdTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ConverterIdTypeImpl extends EObjectImpl implements ConverterIdType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ConverterIdTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getConverterIdType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.CONVERTER_ID_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.CONVERTER_ID_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_ID_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.CONVERTER_ID_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_ID_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.CONVERTER_ID_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_ID_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.CONVERTER_ID_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_ID_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.CONVERTER_ID_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ConverterIdTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterTypeImpl.java new file mode 100644 index 000000000..bc455dc8b --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterTypeImpl.java @@ -0,0 +1,584 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeType; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterType; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Converter Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterTypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterTypeImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterTypeImpl#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterTypeImpl#getConverterId <em>Converter Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterTypeImpl#getConverterForClass <em>Converter For Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterTypeImpl#getConverterClass <em>Converter Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterTypeImpl#getAttribute <em>Attribute</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterTypeImpl#getProperty <em>Property</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ConverterTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ConverterTypeImpl extends EObjectImpl implements ConverterType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected EList description = null; + + /** + * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected EList displayName = null; + + /** + * The cached value of the '{@link #getIcon() <em>Icon</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIcon() + * @generated + * @ordered + */ + protected EList icon = null; + + /** + * The cached value of the '{@link #getConverterId() <em>Converter Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getConverterId() + * @generated + * @ordered + */ + protected ConverterIdType converterId = null; + + /** + * The cached value of the '{@link #getConverterForClass() <em>Converter For Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getConverterForClass() + * @generated + * @ordered + */ + protected ConverterForClassType converterForClass = null; + + /** + * The cached value of the '{@link #getConverterClass() <em>Converter Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getConverterClass() + * @generated + * @ordered + */ + protected ConverterClassType converterClass = null; + + /** + * The cached value of the '{@link #getAttribute() <em>Attribute</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAttribute() + * @generated + * @ordered + */ + protected EList attribute = null; + + /** + * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getProperty() + * @generated + * @ordered + */ + protected EList property = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ConverterTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getConverterType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDescription() { + if (description == null) { + description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.CONVERTER_TYPE__DESCRIPTION); + } + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDisplayName() { + if (displayName == null) { + displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.CONVERTER_TYPE__DISPLAY_NAME); + } + return displayName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getIcon() { + if (icon == null) { + icon = new EObjectContainmentEList(IconType.class, this, FacesConfigPackage.CONVERTER_TYPE__ICON); + } + return icon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConverterIdType getConverterId() { + return converterId; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetConverterId(ConverterIdType newConverterId, NotificationChain msgs) { + ConverterIdType oldConverterId = converterId; + converterId = newConverterId; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.CONVERTER_TYPE__CONVERTER_ID, oldConverterId, newConverterId); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setConverterId(ConverterIdType newConverterId) { + if (newConverterId != converterId) { + NotificationChain msgs = null; + if (converterId != null) + msgs = ((InternalEObject)converterId).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.CONVERTER_TYPE__CONVERTER_ID, null, msgs); + if (newConverterId != null) + msgs = ((InternalEObject)newConverterId).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.CONVERTER_TYPE__CONVERTER_ID, null, msgs); + msgs = basicSetConverterId(newConverterId, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.CONVERTER_TYPE__CONVERTER_ID, newConverterId, newConverterId)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConverterForClassType getConverterForClass() { + return converterForClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetConverterForClass(ConverterForClassType newConverterForClass, NotificationChain msgs) { + ConverterForClassType oldConverterForClass = converterForClass; + converterForClass = newConverterForClass; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.CONVERTER_TYPE__CONVERTER_FOR_CLASS, oldConverterForClass, newConverterForClass); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setConverterForClass(ConverterForClassType newConverterForClass) { + if (newConverterForClass != converterForClass) { + NotificationChain msgs = null; + if (converterForClass != null) + msgs = ((InternalEObject)converterForClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.CONVERTER_TYPE__CONVERTER_FOR_CLASS, null, msgs); + if (newConverterForClass != null) + msgs = ((InternalEObject)newConverterForClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.CONVERTER_TYPE__CONVERTER_FOR_CLASS, null, msgs); + msgs = basicSetConverterForClass(newConverterForClass, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.CONVERTER_TYPE__CONVERTER_FOR_CLASS, newConverterForClass, newConverterForClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConverterClassType getConverterClass() { + return converterClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetConverterClass(ConverterClassType newConverterClass, NotificationChain msgs) { + ConverterClassType oldConverterClass = converterClass; + converterClass = newConverterClass; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.CONVERTER_TYPE__CONVERTER_CLASS, oldConverterClass, newConverterClass); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setConverterClass(ConverterClassType newConverterClass) { + if (newConverterClass != converterClass) { + NotificationChain msgs = null; + if (converterClass != null) + msgs = ((InternalEObject)converterClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.CONVERTER_TYPE__CONVERTER_CLASS, null, msgs); + if (newConverterClass != null) + msgs = ((InternalEObject)newConverterClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.CONVERTER_TYPE__CONVERTER_CLASS, null, msgs); + msgs = basicSetConverterClass(newConverterClass, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.CONVERTER_TYPE__CONVERTER_CLASS, newConverterClass, newConverterClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getAttribute() { + if (attribute == null) { + attribute = new EObjectContainmentEList(AttributeType.class, this, FacesConfigPackage.CONVERTER_TYPE__ATTRIBUTE); + } + return attribute; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getProperty() { + if (property == null) { + property = new EObjectContainmentEList(PropertyType.class, this, FacesConfigPackage.CONVERTER_TYPE__PROPERTY); + } + return property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.CONVERTER_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.CONVERTER_TYPE__DESCRIPTION: + return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.CONVERTER_TYPE__DISPLAY_NAME: + return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.CONVERTER_TYPE__ICON: + return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_ID: + return basicSetConverterId(null, msgs); + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_FOR_CLASS: + return basicSetConverterForClass(null, msgs); + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_CLASS: + return basicSetConverterClass(null, msgs); + case FacesConfigPackage.CONVERTER_TYPE__ATTRIBUTE: + return ((InternalEList)getAttribute()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.CONVERTER_TYPE__PROPERTY: + return ((InternalEList)getProperty()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_TYPE__DESCRIPTION: + return getDescription(); + case FacesConfigPackage.CONVERTER_TYPE__DISPLAY_NAME: + return getDisplayName(); + case FacesConfigPackage.CONVERTER_TYPE__ICON: + return getIcon(); + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_ID: + return getConverterId(); + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_FOR_CLASS: + return getConverterForClass(); + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_CLASS: + return getConverterClass(); + case FacesConfigPackage.CONVERTER_TYPE__ATTRIBUTE: + return getAttribute(); + case FacesConfigPackage.CONVERTER_TYPE__PROPERTY: + return getProperty(); + case FacesConfigPackage.CONVERTER_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_TYPE__DESCRIPTION: + getDescription().clear(); + getDescription().addAll((Collection)newValue); + return; + case FacesConfigPackage.CONVERTER_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + getDisplayName().addAll((Collection)newValue); + return; + case FacesConfigPackage.CONVERTER_TYPE__ICON: + getIcon().clear(); + getIcon().addAll((Collection)newValue); + return; + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_ID: + setConverterId((ConverterIdType)newValue); + return; + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_FOR_CLASS: + setConverterForClass((ConverterForClassType)newValue); + return; + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_CLASS: + setConverterClass((ConverterClassType)newValue); + return; + case FacesConfigPackage.CONVERTER_TYPE__ATTRIBUTE: + getAttribute().clear(); + getAttribute().addAll((Collection)newValue); + return; + case FacesConfigPackage.CONVERTER_TYPE__PROPERTY: + getProperty().clear(); + getProperty().addAll((Collection)newValue); + return; + case FacesConfigPackage.CONVERTER_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_TYPE__DESCRIPTION: + getDescription().clear(); + return; + case FacesConfigPackage.CONVERTER_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + return; + case FacesConfigPackage.CONVERTER_TYPE__ICON: + getIcon().clear(); + return; + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_ID: + setConverterId((ConverterIdType)null); + return; + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_FOR_CLASS: + setConverterForClass((ConverterForClassType)null); + return; + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_CLASS: + setConverterClass((ConverterClassType)null); + return; + case FacesConfigPackage.CONVERTER_TYPE__ATTRIBUTE: + getAttribute().clear(); + return; + case FacesConfigPackage.CONVERTER_TYPE__PROPERTY: + getProperty().clear(); + return; + case FacesConfigPackage.CONVERTER_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.CONVERTER_TYPE__DESCRIPTION: + return description != null && !description.isEmpty(); + case FacesConfigPackage.CONVERTER_TYPE__DISPLAY_NAME: + return displayName != null && !displayName.isEmpty(); + case FacesConfigPackage.CONVERTER_TYPE__ICON: + return icon != null && !icon.isEmpty(); + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_ID: + return converterId != null; + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_FOR_CLASS: + return converterForClass != null; + case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_CLASS: + return converterClass != null; + case FacesConfigPackage.CONVERTER_TYPE__ATTRIBUTE: + return attribute != null && !attribute.isEmpty(); + case FacesConfigPackage.CONVERTER_TYPE__PROPERTY: + return property != null && !property.isEmpty(); + case FacesConfigPackage.CONVERTER_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ConverterTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultLocaleTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultLocaleTypeImpl.java new file mode 100644 index 000000000..359edf6fe --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultLocaleTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Default Locale Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DefaultLocaleTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DefaultLocaleTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DefaultLocaleTypeImpl extends EObjectImpl implements DefaultLocaleType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DefaultLocaleTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getDefaultLocaleType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.DEFAULT_LOCALE_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.DEFAULT_LOCALE_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DEFAULT_LOCALE_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.DEFAULT_LOCALE_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DEFAULT_LOCALE_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.DEFAULT_LOCALE_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DEFAULT_LOCALE_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.DEFAULT_LOCALE_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DEFAULT_LOCALE_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.DEFAULT_LOCALE_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //DefaultLocaleTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultRenderKitIdTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultRenderKitIdTypeImpl.java new file mode 100644 index 000000000..5e62be35f --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultRenderKitIdTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Default Render Kit Id Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DefaultRenderKitIdTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DefaultRenderKitIdTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DefaultRenderKitIdTypeImpl extends EObjectImpl implements DefaultRenderKitIdType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DefaultRenderKitIdTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getDefaultRenderKitIdType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //DefaultRenderKitIdTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultValueTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultValueTypeImpl.java new file mode 100644 index 000000000..32cf1c0c4 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultValueTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Default Value Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DefaultValueTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DefaultValueTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DefaultValueTypeImpl extends EObjectImpl implements DefaultValueType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DefaultValueTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getDefaultValueType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.DEFAULT_VALUE_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.DEFAULT_VALUE_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DEFAULT_VALUE_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.DEFAULT_VALUE_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DEFAULT_VALUE_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.DEFAULT_VALUE_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DEFAULT_VALUE_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.DEFAULT_VALUE_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DEFAULT_VALUE_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.DEFAULT_VALUE_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //DefaultValueTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DescriptionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DescriptionTypeImpl.java new file mode 100644 index 000000000..03a6d3601 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DescriptionTypeImpl.java @@ -0,0 +1,282 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Description Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DescriptionTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DescriptionTypeImpl#getLang <em>Lang</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DescriptionTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DescriptionTypeImpl extends EObjectImpl implements DescriptionType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getLang() <em>Lang</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLang() + * @generated + * @ordered + */ + protected static final String LANG_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLang() + * @generated + * @ordered + */ + protected String lang = LANG_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DescriptionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getDescriptionType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.DESCRIPTION_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLang() { + return lang; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setLang(String newLang) { + String oldLang = lang; + lang = newLang; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.DESCRIPTION_TYPE__LANG, oldLang, lang)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.DESCRIPTION_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DESCRIPTION_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.DESCRIPTION_TYPE__LANG: + return getLang(); + case FacesConfigPackage.DESCRIPTION_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DESCRIPTION_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.DESCRIPTION_TYPE__LANG: + setLang((String)newValue); + return; + case FacesConfigPackage.DESCRIPTION_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DESCRIPTION_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.DESCRIPTION_TYPE__LANG: + setLang(LANG_EDEFAULT); + return; + case FacesConfigPackage.DESCRIPTION_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DESCRIPTION_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.DESCRIPTION_TYPE__LANG: + return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang); + case FacesConfigPackage.DESCRIPTION_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", lang: "); + result.append(lang); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //DescriptionTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DisplayNameTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DisplayNameTypeImpl.java new file mode 100644 index 000000000..0103976e9 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DisplayNameTypeImpl.java @@ -0,0 +1,282 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Display Name Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DisplayNameTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DisplayNameTypeImpl#getLang <em>Lang</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DisplayNameTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DisplayNameTypeImpl extends EObjectImpl implements DisplayNameType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getLang() <em>Lang</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLang() + * @generated + * @ordered + */ + protected static final String LANG_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLang() + * @generated + * @ordered + */ + protected String lang = LANG_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DisplayNameTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getDisplayNameType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.DISPLAY_NAME_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLang() { + return lang; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setLang(String newLang) { + String oldLang = lang; + lang = newLang; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.DISPLAY_NAME_TYPE__LANG, oldLang, lang)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.DISPLAY_NAME_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DISPLAY_NAME_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.DISPLAY_NAME_TYPE__LANG: + return getLang(); + case FacesConfigPackage.DISPLAY_NAME_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DISPLAY_NAME_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.DISPLAY_NAME_TYPE__LANG: + setLang((String)newValue); + return; + case FacesConfigPackage.DISPLAY_NAME_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DISPLAY_NAME_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.DISPLAY_NAME_TYPE__LANG: + setLang(LANG_EDEFAULT); + return; + case FacesConfigPackage.DISPLAY_NAME_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DISPLAY_NAME_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.DISPLAY_NAME_TYPE__LANG: + return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang); + case FacesConfigPackage.DISPLAY_NAME_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", lang: "); + result.append(lang); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //DisplayNameTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DocumentRootImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DocumentRootImpl.java new file mode 100644 index 000000000..958156864 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DocumentRootImpl.java @@ -0,0 +1,3536 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EMap; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.EcorePackage; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl; + +import org.eclipse.emf.ecore.util.BasicFeatureMap; +import org.eclipse.emf.ecore.util.EcoreEMap; +import org.eclipse.emf.ecore.util.FeatureMap; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType; +import org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.ApplicationType; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterType; +import org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType; +import org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType; +import org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.FacetNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacetType; +import org.eclipse.jst.jsf.facesconfig.emf.FactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.FromActionType; +import org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType; +import org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.KeyClassType; +import org.eclipse.jst.jsf.facesconfig.emf.KeyType; +import org.eclipse.jst.jsf.facesconfig.emf.LargeIconType; +import org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.LifecycleType; +import org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType; +import org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType; +import org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType; +import org.eclipse.jst.jsf.facesconfig.emf.MapEntryType; +import org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType; +import org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType; +import org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType; +import org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType; +import org.eclipse.jst.jsf.facesconfig.emf.NullValueType; +import org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyType; +import org.eclipse.jst.jsf.facesconfig.emf.RedirectType; +import org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType; +import org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitType; +import org.eclipse.jst.jsf.facesconfig.emf.RendererClassType; +import org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.RendererType; +import org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType; +import org.eclipse.jst.jsf.facesconfig.emf.SmallIconType; +import org.eclipse.jst.jsf.facesconfig.emf.StateManagerType; +import org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType; +import org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType; +import org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType; +import org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType; +import org.eclipse.jst.jsf.facesconfig.emf.ValidatorType; +import org.eclipse.jst.jsf.facesconfig.emf.ValueClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ValueType; +import org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType; +import org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Document Root</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getActionListener <em>Action Listener</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getApplication <em>Application</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getApplicationFactory <em>Application Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getAttribute <em>Attribute</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getAttributeClass <em>Attribute Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getAttributeExtension <em>Attribute Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getAttributeName <em>Attribute Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getComponent <em>Component</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getComponentClass <em>Component Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getComponentExtension <em>Component Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getComponentFamily <em>Component Family</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getComponentType <em>Component Type</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getConverter <em>Converter</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getConverterClass <em>Converter Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getConverterForClass <em>Converter For Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getConverterId <em>Converter Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getDefaultLocale <em>Default Locale</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getDefaultRenderKitId <em>Default Render Kit Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getDefaultValue <em>Default Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getFacesConfig <em>Faces Config</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getFacesContextFactory <em>Faces Context Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getFacet <em>Facet</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getFacetExtension <em>Facet Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getFacetName <em>Facet Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getFactory <em>Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getFromAction <em>From Action</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getFromOutcome <em>From Outcome</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getFromViewId <em>From View Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getKey <em>Key</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getKeyClass <em>Key Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getLargeIcon <em>Large Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getLifecycle <em>Lifecycle</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getLifecycleFactory <em>Lifecycle Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getListEntries <em>List Entries</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getLocaleConfig <em>Locale Config</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getManagedBean <em>Managed Bean</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getManagedBeanClass <em>Managed Bean Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getManagedBeanName <em>Managed Bean Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getManagedBeanScope <em>Managed Bean Scope</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getManagedProperty <em>Managed Property</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getMapEntries <em>Map Entries</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getMapEntry <em>Map Entry</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getMessageBundle <em>Message Bundle</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getNavigationCase <em>Navigation Case</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getNavigationHandler <em>Navigation Handler</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getNavigationRule <em>Navigation Rule</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getNullValue <em>Null Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getPhaseListener <em>Phase Listener</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getProperty <em>Property</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getPropertyClass <em>Property Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getPropertyExtension <em>Property Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getPropertyName <em>Property Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getPropertyResolver <em>Property Resolver</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getRedirect <em>Redirect</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getReferencedBean <em>Referenced Bean</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getReferencedBeanClass <em>Referenced Bean Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getReferencedBeanName <em>Referenced Bean Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getRenderer <em>Renderer</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getRendererClass <em>Renderer Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getRendererExtension <em>Renderer Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getRendererType <em>Renderer Type</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getRenderKit <em>Render Kit</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getRenderKitClass <em>Render Kit Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getRenderKitFactory <em>Render Kit Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getRenderKitId <em>Render Kit Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getSmallIcon <em>Small Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getStateManager <em>State Manager</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getSuggestedValue <em>Suggested Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getSupportedLocale <em>Supported Locale</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getToViewId <em>To View Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getValidator <em>Validator</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getValidatorClass <em>Validator Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getValidatorId <em>Validator Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getValue <em>Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getValueClass <em>Value Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getVariableResolver <em>Variable Resolver</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getViewHandler <em>View Handler</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class DocumentRootImpl extends EObjectImpl implements DocumentRoot { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMixed() + * @generated + * @ordered + */ + protected FeatureMap mixed = null; + + /** + * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getXMLNSPrefixMap() + * @generated + * @ordered + */ + protected EMap xMLNSPrefixMap = null; + + /** + * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getXSISchemaLocation() + * @generated + * @ordered + */ + protected EMap xSISchemaLocation = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected DocumentRootImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getDocumentRoot(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getMixed() { + if (mixed == null) { + mixed = new BasicFeatureMap(this, FacesConfigPackage.DOCUMENT_ROOT__MIXED); + } + return mixed; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EMap getXMLNSPrefixMap() { + if (xMLNSPrefixMap == null) { + xMLNSPrefixMap = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, FacesConfigPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP); + } + return xMLNSPrefixMap; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EMap getXSISchemaLocation() { + if (xSISchemaLocation == null) { + xSISchemaLocation = new EcoreEMap(EcorePackage.eINSTANCE.getEStringToStringMapEntry(), EStringToStringMapEntryImpl.class, this, FacesConfigPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION); + } + return xSISchemaLocation; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActionListenerType getActionListener() { + return (ActionListenerType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ActionListener(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetActionListener(ActionListenerType newActionListener, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ActionListener(), newActionListener, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setActionListener(ActionListenerType newActionListener) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ActionListener(), newActionListener); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ApplicationType getApplication() { + return (ApplicationType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Application(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetApplication(ApplicationType newApplication, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Application(), newApplication, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setApplication(ApplicationType newApplication) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Application(), newApplication); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ApplicationFactoryType getApplicationFactory() { + return (ApplicationFactoryType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ApplicationFactory(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetApplicationFactory(ApplicationFactoryType newApplicationFactory, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ApplicationFactory(), newApplicationFactory, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setApplicationFactory(ApplicationFactoryType newApplicationFactory) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ApplicationFactory(), newApplicationFactory); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AttributeType getAttribute() { + return (AttributeType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Attribute(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetAttribute(AttributeType newAttribute, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Attribute(), newAttribute, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setAttribute(AttributeType newAttribute) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Attribute(), newAttribute); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AttributeClassType getAttributeClass() { + return (AttributeClassType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_AttributeClass(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetAttributeClass(AttributeClassType newAttributeClass, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_AttributeClass(), newAttributeClass, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setAttributeClass(AttributeClassType newAttributeClass) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_AttributeClass(), newAttributeClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AttributeExtensionType getAttributeExtension() { + return (AttributeExtensionType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_AttributeExtension(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetAttributeExtension(AttributeExtensionType newAttributeExtension, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_AttributeExtension(), newAttributeExtension, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setAttributeExtension(AttributeExtensionType newAttributeExtension) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_AttributeExtension(), newAttributeExtension); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AttributeNameType getAttributeName() { + return (AttributeNameType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_AttributeName(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetAttributeName(AttributeNameType newAttributeName, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_AttributeName(), newAttributeName, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setAttributeName(AttributeNameType newAttributeName) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_AttributeName(), newAttributeName); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComponentType getComponent() { + return (ComponentType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Component(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetComponent(ComponentType newComponent, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Component(), newComponent, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setComponent(ComponentType newComponent) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Component(), newComponent); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComponentClassType getComponentClass() { + return (ComponentClassType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ComponentClass(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetComponentClass(ComponentClassType newComponentClass, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ComponentClass(), newComponentClass, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setComponentClass(ComponentClassType newComponentClass) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ComponentClass(), newComponentClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComponentExtensionType getComponentExtension() { + return (ComponentExtensionType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ComponentExtension(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetComponentExtension(ComponentExtensionType newComponentExtension, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ComponentExtension(), newComponentExtension, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setComponentExtension(ComponentExtensionType newComponentExtension) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ComponentExtension(), newComponentExtension); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComponentFamilyType getComponentFamily() { + return (ComponentFamilyType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ComponentFamily(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetComponentFamily(ComponentFamilyType newComponentFamily, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ComponentFamily(), newComponentFamily, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setComponentFamily(ComponentFamilyType newComponentFamily) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ComponentFamily(), newComponentFamily); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComponentTypeType getComponentType() { + return (ComponentTypeType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ComponentType(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetComponentType(ComponentTypeType newComponentType, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ComponentType(), newComponentType, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setComponentType(ComponentTypeType newComponentType) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ComponentType(), newComponentType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConverterType getConverter() { + return (ConverterType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Converter(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetConverter(ConverterType newConverter, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Converter(), newConverter, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setConverter(ConverterType newConverter) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Converter(), newConverter); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConverterClassType getConverterClass() { + return (ConverterClassType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ConverterClass(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetConverterClass(ConverterClassType newConverterClass, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ConverterClass(), newConverterClass, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setConverterClass(ConverterClassType newConverterClass) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ConverterClass(), newConverterClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConverterForClassType getConverterForClass() { + return (ConverterForClassType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ConverterForClass(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetConverterForClass(ConverterForClassType newConverterForClass, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ConverterForClass(), newConverterForClass, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setConverterForClass(ConverterForClassType newConverterForClass) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ConverterForClass(), newConverterForClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConverterIdType getConverterId() { + return (ConverterIdType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ConverterId(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetConverterId(ConverterIdType newConverterId, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ConverterId(), newConverterId, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setConverterId(ConverterIdType newConverterId) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ConverterId(), newConverterId); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DefaultLocaleType getDefaultLocale() { + return (DefaultLocaleType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_DefaultLocale(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetDefaultLocale(DefaultLocaleType newDefaultLocale, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_DefaultLocale(), newDefaultLocale, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDefaultLocale(DefaultLocaleType newDefaultLocale) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_DefaultLocale(), newDefaultLocale); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DefaultRenderKitIdType getDefaultRenderKitId() { + return (DefaultRenderKitIdType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_DefaultRenderKitId(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetDefaultRenderKitId(DefaultRenderKitIdType newDefaultRenderKitId, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_DefaultRenderKitId(), newDefaultRenderKitId, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDefaultRenderKitId(DefaultRenderKitIdType newDefaultRenderKitId) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_DefaultRenderKitId(), newDefaultRenderKitId); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DefaultValueType getDefaultValue() { + return (DefaultValueType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_DefaultValue(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetDefaultValue(DefaultValueType newDefaultValue, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_DefaultValue(), newDefaultValue, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDefaultValue(DefaultValueType newDefaultValue) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_DefaultValue(), newDefaultValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DescriptionType getDescription() { + return (DescriptionType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Description(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetDescription(DescriptionType newDescription, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Description(), newDescription, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDescription(DescriptionType newDescription) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Description(), newDescription); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DisplayNameType getDisplayName() { + return (DisplayNameType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_DisplayName(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetDisplayName(DisplayNameType newDisplayName, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_DisplayName(), newDisplayName, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDisplayName(DisplayNameType newDisplayName) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_DisplayName(), newDisplayName); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacesConfigType getFacesConfig() { + return (FacesConfigType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_FacesConfig(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFacesConfig(FacesConfigType newFacesConfig, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_FacesConfig(), newFacesConfig, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFacesConfig(FacesConfigType newFacesConfig) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_FacesConfig(), newFacesConfig); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacesContextFactoryType getFacesContextFactory() { + return (FacesContextFactoryType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_FacesContextFactory(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFacesContextFactory(FacesContextFactoryType newFacesContextFactory, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_FacesContextFactory(), newFacesContextFactory, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFacesContextFactory(FacesContextFactoryType newFacesContextFactory) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_FacesContextFactory(), newFacesContextFactory); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacetType getFacet() { + return (FacetType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Facet(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFacet(FacetType newFacet, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Facet(), newFacet, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFacet(FacetType newFacet) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Facet(), newFacet); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacetExtensionType getFacetExtension() { + return (FacetExtensionType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_FacetExtension(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFacetExtension(FacetExtensionType newFacetExtension, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_FacetExtension(), newFacetExtension, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFacetExtension(FacetExtensionType newFacetExtension) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_FacetExtension(), newFacetExtension); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacetNameType getFacetName() { + return (FacetNameType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_FacetName(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFacetName(FacetNameType newFacetName, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_FacetName(), newFacetName, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFacetName(FacetNameType newFacetName) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_FacetName(), newFacetName); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FactoryType getFactory() { + return (FactoryType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Factory(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFactory(FactoryType newFactory, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Factory(), newFactory, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFactory(FactoryType newFactory) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Factory(), newFactory); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FromActionType getFromAction() { + return (FromActionType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_FromAction(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFromAction(FromActionType newFromAction, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_FromAction(), newFromAction, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFromAction(FromActionType newFromAction) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_FromAction(), newFromAction); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FromOutcomeType getFromOutcome() { + return (FromOutcomeType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_FromOutcome(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFromOutcome(FromOutcomeType newFromOutcome, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_FromOutcome(), newFromOutcome, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFromOutcome(FromOutcomeType newFromOutcome) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_FromOutcome(), newFromOutcome); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FromViewIdType getFromViewId() { + return (FromViewIdType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_FromViewId(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFromViewId(FromViewIdType newFromViewId, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_FromViewId(), newFromViewId, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFromViewId(FromViewIdType newFromViewId) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_FromViewId(), newFromViewId); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IconType getIcon() { + return (IconType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Icon(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetIcon(IconType newIcon, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Icon(), newIcon, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setIcon(IconType newIcon) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Icon(), newIcon); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public KeyType getKey() { + return (KeyType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Key(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetKey(KeyType newKey, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Key(), newKey, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setKey(KeyType newKey) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Key(), newKey); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public KeyClassType getKeyClass() { + return (KeyClassType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_KeyClass(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetKeyClass(KeyClassType newKeyClass, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_KeyClass(), newKeyClass, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setKeyClass(KeyClassType newKeyClass) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_KeyClass(), newKeyClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public LargeIconType getLargeIcon() { + return (LargeIconType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_LargeIcon(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetLargeIcon(LargeIconType newLargeIcon, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_LargeIcon(), newLargeIcon, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setLargeIcon(LargeIconType newLargeIcon) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_LargeIcon(), newLargeIcon); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public LifecycleType getLifecycle() { + return (LifecycleType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Lifecycle(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetLifecycle(LifecycleType newLifecycle, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Lifecycle(), newLifecycle, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setLifecycle(LifecycleType newLifecycle) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Lifecycle(), newLifecycle); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public LifecycleFactoryType getLifecycleFactory() { + return (LifecycleFactoryType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_LifecycleFactory(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetLifecycleFactory(LifecycleFactoryType newLifecycleFactory, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_LifecycleFactory(), newLifecycleFactory, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setLifecycleFactory(LifecycleFactoryType newLifecycleFactory) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_LifecycleFactory(), newLifecycleFactory); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ListEntriesType getListEntries() { + return (ListEntriesType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ListEntries(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetListEntries(ListEntriesType newListEntries, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ListEntries(), newListEntries, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setListEntries(ListEntriesType newListEntries) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ListEntries(), newListEntries); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public LocaleConfigType getLocaleConfig() { + return (LocaleConfigType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_LocaleConfig(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetLocaleConfig(LocaleConfigType newLocaleConfig, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_LocaleConfig(), newLocaleConfig, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setLocaleConfig(LocaleConfigType newLocaleConfig) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_LocaleConfig(), newLocaleConfig); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ManagedBeanType getManagedBean() { + return (ManagedBeanType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedBean(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetManagedBean(ManagedBeanType newManagedBean, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedBean(), newManagedBean, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setManagedBean(ManagedBeanType newManagedBean) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedBean(), newManagedBean); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ManagedBeanClassType getManagedBeanClass() { + return (ManagedBeanClassType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedBeanClass(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetManagedBeanClass(ManagedBeanClassType newManagedBeanClass, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedBeanClass(), newManagedBeanClass, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setManagedBeanClass(ManagedBeanClassType newManagedBeanClass) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedBeanClass(), newManagedBeanClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ManagedBeanNameType getManagedBeanName() { + return (ManagedBeanNameType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedBeanName(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetManagedBeanName(ManagedBeanNameType newManagedBeanName, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedBeanName(), newManagedBeanName, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setManagedBeanName(ManagedBeanNameType newManagedBeanName) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedBeanName(), newManagedBeanName); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ManagedBeanScopeType getManagedBeanScope() { + return (ManagedBeanScopeType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedBeanScope(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetManagedBeanScope(ManagedBeanScopeType newManagedBeanScope, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedBeanScope(), newManagedBeanScope, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setManagedBeanScope(ManagedBeanScopeType newManagedBeanScope) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedBeanScope(), newManagedBeanScope); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ManagedPropertyType getManagedProperty() { + return (ManagedPropertyType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedProperty(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetManagedProperty(ManagedPropertyType newManagedProperty, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedProperty(), newManagedProperty, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setManagedProperty(ManagedPropertyType newManagedProperty) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ManagedProperty(), newManagedProperty); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MapEntriesType getMapEntries() { + return (MapEntriesType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_MapEntries(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetMapEntries(MapEntriesType newMapEntries, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_MapEntries(), newMapEntries, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMapEntries(MapEntriesType newMapEntries) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_MapEntries(), newMapEntries); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MapEntryType getMapEntry() { + return (MapEntryType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_MapEntry(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetMapEntry(MapEntryType newMapEntry, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_MapEntry(), newMapEntry, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMapEntry(MapEntryType newMapEntry) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_MapEntry(), newMapEntry); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MessageBundleType getMessageBundle() { + return (MessageBundleType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_MessageBundle(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetMessageBundle(MessageBundleType newMessageBundle, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_MessageBundle(), newMessageBundle, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMessageBundle(MessageBundleType newMessageBundle) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_MessageBundle(), newMessageBundle); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NavigationCaseType getNavigationCase() { + return (NavigationCaseType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_NavigationCase(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetNavigationCase(NavigationCaseType newNavigationCase, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_NavigationCase(), newNavigationCase, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setNavigationCase(NavigationCaseType newNavigationCase) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_NavigationCase(), newNavigationCase); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NavigationHandlerType getNavigationHandler() { + return (NavigationHandlerType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_NavigationHandler(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetNavigationHandler(NavigationHandlerType newNavigationHandler, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_NavigationHandler(), newNavigationHandler, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setNavigationHandler(NavigationHandlerType newNavigationHandler) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_NavigationHandler(), newNavigationHandler); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NavigationRuleType getNavigationRule() { + return (NavigationRuleType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_NavigationRule(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetNavigationRule(NavigationRuleType newNavigationRule, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_NavigationRule(), newNavigationRule, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setNavigationRule(NavigationRuleType newNavigationRule) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_NavigationRule(), newNavigationRule); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NullValueType getNullValue() { + return (NullValueType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_NullValue(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetNullValue(NullValueType newNullValue, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_NullValue(), newNullValue, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setNullValue(NullValueType newNullValue) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_NullValue(), newNullValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PhaseListenerType getPhaseListener() { + return (PhaseListenerType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_PhaseListener(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPhaseListener(PhaseListenerType newPhaseListener, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_PhaseListener(), newPhaseListener, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPhaseListener(PhaseListenerType newPhaseListener) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_PhaseListener(), newPhaseListener); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyType getProperty() { + return (PropertyType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Property(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetProperty(PropertyType newProperty, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Property(), newProperty, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setProperty(PropertyType newProperty) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Property(), newProperty); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyClassType getPropertyClass() { + return (PropertyClassType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_PropertyClass(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPropertyClass(PropertyClassType newPropertyClass, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_PropertyClass(), newPropertyClass, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPropertyClass(PropertyClassType newPropertyClass) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_PropertyClass(), newPropertyClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyExtensionType getPropertyExtension() { + return (PropertyExtensionType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_PropertyExtension(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPropertyExtension(PropertyExtensionType newPropertyExtension, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_PropertyExtension(), newPropertyExtension, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPropertyExtension(PropertyExtensionType newPropertyExtension) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_PropertyExtension(), newPropertyExtension); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyNameType getPropertyName() { + return (PropertyNameType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_PropertyName(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPropertyName(PropertyNameType newPropertyName, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_PropertyName(), newPropertyName, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPropertyName(PropertyNameType newPropertyName) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_PropertyName(), newPropertyName); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyResolverType getPropertyResolver() { + return (PropertyResolverType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_PropertyResolver(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPropertyResolver(PropertyResolverType newPropertyResolver, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_PropertyResolver(), newPropertyResolver, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPropertyResolver(PropertyResolverType newPropertyResolver) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_PropertyResolver(), newPropertyResolver); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RedirectType getRedirect() { + return (RedirectType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Redirect(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRedirect(RedirectType newRedirect, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Redirect(), newRedirect, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRedirect(RedirectType newRedirect) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Redirect(), newRedirect); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ReferencedBeanType getReferencedBean() { + return (ReferencedBeanType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ReferencedBean(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetReferencedBean(ReferencedBeanType newReferencedBean, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ReferencedBean(), newReferencedBean, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setReferencedBean(ReferencedBeanType newReferencedBean) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ReferencedBean(), newReferencedBean); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ReferencedBeanClassType getReferencedBeanClass() { + return (ReferencedBeanClassType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ReferencedBeanClass(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetReferencedBeanClass(ReferencedBeanClassType newReferencedBeanClass, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ReferencedBeanClass(), newReferencedBeanClass, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setReferencedBeanClass(ReferencedBeanClassType newReferencedBeanClass) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ReferencedBeanClass(), newReferencedBeanClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ReferencedBeanNameType getReferencedBeanName() { + return (ReferencedBeanNameType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ReferencedBeanName(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetReferencedBeanName(ReferencedBeanNameType newReferencedBeanName, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ReferencedBeanName(), newReferencedBeanName, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setReferencedBeanName(ReferencedBeanNameType newReferencedBeanName) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ReferencedBeanName(), newReferencedBeanName); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RendererType getRenderer() { + return (RendererType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Renderer(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRenderer(RendererType newRenderer, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Renderer(), newRenderer, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRenderer(RendererType newRenderer) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Renderer(), newRenderer); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RendererClassType getRendererClass() { + return (RendererClassType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_RendererClass(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRendererClass(RendererClassType newRendererClass, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_RendererClass(), newRendererClass, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRendererClass(RendererClassType newRendererClass) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_RendererClass(), newRendererClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RendererExtensionType getRendererExtension() { + return (RendererExtensionType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_RendererExtension(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRendererExtension(RendererExtensionType newRendererExtension, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_RendererExtension(), newRendererExtension, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRendererExtension(RendererExtensionType newRendererExtension) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_RendererExtension(), newRendererExtension); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RendererTypeType getRendererType() { + return (RendererTypeType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_RendererType(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRendererType(RendererTypeType newRendererType, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_RendererType(), newRendererType, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRendererType(RendererTypeType newRendererType) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_RendererType(), newRendererType); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RenderKitType getRenderKit() { + return (RenderKitType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_RenderKit(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRenderKit(RenderKitType newRenderKit, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_RenderKit(), newRenderKit, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRenderKit(RenderKitType newRenderKit) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_RenderKit(), newRenderKit); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RenderKitClassType getRenderKitClass() { + return (RenderKitClassType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_RenderKitClass(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRenderKitClass(RenderKitClassType newRenderKitClass, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_RenderKitClass(), newRenderKitClass, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRenderKitClass(RenderKitClassType newRenderKitClass) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_RenderKitClass(), newRenderKitClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RenderKitFactoryType getRenderKitFactory() { + return (RenderKitFactoryType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_RenderKitFactory(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRenderKitFactory(RenderKitFactoryType newRenderKitFactory, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_RenderKitFactory(), newRenderKitFactory, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRenderKitFactory(RenderKitFactoryType newRenderKitFactory) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_RenderKitFactory(), newRenderKitFactory); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RenderKitIdType getRenderKitId() { + return (RenderKitIdType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_RenderKitId(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRenderKitId(RenderKitIdType newRenderKitId, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_RenderKitId(), newRenderKitId, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRenderKitId(RenderKitIdType newRenderKitId) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_RenderKitId(), newRenderKitId); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SmallIconType getSmallIcon() { + return (SmallIconType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_SmallIcon(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetSmallIcon(SmallIconType newSmallIcon, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_SmallIcon(), newSmallIcon, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSmallIcon(SmallIconType newSmallIcon) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_SmallIcon(), newSmallIcon); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public StateManagerType getStateManager() { + return (StateManagerType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_StateManager(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetStateManager(StateManagerType newStateManager, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_StateManager(), newStateManager, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setStateManager(StateManagerType newStateManager) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_StateManager(), newStateManager); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SuggestedValueType getSuggestedValue() { + return (SuggestedValueType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_SuggestedValue(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetSuggestedValue(SuggestedValueType newSuggestedValue, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_SuggestedValue(), newSuggestedValue, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSuggestedValue(SuggestedValueType newSuggestedValue) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_SuggestedValue(), newSuggestedValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SupportedLocaleType getSupportedLocale() { + return (SupportedLocaleType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_SupportedLocale(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetSupportedLocale(SupportedLocaleType newSupportedLocale, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_SupportedLocale(), newSupportedLocale, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSupportedLocale(SupportedLocaleType newSupportedLocale) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_SupportedLocale(), newSupportedLocale); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ToViewIdType getToViewId() { + return (ToViewIdType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ToViewId(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetToViewId(ToViewIdType newToViewId, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ToViewId(), newToViewId, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setToViewId(ToViewIdType newToViewId) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ToViewId(), newToViewId); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValidatorType getValidator() { + return (ValidatorType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Validator(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetValidator(ValidatorType newValidator, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Validator(), newValidator, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValidator(ValidatorType newValidator) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Validator(), newValidator); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValidatorClassType getValidatorClass() { + return (ValidatorClassType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ValidatorClass(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetValidatorClass(ValidatorClassType newValidatorClass, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ValidatorClass(), newValidatorClass, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValidatorClass(ValidatorClassType newValidatorClass) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ValidatorClass(), newValidatorClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValidatorIdType getValidatorId() { + return (ValidatorIdType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ValidatorId(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetValidatorId(ValidatorIdType newValidatorId, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ValidatorId(), newValidatorId, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValidatorId(ValidatorIdType newValidatorId) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ValidatorId(), newValidatorId); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValueType getValue() { + return (ValueType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_Value(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetValue(ValueType newValue, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_Value(), newValue, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValue(ValueType newValue) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_Value(), newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValueClassType getValueClass() { + return (ValueClassType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ValueClass(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetValueClass(ValueClassType newValueClass, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ValueClass(), newValueClass, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValueClass(ValueClassType newValueClass) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ValueClass(), newValueClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public VariableResolverType getVariableResolver() { + return (VariableResolverType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_VariableResolver(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetVariableResolver(VariableResolverType newVariableResolver, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_VariableResolver(), newVariableResolver, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setVariableResolver(VariableResolverType newVariableResolver) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_VariableResolver(), newVariableResolver); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ViewHandlerType getViewHandler() { + return (ViewHandlerType)getMixed().get(FacesConfigPackage.eINSTANCE.getDocumentRoot_ViewHandler(), true); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetViewHandler(ViewHandlerType newViewHandler, NotificationChain msgs) { + return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.eINSTANCE.getDocumentRoot_ViewHandler(), newViewHandler, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setViewHandler(ViewHandlerType newViewHandler) { + ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.eINSTANCE.getDocumentRoot_ViewHandler(), newViewHandler); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.DOCUMENT_ROOT__MIXED: + return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: + return ((InternalEList)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: + return ((InternalEList)getXSISchemaLocation()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__ACTION_LISTENER: + return basicSetActionListener(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__APPLICATION: + return basicSetApplication(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__APPLICATION_FACTORY: + return basicSetApplicationFactory(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE: + return basicSetAttribute(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_CLASS: + return basicSetAttributeClass(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_EXTENSION: + return basicSetAttributeExtension(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_NAME: + return basicSetAttributeName(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT: + return basicSetComponent(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_CLASS: + return basicSetComponentClass(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_EXTENSION: + return basicSetComponentExtension(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_FAMILY: + return basicSetComponentFamily(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_TYPE: + return basicSetComponentType(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER: + return basicSetConverter(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_CLASS: + return basicSetConverterClass(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_FOR_CLASS: + return basicSetConverterForClass(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_ID: + return basicSetConverterId(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_LOCALE: + return basicSetDefaultLocale(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_RENDER_KIT_ID: + return basicSetDefaultRenderKitId(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_VALUE: + return basicSetDefaultValue(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__DESCRIPTION: + return basicSetDescription(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__DISPLAY_NAME: + return basicSetDisplayName(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__FACES_CONFIG: + return basicSetFacesConfig(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__FACES_CONTEXT_FACTORY: + return basicSetFacesContextFactory(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__FACET: + return basicSetFacet(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__FACET_EXTENSION: + return basicSetFacetExtension(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__FACET_NAME: + return basicSetFacetName(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__FACTORY: + return basicSetFactory(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__FROM_ACTION: + return basicSetFromAction(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__FROM_OUTCOME: + return basicSetFromOutcome(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__FROM_VIEW_ID: + return basicSetFromViewId(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__ICON: + return basicSetIcon(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__KEY: + return basicSetKey(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__KEY_CLASS: + return basicSetKeyClass(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__LARGE_ICON: + return basicSetLargeIcon(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__LIFECYCLE: + return basicSetLifecycle(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__LIFECYCLE_FACTORY: + return basicSetLifecycleFactory(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__LIST_ENTRIES: + return basicSetListEntries(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__LOCALE_CONFIG: + return basicSetLocaleConfig(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN: + return basicSetManagedBean(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_CLASS: + return basicSetManagedBeanClass(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_NAME: + return basicSetManagedBeanName(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_SCOPE: + return basicSetManagedBeanScope(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_PROPERTY: + return basicSetManagedProperty(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__MAP_ENTRIES: + return basicSetMapEntries(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__MAP_ENTRY: + return basicSetMapEntry(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__MESSAGE_BUNDLE: + return basicSetMessageBundle(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_CASE: + return basicSetNavigationCase(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_HANDLER: + return basicSetNavigationHandler(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_RULE: + return basicSetNavigationRule(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__NULL_VALUE: + return basicSetNullValue(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__PHASE_LISTENER: + return basicSetPhaseListener(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY: + return basicSetProperty(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_CLASS: + return basicSetPropertyClass(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_EXTENSION: + return basicSetPropertyExtension(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_NAME: + return basicSetPropertyName(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_RESOLVER: + return basicSetPropertyResolver(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__REDIRECT: + return basicSetRedirect(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN: + return basicSetReferencedBean(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN_CLASS: + return basicSetReferencedBeanClass(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN_NAME: + return basicSetReferencedBeanName(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER: + return basicSetRenderer(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_CLASS: + return basicSetRendererClass(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_EXTENSION: + return basicSetRendererExtension(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_TYPE: + return basicSetRendererType(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT: + return basicSetRenderKit(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_CLASS: + return basicSetRenderKitClass(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_FACTORY: + return basicSetRenderKitFactory(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_ID: + return basicSetRenderKitId(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__SMALL_ICON: + return basicSetSmallIcon(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__STATE_MANAGER: + return basicSetStateManager(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__SUGGESTED_VALUE: + return basicSetSuggestedValue(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__SUPPORTED_LOCALE: + return basicSetSupportedLocale(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__TO_VIEW_ID: + return basicSetToViewId(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR: + return basicSetValidator(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR_CLASS: + return basicSetValidatorClass(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR_ID: + return basicSetValidatorId(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__VALUE: + return basicSetValue(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__VALUE_CLASS: + return basicSetValueClass(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__VARIABLE_RESOLVER: + return basicSetVariableResolver(null, msgs); + case FacesConfigPackage.DOCUMENT_ROOT__VIEW_HANDLER: + return basicSetViewHandler(null, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DOCUMENT_ROOT__MIXED: + return getMixed(); + case FacesConfigPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: + return getXMLNSPrefixMap(); + case FacesConfigPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: + return getXSISchemaLocation(); + case FacesConfigPackage.DOCUMENT_ROOT__ACTION_LISTENER: + return getActionListener(); + case FacesConfigPackage.DOCUMENT_ROOT__APPLICATION: + return getApplication(); + case FacesConfigPackage.DOCUMENT_ROOT__APPLICATION_FACTORY: + return getApplicationFactory(); + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE: + return getAttribute(); + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_CLASS: + return getAttributeClass(); + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_EXTENSION: + return getAttributeExtension(); + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_NAME: + return getAttributeName(); + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT: + return getComponent(); + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_CLASS: + return getComponentClass(); + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_EXTENSION: + return getComponentExtension(); + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_FAMILY: + return getComponentFamily(); + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_TYPE: + return getComponentType(); + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER: + return getConverter(); + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_CLASS: + return getConverterClass(); + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_FOR_CLASS: + return getConverterForClass(); + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_ID: + return getConverterId(); + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_LOCALE: + return getDefaultLocale(); + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_RENDER_KIT_ID: + return getDefaultRenderKitId(); + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_VALUE: + return getDefaultValue(); + case FacesConfigPackage.DOCUMENT_ROOT__DESCRIPTION: + return getDescription(); + case FacesConfigPackage.DOCUMENT_ROOT__DISPLAY_NAME: + return getDisplayName(); + case FacesConfigPackage.DOCUMENT_ROOT__FACES_CONFIG: + return getFacesConfig(); + case FacesConfigPackage.DOCUMENT_ROOT__FACES_CONTEXT_FACTORY: + return getFacesContextFactory(); + case FacesConfigPackage.DOCUMENT_ROOT__FACET: + return getFacet(); + case FacesConfigPackage.DOCUMENT_ROOT__FACET_EXTENSION: + return getFacetExtension(); + case FacesConfigPackage.DOCUMENT_ROOT__FACET_NAME: + return getFacetName(); + case FacesConfigPackage.DOCUMENT_ROOT__FACTORY: + return getFactory(); + case FacesConfigPackage.DOCUMENT_ROOT__FROM_ACTION: + return getFromAction(); + case FacesConfigPackage.DOCUMENT_ROOT__FROM_OUTCOME: + return getFromOutcome(); + case FacesConfigPackage.DOCUMENT_ROOT__FROM_VIEW_ID: + return getFromViewId(); + case FacesConfigPackage.DOCUMENT_ROOT__ICON: + return getIcon(); + case FacesConfigPackage.DOCUMENT_ROOT__KEY: + return getKey(); + case FacesConfigPackage.DOCUMENT_ROOT__KEY_CLASS: + return getKeyClass(); + case FacesConfigPackage.DOCUMENT_ROOT__LARGE_ICON: + return getLargeIcon(); + case FacesConfigPackage.DOCUMENT_ROOT__LIFECYCLE: + return getLifecycle(); + case FacesConfigPackage.DOCUMENT_ROOT__LIFECYCLE_FACTORY: + return getLifecycleFactory(); + case FacesConfigPackage.DOCUMENT_ROOT__LIST_ENTRIES: + return getListEntries(); + case FacesConfigPackage.DOCUMENT_ROOT__LOCALE_CONFIG: + return getLocaleConfig(); + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN: + return getManagedBean(); + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_CLASS: + return getManagedBeanClass(); + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_NAME: + return getManagedBeanName(); + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_SCOPE: + return getManagedBeanScope(); + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_PROPERTY: + return getManagedProperty(); + case FacesConfigPackage.DOCUMENT_ROOT__MAP_ENTRIES: + return getMapEntries(); + case FacesConfigPackage.DOCUMENT_ROOT__MAP_ENTRY: + return getMapEntry(); + case FacesConfigPackage.DOCUMENT_ROOT__MESSAGE_BUNDLE: + return getMessageBundle(); + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_CASE: + return getNavigationCase(); + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_HANDLER: + return getNavigationHandler(); + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_RULE: + return getNavigationRule(); + case FacesConfigPackage.DOCUMENT_ROOT__NULL_VALUE: + return getNullValue(); + case FacesConfigPackage.DOCUMENT_ROOT__PHASE_LISTENER: + return getPhaseListener(); + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY: + return getProperty(); + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_CLASS: + return getPropertyClass(); + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_EXTENSION: + return getPropertyExtension(); + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_NAME: + return getPropertyName(); + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_RESOLVER: + return getPropertyResolver(); + case FacesConfigPackage.DOCUMENT_ROOT__REDIRECT: + return getRedirect(); + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN: + return getReferencedBean(); + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN_CLASS: + return getReferencedBeanClass(); + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN_NAME: + return getReferencedBeanName(); + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER: + return getRenderer(); + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_CLASS: + return getRendererClass(); + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_EXTENSION: + return getRendererExtension(); + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_TYPE: + return getRendererType(); + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT: + return getRenderKit(); + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_CLASS: + return getRenderKitClass(); + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_FACTORY: + return getRenderKitFactory(); + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_ID: + return getRenderKitId(); + case FacesConfigPackage.DOCUMENT_ROOT__SMALL_ICON: + return getSmallIcon(); + case FacesConfigPackage.DOCUMENT_ROOT__STATE_MANAGER: + return getStateManager(); + case FacesConfigPackage.DOCUMENT_ROOT__SUGGESTED_VALUE: + return getSuggestedValue(); + case FacesConfigPackage.DOCUMENT_ROOT__SUPPORTED_LOCALE: + return getSupportedLocale(); + case FacesConfigPackage.DOCUMENT_ROOT__TO_VIEW_ID: + return getToViewId(); + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR: + return getValidator(); + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR_CLASS: + return getValidatorClass(); + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR_ID: + return getValidatorId(); + case FacesConfigPackage.DOCUMENT_ROOT__VALUE: + return getValue(); + case FacesConfigPackage.DOCUMENT_ROOT__VALUE_CLASS: + return getValueClass(); + case FacesConfigPackage.DOCUMENT_ROOT__VARIABLE_RESOLVER: + return getVariableResolver(); + case FacesConfigPackage.DOCUMENT_ROOT__VIEW_HANDLER: + return getViewHandler(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DOCUMENT_ROOT__MIXED: + getMixed().clear(); + getMixed().addAll((Collection)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: + getXMLNSPrefixMap().clear(); + getXMLNSPrefixMap().addAll((Collection)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: + getXSISchemaLocation().clear(); + getXSISchemaLocation().addAll((Collection)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__ACTION_LISTENER: + setActionListener((ActionListenerType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__APPLICATION: + setApplication((ApplicationType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__APPLICATION_FACTORY: + setApplicationFactory((ApplicationFactoryType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE: + setAttribute((AttributeType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_CLASS: + setAttributeClass((AttributeClassType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_EXTENSION: + setAttributeExtension((AttributeExtensionType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_NAME: + setAttributeName((AttributeNameType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT: + setComponent((ComponentType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_CLASS: + setComponentClass((ComponentClassType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_EXTENSION: + setComponentExtension((ComponentExtensionType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_FAMILY: + setComponentFamily((ComponentFamilyType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_TYPE: + setComponentType((ComponentTypeType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER: + setConverter((ConverterType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_CLASS: + setConverterClass((ConverterClassType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_FOR_CLASS: + setConverterForClass((ConverterForClassType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_ID: + setConverterId((ConverterIdType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_LOCALE: + setDefaultLocale((DefaultLocaleType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_RENDER_KIT_ID: + setDefaultRenderKitId((DefaultRenderKitIdType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_VALUE: + setDefaultValue((DefaultValueType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__DESCRIPTION: + setDescription((DescriptionType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__DISPLAY_NAME: + setDisplayName((DisplayNameType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FACES_CONFIG: + setFacesConfig((FacesConfigType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FACES_CONTEXT_FACTORY: + setFacesContextFactory((FacesContextFactoryType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FACET: + setFacet((FacetType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FACET_EXTENSION: + setFacetExtension((FacetExtensionType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FACET_NAME: + setFacetName((FacetNameType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FACTORY: + setFactory((FactoryType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FROM_ACTION: + setFromAction((FromActionType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FROM_OUTCOME: + setFromOutcome((FromOutcomeType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FROM_VIEW_ID: + setFromViewId((FromViewIdType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__ICON: + setIcon((IconType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__KEY: + setKey((KeyType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__KEY_CLASS: + setKeyClass((KeyClassType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__LARGE_ICON: + setLargeIcon((LargeIconType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__LIFECYCLE: + setLifecycle((LifecycleType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__LIFECYCLE_FACTORY: + setLifecycleFactory((LifecycleFactoryType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__LIST_ENTRIES: + setListEntries((ListEntriesType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__LOCALE_CONFIG: + setLocaleConfig((LocaleConfigType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN: + setManagedBean((ManagedBeanType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_CLASS: + setManagedBeanClass((ManagedBeanClassType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_NAME: + setManagedBeanName((ManagedBeanNameType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_SCOPE: + setManagedBeanScope((ManagedBeanScopeType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_PROPERTY: + setManagedProperty((ManagedPropertyType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MAP_ENTRIES: + setMapEntries((MapEntriesType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MAP_ENTRY: + setMapEntry((MapEntryType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MESSAGE_BUNDLE: + setMessageBundle((MessageBundleType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_CASE: + setNavigationCase((NavigationCaseType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_HANDLER: + setNavigationHandler((NavigationHandlerType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_RULE: + setNavigationRule((NavigationRuleType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__NULL_VALUE: + setNullValue((NullValueType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__PHASE_LISTENER: + setPhaseListener((PhaseListenerType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY: + setProperty((PropertyType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_CLASS: + setPropertyClass((PropertyClassType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_EXTENSION: + setPropertyExtension((PropertyExtensionType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_NAME: + setPropertyName((PropertyNameType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_RESOLVER: + setPropertyResolver((PropertyResolverType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__REDIRECT: + setRedirect((RedirectType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN: + setReferencedBean((ReferencedBeanType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN_CLASS: + setReferencedBeanClass((ReferencedBeanClassType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN_NAME: + setReferencedBeanName((ReferencedBeanNameType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER: + setRenderer((RendererType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_CLASS: + setRendererClass((RendererClassType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_EXTENSION: + setRendererExtension((RendererExtensionType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_TYPE: + setRendererType((RendererTypeType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT: + setRenderKit((RenderKitType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_CLASS: + setRenderKitClass((RenderKitClassType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_FACTORY: + setRenderKitFactory((RenderKitFactoryType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_ID: + setRenderKitId((RenderKitIdType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__SMALL_ICON: + setSmallIcon((SmallIconType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__STATE_MANAGER: + setStateManager((StateManagerType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__SUGGESTED_VALUE: + setSuggestedValue((SuggestedValueType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__SUPPORTED_LOCALE: + setSupportedLocale((SupportedLocaleType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__TO_VIEW_ID: + setToViewId((ToViewIdType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR: + setValidator((ValidatorType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR_CLASS: + setValidatorClass((ValidatorClassType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR_ID: + setValidatorId((ValidatorIdType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__VALUE: + setValue((ValueType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__VALUE_CLASS: + setValueClass((ValueClassType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__VARIABLE_RESOLVER: + setVariableResolver((VariableResolverType)newValue); + return; + case FacesConfigPackage.DOCUMENT_ROOT__VIEW_HANDLER: + setViewHandler((ViewHandlerType)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DOCUMENT_ROOT__MIXED: + getMixed().clear(); + return; + case FacesConfigPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: + getXMLNSPrefixMap().clear(); + return; + case FacesConfigPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: + getXSISchemaLocation().clear(); + return; + case FacesConfigPackage.DOCUMENT_ROOT__ACTION_LISTENER: + setActionListener((ActionListenerType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__APPLICATION: + setApplication((ApplicationType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__APPLICATION_FACTORY: + setApplicationFactory((ApplicationFactoryType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE: + setAttribute((AttributeType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_CLASS: + setAttributeClass((AttributeClassType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_EXTENSION: + setAttributeExtension((AttributeExtensionType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_NAME: + setAttributeName((AttributeNameType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT: + setComponent((ComponentType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_CLASS: + setComponentClass((ComponentClassType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_EXTENSION: + setComponentExtension((ComponentExtensionType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_FAMILY: + setComponentFamily((ComponentFamilyType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_TYPE: + setComponentType((ComponentTypeType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER: + setConverter((ConverterType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_CLASS: + setConverterClass((ConverterClassType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_FOR_CLASS: + setConverterForClass((ConverterForClassType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_ID: + setConverterId((ConverterIdType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_LOCALE: + setDefaultLocale((DefaultLocaleType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_RENDER_KIT_ID: + setDefaultRenderKitId((DefaultRenderKitIdType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_VALUE: + setDefaultValue((DefaultValueType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__DESCRIPTION: + setDescription((DescriptionType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__DISPLAY_NAME: + setDisplayName((DisplayNameType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FACES_CONFIG: + setFacesConfig((FacesConfigType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FACES_CONTEXT_FACTORY: + setFacesContextFactory((FacesContextFactoryType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FACET: + setFacet((FacetType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FACET_EXTENSION: + setFacetExtension((FacetExtensionType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FACET_NAME: + setFacetName((FacetNameType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FACTORY: + setFactory((FactoryType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FROM_ACTION: + setFromAction((FromActionType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FROM_OUTCOME: + setFromOutcome((FromOutcomeType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__FROM_VIEW_ID: + setFromViewId((FromViewIdType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__ICON: + setIcon((IconType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__KEY: + setKey((KeyType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__KEY_CLASS: + setKeyClass((KeyClassType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__LARGE_ICON: + setLargeIcon((LargeIconType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__LIFECYCLE: + setLifecycle((LifecycleType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__LIFECYCLE_FACTORY: + setLifecycleFactory((LifecycleFactoryType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__LIST_ENTRIES: + setListEntries((ListEntriesType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__LOCALE_CONFIG: + setLocaleConfig((LocaleConfigType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN: + setManagedBean((ManagedBeanType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_CLASS: + setManagedBeanClass((ManagedBeanClassType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_NAME: + setManagedBeanName((ManagedBeanNameType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_SCOPE: + setManagedBeanScope((ManagedBeanScopeType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_PROPERTY: + setManagedProperty((ManagedPropertyType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MAP_ENTRIES: + setMapEntries((MapEntriesType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MAP_ENTRY: + setMapEntry((MapEntryType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__MESSAGE_BUNDLE: + setMessageBundle((MessageBundleType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_CASE: + setNavigationCase((NavigationCaseType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_HANDLER: + setNavigationHandler((NavigationHandlerType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_RULE: + setNavigationRule((NavigationRuleType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__NULL_VALUE: + setNullValue((NullValueType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__PHASE_LISTENER: + setPhaseListener((PhaseListenerType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY: + setProperty((PropertyType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_CLASS: + setPropertyClass((PropertyClassType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_EXTENSION: + setPropertyExtension((PropertyExtensionType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_NAME: + setPropertyName((PropertyNameType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_RESOLVER: + setPropertyResolver((PropertyResolverType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__REDIRECT: + setRedirect((RedirectType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN: + setReferencedBean((ReferencedBeanType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN_CLASS: + setReferencedBeanClass((ReferencedBeanClassType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN_NAME: + setReferencedBeanName((ReferencedBeanNameType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER: + setRenderer((RendererType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_CLASS: + setRendererClass((RendererClassType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_EXTENSION: + setRendererExtension((RendererExtensionType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_TYPE: + setRendererType((RendererTypeType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT: + setRenderKit((RenderKitType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_CLASS: + setRenderKitClass((RenderKitClassType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_FACTORY: + setRenderKitFactory((RenderKitFactoryType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_ID: + setRenderKitId((RenderKitIdType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__SMALL_ICON: + setSmallIcon((SmallIconType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__STATE_MANAGER: + setStateManager((StateManagerType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__SUGGESTED_VALUE: + setSuggestedValue((SuggestedValueType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__SUPPORTED_LOCALE: + setSupportedLocale((SupportedLocaleType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__TO_VIEW_ID: + setToViewId((ToViewIdType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR: + setValidator((ValidatorType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR_CLASS: + setValidatorClass((ValidatorClassType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR_ID: + setValidatorId((ValidatorIdType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__VALUE: + setValue((ValueType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__VALUE_CLASS: + setValueClass((ValueClassType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__VARIABLE_RESOLVER: + setVariableResolver((VariableResolverType)null); + return; + case FacesConfigPackage.DOCUMENT_ROOT__VIEW_HANDLER: + setViewHandler((ViewHandlerType)null); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.DOCUMENT_ROOT__MIXED: + return mixed != null && !mixed.isEmpty(); + case FacesConfigPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: + return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty(); + case FacesConfigPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: + return xSISchemaLocation != null && !xSISchemaLocation.isEmpty(); + case FacesConfigPackage.DOCUMENT_ROOT__ACTION_LISTENER: + return getActionListener() != null; + case FacesConfigPackage.DOCUMENT_ROOT__APPLICATION: + return getApplication() != null; + case FacesConfigPackage.DOCUMENT_ROOT__APPLICATION_FACTORY: + return getApplicationFactory() != null; + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE: + return getAttribute() != null; + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_CLASS: + return getAttributeClass() != null; + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_EXTENSION: + return getAttributeExtension() != null; + case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_NAME: + return getAttributeName() != null; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT: + return getComponent() != null; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_CLASS: + return getComponentClass() != null; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_EXTENSION: + return getComponentExtension() != null; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_FAMILY: + return getComponentFamily() != null; + case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_TYPE: + return getComponentType() != null; + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER: + return getConverter() != null; + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_CLASS: + return getConverterClass() != null; + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_FOR_CLASS: + return getConverterForClass() != null; + case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_ID: + return getConverterId() != null; + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_LOCALE: + return getDefaultLocale() != null; + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_RENDER_KIT_ID: + return getDefaultRenderKitId() != null; + case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_VALUE: + return getDefaultValue() != null; + case FacesConfigPackage.DOCUMENT_ROOT__DESCRIPTION: + return getDescription() != null; + case FacesConfigPackage.DOCUMENT_ROOT__DISPLAY_NAME: + return getDisplayName() != null; + case FacesConfigPackage.DOCUMENT_ROOT__FACES_CONFIG: + return getFacesConfig() != null; + case FacesConfigPackage.DOCUMENT_ROOT__FACES_CONTEXT_FACTORY: + return getFacesContextFactory() != null; + case FacesConfigPackage.DOCUMENT_ROOT__FACET: + return getFacet() != null; + case FacesConfigPackage.DOCUMENT_ROOT__FACET_EXTENSION: + return getFacetExtension() != null; + case FacesConfigPackage.DOCUMENT_ROOT__FACET_NAME: + return getFacetName() != null; + case FacesConfigPackage.DOCUMENT_ROOT__FACTORY: + return getFactory() != null; + case FacesConfigPackage.DOCUMENT_ROOT__FROM_ACTION: + return getFromAction() != null; + case FacesConfigPackage.DOCUMENT_ROOT__FROM_OUTCOME: + return getFromOutcome() != null; + case FacesConfigPackage.DOCUMENT_ROOT__FROM_VIEW_ID: + return getFromViewId() != null; + case FacesConfigPackage.DOCUMENT_ROOT__ICON: + return getIcon() != null; + case FacesConfigPackage.DOCUMENT_ROOT__KEY: + return getKey() != null; + case FacesConfigPackage.DOCUMENT_ROOT__KEY_CLASS: + return getKeyClass() != null; + case FacesConfigPackage.DOCUMENT_ROOT__LARGE_ICON: + return getLargeIcon() != null; + case FacesConfigPackage.DOCUMENT_ROOT__LIFECYCLE: + return getLifecycle() != null; + case FacesConfigPackage.DOCUMENT_ROOT__LIFECYCLE_FACTORY: + return getLifecycleFactory() != null; + case FacesConfigPackage.DOCUMENT_ROOT__LIST_ENTRIES: + return getListEntries() != null; + case FacesConfigPackage.DOCUMENT_ROOT__LOCALE_CONFIG: + return getLocaleConfig() != null; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN: + return getManagedBean() != null; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_CLASS: + return getManagedBeanClass() != null; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_NAME: + return getManagedBeanName() != null; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_SCOPE: + return getManagedBeanScope() != null; + case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_PROPERTY: + return getManagedProperty() != null; + case FacesConfigPackage.DOCUMENT_ROOT__MAP_ENTRIES: + return getMapEntries() != null; + case FacesConfigPackage.DOCUMENT_ROOT__MAP_ENTRY: + return getMapEntry() != null; + case FacesConfigPackage.DOCUMENT_ROOT__MESSAGE_BUNDLE: + return getMessageBundle() != null; + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_CASE: + return getNavigationCase() != null; + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_HANDLER: + return getNavigationHandler() != null; + case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_RULE: + return getNavigationRule() != null; + case FacesConfigPackage.DOCUMENT_ROOT__NULL_VALUE: + return getNullValue() != null; + case FacesConfigPackage.DOCUMENT_ROOT__PHASE_LISTENER: + return getPhaseListener() != null; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY: + return getProperty() != null; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_CLASS: + return getPropertyClass() != null; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_EXTENSION: + return getPropertyExtension() != null; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_NAME: + return getPropertyName() != null; + case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_RESOLVER: + return getPropertyResolver() != null; + case FacesConfigPackage.DOCUMENT_ROOT__REDIRECT: + return getRedirect() != null; + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN: + return getReferencedBean() != null; + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN_CLASS: + return getReferencedBeanClass() != null; + case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN_NAME: + return getReferencedBeanName() != null; + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER: + return getRenderer() != null; + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_CLASS: + return getRendererClass() != null; + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_EXTENSION: + return getRendererExtension() != null; + case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_TYPE: + return getRendererType() != null; + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT: + return getRenderKit() != null; + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_CLASS: + return getRenderKitClass() != null; + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_FACTORY: + return getRenderKitFactory() != null; + case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_ID: + return getRenderKitId() != null; + case FacesConfigPackage.DOCUMENT_ROOT__SMALL_ICON: + return getSmallIcon() != null; + case FacesConfigPackage.DOCUMENT_ROOT__STATE_MANAGER: + return getStateManager() != null; + case FacesConfigPackage.DOCUMENT_ROOT__SUGGESTED_VALUE: + return getSuggestedValue() != null; + case FacesConfigPackage.DOCUMENT_ROOT__SUPPORTED_LOCALE: + return getSupportedLocale() != null; + case FacesConfigPackage.DOCUMENT_ROOT__TO_VIEW_ID: + return getToViewId() != null; + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR: + return getValidator() != null; + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR_CLASS: + return getValidatorClass() != null; + case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR_ID: + return getValidatorId() != null; + case FacesConfigPackage.DOCUMENT_ROOT__VALUE: + return getValue() != null; + case FacesConfigPackage.DOCUMENT_ROOT__VALUE_CLASS: + return getValueClass() != null; + case FacesConfigPackage.DOCUMENT_ROOT__VARIABLE_RESOLVER: + return getVariableResolver() != null; + case FacesConfigPackage.DOCUMENT_ROOT__VIEW_HANDLER: + return getViewHandler() != null; + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (mixed: "); + result.append(mixed); + result.append(')'); + return result.toString(); + } + +} //DocumentRootImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigFactoryImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigFactoryImpl.java new file mode 100644 index 000000000..a78b81406 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigFactoryImpl.java @@ -0,0 +1,967 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; + +import org.eclipse.emf.ecore.impl.EFactoryImpl; +import org.eclipse.jst.jsf.facesconfig.emf.*; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class FacesConfigFactoryImpl extends EFactoryImpl implements FacesConfigFactory { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacesConfigFactoryImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EObject create(EClass eClass) { + switch (eClass.getClassifierID()) { + case FacesConfigPackage.ACTION_LISTENER_TYPE: return createActionListenerType(); + case FacesConfigPackage.APPLICATION_FACTORY_TYPE: return createApplicationFactoryType(); + case FacesConfigPackage.APPLICATION_TYPE: return createApplicationType(); + case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE: return createAttributeClassType(); + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE: return createAttributeExtensionType(); + case FacesConfigPackage.ATTRIBUTE_NAME_TYPE: return createAttributeNameType(); + case FacesConfigPackage.ATTRIBUTE_TYPE: return createAttributeType(); + case FacesConfigPackage.COMPONENT_CLASS_TYPE: return createComponentClassType(); + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE: return createComponentExtensionType(); + case FacesConfigPackage.COMPONENT_FAMILY_TYPE: return createComponentFamilyType(); + case FacesConfigPackage.COMPONENT_TYPE: return createComponentType(); + case FacesConfigPackage.COMPONENT_TYPE_TYPE: return createComponentTypeType(); + case FacesConfigPackage.CONVERTER_CLASS_TYPE: return createConverterClassType(); + case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE: return createConverterForClassType(); + case FacesConfigPackage.CONVERTER_ID_TYPE: return createConverterIdType(); + case FacesConfigPackage.CONVERTER_TYPE: return createConverterType(); + case FacesConfigPackage.DEFAULT_LOCALE_TYPE: return createDefaultLocaleType(); + case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE: return createDefaultRenderKitIdType(); + case FacesConfigPackage.DEFAULT_VALUE_TYPE: return createDefaultValueType(); + case FacesConfigPackage.DESCRIPTION_TYPE: return createDescriptionType(); + case FacesConfigPackage.DISPLAY_NAME_TYPE: return createDisplayNameType(); + case FacesConfigPackage.DOCUMENT_ROOT: return createDocumentRoot(); + case FacesConfigPackage.FACES_CONFIG_TYPE: return createFacesConfigType(); + case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE: return createFacesContextFactoryType(); + case FacesConfigPackage.FACET_EXTENSION_TYPE: return createFacetExtensionType(); + case FacesConfigPackage.FACET_NAME_TYPE: return createFacetNameType(); + case FacesConfigPackage.FACET_TYPE: return createFacetType(); + case FacesConfigPackage.FACTORY_TYPE: return createFactoryType(); + case FacesConfigPackage.FROM_ACTION_TYPE: return createFromActionType(); + case FacesConfigPackage.FROM_OUTCOME_TYPE: return createFromOutcomeType(); + case FacesConfigPackage.FROM_VIEW_ID_TYPE: return createFromViewIdType(); + case FacesConfigPackage.ICON_TYPE: return createIconType(); + case FacesConfigPackage.KEY_CLASS_TYPE: return createKeyClassType(); + case FacesConfigPackage.KEY_TYPE: return createKeyType(); + case FacesConfigPackage.LARGE_ICON_TYPE: return createLargeIconType(); + case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE: return createLifecycleFactoryType(); + case FacesConfigPackage.LIFECYCLE_TYPE: return createLifecycleType(); + case FacesConfigPackage.LIST_ENTRIES_TYPE: return createListEntriesType(); + case FacesConfigPackage.LOCALE_CONFIG_TYPE: return createLocaleConfigType(); + case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE: return createManagedBeanClassType(); + case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE: return createManagedBeanNameType(); + case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE: return createManagedBeanScopeType(); + case FacesConfigPackage.MANAGED_BEAN_TYPE: return createManagedBeanType(); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE: return createManagedPropertyType(); + case FacesConfigPackage.MAP_ENTRIES_TYPE: return createMapEntriesType(); + case FacesConfigPackage.MAP_ENTRY_TYPE: return createMapEntryType(); + case FacesConfigPackage.MESSAGE_BUNDLE_TYPE: return createMessageBundleType(); + case FacesConfigPackage.NAVIGATION_CASE_TYPE: return createNavigationCaseType(); + case FacesConfigPackage.NAVIGATION_HANDLER_TYPE: return createNavigationHandlerType(); + case FacesConfigPackage.NAVIGATION_RULE_TYPE: return createNavigationRuleType(); + case FacesConfigPackage.NULL_VALUE_TYPE: return createNullValueType(); + case FacesConfigPackage.PHASE_LISTENER_TYPE: return createPhaseListenerType(); + case FacesConfigPackage.PROPERTY_CLASS_TYPE: return createPropertyClassType(); + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE: return createPropertyExtensionType(); + case FacesConfigPackage.PROPERTY_NAME_TYPE: return createPropertyNameType(); + case FacesConfigPackage.PROPERTY_RESOLVER_TYPE: return createPropertyResolverType(); + case FacesConfigPackage.PROPERTY_TYPE: return createPropertyType(); + case FacesConfigPackage.REDIRECT_TYPE: return createRedirectType(); + case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE: return createReferencedBeanClassType(); + case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE: return createReferencedBeanNameType(); + case FacesConfigPackage.REFERENCED_BEAN_TYPE: return createReferencedBeanType(); + case FacesConfigPackage.RENDERER_CLASS_TYPE: return createRendererClassType(); + case FacesConfigPackage.RENDERER_EXTENSION_TYPE: return createRendererExtensionType(); + case FacesConfigPackage.RENDERER_TYPE: return createRendererType(); + case FacesConfigPackage.RENDERER_TYPE_TYPE: return createRendererTypeType(); + case FacesConfigPackage.RENDER_KIT_CLASS_TYPE: return createRenderKitClassType(); + case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE: return createRenderKitFactoryType(); + case FacesConfigPackage.RENDER_KIT_ID_TYPE: return createRenderKitIdType(); + case FacesConfigPackage.RENDER_KIT_TYPE: return createRenderKitType(); + case FacesConfigPackage.SMALL_ICON_TYPE: return createSmallIconType(); + case FacesConfigPackage.STATE_MANAGER_TYPE: return createStateManagerType(); + case FacesConfigPackage.SUGGESTED_VALUE_TYPE: return createSuggestedValueType(); + case FacesConfigPackage.SUPPORTED_LOCALE_TYPE: return createSupportedLocaleType(); + case FacesConfigPackage.TO_VIEW_ID_TYPE: return createToViewIdType(); + case FacesConfigPackage.VALIDATOR_CLASS_TYPE: return createValidatorClassType(); + case FacesConfigPackage.VALIDATOR_ID_TYPE: return createValidatorIdType(); + case FacesConfigPackage.VALIDATOR_TYPE: return createValidatorType(); + case FacesConfigPackage.VALUE_CLASS_TYPE: return createValueClassType(); + case FacesConfigPackage.VALUE_TYPE: return createValueType(); + case FacesConfigPackage.VARIABLE_RESOLVER_TYPE: return createVariableResolverType(); + case FacesConfigPackage.VIEW_HANDLER_TYPE: return createViewHandlerType(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ActionListenerType createActionListenerType() { + ActionListenerTypeImpl actionListenerType = new ActionListenerTypeImpl(); + return actionListenerType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ApplicationFactoryType createApplicationFactoryType() { + ApplicationFactoryTypeImpl applicationFactoryType = new ApplicationFactoryTypeImpl(); + return applicationFactoryType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ApplicationType createApplicationType() { + ApplicationTypeImpl applicationType = new ApplicationTypeImpl(); + return applicationType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AttributeClassType createAttributeClassType() { + AttributeClassTypeImpl attributeClassType = new AttributeClassTypeImpl(); + return attributeClassType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AttributeExtensionType createAttributeExtensionType() { + AttributeExtensionTypeImpl attributeExtensionType = new AttributeExtensionTypeImpl(); + return attributeExtensionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AttributeNameType createAttributeNameType() { + AttributeNameTypeImpl attributeNameType = new AttributeNameTypeImpl(); + return attributeNameType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public AttributeType createAttributeType() { + AttributeTypeImpl attributeType = new AttributeTypeImpl(); + return attributeType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComponentClassType createComponentClassType() { + ComponentClassTypeImpl componentClassType = new ComponentClassTypeImpl(); + return componentClassType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComponentExtensionType createComponentExtensionType() { + ComponentExtensionTypeImpl componentExtensionType = new ComponentExtensionTypeImpl(); + return componentExtensionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComponentFamilyType createComponentFamilyType() { + ComponentFamilyTypeImpl componentFamilyType = new ComponentFamilyTypeImpl(); + return componentFamilyType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComponentType createComponentType() { + ComponentTypeImpl componentType = new ComponentTypeImpl(); + return componentType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComponentTypeType createComponentTypeType() { + ComponentTypeTypeImpl componentTypeType = new ComponentTypeTypeImpl(); + return componentTypeType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConverterClassType createConverterClassType() { + ConverterClassTypeImpl converterClassType = new ConverterClassTypeImpl(); + return converterClassType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConverterForClassType createConverterForClassType() { + ConverterForClassTypeImpl converterForClassType = new ConverterForClassTypeImpl(); + return converterForClassType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConverterIdType createConverterIdType() { + ConverterIdTypeImpl converterIdType = new ConverterIdTypeImpl(); + return converterIdType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ConverterType createConverterType() { + ConverterTypeImpl converterType = new ConverterTypeImpl(); + return converterType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DefaultLocaleType createDefaultLocaleType() { + DefaultLocaleTypeImpl defaultLocaleType = new DefaultLocaleTypeImpl(); + return defaultLocaleType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DefaultRenderKitIdType createDefaultRenderKitIdType() { + DefaultRenderKitIdTypeImpl defaultRenderKitIdType = new DefaultRenderKitIdTypeImpl(); + return defaultRenderKitIdType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DefaultValueType createDefaultValueType() { + DefaultValueTypeImpl defaultValueType = new DefaultValueTypeImpl(); + return defaultValueType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DescriptionType createDescriptionType() { + DescriptionTypeImpl descriptionType = new DescriptionTypeImpl(); + return descriptionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DisplayNameType createDisplayNameType() { + DisplayNameTypeImpl displayNameType = new DisplayNameTypeImpl(); + return displayNameType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DocumentRoot createDocumentRoot() { + DocumentRootImpl documentRoot = new DocumentRootImpl(); + return documentRoot; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacesConfigType createFacesConfigType() { + FacesConfigTypeImpl facesConfigType = new FacesConfigTypeImpl(); + return facesConfigType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacesContextFactoryType createFacesContextFactoryType() { + FacesContextFactoryTypeImpl facesContextFactoryType = new FacesContextFactoryTypeImpl(); + return facesContextFactoryType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacetExtensionType createFacetExtensionType() { + FacetExtensionTypeImpl facetExtensionType = new FacetExtensionTypeImpl(); + return facetExtensionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacetNameType createFacetNameType() { + FacetNameTypeImpl facetNameType = new FacetNameTypeImpl(); + return facetNameType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacetType createFacetType() { + FacetTypeImpl facetType = new FacetTypeImpl(); + return facetType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FactoryType createFactoryType() { + FactoryTypeImpl factoryType = new FactoryTypeImpl(); + return factoryType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FromActionType createFromActionType() { + FromActionTypeImpl fromActionType = new FromActionTypeImpl(); + return fromActionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FromOutcomeType createFromOutcomeType() { + FromOutcomeTypeImpl fromOutcomeType = new FromOutcomeTypeImpl(); + return fromOutcomeType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FromViewIdType createFromViewIdType() { + FromViewIdTypeImpl fromViewIdType = new FromViewIdTypeImpl(); + return fromViewIdType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IconType createIconType() { + IconTypeImpl iconType = new IconTypeImpl(); + return iconType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public KeyClassType createKeyClassType() { + KeyClassTypeImpl keyClassType = new KeyClassTypeImpl(); + return keyClassType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public KeyType createKeyType() { + KeyTypeImpl keyType = new KeyTypeImpl(); + return keyType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public LargeIconType createLargeIconType() { + LargeIconTypeImpl largeIconType = new LargeIconTypeImpl(); + return largeIconType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public LifecycleFactoryType createLifecycleFactoryType() { + LifecycleFactoryTypeImpl lifecycleFactoryType = new LifecycleFactoryTypeImpl(); + return lifecycleFactoryType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public LifecycleType createLifecycleType() { + LifecycleTypeImpl lifecycleType = new LifecycleTypeImpl(); + return lifecycleType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ListEntriesType createListEntriesType() { + ListEntriesTypeImpl listEntriesType = new ListEntriesTypeImpl(); + return listEntriesType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public LocaleConfigType createLocaleConfigType() { + LocaleConfigTypeImpl localeConfigType = new LocaleConfigTypeImpl(); + return localeConfigType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ManagedBeanClassType createManagedBeanClassType() { + ManagedBeanClassTypeImpl managedBeanClassType = new ManagedBeanClassTypeImpl(); + return managedBeanClassType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ManagedBeanNameType createManagedBeanNameType() { + ManagedBeanNameTypeImpl managedBeanNameType = new ManagedBeanNameTypeImpl(); + return managedBeanNameType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ManagedBeanScopeType createManagedBeanScopeType() { + ManagedBeanScopeTypeImpl managedBeanScopeType = new ManagedBeanScopeTypeImpl(); + return managedBeanScopeType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ManagedBeanType createManagedBeanType() { + ManagedBeanTypeImpl managedBeanType = new ManagedBeanTypeImpl(); + return managedBeanType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ManagedPropertyType createManagedPropertyType() { + ManagedPropertyTypeImpl managedPropertyType = new ManagedPropertyTypeImpl(); + return managedPropertyType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MapEntriesType createMapEntriesType() { + MapEntriesTypeImpl mapEntriesType = new MapEntriesTypeImpl(); + return mapEntriesType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MapEntryType createMapEntryType() { + MapEntryTypeImpl mapEntryType = new MapEntryTypeImpl(); + return mapEntryType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MessageBundleType createMessageBundleType() { + MessageBundleTypeImpl messageBundleType = new MessageBundleTypeImpl(); + return messageBundleType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NavigationCaseType createNavigationCaseType() { + NavigationCaseTypeImpl navigationCaseType = new NavigationCaseTypeImpl(); + return navigationCaseType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NavigationHandlerType createNavigationHandlerType() { + NavigationHandlerTypeImpl navigationHandlerType = new NavigationHandlerTypeImpl(); + return navigationHandlerType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NavigationRuleType createNavigationRuleType() { + NavigationRuleTypeImpl navigationRuleType = new NavigationRuleTypeImpl(); + return navigationRuleType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NullValueType createNullValueType() { + NullValueTypeImpl nullValueType = new NullValueTypeImpl(); + return nullValueType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PhaseListenerType createPhaseListenerType() { + PhaseListenerTypeImpl phaseListenerType = new PhaseListenerTypeImpl(); + return phaseListenerType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyClassType createPropertyClassType() { + PropertyClassTypeImpl propertyClassType = new PropertyClassTypeImpl(); + return propertyClassType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyExtensionType createPropertyExtensionType() { + PropertyExtensionTypeImpl propertyExtensionType = new PropertyExtensionTypeImpl(); + return propertyExtensionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyNameType createPropertyNameType() { + PropertyNameTypeImpl propertyNameType = new PropertyNameTypeImpl(); + return propertyNameType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyResolverType createPropertyResolverType() { + PropertyResolverTypeImpl propertyResolverType = new PropertyResolverTypeImpl(); + return propertyResolverType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyType createPropertyType() { + PropertyTypeImpl propertyType = new PropertyTypeImpl(); + return propertyType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RedirectType createRedirectType() { + RedirectTypeImpl redirectType = new RedirectTypeImpl(); + return redirectType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ReferencedBeanClassType createReferencedBeanClassType() { + ReferencedBeanClassTypeImpl referencedBeanClassType = new ReferencedBeanClassTypeImpl(); + return referencedBeanClassType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ReferencedBeanNameType createReferencedBeanNameType() { + ReferencedBeanNameTypeImpl referencedBeanNameType = new ReferencedBeanNameTypeImpl(); + return referencedBeanNameType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ReferencedBeanType createReferencedBeanType() { + ReferencedBeanTypeImpl referencedBeanType = new ReferencedBeanTypeImpl(); + return referencedBeanType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RendererClassType createRendererClassType() { + RendererClassTypeImpl rendererClassType = new RendererClassTypeImpl(); + return rendererClassType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RendererExtensionType createRendererExtensionType() { + RendererExtensionTypeImpl rendererExtensionType = new RendererExtensionTypeImpl(); + return rendererExtensionType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RendererType createRendererType() { + RendererTypeImpl rendererType = new RendererTypeImpl(); + return rendererType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RendererTypeType createRendererTypeType() { + RendererTypeTypeImpl rendererTypeType = new RendererTypeTypeImpl(); + return rendererTypeType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RenderKitClassType createRenderKitClassType() { + RenderKitClassTypeImpl renderKitClassType = new RenderKitClassTypeImpl(); + return renderKitClassType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RenderKitFactoryType createRenderKitFactoryType() { + RenderKitFactoryTypeImpl renderKitFactoryType = new RenderKitFactoryTypeImpl(); + return renderKitFactoryType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RenderKitIdType createRenderKitIdType() { + RenderKitIdTypeImpl renderKitIdType = new RenderKitIdTypeImpl(); + return renderKitIdType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RenderKitType createRenderKitType() { + RenderKitTypeImpl renderKitType = new RenderKitTypeImpl(); + return renderKitType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SmallIconType createSmallIconType() { + SmallIconTypeImpl smallIconType = new SmallIconTypeImpl(); + return smallIconType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public StateManagerType createStateManagerType() { + StateManagerTypeImpl stateManagerType = new StateManagerTypeImpl(); + return stateManagerType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SuggestedValueType createSuggestedValueType() { + SuggestedValueTypeImpl suggestedValueType = new SuggestedValueTypeImpl(); + return suggestedValueType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SupportedLocaleType createSupportedLocaleType() { + SupportedLocaleTypeImpl supportedLocaleType = new SupportedLocaleTypeImpl(); + return supportedLocaleType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ToViewIdType createToViewIdType() { + ToViewIdTypeImpl toViewIdType = new ToViewIdTypeImpl(); + return toViewIdType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValidatorClassType createValidatorClassType() { + ValidatorClassTypeImpl validatorClassType = new ValidatorClassTypeImpl(); + return validatorClassType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValidatorIdType createValidatorIdType() { + ValidatorIdTypeImpl validatorIdType = new ValidatorIdTypeImpl(); + return validatorIdType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValidatorType createValidatorType() { + ValidatorTypeImpl validatorType = new ValidatorTypeImpl(); + return validatorType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValueClassType createValueClassType() { + ValueClassTypeImpl valueClassType = new ValueClassTypeImpl(); + return valueClassType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValueType createValueType() { + ValueTypeImpl valueType = new ValueTypeImpl(); + return valueType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public VariableResolverType createVariableResolverType() { + VariableResolverTypeImpl variableResolverType = new VariableResolverTypeImpl(); + return variableResolverType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ViewHandlerType createViewHandlerType() { + ViewHandlerTypeImpl viewHandlerType = new ViewHandlerTypeImpl(); + return viewHandlerType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacesConfigPackage getFacesConfigPackage() { + return (FacesConfigPackage)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + public static FacesConfigPackage getPackage() { + return FacesConfigPackage.eINSTANCE; + } + +} //FacesConfigFactoryImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigPackageImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigPackageImpl.java new file mode 100644 index 000000000..82740f38e --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigPackageImpl.java @@ -0,0 +1,9344 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; + +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import org.eclipse.emf.ecore.xml.type.XMLTypePackage; + +import org.eclipse.emf.ecore.xml.type.impl.XMLTypePackageImpl; +import org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType; +import org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.ApplicationType; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterType; +import org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType; +import org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType; +import org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigFactory; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.FacetNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacetType; +import org.eclipse.jst.jsf.facesconfig.emf.FactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.FromActionType; +import org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType; +import org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.KeyClassType; +import org.eclipse.jst.jsf.facesconfig.emf.KeyType; +import org.eclipse.jst.jsf.facesconfig.emf.LargeIconType; +import org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.LifecycleType; +import org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType; +import org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType; +import org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType; +import org.eclipse.jst.jsf.facesconfig.emf.MapEntryType; +import org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType; +import org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType; +import org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType; +import org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType; +import org.eclipse.jst.jsf.facesconfig.emf.NullValueType; +import org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyType; +import org.eclipse.jst.jsf.facesconfig.emf.RedirectType; +import org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType; +import org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitType; +import org.eclipse.jst.jsf.facesconfig.emf.RendererClassType; +import org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.RendererType; +import org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType; +import org.eclipse.jst.jsf.facesconfig.emf.SmallIconType; +import org.eclipse.jst.jsf.facesconfig.emf.StateManagerType; +import org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType; +import org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType; +import org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType; +import org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType; +import org.eclipse.jst.jsf.facesconfig.emf.ValidatorType; +import org.eclipse.jst.jsf.facesconfig.emf.ValueClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ValueType; +import org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType; +import org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class FacesConfigPackageImpl extends EPackageImpl implements FacesConfigPackage { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass actionListenerTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass applicationFactoryTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass applicationTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass attributeClassTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass attributeExtensionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass attributeNameTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass attributeTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass componentClassTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass componentExtensionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass componentFamilyTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass componentTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass componentTypeTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass converterClassTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass converterForClassTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass converterIdTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass converterTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass defaultLocaleTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass defaultRenderKitIdTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass defaultValueTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass descriptionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass displayNameTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass documentRootEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass facesConfigTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass facesContextFactoryTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass facetExtensionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass facetNameTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass facetTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass factoryTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass fromActionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass fromOutcomeTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass fromViewIdTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass iconTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass keyClassTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass keyTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass largeIconTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass lifecycleFactoryTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass lifecycleTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass listEntriesTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass localeConfigTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass managedBeanClassTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass managedBeanNameTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass managedBeanScopeTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass managedBeanTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass managedPropertyTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass mapEntriesTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass mapEntryTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass messageBundleTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass navigationCaseTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass navigationHandlerTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass navigationRuleTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass nullValueTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass phaseListenerTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass propertyClassTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass propertyExtensionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass propertyNameTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass propertyResolverTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass propertyTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass redirectTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass referencedBeanClassTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass referencedBeanNameTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass referencedBeanTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass rendererClassTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass rendererExtensionTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass rendererTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass rendererTypeTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass renderKitClassTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass renderKitFactoryTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass renderKitIdTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass renderKitTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass smallIconTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass stateManagerTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass suggestedValueTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass supportedLocaleTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass toViewIdTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass validatorClassTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass validatorIdTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass validatorTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass valueClassTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass valueTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass variableResolverTypeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass viewHandlerTypeEClass = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage#eNS_URI + * @see #init() + * @generated + */ + private FacesConfigPackageImpl() { + super(eNS_URI, FacesConfigFactory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this + * model, and for any others upon which it depends. Simple + * dependencies are satisfied by calling this method on all + * dependent packages before doing anything else. This method drives + * initialization for interdependent packages directly, in parallel + * with this package, itself. + * <p>Of this package and its interdependencies, all packages which + * have not yet been registered by their URI values are first created + * and registered. The packages are then initialized in two steps: + * meta-model objects for all of the packages are created before any + * are initialized, since one package's meta-model objects may refer to + * those of another. + * <p>Invocation of this method will not affect any packages that have + * already been initialized. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static FacesConfigPackage init() { + if (isInited) return (FacesConfigPackage)EPackage.Registry.INSTANCE.getEPackage(FacesConfigPackage.eNS_URI); + + // Obtain or create and register package + FacesConfigPackageImpl theFacesConfigPackage = (FacesConfigPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof FacesConfigPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new FacesConfigPackageImpl()); + + isInited = true; + + // Initialize simple dependencies + XMLTypePackageImpl.init(); + + // Create package meta-data objects + theFacesConfigPackage.createPackageContents(); + + // Initialize created meta-data + theFacesConfigPackage.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + theFacesConfigPackage.freeze(); + + return theFacesConfigPackage; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getActionListenerType() { + return actionListenerTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getActionListenerType_TextContent() { + return (EAttribute)actionListenerTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getActionListenerType_Id() { + return (EAttribute)actionListenerTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getApplicationFactoryType() { + return applicationFactoryTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getApplicationFactoryType_TextContent() { + return (EAttribute)applicationFactoryTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getApplicationFactoryType_Id() { + return (EAttribute)applicationFactoryTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getApplicationType() { + return applicationTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getApplicationType_ActionListener() { + return (EReference)applicationTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getApplicationType_DefaultRenderKitId() { + return (EReference)applicationTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getApplicationType_MessageBundle() { + return (EReference)applicationTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getApplicationType_NavigationHandler() { + return (EReference)applicationTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getApplicationType_ViewHandler() { + return (EReference)applicationTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getApplicationType_StateManager() { + return (EReference)applicationTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getApplicationType_PropertyResolver() { + return (EReference)applicationTypeEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getApplicationType_VariableResolver() { + return (EReference)applicationTypeEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getApplicationType_LocaleConfig() { + return (EReference)applicationTypeEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getApplicationType_Id() { + return (EAttribute)applicationTypeEClass.getEStructuralFeatures().get(9); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAttributeClassType() { + return attributeClassTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAttributeClassType_TextContent() { + return (EAttribute)attributeClassTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAttributeClassType_Id() { + return (EAttribute)attributeClassTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAttributeExtensionType() { + return attributeExtensionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAttributeExtensionType_Mixed() { + return (EAttribute)attributeExtensionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAttributeExtensionType_Group() { + return (EAttribute)attributeExtensionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAttributeExtensionType_Any() { + return (EAttribute)attributeExtensionTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAttributeExtensionType_Id() { + return (EAttribute)attributeExtensionTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAttributeNameType() { + return attributeNameTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAttributeNameType_TextContent() { + return (EAttribute)attributeNameTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAttributeNameType_Id() { + return (EAttribute)attributeNameTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getAttributeType() { + return attributeTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAttributeType_Description() { + return (EReference)attributeTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAttributeType_DisplayName() { + return (EReference)attributeTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAttributeType_Icon() { + return (EReference)attributeTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAttributeType_AttributeName() { + return (EReference)attributeTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAttributeType_AttributeClass() { + return (EReference)attributeTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAttributeType_DefaultValue() { + return (EReference)attributeTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAttributeType_SuggestedValue() { + return (EReference)attributeTypeEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getAttributeType_AttributeExtension() { + return (EReference)attributeTypeEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getAttributeType_Id() { + return (EAttribute)attributeTypeEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getComponentClassType() { + return componentClassTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getComponentClassType_TextContent() { + return (EAttribute)componentClassTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getComponentClassType_Id() { + return (EAttribute)componentClassTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getComponentExtensionType() { + return componentExtensionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getComponentExtensionType_Mixed() { + return (EAttribute)componentExtensionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getComponentExtensionType_Group() { + return (EAttribute)componentExtensionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getComponentExtensionType_Any() { + return (EAttribute)componentExtensionTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getComponentExtensionType_Id() { + return (EAttribute)componentExtensionTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getComponentFamilyType() { + return componentFamilyTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getComponentFamilyType_TextContent() { + return (EAttribute)componentFamilyTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getComponentFamilyType_Id() { + return (EAttribute)componentFamilyTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getComponentType() { + return componentTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getComponentType_Description() { + return (EReference)componentTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getComponentType_DisplayName() { + return (EReference)componentTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getComponentType_Icon() { + return (EReference)componentTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getComponentType_ComponentType() { + return (EReference)componentTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getComponentType_ComponentClass() { + return (EReference)componentTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getComponentType_Facet() { + return (EReference)componentTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getComponentType_Attribute() { + return (EReference)componentTypeEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getComponentType_Property() { + return (EReference)componentTypeEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getComponentType_ComponentExtension() { + return (EReference)componentTypeEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getComponentType_Id() { + return (EAttribute)componentTypeEClass.getEStructuralFeatures().get(9); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getComponentTypeType() { + return componentTypeTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getComponentTypeType_TextContent() { + return (EAttribute)componentTypeTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getComponentTypeType_Id() { + return (EAttribute)componentTypeTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getConverterClassType() { + return converterClassTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getConverterClassType_TextContent() { + return (EAttribute)converterClassTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getConverterClassType_Id() { + return (EAttribute)converterClassTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getConverterForClassType() { + return converterForClassTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getConverterForClassType_TextContent() { + return (EAttribute)converterForClassTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getConverterForClassType_Id() { + return (EAttribute)converterForClassTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getConverterIdType() { + return converterIdTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getConverterIdType_TextContent() { + return (EAttribute)converterIdTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getConverterIdType_Id() { + return (EAttribute)converterIdTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getConverterType() { + return converterTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getConverterType_Description() { + return (EReference)converterTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getConverterType_DisplayName() { + return (EReference)converterTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getConverterType_Icon() { + return (EReference)converterTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getConverterType_ConverterId() { + return (EReference)converterTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getConverterType_ConverterForClass() { + return (EReference)converterTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getConverterType_ConverterClass() { + return (EReference)converterTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getConverterType_Attribute() { + return (EReference)converterTypeEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getConverterType_Property() { + return (EReference)converterTypeEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getConverterType_Id() { + return (EAttribute)converterTypeEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDefaultLocaleType() { + return defaultLocaleTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDefaultLocaleType_TextContent() { + return (EAttribute)defaultLocaleTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDefaultLocaleType_Id() { + return (EAttribute)defaultLocaleTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDefaultRenderKitIdType() { + return defaultRenderKitIdTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDefaultRenderKitIdType_TextContent() { + return (EAttribute)defaultRenderKitIdTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDefaultRenderKitIdType_Id() { + return (EAttribute)defaultRenderKitIdTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDefaultValueType() { + return defaultValueTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDefaultValueType_TextContent() { + return (EAttribute)defaultValueTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDefaultValueType_Id() { + return (EAttribute)defaultValueTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDescriptionType() { + return descriptionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDescriptionType_TextContent() { + return (EAttribute)descriptionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDescriptionType_Lang() { + return (EAttribute)descriptionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDescriptionType_Id() { + return (EAttribute)descriptionTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDisplayNameType() { + return displayNameTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDisplayNameType_TextContent() { + return (EAttribute)displayNameTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDisplayNameType_Lang() { + return (EAttribute)displayNameTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDisplayNameType_Id() { + return (EAttribute)displayNameTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getDocumentRoot() { + return documentRootEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getDocumentRoot_Mixed() { + return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_XMLNSPrefixMap() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_XSISchemaLocation() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ActionListener() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Application() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ApplicationFactory() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Attribute() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_AttributeClass() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_AttributeExtension() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_AttributeName() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(9); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Component() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(10); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ComponentClass() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(11); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ComponentExtension() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(12); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ComponentFamily() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(13); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ComponentType() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(14); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Converter() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(15); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ConverterClass() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(16); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ConverterForClass() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(17); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ConverterId() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(18); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_DefaultLocale() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(19); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_DefaultRenderKitId() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(20); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_DefaultValue() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(21); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Description() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(22); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_DisplayName() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(23); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_FacesConfig() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(24); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_FacesContextFactory() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(25); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Facet() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(26); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_FacetExtension() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(27); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_FacetName() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(28); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Factory() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(29); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_FromAction() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(30); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_FromOutcome() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(31); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_FromViewId() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(32); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Icon() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(33); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Key() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(34); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_KeyClass() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(35); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_LargeIcon() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(36); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Lifecycle() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(37); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_LifecycleFactory() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(38); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ListEntries() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(39); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_LocaleConfig() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(40); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ManagedBean() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(41); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ManagedBeanClass() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(42); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ManagedBeanName() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(43); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ManagedBeanScope() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(44); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ManagedProperty() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(45); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_MapEntries() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(46); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_MapEntry() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(47); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_MessageBundle() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(48); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_NavigationCase() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(49); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_NavigationHandler() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(50); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_NavigationRule() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(51); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_NullValue() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(52); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_PhaseListener() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(53); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Property() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(54); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_PropertyClass() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(55); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_PropertyExtension() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(56); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_PropertyName() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(57); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_PropertyResolver() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(58); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Redirect() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(59); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ReferencedBean() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(60); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ReferencedBeanClass() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(61); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ReferencedBeanName() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(62); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Renderer() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(63); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_RendererClass() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(64); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_RendererExtension() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(65); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_RendererType() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(66); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_RenderKit() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(67); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_RenderKitClass() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(68); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_RenderKitFactory() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(69); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_RenderKitId() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(70); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_SmallIcon() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(71); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_StateManager() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(72); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_SuggestedValue() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(73); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_SupportedLocale() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(74); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ToViewId() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(75); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Validator() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(76); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ValidatorClass() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(77); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ValidatorId() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(78); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_Value() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(79); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ValueClass() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(80); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_VariableResolver() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(81); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getDocumentRoot_ViewHandler() { + return (EReference)documentRootEClass.getEStructuralFeatures().get(82); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getFacesConfigType() { + return facesConfigTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacesConfigType_Application() { + return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacesConfigType_Factory() { + return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacesConfigType_Component() { + return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacesConfigType_Converter() { + return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacesConfigType_ManagedBean() { + return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacesConfigType_NavigationRule() { + return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacesConfigType_ReferencedBean() { + return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacesConfigType_RenderKit() { + return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacesConfigType_Lifecycle() { + return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacesConfigType_Validator() { + return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(9); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFacesConfigType_Xmlns() { + return (EAttribute)facesConfigTypeEClass.getEStructuralFeatures().get(10); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFacesConfigType_Id() { + return (EAttribute)facesConfigTypeEClass.getEStructuralFeatures().get(11); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getFacesContextFactoryType() { + return facesContextFactoryTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFacesContextFactoryType_TextContent() { + return (EAttribute)facesContextFactoryTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFacesContextFactoryType_Id() { + return (EAttribute)facesContextFactoryTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getFacetExtensionType() { + return facetExtensionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFacetExtensionType_Mixed() { + return (EAttribute)facetExtensionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFacetExtensionType_Group() { + return (EAttribute)facetExtensionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFacetExtensionType_Any() { + return (EAttribute)facetExtensionTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFacetExtensionType_Id() { + return (EAttribute)facetExtensionTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getFacetNameType() { + return facetNameTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFacetNameType_TextContent() { + return (EAttribute)facetNameTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFacetNameType_Id() { + return (EAttribute)facetNameTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getFacetType() { + return facetTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacetType_Description() { + return (EReference)facetTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacetType_DisplayName() { + return (EReference)facetTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacetType_Icon() { + return (EReference)facetTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacetType_FacetName() { + return (EReference)facetTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFacetType_FacetExtension() { + return (EReference)facetTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFacetType_Id() { + return (EAttribute)facetTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getFactoryType() { + return factoryTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFactoryType_ApplicationFactory() { + return (EReference)factoryTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFactoryType_FacesContextFactory() { + return (EReference)factoryTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFactoryType_LifecycleFactory() { + return (EReference)factoryTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getFactoryType_RenderKitFactory() { + return (EReference)factoryTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFactoryType_Id() { + return (EAttribute)factoryTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getFromActionType() { + return fromActionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFromActionType_TextContent() { + return (EAttribute)fromActionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFromActionType_Id() { + return (EAttribute)fromActionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getFromOutcomeType() { + return fromOutcomeTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFromOutcomeType_TextContent() { + return (EAttribute)fromOutcomeTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFromOutcomeType_Id() { + return (EAttribute)fromOutcomeTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getFromViewIdType() { + return fromViewIdTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFromViewIdType_TextContent() { + return (EAttribute)fromViewIdTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getFromViewIdType_Id() { + return (EAttribute)fromViewIdTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getIconType() { + return iconTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getIconType_SmallIcon() { + return (EReference)iconTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getIconType_LargeIcon() { + return (EReference)iconTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getIconType_Lang() { + return (EAttribute)iconTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getIconType_Id() { + return (EAttribute)iconTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getKeyClassType() { + return keyClassTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getKeyClassType_TextContent() { + return (EAttribute)keyClassTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getKeyClassType_Id() { + return (EAttribute)keyClassTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getKeyType() { + return keyTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getKeyType_TextContent() { + return (EAttribute)keyTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getKeyType_Id() { + return (EAttribute)keyTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getLargeIconType() { + return largeIconTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getLargeIconType_TextContent() { + return (EAttribute)largeIconTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getLargeIconType_Id() { + return (EAttribute)largeIconTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getLifecycleFactoryType() { + return lifecycleFactoryTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getLifecycleFactoryType_TextContent() { + return (EAttribute)lifecycleFactoryTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getLifecycleFactoryType_Id() { + return (EAttribute)lifecycleFactoryTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getLifecycleType() { + return lifecycleTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getLifecycleType_PhaseListener() { + return (EReference)lifecycleTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getLifecycleType_Id() { + return (EAttribute)lifecycleTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getListEntriesType() { + return listEntriesTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getListEntriesType_ValueClass() { + return (EReference)listEntriesTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getListEntriesType_NullValue() { + return (EReference)listEntriesTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getListEntriesType_Value() { + return (EReference)listEntriesTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getListEntriesType_Id() { + return (EAttribute)listEntriesTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getLocaleConfigType() { + return localeConfigTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getLocaleConfigType_DefaultLocale() { + return (EReference)localeConfigTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getLocaleConfigType_SupportedLocale() { + return (EReference)localeConfigTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getLocaleConfigType_Id() { + return (EAttribute)localeConfigTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getManagedBeanClassType() { + return managedBeanClassTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getManagedBeanClassType_TextContent() { + return (EAttribute)managedBeanClassTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getManagedBeanClassType_Id() { + return (EAttribute)managedBeanClassTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getManagedBeanNameType() { + return managedBeanNameTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getManagedBeanNameType_TextContent() { + return (EAttribute)managedBeanNameTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getManagedBeanNameType_Id() { + return (EAttribute)managedBeanNameTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getManagedBeanScopeType() { + return managedBeanScopeTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getManagedBeanScopeType_TextContent() { + return (EAttribute)managedBeanScopeTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getManagedBeanScopeType_Id() { + return (EAttribute)managedBeanScopeTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getManagedBeanType() { + return managedBeanTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedBeanType_Description() { + return (EReference)managedBeanTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedBeanType_DisplayName() { + return (EReference)managedBeanTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedBeanType_Icon() { + return (EReference)managedBeanTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedBeanType_ManagedBeanName() { + return (EReference)managedBeanTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedBeanType_ManagedBeanClass() { + return (EReference)managedBeanTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedBeanType_ManagedBeanScope() { + return (EReference)managedBeanTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedBeanType_ManagedProperty() { + return (EReference)managedBeanTypeEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedBeanType_MapEntries() { + return (EReference)managedBeanTypeEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedBeanType_ListEntries() { + return (EReference)managedBeanTypeEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getManagedBeanType_Id() { + return (EAttribute)managedBeanTypeEClass.getEStructuralFeatures().get(9); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getManagedPropertyType() { + return managedPropertyTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedPropertyType_Description() { + return (EReference)managedPropertyTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedPropertyType_DisplayName() { + return (EReference)managedPropertyTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedPropertyType_Icon() { + return (EReference)managedPropertyTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedPropertyType_PropertyName() { + return (EReference)managedPropertyTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedPropertyType_PropertyClass() { + return (EReference)managedPropertyTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedPropertyType_MapEntries() { + return (EReference)managedPropertyTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedPropertyType_NullValue() { + return (EReference)managedPropertyTypeEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedPropertyType_Value() { + return (EReference)managedPropertyTypeEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getManagedPropertyType_ListEntries() { + return (EReference)managedPropertyTypeEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getManagedPropertyType_Id() { + return (EAttribute)managedPropertyTypeEClass.getEStructuralFeatures().get(9); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getMapEntriesType() { + return mapEntriesTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getMapEntriesType_KeyClass() { + return (EReference)mapEntriesTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getMapEntriesType_ValueClass() { + return (EReference)mapEntriesTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getMapEntriesType_MapEntry() { + return (EReference)mapEntriesTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getMapEntriesType_Id() { + return (EAttribute)mapEntriesTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getMapEntryType() { + return mapEntryTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getMapEntryType_Key() { + return (EReference)mapEntryTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getMapEntryType_NullValue() { + return (EReference)mapEntryTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getMapEntryType_Value() { + return (EReference)mapEntryTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getMapEntryType_Id() { + return (EAttribute)mapEntryTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getMessageBundleType() { + return messageBundleTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getMessageBundleType_TextContent() { + return (EAttribute)messageBundleTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getMessageBundleType_Id() { + return (EAttribute)messageBundleTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getNavigationCaseType() { + return navigationCaseTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getNavigationCaseType_Description() { + return (EReference)navigationCaseTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getNavigationCaseType_DisplayName() { + return (EReference)navigationCaseTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getNavigationCaseType_Icon() { + return (EReference)navigationCaseTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getNavigationCaseType_FromAction() { + return (EReference)navigationCaseTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getNavigationCaseType_FromOutcome() { + return (EReference)navigationCaseTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getNavigationCaseType_ToViewId() { + return (EReference)navigationCaseTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getNavigationCaseType_Redirect() { + return (EReference)navigationCaseTypeEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getNavigationCaseType_Id() { + return (EAttribute)navigationCaseTypeEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getNavigationHandlerType() { + return navigationHandlerTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getNavigationHandlerType_TextContent() { + return (EAttribute)navigationHandlerTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getNavigationHandlerType_Id() { + return (EAttribute)navigationHandlerTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getNavigationRuleType() { + return navigationRuleTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getNavigationRuleType_Description() { + return (EReference)navigationRuleTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getNavigationRuleType_DisplayName() { + return (EReference)navigationRuleTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getNavigationRuleType_Icon() { + return (EReference)navigationRuleTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getNavigationRuleType_FromViewId() { + return (EReference)navigationRuleTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getNavigationRuleType_NavigationCase() { + return (EReference)navigationRuleTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getNavigationRuleType_Id() { + return (EAttribute)navigationRuleTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getNullValueType() { + return nullValueTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getNullValueType_Id() { + return (EAttribute)nullValueTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getPhaseListenerType() { + return phaseListenerTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPhaseListenerType_TextContent() { + return (EAttribute)phaseListenerTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPhaseListenerType_Id() { + return (EAttribute)phaseListenerTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getPropertyClassType() { + return propertyClassTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPropertyClassType_TextContent() { + return (EAttribute)propertyClassTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPropertyClassType_Id() { + return (EAttribute)propertyClassTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getPropertyExtensionType() { + return propertyExtensionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPropertyExtensionType_Mixed() { + return (EAttribute)propertyExtensionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPropertyExtensionType_Group() { + return (EAttribute)propertyExtensionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPropertyExtensionType_Any() { + return (EAttribute)propertyExtensionTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPropertyExtensionType_Id() { + return (EAttribute)propertyExtensionTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getPropertyNameType() { + return propertyNameTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPropertyNameType_TextContent() { + return (EAttribute)propertyNameTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPropertyNameType_Id() { + return (EAttribute)propertyNameTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getPropertyResolverType() { + return propertyResolverTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPropertyResolverType_TextContent() { + return (EAttribute)propertyResolverTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPropertyResolverType_Id() { + return (EAttribute)propertyResolverTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getPropertyType() { + return propertyTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getPropertyType_Description() { + return (EReference)propertyTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getPropertyType_DisplayName() { + return (EReference)propertyTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getPropertyType_Icon() { + return (EReference)propertyTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getPropertyType_PropertyName() { + return (EReference)propertyTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getPropertyType_PropertyClass() { + return (EReference)propertyTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getPropertyType_DefaultValue() { + return (EReference)propertyTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getPropertyType_SuggestedValue() { + return (EReference)propertyTypeEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getPropertyType_PropertyExtension() { + return (EReference)propertyTypeEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getPropertyType_Id() { + return (EAttribute)propertyTypeEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRedirectType() { + return redirectTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRedirectType_Id() { + return (EAttribute)redirectTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getReferencedBeanClassType() { + return referencedBeanClassTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getReferencedBeanClassType_TextContent() { + return (EAttribute)referencedBeanClassTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getReferencedBeanClassType_Id() { + return (EAttribute)referencedBeanClassTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getReferencedBeanNameType() { + return referencedBeanNameTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getReferencedBeanNameType_TextContent() { + return (EAttribute)referencedBeanNameTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getReferencedBeanNameType_Id() { + return (EAttribute)referencedBeanNameTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getReferencedBeanType() { + return referencedBeanTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getReferencedBeanType_Description() { + return (EReference)referencedBeanTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getReferencedBeanType_DisplayName() { + return (EReference)referencedBeanTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getReferencedBeanType_Icon() { + return (EReference)referencedBeanTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getReferencedBeanType_ReferencedBeanName() { + return (EReference)referencedBeanTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getReferencedBeanType_ReferencedBeanClass() { + return (EReference)referencedBeanTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getReferencedBeanType_Id() { + return (EAttribute)referencedBeanTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRendererClassType() { + return rendererClassTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRendererClassType_TextContent() { + return (EAttribute)rendererClassTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRendererClassType_Id() { + return (EAttribute)rendererClassTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRendererExtensionType() { + return rendererExtensionTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRendererExtensionType_Mixed() { + return (EAttribute)rendererExtensionTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRendererExtensionType_Group() { + return (EAttribute)rendererExtensionTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRendererExtensionType_Any() { + return (EAttribute)rendererExtensionTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRendererExtensionType_Id() { + return (EAttribute)rendererExtensionTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRendererType() { + return rendererTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRendererType_Description() { + return (EReference)rendererTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRendererType_DisplayName() { + return (EReference)rendererTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRendererType_Icon() { + return (EReference)rendererTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRendererType_ComponentFamily() { + return (EReference)rendererTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRendererType_RendererType() { + return (EReference)rendererTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRendererType_RendererClass() { + return (EReference)rendererTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRendererType_Facet() { + return (EReference)rendererTypeEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRendererType_Attribute() { + return (EReference)rendererTypeEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRendererType_RendererExtension() { + return (EReference)rendererTypeEClass.getEStructuralFeatures().get(8); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRendererType_Id() { + return (EAttribute)rendererTypeEClass.getEStructuralFeatures().get(9); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRendererTypeType() { + return rendererTypeTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRendererTypeType_TextContent() { + return (EAttribute)rendererTypeTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRendererTypeType_Id() { + return (EAttribute)rendererTypeTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRenderKitClassType() { + return renderKitClassTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRenderKitClassType_TextContent() { + return (EAttribute)renderKitClassTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRenderKitClassType_Id() { + return (EAttribute)renderKitClassTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRenderKitFactoryType() { + return renderKitFactoryTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRenderKitFactoryType_TextContent() { + return (EAttribute)renderKitFactoryTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRenderKitFactoryType_Id() { + return (EAttribute)renderKitFactoryTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRenderKitIdType() { + return renderKitIdTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRenderKitIdType_TextContent() { + return (EAttribute)renderKitIdTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRenderKitIdType_Id() { + return (EAttribute)renderKitIdTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRenderKitType() { + return renderKitTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRenderKitType_Description() { + return (EReference)renderKitTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRenderKitType_DisplayName() { + return (EReference)renderKitTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRenderKitType_Icon() { + return (EReference)renderKitTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRenderKitType_RenderKitId() { + return (EReference)renderKitTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRenderKitType_RenderKitClass() { + return (EReference)renderKitTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRenderKitType_Renderer() { + return (EReference)renderKitTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getRenderKitType_Id() { + return (EAttribute)renderKitTypeEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getSmallIconType() { + return smallIconTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getSmallIconType_TextContent() { + return (EAttribute)smallIconTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getSmallIconType_Id() { + return (EAttribute)smallIconTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getStateManagerType() { + return stateManagerTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getStateManagerType_TextContent() { + return (EAttribute)stateManagerTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getStateManagerType_Id() { + return (EAttribute)stateManagerTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getSuggestedValueType() { + return suggestedValueTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getSuggestedValueType_TextContent() { + return (EAttribute)suggestedValueTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getSuggestedValueType_Id() { + return (EAttribute)suggestedValueTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getSupportedLocaleType() { + return supportedLocaleTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getSupportedLocaleType_TextContent() { + return (EAttribute)supportedLocaleTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getSupportedLocaleType_Id() { + return (EAttribute)supportedLocaleTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getToViewIdType() { + return toViewIdTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getToViewIdType_TextContent() { + return (EAttribute)toViewIdTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getToViewIdType_Id() { + return (EAttribute)toViewIdTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getValidatorClassType() { + return validatorClassTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getValidatorClassType_TextContent() { + return (EAttribute)validatorClassTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getValidatorClassType_Id() { + return (EAttribute)validatorClassTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getValidatorIdType() { + return validatorIdTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getValidatorIdType_TextContent() { + return (EAttribute)validatorIdTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getValidatorIdType_Id() { + return (EAttribute)validatorIdTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getValidatorType() { + return validatorTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getValidatorType_Description() { + return (EReference)validatorTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getValidatorType_DisplayName() { + return (EReference)validatorTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getValidatorType_Icon() { + return (EReference)validatorTypeEClass.getEStructuralFeatures().get(2); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getValidatorType_ValidatorId() { + return (EReference)validatorTypeEClass.getEStructuralFeatures().get(3); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getValidatorType_ValidatorClass() { + return (EReference)validatorTypeEClass.getEStructuralFeatures().get(4); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getValidatorType_Attribute() { + return (EReference)validatorTypeEClass.getEStructuralFeatures().get(5); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getValidatorType_Property() { + return (EReference)validatorTypeEClass.getEStructuralFeatures().get(6); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getValidatorType_Id() { + return (EAttribute)validatorTypeEClass.getEStructuralFeatures().get(7); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getValueClassType() { + return valueClassTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getValueClassType_TextContent() { + return (EAttribute)valueClassTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getValueClassType_Id() { + return (EAttribute)valueClassTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getValueType() { + return valueTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getValueType_TextContent() { + return (EAttribute)valueTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getValueType_Id() { + return (EAttribute)valueTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getVariableResolverType() { + return variableResolverTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getVariableResolverType_TextContent() { + return (EAttribute)variableResolverTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getVariableResolverType_Id() { + return (EAttribute)variableResolverTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getViewHandlerType() { + return viewHandlerTypeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getViewHandlerType_TextContent() { + return (EAttribute)viewHandlerTypeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getViewHandlerType_Id() { + return (EAttribute)viewHandlerTypeEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacesConfigFactory getFacesConfigFactory() { + return (FacesConfigFactory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() { + if (isCreated) return; + isCreated = true; + + // Create classes and their features + actionListenerTypeEClass = createEClass(ACTION_LISTENER_TYPE); + createEAttribute(actionListenerTypeEClass, ACTION_LISTENER_TYPE__TEXT_CONTENT); + createEAttribute(actionListenerTypeEClass, ACTION_LISTENER_TYPE__ID); + + applicationFactoryTypeEClass = createEClass(APPLICATION_FACTORY_TYPE); + createEAttribute(applicationFactoryTypeEClass, APPLICATION_FACTORY_TYPE__TEXT_CONTENT); + createEAttribute(applicationFactoryTypeEClass, APPLICATION_FACTORY_TYPE__ID); + + applicationTypeEClass = createEClass(APPLICATION_TYPE); + createEReference(applicationTypeEClass, APPLICATION_TYPE__ACTION_LISTENER); + createEReference(applicationTypeEClass, APPLICATION_TYPE__DEFAULT_RENDER_KIT_ID); + createEReference(applicationTypeEClass, APPLICATION_TYPE__MESSAGE_BUNDLE); + createEReference(applicationTypeEClass, APPLICATION_TYPE__NAVIGATION_HANDLER); + createEReference(applicationTypeEClass, APPLICATION_TYPE__VIEW_HANDLER); + createEReference(applicationTypeEClass, APPLICATION_TYPE__STATE_MANAGER); + createEReference(applicationTypeEClass, APPLICATION_TYPE__PROPERTY_RESOLVER); + createEReference(applicationTypeEClass, APPLICATION_TYPE__VARIABLE_RESOLVER); + createEReference(applicationTypeEClass, APPLICATION_TYPE__LOCALE_CONFIG); + createEAttribute(applicationTypeEClass, APPLICATION_TYPE__ID); + + attributeClassTypeEClass = createEClass(ATTRIBUTE_CLASS_TYPE); + createEAttribute(attributeClassTypeEClass, ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT); + createEAttribute(attributeClassTypeEClass, ATTRIBUTE_CLASS_TYPE__ID); + + attributeExtensionTypeEClass = createEClass(ATTRIBUTE_EXTENSION_TYPE); + createEAttribute(attributeExtensionTypeEClass, ATTRIBUTE_EXTENSION_TYPE__MIXED); + createEAttribute(attributeExtensionTypeEClass, ATTRIBUTE_EXTENSION_TYPE__GROUP); + createEAttribute(attributeExtensionTypeEClass, ATTRIBUTE_EXTENSION_TYPE__ANY); + createEAttribute(attributeExtensionTypeEClass, ATTRIBUTE_EXTENSION_TYPE__ID); + + attributeNameTypeEClass = createEClass(ATTRIBUTE_NAME_TYPE); + createEAttribute(attributeNameTypeEClass, ATTRIBUTE_NAME_TYPE__TEXT_CONTENT); + createEAttribute(attributeNameTypeEClass, ATTRIBUTE_NAME_TYPE__ID); + + attributeTypeEClass = createEClass(ATTRIBUTE_TYPE); + createEReference(attributeTypeEClass, ATTRIBUTE_TYPE__DESCRIPTION); + createEReference(attributeTypeEClass, ATTRIBUTE_TYPE__DISPLAY_NAME); + createEReference(attributeTypeEClass, ATTRIBUTE_TYPE__ICON); + createEReference(attributeTypeEClass, ATTRIBUTE_TYPE__ATTRIBUTE_NAME); + createEReference(attributeTypeEClass, ATTRIBUTE_TYPE__ATTRIBUTE_CLASS); + createEReference(attributeTypeEClass, ATTRIBUTE_TYPE__DEFAULT_VALUE); + createEReference(attributeTypeEClass, ATTRIBUTE_TYPE__SUGGESTED_VALUE); + createEReference(attributeTypeEClass, ATTRIBUTE_TYPE__ATTRIBUTE_EXTENSION); + createEAttribute(attributeTypeEClass, ATTRIBUTE_TYPE__ID); + + componentClassTypeEClass = createEClass(COMPONENT_CLASS_TYPE); + createEAttribute(componentClassTypeEClass, COMPONENT_CLASS_TYPE__TEXT_CONTENT); + createEAttribute(componentClassTypeEClass, COMPONENT_CLASS_TYPE__ID); + + componentExtensionTypeEClass = createEClass(COMPONENT_EXTENSION_TYPE); + createEAttribute(componentExtensionTypeEClass, COMPONENT_EXTENSION_TYPE__MIXED); + createEAttribute(componentExtensionTypeEClass, COMPONENT_EXTENSION_TYPE__GROUP); + createEAttribute(componentExtensionTypeEClass, COMPONENT_EXTENSION_TYPE__ANY); + createEAttribute(componentExtensionTypeEClass, COMPONENT_EXTENSION_TYPE__ID); + + componentFamilyTypeEClass = createEClass(COMPONENT_FAMILY_TYPE); + createEAttribute(componentFamilyTypeEClass, COMPONENT_FAMILY_TYPE__TEXT_CONTENT); + createEAttribute(componentFamilyTypeEClass, COMPONENT_FAMILY_TYPE__ID); + + componentTypeEClass = createEClass(COMPONENT_TYPE); + createEReference(componentTypeEClass, COMPONENT_TYPE__DESCRIPTION); + createEReference(componentTypeEClass, COMPONENT_TYPE__DISPLAY_NAME); + createEReference(componentTypeEClass, COMPONENT_TYPE__ICON); + createEReference(componentTypeEClass, COMPONENT_TYPE__COMPONENT_TYPE); + createEReference(componentTypeEClass, COMPONENT_TYPE__COMPONENT_CLASS); + createEReference(componentTypeEClass, COMPONENT_TYPE__FACET); + createEReference(componentTypeEClass, COMPONENT_TYPE__ATTRIBUTE); + createEReference(componentTypeEClass, COMPONENT_TYPE__PROPERTY); + createEReference(componentTypeEClass, COMPONENT_TYPE__COMPONENT_EXTENSION); + createEAttribute(componentTypeEClass, COMPONENT_TYPE__ID); + + componentTypeTypeEClass = createEClass(COMPONENT_TYPE_TYPE); + createEAttribute(componentTypeTypeEClass, COMPONENT_TYPE_TYPE__TEXT_CONTENT); + createEAttribute(componentTypeTypeEClass, COMPONENT_TYPE_TYPE__ID); + + converterClassTypeEClass = createEClass(CONVERTER_CLASS_TYPE); + createEAttribute(converterClassTypeEClass, CONVERTER_CLASS_TYPE__TEXT_CONTENT); + createEAttribute(converterClassTypeEClass, CONVERTER_CLASS_TYPE__ID); + + converterForClassTypeEClass = createEClass(CONVERTER_FOR_CLASS_TYPE); + createEAttribute(converterForClassTypeEClass, CONVERTER_FOR_CLASS_TYPE__TEXT_CONTENT); + createEAttribute(converterForClassTypeEClass, CONVERTER_FOR_CLASS_TYPE__ID); + + converterIdTypeEClass = createEClass(CONVERTER_ID_TYPE); + createEAttribute(converterIdTypeEClass, CONVERTER_ID_TYPE__TEXT_CONTENT); + createEAttribute(converterIdTypeEClass, CONVERTER_ID_TYPE__ID); + + converterTypeEClass = createEClass(CONVERTER_TYPE); + createEReference(converterTypeEClass, CONVERTER_TYPE__DESCRIPTION); + createEReference(converterTypeEClass, CONVERTER_TYPE__DISPLAY_NAME); + createEReference(converterTypeEClass, CONVERTER_TYPE__ICON); + createEReference(converterTypeEClass, CONVERTER_TYPE__CONVERTER_ID); + createEReference(converterTypeEClass, CONVERTER_TYPE__CONVERTER_FOR_CLASS); + createEReference(converterTypeEClass, CONVERTER_TYPE__CONVERTER_CLASS); + createEReference(converterTypeEClass, CONVERTER_TYPE__ATTRIBUTE); + createEReference(converterTypeEClass, CONVERTER_TYPE__PROPERTY); + createEAttribute(converterTypeEClass, CONVERTER_TYPE__ID); + + defaultLocaleTypeEClass = createEClass(DEFAULT_LOCALE_TYPE); + createEAttribute(defaultLocaleTypeEClass, DEFAULT_LOCALE_TYPE__TEXT_CONTENT); + createEAttribute(defaultLocaleTypeEClass, DEFAULT_LOCALE_TYPE__ID); + + defaultRenderKitIdTypeEClass = createEClass(DEFAULT_RENDER_KIT_ID_TYPE); + createEAttribute(defaultRenderKitIdTypeEClass, DEFAULT_RENDER_KIT_ID_TYPE__TEXT_CONTENT); + createEAttribute(defaultRenderKitIdTypeEClass, DEFAULT_RENDER_KIT_ID_TYPE__ID); + + defaultValueTypeEClass = createEClass(DEFAULT_VALUE_TYPE); + createEAttribute(defaultValueTypeEClass, DEFAULT_VALUE_TYPE__TEXT_CONTENT); + createEAttribute(defaultValueTypeEClass, DEFAULT_VALUE_TYPE__ID); + + descriptionTypeEClass = createEClass(DESCRIPTION_TYPE); + createEAttribute(descriptionTypeEClass, DESCRIPTION_TYPE__TEXT_CONTENT); + createEAttribute(descriptionTypeEClass, DESCRIPTION_TYPE__LANG); + createEAttribute(descriptionTypeEClass, DESCRIPTION_TYPE__ID); + + displayNameTypeEClass = createEClass(DISPLAY_NAME_TYPE); + createEAttribute(displayNameTypeEClass, DISPLAY_NAME_TYPE__TEXT_CONTENT); + createEAttribute(displayNameTypeEClass, DISPLAY_NAME_TYPE__LANG); + createEAttribute(displayNameTypeEClass, DISPLAY_NAME_TYPE__ID); + + documentRootEClass = createEClass(DOCUMENT_ROOT); + createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED); + createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP); + createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION); + createEReference(documentRootEClass, DOCUMENT_ROOT__ACTION_LISTENER); + createEReference(documentRootEClass, DOCUMENT_ROOT__APPLICATION); + createEReference(documentRootEClass, DOCUMENT_ROOT__APPLICATION_FACTORY); + createEReference(documentRootEClass, DOCUMENT_ROOT__ATTRIBUTE); + createEReference(documentRootEClass, DOCUMENT_ROOT__ATTRIBUTE_CLASS); + createEReference(documentRootEClass, DOCUMENT_ROOT__ATTRIBUTE_EXTENSION); + createEReference(documentRootEClass, DOCUMENT_ROOT__ATTRIBUTE_NAME); + createEReference(documentRootEClass, DOCUMENT_ROOT__COMPONENT); + createEReference(documentRootEClass, DOCUMENT_ROOT__COMPONENT_CLASS); + createEReference(documentRootEClass, DOCUMENT_ROOT__COMPONENT_EXTENSION); + createEReference(documentRootEClass, DOCUMENT_ROOT__COMPONENT_FAMILY); + createEReference(documentRootEClass, DOCUMENT_ROOT__COMPONENT_TYPE); + createEReference(documentRootEClass, DOCUMENT_ROOT__CONVERTER); + createEReference(documentRootEClass, DOCUMENT_ROOT__CONVERTER_CLASS); + createEReference(documentRootEClass, DOCUMENT_ROOT__CONVERTER_FOR_CLASS); + createEReference(documentRootEClass, DOCUMENT_ROOT__CONVERTER_ID); + createEReference(documentRootEClass, DOCUMENT_ROOT__DEFAULT_LOCALE); + createEReference(documentRootEClass, DOCUMENT_ROOT__DEFAULT_RENDER_KIT_ID); + createEReference(documentRootEClass, DOCUMENT_ROOT__DEFAULT_VALUE); + createEReference(documentRootEClass, DOCUMENT_ROOT__DESCRIPTION); + createEReference(documentRootEClass, DOCUMENT_ROOT__DISPLAY_NAME); + createEReference(documentRootEClass, DOCUMENT_ROOT__FACES_CONFIG); + createEReference(documentRootEClass, DOCUMENT_ROOT__FACES_CONTEXT_FACTORY); + createEReference(documentRootEClass, DOCUMENT_ROOT__FACET); + createEReference(documentRootEClass, DOCUMENT_ROOT__FACET_EXTENSION); + createEReference(documentRootEClass, DOCUMENT_ROOT__FACET_NAME); + createEReference(documentRootEClass, DOCUMENT_ROOT__FACTORY); + createEReference(documentRootEClass, DOCUMENT_ROOT__FROM_ACTION); + createEReference(documentRootEClass, DOCUMENT_ROOT__FROM_OUTCOME); + createEReference(documentRootEClass, DOCUMENT_ROOT__FROM_VIEW_ID); + createEReference(documentRootEClass, DOCUMENT_ROOT__ICON); + createEReference(documentRootEClass, DOCUMENT_ROOT__KEY); + createEReference(documentRootEClass, DOCUMENT_ROOT__KEY_CLASS); + createEReference(documentRootEClass, DOCUMENT_ROOT__LARGE_ICON); + createEReference(documentRootEClass, DOCUMENT_ROOT__LIFECYCLE); + createEReference(documentRootEClass, DOCUMENT_ROOT__LIFECYCLE_FACTORY); + createEReference(documentRootEClass, DOCUMENT_ROOT__LIST_ENTRIES); + createEReference(documentRootEClass, DOCUMENT_ROOT__LOCALE_CONFIG); + createEReference(documentRootEClass, DOCUMENT_ROOT__MANAGED_BEAN); + createEReference(documentRootEClass, DOCUMENT_ROOT__MANAGED_BEAN_CLASS); + createEReference(documentRootEClass, DOCUMENT_ROOT__MANAGED_BEAN_NAME); + createEReference(documentRootEClass, DOCUMENT_ROOT__MANAGED_BEAN_SCOPE); + createEReference(documentRootEClass, DOCUMENT_ROOT__MANAGED_PROPERTY); + createEReference(documentRootEClass, DOCUMENT_ROOT__MAP_ENTRIES); + createEReference(documentRootEClass, DOCUMENT_ROOT__MAP_ENTRY); + createEReference(documentRootEClass, DOCUMENT_ROOT__MESSAGE_BUNDLE); + createEReference(documentRootEClass, DOCUMENT_ROOT__NAVIGATION_CASE); + createEReference(documentRootEClass, DOCUMENT_ROOT__NAVIGATION_HANDLER); + createEReference(documentRootEClass, DOCUMENT_ROOT__NAVIGATION_RULE); + createEReference(documentRootEClass, DOCUMENT_ROOT__NULL_VALUE); + createEReference(documentRootEClass, DOCUMENT_ROOT__PHASE_LISTENER); + createEReference(documentRootEClass, DOCUMENT_ROOT__PROPERTY); + createEReference(documentRootEClass, DOCUMENT_ROOT__PROPERTY_CLASS); + createEReference(documentRootEClass, DOCUMENT_ROOT__PROPERTY_EXTENSION); + createEReference(documentRootEClass, DOCUMENT_ROOT__PROPERTY_NAME); + createEReference(documentRootEClass, DOCUMENT_ROOT__PROPERTY_RESOLVER); + createEReference(documentRootEClass, DOCUMENT_ROOT__REDIRECT); + createEReference(documentRootEClass, DOCUMENT_ROOT__REFERENCED_BEAN); + createEReference(documentRootEClass, DOCUMENT_ROOT__REFERENCED_BEAN_CLASS); + createEReference(documentRootEClass, DOCUMENT_ROOT__REFERENCED_BEAN_NAME); + createEReference(documentRootEClass, DOCUMENT_ROOT__RENDERER); + createEReference(documentRootEClass, DOCUMENT_ROOT__RENDERER_CLASS); + createEReference(documentRootEClass, DOCUMENT_ROOT__RENDERER_EXTENSION); + createEReference(documentRootEClass, DOCUMENT_ROOT__RENDERER_TYPE); + createEReference(documentRootEClass, DOCUMENT_ROOT__RENDER_KIT); + createEReference(documentRootEClass, DOCUMENT_ROOT__RENDER_KIT_CLASS); + createEReference(documentRootEClass, DOCUMENT_ROOT__RENDER_KIT_FACTORY); + createEReference(documentRootEClass, DOCUMENT_ROOT__RENDER_KIT_ID); + createEReference(documentRootEClass, DOCUMENT_ROOT__SMALL_ICON); + createEReference(documentRootEClass, DOCUMENT_ROOT__STATE_MANAGER); + createEReference(documentRootEClass, DOCUMENT_ROOT__SUGGESTED_VALUE); + createEReference(documentRootEClass, DOCUMENT_ROOT__SUPPORTED_LOCALE); + createEReference(documentRootEClass, DOCUMENT_ROOT__TO_VIEW_ID); + createEReference(documentRootEClass, DOCUMENT_ROOT__VALIDATOR); + createEReference(documentRootEClass, DOCUMENT_ROOT__VALIDATOR_CLASS); + createEReference(documentRootEClass, DOCUMENT_ROOT__VALIDATOR_ID); + createEReference(documentRootEClass, DOCUMENT_ROOT__VALUE); + createEReference(documentRootEClass, DOCUMENT_ROOT__VALUE_CLASS); + createEReference(documentRootEClass, DOCUMENT_ROOT__VARIABLE_RESOLVER); + createEReference(documentRootEClass, DOCUMENT_ROOT__VIEW_HANDLER); + + facesConfigTypeEClass = createEClass(FACES_CONFIG_TYPE); + createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__APPLICATION); + createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__FACTORY); + createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__COMPONENT); + createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__CONVERTER); + createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__MANAGED_BEAN); + createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__NAVIGATION_RULE); + createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__REFERENCED_BEAN); + createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__RENDER_KIT); + createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__LIFECYCLE); + createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__VALIDATOR); + createEAttribute(facesConfigTypeEClass, FACES_CONFIG_TYPE__XMLNS); + createEAttribute(facesConfigTypeEClass, FACES_CONFIG_TYPE__ID); + + facesContextFactoryTypeEClass = createEClass(FACES_CONTEXT_FACTORY_TYPE); + createEAttribute(facesContextFactoryTypeEClass, FACES_CONTEXT_FACTORY_TYPE__TEXT_CONTENT); + createEAttribute(facesContextFactoryTypeEClass, FACES_CONTEXT_FACTORY_TYPE__ID); + + facetExtensionTypeEClass = createEClass(FACET_EXTENSION_TYPE); + createEAttribute(facetExtensionTypeEClass, FACET_EXTENSION_TYPE__MIXED); + createEAttribute(facetExtensionTypeEClass, FACET_EXTENSION_TYPE__GROUP); + createEAttribute(facetExtensionTypeEClass, FACET_EXTENSION_TYPE__ANY); + createEAttribute(facetExtensionTypeEClass, FACET_EXTENSION_TYPE__ID); + + facetNameTypeEClass = createEClass(FACET_NAME_TYPE); + createEAttribute(facetNameTypeEClass, FACET_NAME_TYPE__TEXT_CONTENT); + createEAttribute(facetNameTypeEClass, FACET_NAME_TYPE__ID); + + facetTypeEClass = createEClass(FACET_TYPE); + createEReference(facetTypeEClass, FACET_TYPE__DESCRIPTION); + createEReference(facetTypeEClass, FACET_TYPE__DISPLAY_NAME); + createEReference(facetTypeEClass, FACET_TYPE__ICON); + createEReference(facetTypeEClass, FACET_TYPE__FACET_NAME); + createEReference(facetTypeEClass, FACET_TYPE__FACET_EXTENSION); + createEAttribute(facetTypeEClass, FACET_TYPE__ID); + + factoryTypeEClass = createEClass(FACTORY_TYPE); + createEReference(factoryTypeEClass, FACTORY_TYPE__APPLICATION_FACTORY); + createEReference(factoryTypeEClass, FACTORY_TYPE__FACES_CONTEXT_FACTORY); + createEReference(factoryTypeEClass, FACTORY_TYPE__LIFECYCLE_FACTORY); + createEReference(factoryTypeEClass, FACTORY_TYPE__RENDER_KIT_FACTORY); + createEAttribute(factoryTypeEClass, FACTORY_TYPE__ID); + + fromActionTypeEClass = createEClass(FROM_ACTION_TYPE); + createEAttribute(fromActionTypeEClass, FROM_ACTION_TYPE__TEXT_CONTENT); + createEAttribute(fromActionTypeEClass, FROM_ACTION_TYPE__ID); + + fromOutcomeTypeEClass = createEClass(FROM_OUTCOME_TYPE); + createEAttribute(fromOutcomeTypeEClass, FROM_OUTCOME_TYPE__TEXT_CONTENT); + createEAttribute(fromOutcomeTypeEClass, FROM_OUTCOME_TYPE__ID); + + fromViewIdTypeEClass = createEClass(FROM_VIEW_ID_TYPE); + createEAttribute(fromViewIdTypeEClass, FROM_VIEW_ID_TYPE__TEXT_CONTENT); + createEAttribute(fromViewIdTypeEClass, FROM_VIEW_ID_TYPE__ID); + + iconTypeEClass = createEClass(ICON_TYPE); + createEReference(iconTypeEClass, ICON_TYPE__SMALL_ICON); + createEReference(iconTypeEClass, ICON_TYPE__LARGE_ICON); + createEAttribute(iconTypeEClass, ICON_TYPE__LANG); + createEAttribute(iconTypeEClass, ICON_TYPE__ID); + + keyClassTypeEClass = createEClass(KEY_CLASS_TYPE); + createEAttribute(keyClassTypeEClass, KEY_CLASS_TYPE__TEXT_CONTENT); + createEAttribute(keyClassTypeEClass, KEY_CLASS_TYPE__ID); + + keyTypeEClass = createEClass(KEY_TYPE); + createEAttribute(keyTypeEClass, KEY_TYPE__TEXT_CONTENT); + createEAttribute(keyTypeEClass, KEY_TYPE__ID); + + largeIconTypeEClass = createEClass(LARGE_ICON_TYPE); + createEAttribute(largeIconTypeEClass, LARGE_ICON_TYPE__TEXT_CONTENT); + createEAttribute(largeIconTypeEClass, LARGE_ICON_TYPE__ID); + + lifecycleFactoryTypeEClass = createEClass(LIFECYCLE_FACTORY_TYPE); + createEAttribute(lifecycleFactoryTypeEClass, LIFECYCLE_FACTORY_TYPE__TEXT_CONTENT); + createEAttribute(lifecycleFactoryTypeEClass, LIFECYCLE_FACTORY_TYPE__ID); + + lifecycleTypeEClass = createEClass(LIFECYCLE_TYPE); + createEReference(lifecycleTypeEClass, LIFECYCLE_TYPE__PHASE_LISTENER); + createEAttribute(lifecycleTypeEClass, LIFECYCLE_TYPE__ID); + + listEntriesTypeEClass = createEClass(LIST_ENTRIES_TYPE); + createEReference(listEntriesTypeEClass, LIST_ENTRIES_TYPE__VALUE_CLASS); + createEReference(listEntriesTypeEClass, LIST_ENTRIES_TYPE__NULL_VALUE); + createEReference(listEntriesTypeEClass, LIST_ENTRIES_TYPE__VALUE); + createEAttribute(listEntriesTypeEClass, LIST_ENTRIES_TYPE__ID); + + localeConfigTypeEClass = createEClass(LOCALE_CONFIG_TYPE); + createEReference(localeConfigTypeEClass, LOCALE_CONFIG_TYPE__DEFAULT_LOCALE); + createEReference(localeConfigTypeEClass, LOCALE_CONFIG_TYPE__SUPPORTED_LOCALE); + createEAttribute(localeConfigTypeEClass, LOCALE_CONFIG_TYPE__ID); + + managedBeanClassTypeEClass = createEClass(MANAGED_BEAN_CLASS_TYPE); + createEAttribute(managedBeanClassTypeEClass, MANAGED_BEAN_CLASS_TYPE__TEXT_CONTENT); + createEAttribute(managedBeanClassTypeEClass, MANAGED_BEAN_CLASS_TYPE__ID); + + managedBeanNameTypeEClass = createEClass(MANAGED_BEAN_NAME_TYPE); + createEAttribute(managedBeanNameTypeEClass, MANAGED_BEAN_NAME_TYPE__TEXT_CONTENT); + createEAttribute(managedBeanNameTypeEClass, MANAGED_BEAN_NAME_TYPE__ID); + + managedBeanScopeTypeEClass = createEClass(MANAGED_BEAN_SCOPE_TYPE); + createEAttribute(managedBeanScopeTypeEClass, MANAGED_BEAN_SCOPE_TYPE__TEXT_CONTENT); + createEAttribute(managedBeanScopeTypeEClass, MANAGED_BEAN_SCOPE_TYPE__ID); + + managedBeanTypeEClass = createEClass(MANAGED_BEAN_TYPE); + createEReference(managedBeanTypeEClass, MANAGED_BEAN_TYPE__DESCRIPTION); + createEReference(managedBeanTypeEClass, MANAGED_BEAN_TYPE__DISPLAY_NAME); + createEReference(managedBeanTypeEClass, MANAGED_BEAN_TYPE__ICON); + createEReference(managedBeanTypeEClass, MANAGED_BEAN_TYPE__MANAGED_BEAN_NAME); + createEReference(managedBeanTypeEClass, MANAGED_BEAN_TYPE__MANAGED_BEAN_CLASS); + createEReference(managedBeanTypeEClass, MANAGED_BEAN_TYPE__MANAGED_BEAN_SCOPE); + createEReference(managedBeanTypeEClass, MANAGED_BEAN_TYPE__MANAGED_PROPERTY); + createEReference(managedBeanTypeEClass, MANAGED_BEAN_TYPE__MAP_ENTRIES); + createEReference(managedBeanTypeEClass, MANAGED_BEAN_TYPE__LIST_ENTRIES); + createEAttribute(managedBeanTypeEClass, MANAGED_BEAN_TYPE__ID); + + managedPropertyTypeEClass = createEClass(MANAGED_PROPERTY_TYPE); + createEReference(managedPropertyTypeEClass, MANAGED_PROPERTY_TYPE__DESCRIPTION); + createEReference(managedPropertyTypeEClass, MANAGED_PROPERTY_TYPE__DISPLAY_NAME); + createEReference(managedPropertyTypeEClass, MANAGED_PROPERTY_TYPE__ICON); + createEReference(managedPropertyTypeEClass, MANAGED_PROPERTY_TYPE__PROPERTY_NAME); + createEReference(managedPropertyTypeEClass, MANAGED_PROPERTY_TYPE__PROPERTY_CLASS); + createEReference(managedPropertyTypeEClass, MANAGED_PROPERTY_TYPE__MAP_ENTRIES); + createEReference(managedPropertyTypeEClass, MANAGED_PROPERTY_TYPE__NULL_VALUE); + createEReference(managedPropertyTypeEClass, MANAGED_PROPERTY_TYPE__VALUE); + createEReference(managedPropertyTypeEClass, MANAGED_PROPERTY_TYPE__LIST_ENTRIES); + createEAttribute(managedPropertyTypeEClass, MANAGED_PROPERTY_TYPE__ID); + + mapEntriesTypeEClass = createEClass(MAP_ENTRIES_TYPE); + createEReference(mapEntriesTypeEClass, MAP_ENTRIES_TYPE__KEY_CLASS); + createEReference(mapEntriesTypeEClass, MAP_ENTRIES_TYPE__VALUE_CLASS); + createEReference(mapEntriesTypeEClass, MAP_ENTRIES_TYPE__MAP_ENTRY); + createEAttribute(mapEntriesTypeEClass, MAP_ENTRIES_TYPE__ID); + + mapEntryTypeEClass = createEClass(MAP_ENTRY_TYPE); + createEReference(mapEntryTypeEClass, MAP_ENTRY_TYPE__KEY); + createEReference(mapEntryTypeEClass, MAP_ENTRY_TYPE__NULL_VALUE); + createEReference(mapEntryTypeEClass, MAP_ENTRY_TYPE__VALUE); + createEAttribute(mapEntryTypeEClass, MAP_ENTRY_TYPE__ID); + + messageBundleTypeEClass = createEClass(MESSAGE_BUNDLE_TYPE); + createEAttribute(messageBundleTypeEClass, MESSAGE_BUNDLE_TYPE__TEXT_CONTENT); + createEAttribute(messageBundleTypeEClass, MESSAGE_BUNDLE_TYPE__ID); + + navigationCaseTypeEClass = createEClass(NAVIGATION_CASE_TYPE); + createEReference(navigationCaseTypeEClass, NAVIGATION_CASE_TYPE__DESCRIPTION); + createEReference(navigationCaseTypeEClass, NAVIGATION_CASE_TYPE__DISPLAY_NAME); + createEReference(navigationCaseTypeEClass, NAVIGATION_CASE_TYPE__ICON); + createEReference(navigationCaseTypeEClass, NAVIGATION_CASE_TYPE__FROM_ACTION); + createEReference(navigationCaseTypeEClass, NAVIGATION_CASE_TYPE__FROM_OUTCOME); + createEReference(navigationCaseTypeEClass, NAVIGATION_CASE_TYPE__TO_VIEW_ID); + createEReference(navigationCaseTypeEClass, NAVIGATION_CASE_TYPE__REDIRECT); + createEAttribute(navigationCaseTypeEClass, NAVIGATION_CASE_TYPE__ID); + + navigationHandlerTypeEClass = createEClass(NAVIGATION_HANDLER_TYPE); + createEAttribute(navigationHandlerTypeEClass, NAVIGATION_HANDLER_TYPE__TEXT_CONTENT); + createEAttribute(navigationHandlerTypeEClass, NAVIGATION_HANDLER_TYPE__ID); + + navigationRuleTypeEClass = createEClass(NAVIGATION_RULE_TYPE); + createEReference(navigationRuleTypeEClass, NAVIGATION_RULE_TYPE__DESCRIPTION); + createEReference(navigationRuleTypeEClass, NAVIGATION_RULE_TYPE__DISPLAY_NAME); + createEReference(navigationRuleTypeEClass, NAVIGATION_RULE_TYPE__ICON); + createEReference(navigationRuleTypeEClass, NAVIGATION_RULE_TYPE__FROM_VIEW_ID); + createEReference(navigationRuleTypeEClass, NAVIGATION_RULE_TYPE__NAVIGATION_CASE); + createEAttribute(navigationRuleTypeEClass, NAVIGATION_RULE_TYPE__ID); + + nullValueTypeEClass = createEClass(NULL_VALUE_TYPE); + createEAttribute(nullValueTypeEClass, NULL_VALUE_TYPE__ID); + + phaseListenerTypeEClass = createEClass(PHASE_LISTENER_TYPE); + createEAttribute(phaseListenerTypeEClass, PHASE_LISTENER_TYPE__TEXT_CONTENT); + createEAttribute(phaseListenerTypeEClass, PHASE_LISTENER_TYPE__ID); + + propertyClassTypeEClass = createEClass(PROPERTY_CLASS_TYPE); + createEAttribute(propertyClassTypeEClass, PROPERTY_CLASS_TYPE__TEXT_CONTENT); + createEAttribute(propertyClassTypeEClass, PROPERTY_CLASS_TYPE__ID); + + propertyExtensionTypeEClass = createEClass(PROPERTY_EXTENSION_TYPE); + createEAttribute(propertyExtensionTypeEClass, PROPERTY_EXTENSION_TYPE__MIXED); + createEAttribute(propertyExtensionTypeEClass, PROPERTY_EXTENSION_TYPE__GROUP); + createEAttribute(propertyExtensionTypeEClass, PROPERTY_EXTENSION_TYPE__ANY); + createEAttribute(propertyExtensionTypeEClass, PROPERTY_EXTENSION_TYPE__ID); + + propertyNameTypeEClass = createEClass(PROPERTY_NAME_TYPE); + createEAttribute(propertyNameTypeEClass, PROPERTY_NAME_TYPE__TEXT_CONTENT); + createEAttribute(propertyNameTypeEClass, PROPERTY_NAME_TYPE__ID); + + propertyResolverTypeEClass = createEClass(PROPERTY_RESOLVER_TYPE); + createEAttribute(propertyResolverTypeEClass, PROPERTY_RESOLVER_TYPE__TEXT_CONTENT); + createEAttribute(propertyResolverTypeEClass, PROPERTY_RESOLVER_TYPE__ID); + + propertyTypeEClass = createEClass(PROPERTY_TYPE); + createEReference(propertyTypeEClass, PROPERTY_TYPE__DESCRIPTION); + createEReference(propertyTypeEClass, PROPERTY_TYPE__DISPLAY_NAME); + createEReference(propertyTypeEClass, PROPERTY_TYPE__ICON); + createEReference(propertyTypeEClass, PROPERTY_TYPE__PROPERTY_NAME); + createEReference(propertyTypeEClass, PROPERTY_TYPE__PROPERTY_CLASS); + createEReference(propertyTypeEClass, PROPERTY_TYPE__DEFAULT_VALUE); + createEReference(propertyTypeEClass, PROPERTY_TYPE__SUGGESTED_VALUE); + createEReference(propertyTypeEClass, PROPERTY_TYPE__PROPERTY_EXTENSION); + createEAttribute(propertyTypeEClass, PROPERTY_TYPE__ID); + + redirectTypeEClass = createEClass(REDIRECT_TYPE); + createEAttribute(redirectTypeEClass, REDIRECT_TYPE__ID); + + referencedBeanClassTypeEClass = createEClass(REFERENCED_BEAN_CLASS_TYPE); + createEAttribute(referencedBeanClassTypeEClass, REFERENCED_BEAN_CLASS_TYPE__TEXT_CONTENT); + createEAttribute(referencedBeanClassTypeEClass, REFERENCED_BEAN_CLASS_TYPE__ID); + + referencedBeanNameTypeEClass = createEClass(REFERENCED_BEAN_NAME_TYPE); + createEAttribute(referencedBeanNameTypeEClass, REFERENCED_BEAN_NAME_TYPE__TEXT_CONTENT); + createEAttribute(referencedBeanNameTypeEClass, REFERENCED_BEAN_NAME_TYPE__ID); + + referencedBeanTypeEClass = createEClass(REFERENCED_BEAN_TYPE); + createEReference(referencedBeanTypeEClass, REFERENCED_BEAN_TYPE__DESCRIPTION); + createEReference(referencedBeanTypeEClass, REFERENCED_BEAN_TYPE__DISPLAY_NAME); + createEReference(referencedBeanTypeEClass, REFERENCED_BEAN_TYPE__ICON); + createEReference(referencedBeanTypeEClass, REFERENCED_BEAN_TYPE__REFERENCED_BEAN_NAME); + createEReference(referencedBeanTypeEClass, REFERENCED_BEAN_TYPE__REFERENCED_BEAN_CLASS); + createEAttribute(referencedBeanTypeEClass, REFERENCED_BEAN_TYPE__ID); + + rendererClassTypeEClass = createEClass(RENDERER_CLASS_TYPE); + createEAttribute(rendererClassTypeEClass, RENDERER_CLASS_TYPE__TEXT_CONTENT); + createEAttribute(rendererClassTypeEClass, RENDERER_CLASS_TYPE__ID); + + rendererExtensionTypeEClass = createEClass(RENDERER_EXTENSION_TYPE); + createEAttribute(rendererExtensionTypeEClass, RENDERER_EXTENSION_TYPE__MIXED); + createEAttribute(rendererExtensionTypeEClass, RENDERER_EXTENSION_TYPE__GROUP); + createEAttribute(rendererExtensionTypeEClass, RENDERER_EXTENSION_TYPE__ANY); + createEAttribute(rendererExtensionTypeEClass, RENDERER_EXTENSION_TYPE__ID); + + rendererTypeEClass = createEClass(RENDERER_TYPE); + createEReference(rendererTypeEClass, RENDERER_TYPE__DESCRIPTION); + createEReference(rendererTypeEClass, RENDERER_TYPE__DISPLAY_NAME); + createEReference(rendererTypeEClass, RENDERER_TYPE__ICON); + createEReference(rendererTypeEClass, RENDERER_TYPE__COMPONENT_FAMILY); + createEReference(rendererTypeEClass, RENDERER_TYPE__RENDERER_TYPE); + createEReference(rendererTypeEClass, RENDERER_TYPE__RENDERER_CLASS); + createEReference(rendererTypeEClass, RENDERER_TYPE__FACET); + createEReference(rendererTypeEClass, RENDERER_TYPE__ATTRIBUTE); + createEReference(rendererTypeEClass, RENDERER_TYPE__RENDERER_EXTENSION); + createEAttribute(rendererTypeEClass, RENDERER_TYPE__ID); + + rendererTypeTypeEClass = createEClass(RENDERER_TYPE_TYPE); + createEAttribute(rendererTypeTypeEClass, RENDERER_TYPE_TYPE__TEXT_CONTENT); + createEAttribute(rendererTypeTypeEClass, RENDERER_TYPE_TYPE__ID); + + renderKitClassTypeEClass = createEClass(RENDER_KIT_CLASS_TYPE); + createEAttribute(renderKitClassTypeEClass, RENDER_KIT_CLASS_TYPE__TEXT_CONTENT); + createEAttribute(renderKitClassTypeEClass, RENDER_KIT_CLASS_TYPE__ID); + + renderKitFactoryTypeEClass = createEClass(RENDER_KIT_FACTORY_TYPE); + createEAttribute(renderKitFactoryTypeEClass, RENDER_KIT_FACTORY_TYPE__TEXT_CONTENT); + createEAttribute(renderKitFactoryTypeEClass, RENDER_KIT_FACTORY_TYPE__ID); + + renderKitIdTypeEClass = createEClass(RENDER_KIT_ID_TYPE); + createEAttribute(renderKitIdTypeEClass, RENDER_KIT_ID_TYPE__TEXT_CONTENT); + createEAttribute(renderKitIdTypeEClass, RENDER_KIT_ID_TYPE__ID); + + renderKitTypeEClass = createEClass(RENDER_KIT_TYPE); + createEReference(renderKitTypeEClass, RENDER_KIT_TYPE__DESCRIPTION); + createEReference(renderKitTypeEClass, RENDER_KIT_TYPE__DISPLAY_NAME); + createEReference(renderKitTypeEClass, RENDER_KIT_TYPE__ICON); + createEReference(renderKitTypeEClass, RENDER_KIT_TYPE__RENDER_KIT_ID); + createEReference(renderKitTypeEClass, RENDER_KIT_TYPE__RENDER_KIT_CLASS); + createEReference(renderKitTypeEClass, RENDER_KIT_TYPE__RENDERER); + createEAttribute(renderKitTypeEClass, RENDER_KIT_TYPE__ID); + + smallIconTypeEClass = createEClass(SMALL_ICON_TYPE); + createEAttribute(smallIconTypeEClass, SMALL_ICON_TYPE__TEXT_CONTENT); + createEAttribute(smallIconTypeEClass, SMALL_ICON_TYPE__ID); + + stateManagerTypeEClass = createEClass(STATE_MANAGER_TYPE); + createEAttribute(stateManagerTypeEClass, STATE_MANAGER_TYPE__TEXT_CONTENT); + createEAttribute(stateManagerTypeEClass, STATE_MANAGER_TYPE__ID); + + suggestedValueTypeEClass = createEClass(SUGGESTED_VALUE_TYPE); + createEAttribute(suggestedValueTypeEClass, SUGGESTED_VALUE_TYPE__TEXT_CONTENT); + createEAttribute(suggestedValueTypeEClass, SUGGESTED_VALUE_TYPE__ID); + + supportedLocaleTypeEClass = createEClass(SUPPORTED_LOCALE_TYPE); + createEAttribute(supportedLocaleTypeEClass, SUPPORTED_LOCALE_TYPE__TEXT_CONTENT); + createEAttribute(supportedLocaleTypeEClass, SUPPORTED_LOCALE_TYPE__ID); + + toViewIdTypeEClass = createEClass(TO_VIEW_ID_TYPE); + createEAttribute(toViewIdTypeEClass, TO_VIEW_ID_TYPE__TEXT_CONTENT); + createEAttribute(toViewIdTypeEClass, TO_VIEW_ID_TYPE__ID); + + validatorClassTypeEClass = createEClass(VALIDATOR_CLASS_TYPE); + createEAttribute(validatorClassTypeEClass, VALIDATOR_CLASS_TYPE__TEXT_CONTENT); + createEAttribute(validatorClassTypeEClass, VALIDATOR_CLASS_TYPE__ID); + + validatorIdTypeEClass = createEClass(VALIDATOR_ID_TYPE); + createEAttribute(validatorIdTypeEClass, VALIDATOR_ID_TYPE__TEXT_CONTENT); + createEAttribute(validatorIdTypeEClass, VALIDATOR_ID_TYPE__ID); + + validatorTypeEClass = createEClass(VALIDATOR_TYPE); + createEReference(validatorTypeEClass, VALIDATOR_TYPE__DESCRIPTION); + createEReference(validatorTypeEClass, VALIDATOR_TYPE__DISPLAY_NAME); + createEReference(validatorTypeEClass, VALIDATOR_TYPE__ICON); + createEReference(validatorTypeEClass, VALIDATOR_TYPE__VALIDATOR_ID); + createEReference(validatorTypeEClass, VALIDATOR_TYPE__VALIDATOR_CLASS); + createEReference(validatorTypeEClass, VALIDATOR_TYPE__ATTRIBUTE); + createEReference(validatorTypeEClass, VALIDATOR_TYPE__PROPERTY); + createEAttribute(validatorTypeEClass, VALIDATOR_TYPE__ID); + + valueClassTypeEClass = createEClass(VALUE_CLASS_TYPE); + createEAttribute(valueClassTypeEClass, VALUE_CLASS_TYPE__TEXT_CONTENT); + createEAttribute(valueClassTypeEClass, VALUE_CLASS_TYPE__ID); + + valueTypeEClass = createEClass(VALUE_TYPE); + createEAttribute(valueTypeEClass, VALUE_TYPE__TEXT_CONTENT); + createEAttribute(valueTypeEClass, VALUE_TYPE__ID); + + variableResolverTypeEClass = createEClass(VARIABLE_RESOLVER_TYPE); + createEAttribute(variableResolverTypeEClass, VARIABLE_RESOLVER_TYPE__TEXT_CONTENT); + createEAttribute(variableResolverTypeEClass, VARIABLE_RESOLVER_TYPE__ID); + + viewHandlerTypeEClass = createEClass(VIEW_HANDLER_TYPE); + createEAttribute(viewHandlerTypeEClass, VIEW_HANDLER_TYPE__TEXT_CONTENT); + createEAttribute(viewHandlerTypeEClass, VIEW_HANDLER_TYPE__ID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() { + if (isInitialized) return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + XMLTypePackageImpl theXMLTypePackage = (XMLTypePackageImpl)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); + + // Add supertypes to classes + + // Initialize classes and features; add operations and parameters + initEClass(actionListenerTypeEClass, ActionListenerType.class, "ActionListenerType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getActionListenerType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ActionListenerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getActionListenerType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ActionListenerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(applicationFactoryTypeEClass, ApplicationFactoryType.class, "ApplicationFactoryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getApplicationFactoryType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ApplicationFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getApplicationFactoryType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ApplicationFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(applicationTypeEClass, ApplicationType.class, "ApplicationType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getApplicationType_ActionListener(), this.getActionListenerType(), null, "actionListener", null, 0, -1, ApplicationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getApplicationType_DefaultRenderKitId(), this.getDefaultRenderKitIdType(), null, "defaultRenderKitId", null, 0, -1, ApplicationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getApplicationType_MessageBundle(), this.getMessageBundleType(), null, "messageBundle", null, 0, -1, ApplicationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getApplicationType_NavigationHandler(), this.getNavigationHandlerType(), null, "navigationHandler", null, 0, -1, ApplicationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getApplicationType_ViewHandler(), this.getViewHandlerType(), null, "viewHandler", null, 0, -1, ApplicationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getApplicationType_StateManager(), this.getStateManagerType(), null, "stateManager", null, 0, -1, ApplicationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getApplicationType_PropertyResolver(), this.getPropertyResolverType(), null, "propertyResolver", null, 0, -1, ApplicationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getApplicationType_VariableResolver(), this.getVariableResolverType(), null, "variableResolver", null, 0, -1, ApplicationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getApplicationType_LocaleConfig(), this.getLocaleConfigType(), null, "localeConfig", null, 0, -1, ApplicationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getApplicationType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ApplicationType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(attributeClassTypeEClass, AttributeClassType.class, "AttributeClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getAttributeClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, AttributeClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAttributeClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, AttributeClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(attributeExtensionTypeEClass, AttributeExtensionType.class, "AttributeExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getAttributeExtensionType_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, AttributeExtensionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAttributeExtensionType_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, AttributeExtensionType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEAttribute(getAttributeExtensionType_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, -1, AttributeExtensionType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEAttribute(getAttributeExtensionType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, AttributeExtensionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(attributeNameTypeEClass, AttributeNameType.class, "AttributeNameType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getAttributeNameType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, AttributeNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAttributeNameType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, AttributeNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(attributeTypeEClass, AttributeType.class, "AttributeType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getAttributeType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, AttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAttributeType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, AttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAttributeType_Icon(), this.getIconType(), null, "icon", null, 0, -1, AttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAttributeType_AttributeName(), this.getAttributeNameType(), null, "attributeName", null, 1, 1, AttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAttributeType_AttributeClass(), this.getAttributeClassType(), null, "attributeClass", null, 1, 1, AttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAttributeType_DefaultValue(), this.getDefaultValueType(), null, "defaultValue", null, 0, 1, AttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAttributeType_SuggestedValue(), this.getSuggestedValueType(), null, "suggestedValue", null, 0, 1, AttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getAttributeType_AttributeExtension(), this.getAttributeExtensionType(), null, "attributeExtension", null, 0, -1, AttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getAttributeType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, AttributeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(componentClassTypeEClass, ComponentClassType.class, "ComponentClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getComponentClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ComponentClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComponentClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ComponentClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(componentExtensionTypeEClass, ComponentExtensionType.class, "ComponentExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getComponentExtensionType_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, ComponentExtensionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComponentExtensionType_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, ComponentExtensionType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEAttribute(getComponentExtensionType_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, -1, ComponentExtensionType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEAttribute(getComponentExtensionType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ComponentExtensionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(componentFamilyTypeEClass, ComponentFamilyType.class, "ComponentFamilyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getComponentFamilyType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ComponentFamilyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComponentFamilyType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ComponentFamilyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(componentTypeEClass, ComponentType.class, "ComponentType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getComponentType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getComponentType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getComponentType_Icon(), this.getIconType(), null, "icon", null, 0, -1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getComponentType_ComponentType(), this.getComponentTypeType(), null, "componentType", null, 1, 1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getComponentType_ComponentClass(), this.getComponentClassType(), null, "componentClass", null, 1, 1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getComponentType_Facet(), this.getFacetType(), null, "facet", null, 0, -1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getComponentType_Attribute(), this.getAttributeType(), null, "attribute", null, 0, -1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getComponentType_Property(), this.getPropertyType(), null, "property", null, 0, -1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getComponentType_ComponentExtension(), this.getComponentExtensionType(), null, "componentExtension", null, 0, -1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComponentType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ComponentType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(componentTypeTypeEClass, ComponentTypeType.class, "ComponentTypeType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getComponentTypeType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ComponentTypeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getComponentTypeType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ComponentTypeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(converterClassTypeEClass, ConverterClassType.class, "ConverterClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getConverterClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ConverterClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getConverterClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ConverterClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(converterForClassTypeEClass, ConverterForClassType.class, "ConverterForClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getConverterForClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ConverterForClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getConverterForClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ConverterForClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(converterIdTypeEClass, ConverterIdType.class, "ConverterIdType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getConverterIdType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ConverterIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getConverterIdType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ConverterIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(converterTypeEClass, ConverterType.class, "ConverterType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getConverterType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, ConverterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getConverterType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, ConverterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getConverterType_Icon(), this.getIconType(), null, "icon", null, 0, -1, ConverterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getConverterType_ConverterId(), this.getConverterIdType(), null, "converterId", null, 0, 1, ConverterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getConverterType_ConverterForClass(), this.getConverterForClassType(), null, "converterForClass", null, 0, 1, ConverterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getConverterType_ConverterClass(), this.getConverterClassType(), null, "converterClass", null, 1, 1, ConverterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getConverterType_Attribute(), this.getAttributeType(), null, "attribute", null, 0, -1, ConverterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getConverterType_Property(), this.getPropertyType(), null, "property", null, 0, -1, ConverterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getConverterType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ConverterType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(defaultLocaleTypeEClass, DefaultLocaleType.class, "DefaultLocaleType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDefaultLocaleType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, DefaultLocaleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDefaultLocaleType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, DefaultLocaleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(defaultRenderKitIdTypeEClass, DefaultRenderKitIdType.class, "DefaultRenderKitIdType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDefaultRenderKitIdType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, DefaultRenderKitIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDefaultRenderKitIdType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, DefaultRenderKitIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(defaultValueTypeEClass, DefaultValueType.class, "DefaultValueType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDefaultValueType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, DefaultValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDefaultValueType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, DefaultValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(descriptionTypeEClass, DescriptionType.class, "DescriptionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDescriptionType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, DescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDescriptionType_Lang(), theXMLTypePackage.getLanguage(), "lang", null, 0, 1, DescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDescriptionType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, DescriptionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(displayNameTypeEClass, DisplayNameType.class, "DisplayNameType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDisplayNameType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, DisplayNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDisplayNameType_Lang(), theXMLTypePackage.getLanguage(), "lang", null, 0, 1, DisplayNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getDisplayNameType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, DisplayNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ActionListener(), this.getActionListenerType(), null, "actionListener", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Application(), this.getApplicationType(), null, "application", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ApplicationFactory(), this.getApplicationFactoryType(), null, "applicationFactory", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Attribute(), this.getAttributeType(), null, "attribute", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_AttributeClass(), this.getAttributeClassType(), null, "attributeClass", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_AttributeExtension(), this.getAttributeExtensionType(), null, "attributeExtension", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_AttributeName(), this.getAttributeNameType(), null, "attributeName", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Component(), this.getComponentType(), null, "component", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ComponentClass(), this.getComponentClassType(), null, "componentClass", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ComponentExtension(), this.getComponentExtensionType(), null, "componentExtension", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ComponentFamily(), this.getComponentFamilyType(), null, "componentFamily", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ComponentType(), this.getComponentTypeType(), null, "componentType", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Converter(), this.getConverterType(), null, "converter", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ConverterClass(), this.getConverterClassType(), null, "converterClass", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ConverterForClass(), this.getConverterForClassType(), null, "converterForClass", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ConverterId(), this.getConverterIdType(), null, "converterId", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_DefaultLocale(), this.getDefaultLocaleType(), null, "defaultLocale", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_DefaultRenderKitId(), this.getDefaultRenderKitIdType(), null, "defaultRenderKitId", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_DefaultValue(), this.getDefaultValueType(), null, "defaultValue", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Description(), this.getDescriptionType(), null, "description", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_FacesConfig(), this.getFacesConfigType(), null, "facesConfig", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_FacesContextFactory(), this.getFacesContextFactoryType(), null, "facesContextFactory", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Facet(), this.getFacetType(), null, "facet", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_FacetExtension(), this.getFacetExtensionType(), null, "facetExtension", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_FacetName(), this.getFacetNameType(), null, "facetName", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Factory(), this.getFactoryType(), null, "factory", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_FromAction(), this.getFromActionType(), null, "fromAction", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_FromOutcome(), this.getFromOutcomeType(), null, "fromOutcome", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_FromViewId(), this.getFromViewIdType(), null, "fromViewId", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Icon(), this.getIconType(), null, "icon", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Key(), this.getKeyType(), null, "key", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_KeyClass(), this.getKeyClassType(), null, "keyClass", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_LargeIcon(), this.getLargeIconType(), null, "largeIcon", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Lifecycle(), this.getLifecycleType(), null, "lifecycle", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_LifecycleFactory(), this.getLifecycleFactoryType(), null, "lifecycleFactory", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ListEntries(), this.getListEntriesType(), null, "listEntries", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_LocaleConfig(), this.getLocaleConfigType(), null, "localeConfig", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ManagedBean(), this.getManagedBeanType(), null, "managedBean", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ManagedBeanClass(), this.getManagedBeanClassType(), null, "managedBeanClass", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ManagedBeanName(), this.getManagedBeanNameType(), null, "managedBeanName", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ManagedBeanScope(), this.getManagedBeanScopeType(), null, "managedBeanScope", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ManagedProperty(), this.getManagedPropertyType(), null, "managedProperty", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_MapEntries(), this.getMapEntriesType(), null, "mapEntries", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_MapEntry(), this.getMapEntryType(), null, "mapEntry", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_MessageBundle(), this.getMessageBundleType(), null, "messageBundle", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_NavigationCase(), this.getNavigationCaseType(), null, "navigationCase", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_NavigationHandler(), this.getNavigationHandlerType(), null, "navigationHandler", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_NavigationRule(), this.getNavigationRuleType(), null, "navigationRule", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_NullValue(), this.getNullValueType(), null, "nullValue", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_PhaseListener(), this.getPhaseListenerType(), null, "phaseListener", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Property(), this.getPropertyType(), null, "property", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_PropertyClass(), this.getPropertyClassType(), null, "propertyClass", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_PropertyExtension(), this.getPropertyExtensionType(), null, "propertyExtension", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_PropertyName(), this.getPropertyNameType(), null, "propertyName", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_PropertyResolver(), this.getPropertyResolverType(), null, "propertyResolver", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Redirect(), this.getRedirectType(), null, "redirect", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ReferencedBean(), this.getReferencedBeanType(), null, "referencedBean", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ReferencedBeanClass(), this.getReferencedBeanClassType(), null, "referencedBeanClass", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ReferencedBeanName(), this.getReferencedBeanNameType(), null, "referencedBeanName", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Renderer(), this.getRendererType(), null, "renderer", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_RendererClass(), this.getRendererClassType(), null, "rendererClass", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_RendererExtension(), this.getRendererExtensionType(), null, "rendererExtension", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_RendererType(), this.getRendererTypeType(), null, "rendererType", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_RenderKit(), this.getRenderKitType(), null, "renderKit", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_RenderKitClass(), this.getRenderKitClassType(), null, "renderKitClass", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_RenderKitFactory(), this.getRenderKitFactoryType(), null, "renderKitFactory", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_RenderKitId(), this.getRenderKitIdType(), null, "renderKitId", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_SmallIcon(), this.getSmallIconType(), null, "smallIcon", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_StateManager(), this.getStateManagerType(), null, "stateManager", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_SuggestedValue(), this.getSuggestedValueType(), null, "suggestedValue", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_SupportedLocale(), this.getSupportedLocaleType(), null, "supportedLocale", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ToViewId(), this.getToViewIdType(), null, "toViewId", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Validator(), this.getValidatorType(), null, "validator", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ValidatorClass(), this.getValidatorClassType(), null, "validatorClass", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ValidatorId(), this.getValidatorIdType(), null, "validatorId", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_Value(), this.getValueType(), null, "value", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ValueClass(), this.getValueClassType(), null, "valueClass", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_VariableResolver(), this.getVariableResolverType(), null, "variableResolver", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEReference(getDocumentRoot_ViewHandler(), this.getViewHandlerType(), null, "viewHandler", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); + + initEClass(facesConfigTypeEClass, FacesConfigType.class, "FacesConfigType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFacesConfigType_Application(), this.getApplicationType(), null, "application", null, 0, -1, FacesConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFacesConfigType_Factory(), this.getFactoryType(), null, "factory", null, 0, -1, FacesConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFacesConfigType_Component(), this.getComponentType(), null, "component", null, 0, -1, FacesConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFacesConfigType_Converter(), this.getConverterType(), null, "converter", null, 0, -1, FacesConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFacesConfigType_ManagedBean(), this.getManagedBeanType(), null, "managedBean", null, 0, -1, FacesConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFacesConfigType_NavigationRule(), this.getNavigationRuleType(), null, "navigationRule", null, 0, -1, FacesConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFacesConfigType_ReferencedBean(), this.getReferencedBeanType(), null, "referencedBean", null, 0, -1, FacesConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFacesConfigType_RenderKit(), this.getRenderKitType(), null, "renderKit", null, 0, -1, FacesConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFacesConfigType_Lifecycle(), this.getLifecycleType(), null, "lifecycle", null, 0, -1, FacesConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFacesConfigType_Validator(), this.getValidatorType(), null, "validator", null, 0, -1, FacesConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFacesConfigType_Xmlns(), theXMLTypePackage.getString(), "xmlns", "http://java.sun.com/JSF/Configuration", 0, 1, FacesConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFacesConfigType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, FacesConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(facesContextFactoryTypeEClass, FacesContextFactoryType.class, "FacesContextFactoryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getFacesContextFactoryType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, FacesContextFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFacesContextFactoryType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, FacesContextFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(facetExtensionTypeEClass, FacetExtensionType.class, "FacetExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getFacetExtensionType_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, FacetExtensionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFacetExtensionType_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, FacetExtensionType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEAttribute(getFacetExtensionType_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, -1, FacetExtensionType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEAttribute(getFacetExtensionType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, FacetExtensionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(facetNameTypeEClass, FacetNameType.class, "FacetNameType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getFacetNameType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, FacetNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFacetNameType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, FacetNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(facetTypeEClass, FacetType.class, "FacetType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFacetType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, FacetType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFacetType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, FacetType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFacetType_Icon(), this.getIconType(), null, "icon", null, 0, -1, FacetType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFacetType_FacetName(), this.getFacetNameType(), null, "facetName", null, 1, 1, FacetType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFacetType_FacetExtension(), this.getFacetExtensionType(), null, "facetExtension", null, 0, -1, FacetType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFacetType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, FacetType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(factoryTypeEClass, FactoryType.class, "FactoryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getFactoryType_ApplicationFactory(), this.getApplicationFactoryType(), null, "applicationFactory", null, 0, -1, FactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFactoryType_FacesContextFactory(), this.getFacesContextFactoryType(), null, "facesContextFactory", null, 0, -1, FactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFactoryType_LifecycleFactory(), this.getLifecycleFactoryType(), null, "lifecycleFactory", null, 0, -1, FactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getFactoryType_RenderKitFactory(), this.getRenderKitFactoryType(), null, "renderKitFactory", null, 0, -1, FactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFactoryType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, FactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(fromActionTypeEClass, FromActionType.class, "FromActionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getFromActionType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, FromActionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFromActionType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, FromActionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(fromOutcomeTypeEClass, FromOutcomeType.class, "FromOutcomeType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getFromOutcomeType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, FromOutcomeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFromOutcomeType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, FromOutcomeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(fromViewIdTypeEClass, FromViewIdType.class, "FromViewIdType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getFromViewIdType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, FromViewIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getFromViewIdType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, FromViewIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(iconTypeEClass, IconType.class, "IconType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getIconType_SmallIcon(), this.getSmallIconType(), null, "smallIcon", null, 0, 1, IconType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getIconType_LargeIcon(), this.getLargeIconType(), null, "largeIcon", null, 0, 1, IconType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getIconType_Lang(), theXMLTypePackage.getLanguage(), "lang", null, 0, 1, IconType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getIconType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, IconType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(keyClassTypeEClass, KeyClassType.class, "KeyClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getKeyClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, KeyClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getKeyClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, KeyClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(keyTypeEClass, KeyType.class, "KeyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getKeyType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, KeyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getKeyType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, KeyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(largeIconTypeEClass, LargeIconType.class, "LargeIconType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getLargeIconType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, LargeIconType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLargeIconType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, LargeIconType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(lifecycleFactoryTypeEClass, LifecycleFactoryType.class, "LifecycleFactoryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getLifecycleFactoryType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, LifecycleFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLifecycleFactoryType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, LifecycleFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(lifecycleTypeEClass, LifecycleType.class, "LifecycleType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getLifecycleType_PhaseListener(), this.getPhaseListenerType(), null, "phaseListener", null, 0, -1, LifecycleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLifecycleType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, LifecycleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(listEntriesTypeEClass, ListEntriesType.class, "ListEntriesType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getListEntriesType_ValueClass(), this.getValueClassType(), null, "valueClass", null, 0, 1, ListEntriesType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getListEntriesType_NullValue(), this.getNullValueType(), null, "nullValue", null, 0, -1, ListEntriesType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getListEntriesType_Value(), this.getValueType(), null, "value", null, 0, -1, ListEntriesType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getListEntriesType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ListEntriesType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(localeConfigTypeEClass, LocaleConfigType.class, "LocaleConfigType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getLocaleConfigType_DefaultLocale(), this.getDefaultLocaleType(), null, "defaultLocale", null, 0, 1, LocaleConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getLocaleConfigType_SupportedLocale(), this.getSupportedLocaleType(), null, "supportedLocale", null, 0, -1, LocaleConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getLocaleConfigType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, LocaleConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(managedBeanClassTypeEClass, ManagedBeanClassType.class, "ManagedBeanClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getManagedBeanClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ManagedBeanClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getManagedBeanClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ManagedBeanClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(managedBeanNameTypeEClass, ManagedBeanNameType.class, "ManagedBeanNameType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getManagedBeanNameType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ManagedBeanNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getManagedBeanNameType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ManagedBeanNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(managedBeanScopeTypeEClass, ManagedBeanScopeType.class, "ManagedBeanScopeType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getManagedBeanScopeType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ManagedBeanScopeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getManagedBeanScopeType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ManagedBeanScopeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(managedBeanTypeEClass, ManagedBeanType.class, "ManagedBeanType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getManagedBeanType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, ManagedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedBeanType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, ManagedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedBeanType_Icon(), this.getIconType(), null, "icon", null, 0, -1, ManagedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedBeanType_ManagedBeanName(), this.getManagedBeanNameType(), null, "managedBeanName", null, 1, 1, ManagedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedBeanType_ManagedBeanClass(), this.getManagedBeanClassType(), null, "managedBeanClass", null, 1, 1, ManagedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedBeanType_ManagedBeanScope(), this.getManagedBeanScopeType(), null, "managedBeanScope", null, 1, 1, ManagedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedBeanType_ManagedProperty(), this.getManagedPropertyType(), null, "managedProperty", null, 0, -1, ManagedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedBeanType_MapEntries(), this.getMapEntriesType(), null, "mapEntries", null, 0, 1, ManagedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedBeanType_ListEntries(), this.getListEntriesType(), null, "listEntries", null, 0, 1, ManagedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getManagedBeanType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ManagedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(managedPropertyTypeEClass, ManagedPropertyType.class, "ManagedPropertyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getManagedPropertyType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, ManagedPropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedPropertyType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, ManagedPropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedPropertyType_Icon(), this.getIconType(), null, "icon", null, 0, -1, ManagedPropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedPropertyType_PropertyName(), this.getPropertyNameType(), null, "propertyName", null, 1, 1, ManagedPropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedPropertyType_PropertyClass(), this.getPropertyClassType(), null, "propertyClass", null, 0, 1, ManagedPropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedPropertyType_MapEntries(), this.getMapEntriesType(), null, "mapEntries", null, 0, 1, ManagedPropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedPropertyType_NullValue(), this.getNullValueType(), null, "nullValue", null, 0, 1, ManagedPropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedPropertyType_Value(), this.getValueType(), null, "value", null, 0, 1, ManagedPropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getManagedPropertyType_ListEntries(), this.getListEntriesType(), null, "listEntries", null, 0, 1, ManagedPropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getManagedPropertyType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ManagedPropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(mapEntriesTypeEClass, MapEntriesType.class, "MapEntriesType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMapEntriesType_KeyClass(), this.getKeyClassType(), null, "keyClass", null, 0, 1, MapEntriesType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMapEntriesType_ValueClass(), this.getValueClassType(), null, "valueClass", null, 0, 1, MapEntriesType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMapEntriesType_MapEntry(), this.getMapEntryType(), null, "mapEntry", null, 0, -1, MapEntriesType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMapEntriesType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, MapEntriesType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(mapEntryTypeEClass, MapEntryType.class, "MapEntryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getMapEntryType_Key(), this.getKeyType(), null, "key", null, 1, 1, MapEntryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMapEntryType_NullValue(), this.getNullValueType(), null, "nullValue", null, 0, 1, MapEntryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMapEntryType_Value(), this.getValueType(), null, "value", null, 0, 1, MapEntryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMapEntryType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, MapEntryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(messageBundleTypeEClass, MessageBundleType.class, "MessageBundleType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getMessageBundleType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, MessageBundleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getMessageBundleType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, MessageBundleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(navigationCaseTypeEClass, NavigationCaseType.class, "NavigationCaseType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getNavigationCaseType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, NavigationCaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getNavigationCaseType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, NavigationCaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getNavigationCaseType_Icon(), this.getIconType(), null, "icon", null, 0, -1, NavigationCaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getNavigationCaseType_FromAction(), this.getFromActionType(), null, "fromAction", null, 0, 1, NavigationCaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getNavigationCaseType_FromOutcome(), this.getFromOutcomeType(), null, "fromOutcome", null, 0, 1, NavigationCaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getNavigationCaseType_ToViewId(), this.getToViewIdType(), null, "toViewId", null, 1, 1, NavigationCaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getNavigationCaseType_Redirect(), this.getRedirectType(), null, "redirect", null, 0, 1, NavigationCaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getNavigationCaseType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, NavigationCaseType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(navigationHandlerTypeEClass, NavigationHandlerType.class, "NavigationHandlerType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getNavigationHandlerType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, NavigationHandlerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getNavigationHandlerType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, NavigationHandlerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(navigationRuleTypeEClass, NavigationRuleType.class, "NavigationRuleType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getNavigationRuleType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, NavigationRuleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getNavigationRuleType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, NavigationRuleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getNavigationRuleType_Icon(), this.getIconType(), null, "icon", null, 0, -1, NavigationRuleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getNavigationRuleType_FromViewId(), this.getFromViewIdType(), null, "fromViewId", null, 0, 1, NavigationRuleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getNavigationRuleType_NavigationCase(), this.getNavigationCaseType(), null, "navigationCase", null, 0, -1, NavigationRuleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getNavigationRuleType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, NavigationRuleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(nullValueTypeEClass, NullValueType.class, "NullValueType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getNullValueType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, NullValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(phaseListenerTypeEClass, PhaseListenerType.class, "PhaseListenerType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPhaseListenerType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, PhaseListenerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPhaseListenerType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PhaseListenerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(propertyClassTypeEClass, PropertyClassType.class, "PropertyClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPropertyClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, PropertyClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPropertyClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PropertyClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(propertyExtensionTypeEClass, PropertyExtensionType.class, "PropertyExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPropertyExtensionType_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, PropertyExtensionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPropertyExtensionType_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, PropertyExtensionType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEAttribute(getPropertyExtensionType_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, -1, PropertyExtensionType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEAttribute(getPropertyExtensionType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PropertyExtensionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(propertyNameTypeEClass, PropertyNameType.class, "PropertyNameType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPropertyNameType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, PropertyNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPropertyNameType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PropertyNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(propertyResolverTypeEClass, PropertyResolverType.class, "PropertyResolverType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getPropertyResolverType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, PropertyResolverType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPropertyResolverType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PropertyResolverType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(propertyTypeEClass, PropertyType.class, "PropertyType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getPropertyType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPropertyType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPropertyType_Icon(), this.getIconType(), null, "icon", null, 0, -1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPropertyType_PropertyName(), this.getPropertyNameType(), null, "propertyName", null, 1, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPropertyType_PropertyClass(), this.getPropertyClassType(), null, "propertyClass", null, 1, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPropertyType_DefaultValue(), this.getDefaultValueType(), null, "defaultValue", null, 0, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPropertyType_SuggestedValue(), this.getSuggestedValueType(), null, "suggestedValue", null, 0, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getPropertyType_PropertyExtension(), this.getPropertyExtensionType(), null, "propertyExtension", null, 0, -1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getPropertyType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PropertyType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(redirectTypeEClass, RedirectType.class, "RedirectType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRedirectType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, RedirectType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(referencedBeanClassTypeEClass, ReferencedBeanClassType.class, "ReferencedBeanClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getReferencedBeanClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ReferencedBeanClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getReferencedBeanClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ReferencedBeanClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(referencedBeanNameTypeEClass, ReferencedBeanNameType.class, "ReferencedBeanNameType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getReferencedBeanNameType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ReferencedBeanNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getReferencedBeanNameType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ReferencedBeanNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(referencedBeanTypeEClass, ReferencedBeanType.class, "ReferencedBeanType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getReferencedBeanType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, ReferencedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getReferencedBeanType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, ReferencedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getReferencedBeanType_Icon(), this.getIconType(), null, "icon", null, 0, -1, ReferencedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getReferencedBeanType_ReferencedBeanName(), this.getReferencedBeanNameType(), null, "referencedBeanName", null, 1, 1, ReferencedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getReferencedBeanType_ReferencedBeanClass(), this.getReferencedBeanClassType(), null, "referencedBeanClass", null, 1, 1, ReferencedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getReferencedBeanType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ReferencedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(rendererClassTypeEClass, RendererClassType.class, "RendererClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRendererClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, RendererClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getRendererClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, RendererClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(rendererExtensionTypeEClass, RendererExtensionType.class, "RendererExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRendererExtensionType_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, RendererExtensionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getRendererExtensionType_Group(), ecorePackage.getEFeatureMapEntry(), "group", null, 0, -1, RendererExtensionType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEAttribute(getRendererExtensionType_Any(), ecorePackage.getEFeatureMapEntry(), "any", null, 0, -1, RendererExtensionType.class, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, IS_DERIVED, IS_ORDERED); + initEAttribute(getRendererExtensionType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, RendererExtensionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(rendererTypeEClass, RendererType.class, "RendererType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRendererType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, RendererType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRendererType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, RendererType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRendererType_Icon(), this.getIconType(), null, "icon", null, 0, -1, RendererType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRendererType_ComponentFamily(), this.getComponentFamilyType(), null, "componentFamily", null, 1, 1, RendererType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRendererType_RendererType(), this.getRendererTypeType(), null, "rendererType", null, 1, 1, RendererType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRendererType_RendererClass(), this.getRendererClassType(), null, "rendererClass", null, 1, 1, RendererType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRendererType_Facet(), this.getFacetType(), null, "facet", null, 0, -1, RendererType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRendererType_Attribute(), this.getAttributeType(), null, "attribute", null, 0, -1, RendererType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRendererType_RendererExtension(), this.getRendererExtensionType(), null, "rendererExtension", null, 0, -1, RendererType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getRendererType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, RendererType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(rendererTypeTypeEClass, RendererTypeType.class, "RendererTypeType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRendererTypeType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, RendererTypeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getRendererTypeType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, RendererTypeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(renderKitClassTypeEClass, RenderKitClassType.class, "RenderKitClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRenderKitClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, RenderKitClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getRenderKitClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, RenderKitClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(renderKitFactoryTypeEClass, RenderKitFactoryType.class, "RenderKitFactoryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRenderKitFactoryType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, RenderKitFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getRenderKitFactoryType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, RenderKitFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(renderKitIdTypeEClass, RenderKitIdType.class, "RenderKitIdType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getRenderKitIdType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, RenderKitIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getRenderKitIdType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, RenderKitIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(renderKitTypeEClass, RenderKitType.class, "RenderKitType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRenderKitType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, RenderKitType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRenderKitType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, RenderKitType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRenderKitType_Icon(), this.getIconType(), null, "icon", null, 0, -1, RenderKitType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRenderKitType_RenderKitId(), this.getRenderKitIdType(), null, "renderKitId", null, 0, 1, RenderKitType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRenderKitType_RenderKitClass(), this.getRenderKitClassType(), null, "renderKitClass", null, 0, 1, RenderKitType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getRenderKitType_Renderer(), this.getRendererType(), null, "renderer", null, 0, -1, RenderKitType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getRenderKitType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, RenderKitType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(smallIconTypeEClass, SmallIconType.class, "SmallIconType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSmallIconType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, SmallIconType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSmallIconType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, SmallIconType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(stateManagerTypeEClass, StateManagerType.class, "StateManagerType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getStateManagerType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, StateManagerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getStateManagerType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, StateManagerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(suggestedValueTypeEClass, SuggestedValueType.class, "SuggestedValueType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSuggestedValueType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, SuggestedValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSuggestedValueType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, SuggestedValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(supportedLocaleTypeEClass, SupportedLocaleType.class, "SupportedLocaleType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSupportedLocaleType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, SupportedLocaleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getSupportedLocaleType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, SupportedLocaleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(toViewIdTypeEClass, ToViewIdType.class, "ToViewIdType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getToViewIdType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ToViewIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getToViewIdType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ToViewIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(validatorClassTypeEClass, ValidatorClassType.class, "ValidatorClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getValidatorClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ValidatorClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getValidatorClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ValidatorClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(validatorIdTypeEClass, ValidatorIdType.class, "ValidatorIdType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getValidatorIdType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ValidatorIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getValidatorIdType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ValidatorIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(validatorTypeEClass, ValidatorType.class, "ValidatorType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getValidatorType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, ValidatorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getValidatorType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, ValidatorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getValidatorType_Icon(), this.getIconType(), null, "icon", null, 0, -1, ValidatorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getValidatorType_ValidatorId(), this.getValidatorIdType(), null, "validatorId", null, 1, 1, ValidatorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getValidatorType_ValidatorClass(), this.getValidatorClassType(), null, "validatorClass", null, 1, 1, ValidatorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getValidatorType_Attribute(), this.getAttributeType(), null, "attribute", null, 0, -1, ValidatorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getValidatorType_Property(), this.getPropertyType(), null, "property", null, 0, -1, ValidatorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getValidatorType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ValidatorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(valueClassTypeEClass, ValueClassType.class, "ValueClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getValueClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ValueClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getValueClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ValueClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(valueTypeEClass, ValueType.class, "ValueType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getValueType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getValueType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ValueType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(variableResolverTypeEClass, VariableResolverType.class, "VariableResolverType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getVariableResolverType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, VariableResolverType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getVariableResolverType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, VariableResolverType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(viewHandlerTypeEClass, ViewHandlerType.class, "ViewHandlerType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getViewHandlerType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ViewHandlerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEAttribute(getViewHandlerType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ViewHandlerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + // Create resource + createResource(eNS_URI); + + // Create annotations + // http:///org/eclipse/emf/ecore/util/ExtendedMetaData + createExtendedMetaDataAnnotations(); + } + + /** + * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected void createExtendedMetaDataAnnotations() { + String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; + addAnnotation + (this, + source, + new String[] { + "qualified", "false" + }); + addAnnotation + (actionListenerTypeEClass, + source, + new String[] { + "name", "action-listener_._type", + "kind", "simple" + }); + addAnnotation + (getActionListenerType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getActionListenerType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (applicationFactoryTypeEClass, + source, + new String[] { + "name", "application-factory_._type", + "kind", "simple" + }); + addAnnotation + (getApplicationFactoryType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getApplicationFactoryType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (applicationTypeEClass, + source, + new String[] { + "name", "application_._type", + "kind", "elementOnly" + }); + addAnnotation + (getApplicationType_ActionListener(), + source, + new String[] { + "kind", "element", + "name", "action-listener", + "namespace", "##targetNamespace" + }); + addAnnotation + (getApplicationType_DefaultRenderKitId(), + source, + new String[] { + "kind", "element", + "name", "default-render-kit-id", + "namespace", "##targetNamespace" + }); + addAnnotation + (getApplicationType_MessageBundle(), + source, + new String[] { + "kind", "element", + "name", "message-bundle", + "namespace", "##targetNamespace" + }); + addAnnotation + (getApplicationType_NavigationHandler(), + source, + new String[] { + "kind", "element", + "name", "navigation-handler", + "namespace", "##targetNamespace" + }); + addAnnotation + (getApplicationType_ViewHandler(), + source, + new String[] { + "kind", "element", + "name", "view-handler", + "namespace", "##targetNamespace" + }); + addAnnotation + (getApplicationType_StateManager(), + source, + new String[] { + "kind", "element", + "name", "state-manager", + "namespace", "##targetNamespace" + }); + addAnnotation + (getApplicationType_PropertyResolver(), + source, + new String[] { + "kind", "element", + "name", "property-resolver", + "namespace", "##targetNamespace" + }); + addAnnotation + (getApplicationType_VariableResolver(), + source, + new String[] { + "kind", "element", + "name", "variable-resolver", + "namespace", "##targetNamespace" + }); + addAnnotation + (getApplicationType_LocaleConfig(), + source, + new String[] { + "kind", "element", + "name", "locale-config", + "namespace", "##targetNamespace" + }); + addAnnotation + (getApplicationType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (attributeClassTypeEClass, + source, + new String[] { + "name", "attribute-class_._type", + "kind", "simple" + }); + addAnnotation + (getAttributeClassType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getAttributeClassType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (attributeExtensionTypeEClass, + source, + new String[] { + "name", "attribute-extension_._type", + "kind", "mixed" + }); + addAnnotation + (getAttributeExtensionType_Mixed(), + source, + new String[] { + "kind", "elementWildcard", + "name", ":mixed" + }); + addAnnotation + (getAttributeExtensionType_Group(), + source, + new String[] { + "kind", "group", + "name", "group:1" + }); + addAnnotation + (getAttributeExtensionType_Any(), + source, + new String[] { + "kind", "elementWildcard", + "wildcards", "##any", + "name", ":2", + "processing", "strict", + "group", "group:1" + }); + addAnnotation + (getAttributeExtensionType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (attributeNameTypeEClass, + source, + new String[] { + "name", "attribute-name_._type", + "kind", "simple" + }); + addAnnotation + (getAttributeNameType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getAttributeNameType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (attributeTypeEClass, + source, + new String[] { + "name", "attribute_._type", + "kind", "elementOnly" + }); + addAnnotation + (getAttributeType_Description(), + source, + new String[] { + "kind", "element", + "name", "description", + "namespace", "##targetNamespace" + }); + addAnnotation + (getAttributeType_DisplayName(), + source, + new String[] { + "kind", "element", + "name", "display-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getAttributeType_Icon(), + source, + new String[] { + "kind", "element", + "name", "icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getAttributeType_AttributeName(), + source, + new String[] { + "kind", "element", + "name", "attribute-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getAttributeType_AttributeClass(), + source, + new String[] { + "kind", "element", + "name", "attribute-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getAttributeType_DefaultValue(), + source, + new String[] { + "kind", "element", + "name", "default-value", + "namespace", "##targetNamespace" + }); + addAnnotation + (getAttributeType_SuggestedValue(), + source, + new String[] { + "kind", "element", + "name", "suggested-value", + "namespace", "##targetNamespace" + }); + addAnnotation + (getAttributeType_AttributeExtension(), + source, + new String[] { + "kind", "element", + "name", "attribute-extension", + "namespace", "##targetNamespace" + }); + addAnnotation + (getAttributeType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (componentClassTypeEClass, + source, + new String[] { + "name", "component-class_._type", + "kind", "simple" + }); + addAnnotation + (getComponentClassType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getComponentClassType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (componentExtensionTypeEClass, + source, + new String[] { + "name", "component-extension_._type", + "kind", "mixed" + }); + addAnnotation + (getComponentExtensionType_Mixed(), + source, + new String[] { + "kind", "elementWildcard", + "name", ":mixed" + }); + addAnnotation + (getComponentExtensionType_Group(), + source, + new String[] { + "kind", "group", + "name", "group:1" + }); + addAnnotation + (getComponentExtensionType_Any(), + source, + new String[] { + "kind", "elementWildcard", + "wildcards", "##any", + "name", ":2", + "processing", "strict", + "group", "group:1" + }); + addAnnotation + (getComponentExtensionType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (componentFamilyTypeEClass, + source, + new String[] { + "name", "component-family_._type", + "kind", "simple" + }); + addAnnotation + (getComponentFamilyType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getComponentFamilyType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (componentTypeEClass, + source, + new String[] { + "name", "component_._type", + "kind", "elementOnly" + }); + addAnnotation + (getComponentType_Description(), + source, + new String[] { + "kind", "element", + "name", "description", + "namespace", "##targetNamespace" + }); + addAnnotation + (getComponentType_DisplayName(), + source, + new String[] { + "kind", "element", + "name", "display-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getComponentType_Icon(), + source, + new String[] { + "kind", "element", + "name", "icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getComponentType_ComponentType(), + source, + new String[] { + "kind", "element", + "name", "component-type", + "namespace", "##targetNamespace" + }); + addAnnotation + (getComponentType_ComponentClass(), + source, + new String[] { + "kind", "element", + "name", "component-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getComponentType_Facet(), + source, + new String[] { + "kind", "element", + "name", "facet", + "namespace", "##targetNamespace" + }); + addAnnotation + (getComponentType_Attribute(), + source, + new String[] { + "kind", "element", + "name", "attribute", + "namespace", "##targetNamespace" + }); + addAnnotation + (getComponentType_Property(), + source, + new String[] { + "kind", "element", + "name", "property", + "namespace", "##targetNamespace" + }); + addAnnotation + (getComponentType_ComponentExtension(), + source, + new String[] { + "kind", "element", + "name", "component-extension", + "namespace", "##targetNamespace" + }); + addAnnotation + (getComponentType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (componentTypeTypeEClass, + source, + new String[] { + "name", "component-type_._type", + "kind", "simple" + }); + addAnnotation + (getComponentTypeType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getComponentTypeType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (converterClassTypeEClass, + source, + new String[] { + "name", "converter-class_._type", + "kind", "simple" + }); + addAnnotation + (getConverterClassType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getConverterClassType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (converterForClassTypeEClass, + source, + new String[] { + "name", "converter-for-class_._type", + "kind", "simple" + }); + addAnnotation + (getConverterForClassType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getConverterForClassType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (converterIdTypeEClass, + source, + new String[] { + "name", "converter-id_._type", + "kind", "simple" + }); + addAnnotation + (getConverterIdType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getConverterIdType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (converterTypeEClass, + source, + new String[] { + "name", "converter_._type", + "kind", "elementOnly" + }); + addAnnotation + (getConverterType_Description(), + source, + new String[] { + "kind", "element", + "name", "description", + "namespace", "##targetNamespace" + }); + addAnnotation + (getConverterType_DisplayName(), + source, + new String[] { + "kind", "element", + "name", "display-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getConverterType_Icon(), + source, + new String[] { + "kind", "element", + "name", "icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getConverterType_ConverterId(), + source, + new String[] { + "kind", "element", + "name", "converter-id", + "namespace", "##targetNamespace" + }); + addAnnotation + (getConverterType_ConverterForClass(), + source, + new String[] { + "kind", "element", + "name", "converter-for-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getConverterType_ConverterClass(), + source, + new String[] { + "kind", "element", + "name", "converter-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getConverterType_Attribute(), + source, + new String[] { + "kind", "element", + "name", "attribute", + "namespace", "##targetNamespace" + }); + addAnnotation + (getConverterType_Property(), + source, + new String[] { + "kind", "element", + "name", "property", + "namespace", "##targetNamespace" + }); + addAnnotation + (getConverterType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (defaultLocaleTypeEClass, + source, + new String[] { + "name", "default-locale_._type", + "kind", "simple" + }); + addAnnotation + (getDefaultLocaleType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getDefaultLocaleType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (defaultRenderKitIdTypeEClass, + source, + new String[] { + "name", "default-render-kit-id_._type", + "kind", "simple" + }); + addAnnotation + (getDefaultRenderKitIdType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getDefaultRenderKitIdType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (defaultValueTypeEClass, + source, + new String[] { + "name", "default-value_._type", + "kind", "simple" + }); + addAnnotation + (getDefaultValueType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getDefaultValueType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (descriptionTypeEClass, + source, + new String[] { + "name", "description_._type", + "kind", "simple" + }); + addAnnotation + (getDescriptionType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getDescriptionType_Lang(), + source, + new String[] { + "kind", "attribute", + "name", "lang", + "namespace", "http://www.w3.org/XML/1998/namespace" + }); + addAnnotation + (getDescriptionType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (displayNameTypeEClass, + source, + new String[] { + "name", "display-name_._type", + "kind", "simple" + }); + addAnnotation + (getDisplayNameType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getDisplayNameType_Lang(), + source, + new String[] { + "kind", "attribute", + "name", "lang", + "namespace", "http://www.w3.org/XML/1998/namespace" + }); + addAnnotation + (getDisplayNameType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (documentRootEClass, + source, + new String[] { + "name", "", + "kind", "mixed" + }); + addAnnotation + (getDocumentRoot_Mixed(), + source, + new String[] { + "kind", "elementWildcard", + "name", ":mixed" + }); + addAnnotation + (getDocumentRoot_XMLNSPrefixMap(), + source, + new String[] { + "kind", "attribute", + "name", "xmlns:prefix" + }); + addAnnotation + (getDocumentRoot_XSISchemaLocation(), + source, + new String[] { + "kind", "attribute", + "name", "xsi:schemaLocation" + }); + addAnnotation + (getDocumentRoot_ActionListener(), + source, + new String[] { + "kind", "element", + "name", "action-listener", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Application(), + source, + new String[] { + "kind", "element", + "name", "application", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ApplicationFactory(), + source, + new String[] { + "kind", "element", + "name", "application-factory", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Attribute(), + source, + new String[] { + "kind", "element", + "name", "attribute", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_AttributeClass(), + source, + new String[] { + "kind", "element", + "name", "attribute-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_AttributeExtension(), + source, + new String[] { + "kind", "element", + "name", "attribute-extension", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_AttributeName(), + source, + new String[] { + "kind", "element", + "name", "attribute-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Component(), + source, + new String[] { + "kind", "element", + "name", "component", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ComponentClass(), + source, + new String[] { + "kind", "element", + "name", "component-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ComponentExtension(), + source, + new String[] { + "kind", "element", + "name", "component-extension", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ComponentFamily(), + source, + new String[] { + "kind", "element", + "name", "component-family", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ComponentType(), + source, + new String[] { + "kind", "element", + "name", "component-type", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Converter(), + source, + new String[] { + "kind", "element", + "name", "converter", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ConverterClass(), + source, + new String[] { + "kind", "element", + "name", "converter-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ConverterForClass(), + source, + new String[] { + "kind", "element", + "name", "converter-for-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ConverterId(), + source, + new String[] { + "kind", "element", + "name", "converter-id", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_DefaultLocale(), + source, + new String[] { + "kind", "element", + "name", "default-locale", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_DefaultRenderKitId(), + source, + new String[] { + "kind", "element", + "name", "default-render-kit-id", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_DefaultValue(), + source, + new String[] { + "kind", "element", + "name", "default-value", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Description(), + source, + new String[] { + "kind", "element", + "name", "description", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_DisplayName(), + source, + new String[] { + "kind", "element", + "name", "display-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_FacesConfig(), + source, + new String[] { + "kind", "element", + "name", "faces-config", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_FacesContextFactory(), + source, + new String[] { + "kind", "element", + "name", "faces-context-factory", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Facet(), + source, + new String[] { + "kind", "element", + "name", "facet", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_FacetExtension(), + source, + new String[] { + "kind", "element", + "name", "facet-extension", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_FacetName(), + source, + new String[] { + "kind", "element", + "name", "facet-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Factory(), + source, + new String[] { + "kind", "element", + "name", "factory", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_FromAction(), + source, + new String[] { + "kind", "element", + "name", "from-action", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_FromOutcome(), + source, + new String[] { + "kind", "element", + "name", "from-outcome", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_FromViewId(), + source, + new String[] { + "kind", "element", + "name", "from-view-id", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Icon(), + source, + new String[] { + "kind", "element", + "name", "icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Key(), + source, + new String[] { + "kind", "element", + "name", "key", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_KeyClass(), + source, + new String[] { + "kind", "element", + "name", "key-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_LargeIcon(), + source, + new String[] { + "kind", "element", + "name", "large-icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Lifecycle(), + source, + new String[] { + "kind", "element", + "name", "lifecycle", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_LifecycleFactory(), + source, + new String[] { + "kind", "element", + "name", "lifecycle-factory", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ListEntries(), + source, + new String[] { + "kind", "element", + "name", "list-entries", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_LocaleConfig(), + source, + new String[] { + "kind", "element", + "name", "locale-config", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ManagedBean(), + source, + new String[] { + "kind", "element", + "name", "managed-bean", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ManagedBeanClass(), + source, + new String[] { + "kind", "element", + "name", "managed-bean-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ManagedBeanName(), + source, + new String[] { + "kind", "element", + "name", "managed-bean-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ManagedBeanScope(), + source, + new String[] { + "kind", "element", + "name", "managed-bean-scope", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ManagedProperty(), + source, + new String[] { + "kind", "element", + "name", "managed-property", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_MapEntries(), + source, + new String[] { + "kind", "element", + "name", "map-entries", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_MapEntry(), + source, + new String[] { + "kind", "element", + "name", "map-entry", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_MessageBundle(), + source, + new String[] { + "kind", "element", + "name", "message-bundle", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_NavigationCase(), + source, + new String[] { + "kind", "element", + "name", "navigation-case", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_NavigationHandler(), + source, + new String[] { + "kind", "element", + "name", "navigation-handler", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_NavigationRule(), + source, + new String[] { + "kind", "element", + "name", "navigation-rule", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_NullValue(), + source, + new String[] { + "kind", "element", + "name", "null-value", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_PhaseListener(), + source, + new String[] { + "kind", "element", + "name", "phase-listener", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Property(), + source, + new String[] { + "kind", "element", + "name", "property", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_PropertyClass(), + source, + new String[] { + "kind", "element", + "name", "property-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_PropertyExtension(), + source, + new String[] { + "kind", "element", + "name", "property-extension", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_PropertyName(), + source, + new String[] { + "kind", "element", + "name", "property-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_PropertyResolver(), + source, + new String[] { + "kind", "element", + "name", "property-resolver", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Redirect(), + source, + new String[] { + "kind", "element", + "name", "redirect", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ReferencedBean(), + source, + new String[] { + "kind", "element", + "name", "referenced-bean", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ReferencedBeanClass(), + source, + new String[] { + "kind", "element", + "name", "referenced-bean-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ReferencedBeanName(), + source, + new String[] { + "kind", "element", + "name", "referenced-bean-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Renderer(), + source, + new String[] { + "kind", "element", + "name", "renderer", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_RendererClass(), + source, + new String[] { + "kind", "element", + "name", "renderer-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_RendererExtension(), + source, + new String[] { + "kind", "element", + "name", "renderer-extension", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_RendererType(), + source, + new String[] { + "kind", "element", + "name", "renderer-type", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_RenderKit(), + source, + new String[] { + "kind", "element", + "name", "render-kit", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_RenderKitClass(), + source, + new String[] { + "kind", "element", + "name", "render-kit-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_RenderKitFactory(), + source, + new String[] { + "kind", "element", + "name", "render-kit-factory", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_RenderKitId(), + source, + new String[] { + "kind", "element", + "name", "render-kit-id", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_SmallIcon(), + source, + new String[] { + "kind", "element", + "name", "small-icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_StateManager(), + source, + new String[] { + "kind", "element", + "name", "state-manager", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_SuggestedValue(), + source, + new String[] { + "kind", "element", + "name", "suggested-value", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_SupportedLocale(), + source, + new String[] { + "kind", "element", + "name", "supported-locale", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ToViewId(), + source, + new String[] { + "kind", "element", + "name", "to-view-id", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Validator(), + source, + new String[] { + "kind", "element", + "name", "validator", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ValidatorClass(), + source, + new String[] { + "kind", "element", + "name", "validator-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ValidatorId(), + source, + new String[] { + "kind", "element", + "name", "validator-id", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_Value(), + source, + new String[] { + "kind", "element", + "name", "value", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ValueClass(), + source, + new String[] { + "kind", "element", + "name", "value-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_VariableResolver(), + source, + new String[] { + "kind", "element", + "name", "variable-resolver", + "namespace", "##targetNamespace" + }); + addAnnotation + (getDocumentRoot_ViewHandler(), + source, + new String[] { + "kind", "element", + "name", "view-handler", + "namespace", "##targetNamespace" + }); + addAnnotation + (facesConfigTypeEClass, + source, + new String[] { + "name", "faces-config_._type", + "kind", "elementOnly" + }); + addAnnotation + (getFacesConfigType_Application(), + source, + new String[] { + "kind", "element", + "name", "application", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacesConfigType_Factory(), + source, + new String[] { + "kind", "element", + "name", "factory", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacesConfigType_Component(), + source, + new String[] { + "kind", "element", + "name", "component", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacesConfigType_Converter(), + source, + new String[] { + "kind", "element", + "name", "converter", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacesConfigType_ManagedBean(), + source, + new String[] { + "kind", "element", + "name", "managed-bean", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacesConfigType_NavigationRule(), + source, + new String[] { + "kind", "element", + "name", "navigation-rule", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacesConfigType_ReferencedBean(), + source, + new String[] { + "kind", "element", + "name", "referenced-bean", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacesConfigType_RenderKit(), + source, + new String[] { + "kind", "element", + "name", "render-kit", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacesConfigType_Lifecycle(), + source, + new String[] { + "kind", "element", + "name", "lifecycle", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacesConfigType_Validator(), + source, + new String[] { + "kind", "element", + "name", "validator", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacesConfigType_Xmlns(), + source, + new String[] { + "kind", "attribute", + "name", "xmlns", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacesConfigType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (facesContextFactoryTypeEClass, + source, + new String[] { + "name", "faces-context-factory_._type", + "kind", "simple" + }); + addAnnotation + (getFacesContextFactoryType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getFacesContextFactoryType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (facetExtensionTypeEClass, + source, + new String[] { + "name", "facet-extension_._type", + "kind", "mixed" + }); + addAnnotation + (getFacetExtensionType_Mixed(), + source, + new String[] { + "kind", "elementWildcard", + "name", ":mixed" + }); + addAnnotation + (getFacetExtensionType_Group(), + source, + new String[] { + "kind", "group", + "name", "group:1" + }); + addAnnotation + (getFacetExtensionType_Any(), + source, + new String[] { + "kind", "elementWildcard", + "wildcards", "##any", + "name", ":2", + "processing", "strict", + "group", "group:1" + }); + addAnnotation + (getFacetExtensionType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (facetNameTypeEClass, + source, + new String[] { + "name", "facet-name_._type", + "kind", "simple" + }); + addAnnotation + (getFacetNameType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getFacetNameType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (facetTypeEClass, + source, + new String[] { + "name", "facet_._type", + "kind", "elementOnly" + }); + addAnnotation + (getFacetType_Description(), + source, + new String[] { + "kind", "element", + "name", "description", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacetType_DisplayName(), + source, + new String[] { + "kind", "element", + "name", "display-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacetType_Icon(), + source, + new String[] { + "kind", "element", + "name", "icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacetType_FacetName(), + source, + new String[] { + "kind", "element", + "name", "facet-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacetType_FacetExtension(), + source, + new String[] { + "kind", "element", + "name", "facet-extension", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFacetType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (factoryTypeEClass, + source, + new String[] { + "name", "factory_._type", + "kind", "elementOnly" + }); + addAnnotation + (getFactoryType_ApplicationFactory(), + source, + new String[] { + "kind", "element", + "name", "application-factory", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFactoryType_FacesContextFactory(), + source, + new String[] { + "kind", "element", + "name", "faces-context-factory", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFactoryType_LifecycleFactory(), + source, + new String[] { + "kind", "element", + "name", "lifecycle-factory", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFactoryType_RenderKitFactory(), + source, + new String[] { + "kind", "element", + "name", "render-kit-factory", + "namespace", "##targetNamespace" + }); + addAnnotation + (getFactoryType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (fromActionTypeEClass, + source, + new String[] { + "name", "from-action_._type", + "kind", "simple" + }); + addAnnotation + (getFromActionType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getFromActionType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (fromOutcomeTypeEClass, + source, + new String[] { + "name", "from-outcome_._type", + "kind", "simple" + }); + addAnnotation + (getFromOutcomeType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getFromOutcomeType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (fromViewIdTypeEClass, + source, + new String[] { + "name", "from-view-id_._type", + "kind", "simple" + }); + addAnnotation + (getFromViewIdType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getFromViewIdType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (iconTypeEClass, + source, + new String[] { + "name", "icon_._type", + "kind", "empty" + }); + addAnnotation + (getIconType_SmallIcon(), + source, + new String[] { + "kind", "element", + "name", "small-icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getIconType_LargeIcon(), + source, + new String[] { + "kind", "element", + "name", "large-icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getIconType_Lang(), + source, + new String[] { + "kind", "attribute", + "name", "lang", + "namespace", "http://www.w3.org/XML/1998/namespace" + }); + addAnnotation + (getIconType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (keyClassTypeEClass, + source, + new String[] { + "name", "key-class_._type", + "kind", "simple" + }); + addAnnotation + (getKeyClassType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getKeyClassType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (keyTypeEClass, + source, + new String[] { + "name", "key_._type", + "kind", "simple" + }); + addAnnotation + (getKeyType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getKeyType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (largeIconTypeEClass, + source, + new String[] { + "name", "large-icon_._type", + "kind", "simple" + }); + addAnnotation + (getLargeIconType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getLargeIconType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (lifecycleFactoryTypeEClass, + source, + new String[] { + "name", "lifecycle-factory_._type", + "kind", "simple" + }); + addAnnotation + (getLifecycleFactoryType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getLifecycleFactoryType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (lifecycleTypeEClass, + source, + new String[] { + "name", "lifecycle_._type", + "kind", "elementOnly" + }); + addAnnotation + (getLifecycleType_PhaseListener(), + source, + new String[] { + "kind", "element", + "name", "phase-listener", + "namespace", "##targetNamespace" + }); + addAnnotation + (getLifecycleType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (listEntriesTypeEClass, + source, + new String[] { + "name", "list-entries_._type", + "kind", "elementOnly" + }); + addAnnotation + (getListEntriesType_ValueClass(), + source, + new String[] { + "kind", "element", + "name", "value-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getListEntriesType_NullValue(), + source, + new String[] { + "kind", "element", + "name", "null-value", + "namespace", "##targetNamespace" + }); + addAnnotation + (getListEntriesType_Value(), + source, + new String[] { + "kind", "element", + "name", "value", + "namespace", "##targetNamespace" + }); + addAnnotation + (getListEntriesType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (localeConfigTypeEClass, + source, + new String[] { + "name", "locale-config_._type", + "kind", "elementOnly" + }); + addAnnotation + (getLocaleConfigType_DefaultLocale(), + source, + new String[] { + "kind", "element", + "name", "default-locale", + "namespace", "##targetNamespace" + }); + addAnnotation + (getLocaleConfigType_SupportedLocale(), + source, + new String[] { + "kind", "element", + "name", "supported-locale", + "namespace", "##targetNamespace" + }); + addAnnotation + (getLocaleConfigType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (managedBeanClassTypeEClass, + source, + new String[] { + "name", "managed-bean-class_._type", + "kind", "simple" + }); + addAnnotation + (getManagedBeanClassType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getManagedBeanClassType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (managedBeanNameTypeEClass, + source, + new String[] { + "name", "managed-bean-name_._type", + "kind", "simple" + }); + addAnnotation + (getManagedBeanNameType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getManagedBeanNameType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (managedBeanScopeTypeEClass, + source, + new String[] { + "name", "managed-bean-scope_._type", + "kind", "simple" + }); + addAnnotation + (getManagedBeanScopeType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getManagedBeanScopeType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (managedBeanTypeEClass, + source, + new String[] { + "name", "managed-bean_._type", + "kind", "elementOnly" + }); + addAnnotation + (getManagedBeanType_Description(), + source, + new String[] { + "kind", "element", + "name", "description", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedBeanType_DisplayName(), + source, + new String[] { + "kind", "element", + "name", "display-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedBeanType_Icon(), + source, + new String[] { + "kind", "element", + "name", "icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedBeanType_ManagedBeanName(), + source, + new String[] { + "kind", "element", + "name", "managed-bean-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedBeanType_ManagedBeanClass(), + source, + new String[] { + "kind", "element", + "name", "managed-bean-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedBeanType_ManagedBeanScope(), + source, + new String[] { + "kind", "element", + "name", "managed-bean-scope", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedBeanType_ManagedProperty(), + source, + new String[] { + "kind", "element", + "name", "managed-property", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedBeanType_MapEntries(), + source, + new String[] { + "kind", "element", + "name", "map-entries", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedBeanType_ListEntries(), + source, + new String[] { + "kind", "element", + "name", "list-entries", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedBeanType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (managedPropertyTypeEClass, + source, + new String[] { + "name", "managed-property_._type", + "kind", "elementOnly" + }); + addAnnotation + (getManagedPropertyType_Description(), + source, + new String[] { + "kind", "element", + "name", "description", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedPropertyType_DisplayName(), + source, + new String[] { + "kind", "element", + "name", "display-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedPropertyType_Icon(), + source, + new String[] { + "kind", "element", + "name", "icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedPropertyType_PropertyName(), + source, + new String[] { + "kind", "element", + "name", "property-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedPropertyType_PropertyClass(), + source, + new String[] { + "kind", "element", + "name", "property-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedPropertyType_MapEntries(), + source, + new String[] { + "kind", "element", + "name", "map-entries", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedPropertyType_NullValue(), + source, + new String[] { + "kind", "element", + "name", "null-value", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedPropertyType_Value(), + source, + new String[] { + "kind", "element", + "name", "value", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedPropertyType_ListEntries(), + source, + new String[] { + "kind", "element", + "name", "list-entries", + "namespace", "##targetNamespace" + }); + addAnnotation + (getManagedPropertyType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (mapEntriesTypeEClass, + source, + new String[] { + "name", "map-entries_._type", + "kind", "elementOnly" + }); + addAnnotation + (getMapEntriesType_KeyClass(), + source, + new String[] { + "kind", "element", + "name", "key-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getMapEntriesType_ValueClass(), + source, + new String[] { + "kind", "element", + "name", "value-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getMapEntriesType_MapEntry(), + source, + new String[] { + "kind", "element", + "name", "map-entry", + "namespace", "##targetNamespace" + }); + addAnnotation + (getMapEntriesType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (mapEntryTypeEClass, + source, + new String[] { + "name", "map-entry_._type", + "kind", "empty" + }); + addAnnotation + (getMapEntryType_Key(), + source, + new String[] { + "kind", "element", + "name", "key", + "namespace", "##targetNamespace" + }); + addAnnotation + (getMapEntryType_NullValue(), + source, + new String[] { + "kind", "element", + "name", "null-value", + "namespace", "##targetNamespace" + }); + addAnnotation + (getMapEntryType_Value(), + source, + new String[] { + "kind", "element", + "name", "value", + "namespace", "##targetNamespace" + }); + addAnnotation + (getMapEntryType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (messageBundleTypeEClass, + source, + new String[] { + "name", "message-bundle_._type", + "kind", "simple" + }); + addAnnotation + (getMessageBundleType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getMessageBundleType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (navigationCaseTypeEClass, + source, + new String[] { + "name", "navigation-case_._type", + "kind", "elementOnly" + }); + addAnnotation + (getNavigationCaseType_Description(), + source, + new String[] { + "kind", "element", + "name", "description", + "namespace", "##targetNamespace" + }); + addAnnotation + (getNavigationCaseType_DisplayName(), + source, + new String[] { + "kind", "element", + "name", "display-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getNavigationCaseType_Icon(), + source, + new String[] { + "kind", "element", + "name", "icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getNavigationCaseType_FromAction(), + source, + new String[] { + "kind", "element", + "name", "from-action", + "namespace", "##targetNamespace" + }); + addAnnotation + (getNavigationCaseType_FromOutcome(), + source, + new String[] { + "kind", "element", + "name", "from-outcome", + "namespace", "##targetNamespace" + }); + addAnnotation + (getNavigationCaseType_ToViewId(), + source, + new String[] { + "kind", "element", + "name", "to-view-id", + "namespace", "##targetNamespace" + }); + addAnnotation + (getNavigationCaseType_Redirect(), + source, + new String[] { + "kind", "element", + "name", "redirect", + "namespace", "##targetNamespace" + }); + addAnnotation + (getNavigationCaseType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (navigationHandlerTypeEClass, + source, + new String[] { + "name", "navigation-handler_._type", + "kind", "simple" + }); + addAnnotation + (getNavigationHandlerType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getNavigationHandlerType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (navigationRuleTypeEClass, + source, + new String[] { + "name", "navigation-rule_._type", + "kind", "elementOnly" + }); + addAnnotation + (getNavigationRuleType_Description(), + source, + new String[] { + "kind", "element", + "name", "description", + "namespace", "##targetNamespace" + }); + addAnnotation + (getNavigationRuleType_DisplayName(), + source, + new String[] { + "kind", "element", + "name", "display-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getNavigationRuleType_Icon(), + source, + new String[] { + "kind", "element", + "name", "icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getNavigationRuleType_FromViewId(), + source, + new String[] { + "kind", "element", + "name", "from-view-id", + "namespace", "##targetNamespace" + }); + addAnnotation + (getNavigationRuleType_NavigationCase(), + source, + new String[] { + "kind", "element", + "name", "navigation-case", + "namespace", "##targetNamespace" + }); + addAnnotation + (getNavigationRuleType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (nullValueTypeEClass, + source, + new String[] { + "name", "null-value_._type", + "kind", "empty" + }); + addAnnotation + (getNullValueType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (phaseListenerTypeEClass, + source, + new String[] { + "name", "phase-listener_._type", + "kind", "simple" + }); + addAnnotation + (getPhaseListenerType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getPhaseListenerType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (propertyClassTypeEClass, + source, + new String[] { + "name", "property-class_._type", + "kind", "simple" + }); + addAnnotation + (getPropertyClassType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getPropertyClassType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (propertyExtensionTypeEClass, + source, + new String[] { + "name", "property-extension_._type", + "kind", "mixed" + }); + addAnnotation + (getPropertyExtensionType_Mixed(), + source, + new String[] { + "kind", "elementWildcard", + "name", ":mixed" + }); + addAnnotation + (getPropertyExtensionType_Group(), + source, + new String[] { + "kind", "group", + "name", "group:1" + }); + addAnnotation + (getPropertyExtensionType_Any(), + source, + new String[] { + "kind", "elementWildcard", + "wildcards", "##any", + "name", ":2", + "processing", "strict", + "group", "group:1" + }); + addAnnotation + (getPropertyExtensionType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (propertyNameTypeEClass, + source, + new String[] { + "name", "property-name_._type", + "kind", "simple" + }); + addAnnotation + (getPropertyNameType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getPropertyNameType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (propertyResolverTypeEClass, + source, + new String[] { + "name", "property-resolver_._type", + "kind", "simple" + }); + addAnnotation + (getPropertyResolverType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getPropertyResolverType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (propertyTypeEClass, + source, + new String[] { + "name", "property_._type", + "kind", "elementOnly" + }); + addAnnotation + (getPropertyType_Description(), + source, + new String[] { + "kind", "element", + "name", "description", + "namespace", "##targetNamespace" + }); + addAnnotation + (getPropertyType_DisplayName(), + source, + new String[] { + "kind", "element", + "name", "display-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getPropertyType_Icon(), + source, + new String[] { + "kind", "element", + "name", "icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getPropertyType_PropertyName(), + source, + new String[] { + "kind", "element", + "name", "property-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getPropertyType_PropertyClass(), + source, + new String[] { + "kind", "element", + "name", "property-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getPropertyType_DefaultValue(), + source, + new String[] { + "kind", "element", + "name", "default-value", + "namespace", "##targetNamespace" + }); + addAnnotation + (getPropertyType_SuggestedValue(), + source, + new String[] { + "kind", "element", + "name", "suggested-value", + "namespace", "##targetNamespace" + }); + addAnnotation + (getPropertyType_PropertyExtension(), + source, + new String[] { + "kind", "element", + "name", "property-extension", + "namespace", "##targetNamespace" + }); + addAnnotation + (getPropertyType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (redirectTypeEClass, + source, + new String[] { + "name", "redirect_._type", + "kind", "empty" + }); + addAnnotation + (getRedirectType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (referencedBeanClassTypeEClass, + source, + new String[] { + "name", "referenced-bean-class_._type", + "kind", "simple" + }); + addAnnotation + (getReferencedBeanClassType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getReferencedBeanClassType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (referencedBeanNameTypeEClass, + source, + new String[] { + "name", "referenced-bean-name_._type", + "kind", "simple" + }); + addAnnotation + (getReferencedBeanNameType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getReferencedBeanNameType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (referencedBeanTypeEClass, + source, + new String[] { + "name", "referenced-bean_._type", + "kind", "elementOnly" + }); + addAnnotation + (getReferencedBeanType_Description(), + source, + new String[] { + "kind", "element", + "name", "description", + "namespace", "##targetNamespace" + }); + addAnnotation + (getReferencedBeanType_DisplayName(), + source, + new String[] { + "kind", "element", + "name", "display-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getReferencedBeanType_Icon(), + source, + new String[] { + "kind", "element", + "name", "icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getReferencedBeanType_ReferencedBeanName(), + source, + new String[] { + "kind", "element", + "name", "referenced-bean-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getReferencedBeanType_ReferencedBeanClass(), + source, + new String[] { + "kind", "element", + "name", "referenced-bean-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getReferencedBeanType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (rendererClassTypeEClass, + source, + new String[] { + "name", "renderer-class_._type", + "kind", "simple" + }); + addAnnotation + (getRendererClassType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getRendererClassType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (rendererExtensionTypeEClass, + source, + new String[] { + "name", "renderer-extension_._type", + "kind", "mixed" + }); + addAnnotation + (getRendererExtensionType_Mixed(), + source, + new String[] { + "kind", "elementWildcard", + "name", ":mixed" + }); + addAnnotation + (getRendererExtensionType_Group(), + source, + new String[] { + "kind", "group", + "name", "group:1" + }); + addAnnotation + (getRendererExtensionType_Any(), + source, + new String[] { + "kind", "elementWildcard", + "wildcards", "##any", + "name", ":2", + "processing", "strict", + "group", "group:1" + }); + addAnnotation + (getRendererExtensionType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (rendererTypeEClass, + source, + new String[] { + "name", "renderer_._type", + "kind", "elementOnly" + }); + addAnnotation + (getRendererType_Description(), + source, + new String[] { + "kind", "element", + "name", "description", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRendererType_DisplayName(), + source, + new String[] { + "kind", "element", + "name", "display-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRendererType_Icon(), + source, + new String[] { + "kind", "element", + "name", "icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRendererType_ComponentFamily(), + source, + new String[] { + "kind", "element", + "name", "component-family", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRendererType_RendererType(), + source, + new String[] { + "kind", "element", + "name", "renderer-type", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRendererType_RendererClass(), + source, + new String[] { + "kind", "element", + "name", "renderer-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRendererType_Facet(), + source, + new String[] { + "kind", "element", + "name", "facet", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRendererType_Attribute(), + source, + new String[] { + "kind", "element", + "name", "attribute", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRendererType_RendererExtension(), + source, + new String[] { + "kind", "element", + "name", "renderer-extension", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRendererType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (rendererTypeTypeEClass, + source, + new String[] { + "name", "renderer-type_._type", + "kind", "simple" + }); + addAnnotation + (getRendererTypeType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getRendererTypeType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (renderKitClassTypeEClass, + source, + new String[] { + "name", "render-kit-class_._type", + "kind", "simple" + }); + addAnnotation + (getRenderKitClassType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getRenderKitClassType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (renderKitFactoryTypeEClass, + source, + new String[] { + "name", "render-kit-factory_._type", + "kind", "simple" + }); + addAnnotation + (getRenderKitFactoryType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getRenderKitFactoryType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (renderKitIdTypeEClass, + source, + new String[] { + "name", "render-kit-id_._type", + "kind", "simple" + }); + addAnnotation + (getRenderKitIdType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getRenderKitIdType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (renderKitTypeEClass, + source, + new String[] { + "name", "render-kit_._type", + "kind", "elementOnly" + }); + addAnnotation + (getRenderKitType_Description(), + source, + new String[] { + "kind", "element", + "name", "description", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRenderKitType_DisplayName(), + source, + new String[] { + "kind", "element", + "name", "display-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRenderKitType_Icon(), + source, + new String[] { + "kind", "element", + "name", "icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRenderKitType_RenderKitId(), + source, + new String[] { + "kind", "element", + "name", "render-kit-id", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRenderKitType_RenderKitClass(), + source, + new String[] { + "kind", "element", + "name", "render-kit-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRenderKitType_Renderer(), + source, + new String[] { + "kind", "element", + "name", "renderer", + "namespace", "##targetNamespace" + }); + addAnnotation + (getRenderKitType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (smallIconTypeEClass, + source, + new String[] { + "name", "small-icon_._type", + "kind", "simple" + }); + addAnnotation + (getSmallIconType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getSmallIconType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (stateManagerTypeEClass, + source, + new String[] { + "name", "state-manager_._type", + "kind", "simple" + }); + addAnnotation + (getStateManagerType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getStateManagerType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (suggestedValueTypeEClass, + source, + new String[] { + "name", "suggested-value_._type", + "kind", "simple" + }); + addAnnotation + (getSuggestedValueType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getSuggestedValueType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (supportedLocaleTypeEClass, + source, + new String[] { + "name", "supported-locale_._type", + "kind", "simple" + }); + addAnnotation + (getSupportedLocaleType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getSupportedLocaleType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (toViewIdTypeEClass, + source, + new String[] { + "name", "to-view-id_._type", + "kind", "simple" + }); + addAnnotation + (getToViewIdType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getToViewIdType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (validatorClassTypeEClass, + source, + new String[] { + "name", "validator-class_._type", + "kind", "simple" + }); + addAnnotation + (getValidatorClassType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getValidatorClassType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (validatorIdTypeEClass, + source, + new String[] { + "name", "validator-id_._type", + "kind", "simple" + }); + addAnnotation + (getValidatorIdType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getValidatorIdType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (validatorTypeEClass, + source, + new String[] { + "name", "validator_._type", + "kind", "elementOnly" + }); + addAnnotation + (getValidatorType_Description(), + source, + new String[] { + "kind", "element", + "name", "description", + "namespace", "##targetNamespace" + }); + addAnnotation + (getValidatorType_DisplayName(), + source, + new String[] { + "kind", "element", + "name", "display-name", + "namespace", "##targetNamespace" + }); + addAnnotation + (getValidatorType_Icon(), + source, + new String[] { + "kind", "element", + "name", "icon", + "namespace", "##targetNamespace" + }); + addAnnotation + (getValidatorType_ValidatorId(), + source, + new String[] { + "kind", "element", + "name", "validator-id", + "namespace", "##targetNamespace" + }); + addAnnotation + (getValidatorType_ValidatorClass(), + source, + new String[] { + "kind", "element", + "name", "validator-class", + "namespace", "##targetNamespace" + }); + addAnnotation + (getValidatorType_Attribute(), + source, + new String[] { + "kind", "element", + "name", "attribute", + "namespace", "##targetNamespace" + }); + addAnnotation + (getValidatorType_Property(), + source, + new String[] { + "kind", "element", + "name", "property", + "namespace", "##targetNamespace" + }); + addAnnotation + (getValidatorType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (valueClassTypeEClass, + source, + new String[] { + "name", "value-class_._type", + "kind", "simple" + }); + addAnnotation + (getValueClassType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getValueClassType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (valueTypeEClass, + source, + new String[] { + "name", "value_._type", + "kind", "simple" + }); + addAnnotation + (getValueType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getValueType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (variableResolverTypeEClass, + source, + new String[] { + "name", "variable-resolver_._type", + "kind", "simple" + }); + addAnnotation + (getVariableResolverType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getVariableResolverType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + addAnnotation + (viewHandlerTypeEClass, + source, + new String[] { + "name", "view-handler_._type", + "kind", "simple" + }); + addAnnotation + (getViewHandlerType_TextContent(), + source, + new String[] { + "name", ":0", + "kind", "simple" + }); + addAnnotation + (getViewHandlerType_Id(), + source, + new String[] { + "kind", "attribute", + "name", "id", + "namespace", "##targetNamespace" + }); + } + +} //FacesConfigPackageImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigTypeImpl.java new file mode 100644 index 000000000..df9fa3a05 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigTypeImpl.java @@ -0,0 +1,656 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.ApplicationType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentType; +import org.eclipse.jst.jsf.facesconfig.emf.ConverterType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType; +import org.eclipse.jst.jsf.facesconfig.emf.FactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.LifecycleType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType; +import org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType; +import org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitType; +import org.eclipse.jst.jsf.facesconfig.emf.ValidatorType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#getApplication <em>Application</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#getFactory <em>Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#getComponent <em>Component</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#getConverter <em>Converter</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#getManagedBean <em>Managed Bean</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#getNavigationRule <em>Navigation Rule</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#getReferencedBean <em>Referenced Bean</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#getRenderKit <em>Render Kit</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#getLifecycle <em>Lifecycle</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#getValidator <em>Validator</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#getXmlns <em>Xmlns</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class FacesConfigTypeImpl extends EObjectImpl implements FacesConfigType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getApplication() <em>Application</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getApplication() + * @generated + * @ordered + */ + protected EList application = null; + + /** + * The cached value of the '{@link #getFactory() <em>Factory</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFactory() + * @generated + * @ordered + */ + protected EList factory = null; + + /** + * The cached value of the '{@link #getComponent() <em>Component</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getComponent() + * @generated + * @ordered + */ + protected EList component = null; + + /** + * The cached value of the '{@link #getConverter() <em>Converter</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getConverter() + * @generated + * @ordered + */ + protected EList converter = null; + + /** + * The cached value of the '{@link #getManagedBean() <em>Managed Bean</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getManagedBean() + * @generated + * @ordered + */ + protected EList managedBean = null; + + /** + * The cached value of the '{@link #getNavigationRule() <em>Navigation Rule</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getNavigationRule() + * @generated + * @ordered + */ + protected EList navigationRule = null; + + /** + * The cached value of the '{@link #getReferencedBean() <em>Referenced Bean</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getReferencedBean() + * @generated + * @ordered + */ + protected EList referencedBean = null; + + /** + * The cached value of the '{@link #getRenderKit() <em>Render Kit</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRenderKit() + * @generated + * @ordered + */ + protected EList renderKit = null; + + /** + * The cached value of the '{@link #getLifecycle() <em>Lifecycle</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLifecycle() + * @generated + * @ordered + */ + protected EList lifecycle = null; + + /** + * The cached value of the '{@link #getValidator() <em>Validator</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValidator() + * @generated + * @ordered + */ + protected EList validator = null; + + /** + * The default value of the '{@link #getXmlns() <em>Xmlns</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getXmlns() + * @generated + * @ordered + */ + protected static final String XMLNS_EDEFAULT = "http://java.sun.com/JSF/Configuration"; + + /** + * The cached value of the '{@link #getXmlns() <em>Xmlns</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getXmlns() + * @generated + * @ordered + */ + protected String xmlns = XMLNS_EDEFAULT; + + /** + * This is true if the Xmlns attribute has been set. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + protected boolean xmlnsESet = false; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FacesConfigTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getFacesConfigType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getApplication() { + if (application == null) { + application = new EObjectContainmentEList(ApplicationType.class, this, FacesConfigPackage.FACES_CONFIG_TYPE__APPLICATION); + } + return application; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getFactory() { + if (factory == null) { + factory = new EObjectContainmentEList(FactoryType.class, this, FacesConfigPackage.FACES_CONFIG_TYPE__FACTORY); + } + return factory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getComponent() { + if (component == null) { + component = new EObjectContainmentEList(ComponentType.class, this, FacesConfigPackage.FACES_CONFIG_TYPE__COMPONENT); + } + return component; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getConverter() { + if (converter == null) { + converter = new EObjectContainmentEList(ConverterType.class, this, FacesConfigPackage.FACES_CONFIG_TYPE__CONVERTER); + } + return converter; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getManagedBean() { + if (managedBean == null) { + managedBean = new EObjectContainmentEList(ManagedBeanType.class, this, FacesConfigPackage.FACES_CONFIG_TYPE__MANAGED_BEAN); + } + return managedBean; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getNavigationRule() { + if (navigationRule == null) { + navigationRule = new EObjectContainmentEList(NavigationRuleType.class, this, FacesConfigPackage.FACES_CONFIG_TYPE__NAVIGATION_RULE); + } + return navigationRule; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getReferencedBean() { + if (referencedBean == null) { + referencedBean = new EObjectContainmentEList(ReferencedBeanType.class, this, FacesConfigPackage.FACES_CONFIG_TYPE__REFERENCED_BEAN); + } + return referencedBean; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getRenderKit() { + if (renderKit == null) { + renderKit = new EObjectContainmentEList(RenderKitType.class, this, FacesConfigPackage.FACES_CONFIG_TYPE__RENDER_KIT); + } + return renderKit; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getLifecycle() { + if (lifecycle == null) { + lifecycle = new EObjectContainmentEList(LifecycleType.class, this, FacesConfigPackage.FACES_CONFIG_TYPE__LIFECYCLE); + } + return lifecycle; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getValidator() { + if (validator == null) { + validator = new EObjectContainmentEList(ValidatorType.class, this, FacesConfigPackage.FACES_CONFIG_TYPE__VALIDATOR); + } + return validator; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getXmlns() { + return xmlns; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setXmlns(String newXmlns) { + String oldXmlns = xmlns; + xmlns = newXmlns; + boolean oldXmlnsESet = xmlnsESet; + xmlnsESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.FACES_CONFIG_TYPE__XMLNS, oldXmlns, xmlns, !oldXmlnsESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void unsetXmlns() { + String oldXmlns = xmlns; + boolean oldXmlnsESet = xmlnsESet; + xmlns = XMLNS_EDEFAULT; + xmlnsESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, FacesConfigPackage.FACES_CONFIG_TYPE__XMLNS, oldXmlns, XMLNS_EDEFAULT, oldXmlnsESet)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean isSetXmlns() { + return xmlnsESet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.FACES_CONFIG_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.FACES_CONFIG_TYPE__APPLICATION: + return ((InternalEList)getApplication()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACES_CONFIG_TYPE__FACTORY: + return ((InternalEList)getFactory()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACES_CONFIG_TYPE__COMPONENT: + return ((InternalEList)getComponent()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACES_CONFIG_TYPE__CONVERTER: + return ((InternalEList)getConverter()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACES_CONFIG_TYPE__MANAGED_BEAN: + return ((InternalEList)getManagedBean()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACES_CONFIG_TYPE__NAVIGATION_RULE: + return ((InternalEList)getNavigationRule()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACES_CONFIG_TYPE__REFERENCED_BEAN: + return ((InternalEList)getReferencedBean()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACES_CONFIG_TYPE__RENDER_KIT: + return ((InternalEList)getRenderKit()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACES_CONFIG_TYPE__LIFECYCLE: + return ((InternalEList)getLifecycle()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACES_CONFIG_TYPE__VALIDATOR: + return ((InternalEList)getValidator()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACES_CONFIG_TYPE__APPLICATION: + return getApplication(); + case FacesConfigPackage.FACES_CONFIG_TYPE__FACTORY: + return getFactory(); + case FacesConfigPackage.FACES_CONFIG_TYPE__COMPONENT: + return getComponent(); + case FacesConfigPackage.FACES_CONFIG_TYPE__CONVERTER: + return getConverter(); + case FacesConfigPackage.FACES_CONFIG_TYPE__MANAGED_BEAN: + return getManagedBean(); + case FacesConfigPackage.FACES_CONFIG_TYPE__NAVIGATION_RULE: + return getNavigationRule(); + case FacesConfigPackage.FACES_CONFIG_TYPE__REFERENCED_BEAN: + return getReferencedBean(); + case FacesConfigPackage.FACES_CONFIG_TYPE__RENDER_KIT: + return getRenderKit(); + case FacesConfigPackage.FACES_CONFIG_TYPE__LIFECYCLE: + return getLifecycle(); + case FacesConfigPackage.FACES_CONFIG_TYPE__VALIDATOR: + return getValidator(); + case FacesConfigPackage.FACES_CONFIG_TYPE__XMLNS: + return getXmlns(); + case FacesConfigPackage.FACES_CONFIG_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACES_CONFIG_TYPE__APPLICATION: + getApplication().clear(); + getApplication().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__FACTORY: + getFactory().clear(); + getFactory().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__COMPONENT: + getComponent().clear(); + getComponent().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__CONVERTER: + getConverter().clear(); + getConverter().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__MANAGED_BEAN: + getManagedBean().clear(); + getManagedBean().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__NAVIGATION_RULE: + getNavigationRule().clear(); + getNavigationRule().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__REFERENCED_BEAN: + getReferencedBean().clear(); + getReferencedBean().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__RENDER_KIT: + getRenderKit().clear(); + getRenderKit().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__LIFECYCLE: + getLifecycle().clear(); + getLifecycle().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__VALIDATOR: + getValidator().clear(); + getValidator().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__XMLNS: + setXmlns((String)newValue); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACES_CONFIG_TYPE__APPLICATION: + getApplication().clear(); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__FACTORY: + getFactory().clear(); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__COMPONENT: + getComponent().clear(); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__CONVERTER: + getConverter().clear(); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__MANAGED_BEAN: + getManagedBean().clear(); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__NAVIGATION_RULE: + getNavigationRule().clear(); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__REFERENCED_BEAN: + getReferencedBean().clear(); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__RENDER_KIT: + getRenderKit().clear(); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__LIFECYCLE: + getLifecycle().clear(); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__VALIDATOR: + getValidator().clear(); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__XMLNS: + unsetXmlns(); + return; + case FacesConfigPackage.FACES_CONFIG_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACES_CONFIG_TYPE__APPLICATION: + return application != null && !application.isEmpty(); + case FacesConfigPackage.FACES_CONFIG_TYPE__FACTORY: + return factory != null && !factory.isEmpty(); + case FacesConfigPackage.FACES_CONFIG_TYPE__COMPONENT: + return component != null && !component.isEmpty(); + case FacesConfigPackage.FACES_CONFIG_TYPE__CONVERTER: + return converter != null && !converter.isEmpty(); + case FacesConfigPackage.FACES_CONFIG_TYPE__MANAGED_BEAN: + return managedBean != null && !managedBean.isEmpty(); + case FacesConfigPackage.FACES_CONFIG_TYPE__NAVIGATION_RULE: + return navigationRule != null && !navigationRule.isEmpty(); + case FacesConfigPackage.FACES_CONFIG_TYPE__REFERENCED_BEAN: + return referencedBean != null && !referencedBean.isEmpty(); + case FacesConfigPackage.FACES_CONFIG_TYPE__RENDER_KIT: + return renderKit != null && !renderKit.isEmpty(); + case FacesConfigPackage.FACES_CONFIG_TYPE__LIFECYCLE: + return lifecycle != null && !lifecycle.isEmpty(); + case FacesConfigPackage.FACES_CONFIG_TYPE__VALIDATOR: + return validator != null && !validator.isEmpty(); + case FacesConfigPackage.FACES_CONFIG_TYPE__XMLNS: + return isSetXmlns(); + case FacesConfigPackage.FACES_CONFIG_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (xmlns: "); + if (xmlnsESet) result.append(xmlns); else result.append("<unset>"); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //FacesConfigTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesContextFactoryTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesContextFactoryTypeImpl.java new file mode 100644 index 000000000..b10ddec73 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesContextFactoryTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Faces Context Factory Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesContextFactoryTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesContextFactoryTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class FacesContextFactoryTypeImpl extends EObjectImpl implements FacesContextFactoryType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FacesContextFactoryTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getFacesContextFactoryType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //FacesContextFactoryTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetExtensionTypeImpl.java new file mode 100644 index 000000000..46b373191 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetExtensionTypeImpl.java @@ -0,0 +1,281 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.BasicFeatureMap; +import org.eclipse.emf.ecore.util.FeatureMap; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Facet Extension Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetExtensionTypeImpl#getMixed <em>Mixed</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetExtensionTypeImpl#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetExtensionTypeImpl#getAny <em>Any</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetExtensionTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class FacetExtensionTypeImpl extends EObjectImpl implements FacetExtensionType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMixed() + * @generated + * @ordered + */ + protected FeatureMap mixed = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FacetExtensionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getFacetExtensionType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getMixed() { + if (mixed == null) { + mixed = new BasicFeatureMap(this, FacesConfigPackage.FACET_EXTENSION_TYPE__MIXED); + } + return mixed; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getGroup() { + return (FeatureMap)((FeatureMap)getMixed()).list(FacesConfigPackage.eINSTANCE.getFacetExtensionType_Group()); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getAny() { + return (FeatureMap)((FeatureMap)getGroup()).list(FacesConfigPackage.eINSTANCE.getFacetExtensionType_Any()); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.FACET_EXTENSION_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.FACET_EXTENSION_TYPE__MIXED: + return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACET_EXTENSION_TYPE__GROUP: + return ((InternalEList)getGroup()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACET_EXTENSION_TYPE__ANY: + return ((InternalEList)getAny()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACET_EXTENSION_TYPE__MIXED: + return getMixed(); + case FacesConfigPackage.FACET_EXTENSION_TYPE__GROUP: + return getGroup(); + case FacesConfigPackage.FACET_EXTENSION_TYPE__ANY: + return getAny(); + case FacesConfigPackage.FACET_EXTENSION_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACET_EXTENSION_TYPE__MIXED: + getMixed().clear(); + getMixed().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACET_EXTENSION_TYPE__GROUP: + getGroup().clear(); + getGroup().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACET_EXTENSION_TYPE__ANY: + getAny().clear(); + getAny().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACET_EXTENSION_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACET_EXTENSION_TYPE__MIXED: + getMixed().clear(); + return; + case FacesConfigPackage.FACET_EXTENSION_TYPE__GROUP: + getGroup().clear(); + return; + case FacesConfigPackage.FACET_EXTENSION_TYPE__ANY: + getAny().clear(); + return; + case FacesConfigPackage.FACET_EXTENSION_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACET_EXTENSION_TYPE__MIXED: + return mixed != null && !mixed.isEmpty(); + case FacesConfigPackage.FACET_EXTENSION_TYPE__GROUP: + return !getGroup().isEmpty(); + case FacesConfigPackage.FACET_EXTENSION_TYPE__ANY: + return !getAny().isEmpty(); + case FacesConfigPackage.FACET_EXTENSION_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (mixed: "); + result.append(mixed); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //FacetExtensionTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetNameTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetNameTypeImpl.java new file mode 100644 index 000000000..f99a1b24a --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetNameTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FacetNameType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Facet Name Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetNameTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetNameTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class FacetNameTypeImpl extends EObjectImpl implements FacetNameType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FacetNameTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getFacetNameType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.FACET_NAME_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.FACET_NAME_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACET_NAME_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.FACET_NAME_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACET_NAME_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.FACET_NAME_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACET_NAME_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.FACET_NAME_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACET_NAME_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.FACET_NAME_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //FacetNameTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetTypeImpl.java new file mode 100644 index 000000000..b322fdea4 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetTypeImpl.java @@ -0,0 +1,413 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.FacetNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacetType; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Facet Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetTypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetTypeImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetTypeImpl#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetTypeImpl#getFacetName <em>Facet Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetTypeImpl#getFacetExtension <em>Facet Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacetTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class FacetTypeImpl extends EObjectImpl implements FacetType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected EList description = null; + + /** + * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected EList displayName = null; + + /** + * The cached value of the '{@link #getIcon() <em>Icon</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIcon() + * @generated + * @ordered + */ + protected EList icon = null; + + /** + * The cached value of the '{@link #getFacetName() <em>Facet Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFacetName() + * @generated + * @ordered + */ + protected FacetNameType facetName = null; + + /** + * The cached value of the '{@link #getFacetExtension() <em>Facet Extension</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFacetExtension() + * @generated + * @ordered + */ + protected EList facetExtension = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FacetTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getFacetType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDescription() { + if (description == null) { + description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.FACET_TYPE__DESCRIPTION); + } + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDisplayName() { + if (displayName == null) { + displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.FACET_TYPE__DISPLAY_NAME); + } + return displayName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getIcon() { + if (icon == null) { + icon = new EObjectContainmentEList(IconType.class, this, FacesConfigPackage.FACET_TYPE__ICON); + } + return icon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacetNameType getFacetName() { + return facetName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFacetName(FacetNameType newFacetName, NotificationChain msgs) { + FacetNameType oldFacetName = facetName; + facetName = newFacetName; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.FACET_TYPE__FACET_NAME, oldFacetName, newFacetName); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFacetName(FacetNameType newFacetName) { + if (newFacetName != facetName) { + NotificationChain msgs = null; + if (facetName != null) + msgs = ((InternalEObject)facetName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.FACET_TYPE__FACET_NAME, null, msgs); + if (newFacetName != null) + msgs = ((InternalEObject)newFacetName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.FACET_TYPE__FACET_NAME, null, msgs); + msgs = basicSetFacetName(newFacetName, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.FACET_TYPE__FACET_NAME, newFacetName, newFacetName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getFacetExtension() { + if (facetExtension == null) { + facetExtension = new EObjectContainmentEList(FacetExtensionType.class, this, FacesConfigPackage.FACET_TYPE__FACET_EXTENSION); + } + return facetExtension; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.FACET_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.FACET_TYPE__DESCRIPTION: + return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACET_TYPE__DISPLAY_NAME: + return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACET_TYPE__ICON: + return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACET_TYPE__FACET_NAME: + return basicSetFacetName(null, msgs); + case FacesConfigPackage.FACET_TYPE__FACET_EXTENSION: + return ((InternalEList)getFacetExtension()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACET_TYPE__DESCRIPTION: + return getDescription(); + case FacesConfigPackage.FACET_TYPE__DISPLAY_NAME: + return getDisplayName(); + case FacesConfigPackage.FACET_TYPE__ICON: + return getIcon(); + case FacesConfigPackage.FACET_TYPE__FACET_NAME: + return getFacetName(); + case FacesConfigPackage.FACET_TYPE__FACET_EXTENSION: + return getFacetExtension(); + case FacesConfigPackage.FACET_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACET_TYPE__DESCRIPTION: + getDescription().clear(); + getDescription().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACET_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + getDisplayName().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACET_TYPE__ICON: + getIcon().clear(); + getIcon().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACET_TYPE__FACET_NAME: + setFacetName((FacetNameType)newValue); + return; + case FacesConfigPackage.FACET_TYPE__FACET_EXTENSION: + getFacetExtension().clear(); + getFacetExtension().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACET_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACET_TYPE__DESCRIPTION: + getDescription().clear(); + return; + case FacesConfigPackage.FACET_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + return; + case FacesConfigPackage.FACET_TYPE__ICON: + getIcon().clear(); + return; + case FacesConfigPackage.FACET_TYPE__FACET_NAME: + setFacetName((FacetNameType)null); + return; + case FacesConfigPackage.FACET_TYPE__FACET_EXTENSION: + getFacetExtension().clear(); + return; + case FacesConfigPackage.FACET_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACET_TYPE__DESCRIPTION: + return description != null && !description.isEmpty(); + case FacesConfigPackage.FACET_TYPE__DISPLAY_NAME: + return displayName != null && !displayName.isEmpty(); + case FacesConfigPackage.FACET_TYPE__ICON: + return icon != null && !icon.isEmpty(); + case FacesConfigPackage.FACET_TYPE__FACET_NAME: + return facetName != null; + case FacesConfigPackage.FACET_TYPE__FACET_EXTENSION: + return facetExtension != null && !facetExtension.isEmpty(); + case FacesConfigPackage.FACET_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //FacetTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FactoryTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FactoryTypeImpl.java new file mode 100644 index 000000000..f77645ba8 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FactoryTypeImpl.java @@ -0,0 +1,346 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.FactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Factory Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FactoryTypeImpl#getApplicationFactory <em>Application Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FactoryTypeImpl#getFacesContextFactory <em>Faces Context Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FactoryTypeImpl#getLifecycleFactory <em>Lifecycle Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FactoryTypeImpl#getRenderKitFactory <em>Render Kit Factory</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FactoryTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class FactoryTypeImpl extends EObjectImpl implements FactoryType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getApplicationFactory() <em>Application Factory</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getApplicationFactory() + * @generated + * @ordered + */ + protected EList applicationFactory = null; + + /** + * The cached value of the '{@link #getFacesContextFactory() <em>Faces Context Factory</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFacesContextFactory() + * @generated + * @ordered + */ + protected EList facesContextFactory = null; + + /** + * The cached value of the '{@link #getLifecycleFactory() <em>Lifecycle Factory</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLifecycleFactory() + * @generated + * @ordered + */ + protected EList lifecycleFactory = null; + + /** + * The cached value of the '{@link #getRenderKitFactory() <em>Render Kit Factory</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRenderKitFactory() + * @generated + * @ordered + */ + protected EList renderKitFactory = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FactoryTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getFactoryType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getApplicationFactory() { + if (applicationFactory == null) { + applicationFactory = new EObjectContainmentEList(ApplicationFactoryType.class, this, FacesConfigPackage.FACTORY_TYPE__APPLICATION_FACTORY); + } + return applicationFactory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getFacesContextFactory() { + if (facesContextFactory == null) { + facesContextFactory = new EObjectContainmentEList(FacesContextFactoryType.class, this, FacesConfigPackage.FACTORY_TYPE__FACES_CONTEXT_FACTORY); + } + return facesContextFactory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getLifecycleFactory() { + if (lifecycleFactory == null) { + lifecycleFactory = new EObjectContainmentEList(LifecycleFactoryType.class, this, FacesConfigPackage.FACTORY_TYPE__LIFECYCLE_FACTORY); + } + return lifecycleFactory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getRenderKitFactory() { + if (renderKitFactory == null) { + renderKitFactory = new EObjectContainmentEList(RenderKitFactoryType.class, this, FacesConfigPackage.FACTORY_TYPE__RENDER_KIT_FACTORY); + } + return renderKitFactory; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.FACTORY_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.FACTORY_TYPE__APPLICATION_FACTORY: + return ((InternalEList)getApplicationFactory()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACTORY_TYPE__FACES_CONTEXT_FACTORY: + return ((InternalEList)getFacesContextFactory()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACTORY_TYPE__LIFECYCLE_FACTORY: + return ((InternalEList)getLifecycleFactory()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.FACTORY_TYPE__RENDER_KIT_FACTORY: + return ((InternalEList)getRenderKitFactory()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACTORY_TYPE__APPLICATION_FACTORY: + return getApplicationFactory(); + case FacesConfigPackage.FACTORY_TYPE__FACES_CONTEXT_FACTORY: + return getFacesContextFactory(); + case FacesConfigPackage.FACTORY_TYPE__LIFECYCLE_FACTORY: + return getLifecycleFactory(); + case FacesConfigPackage.FACTORY_TYPE__RENDER_KIT_FACTORY: + return getRenderKitFactory(); + case FacesConfigPackage.FACTORY_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACTORY_TYPE__APPLICATION_FACTORY: + getApplicationFactory().clear(); + getApplicationFactory().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACTORY_TYPE__FACES_CONTEXT_FACTORY: + getFacesContextFactory().clear(); + getFacesContextFactory().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACTORY_TYPE__LIFECYCLE_FACTORY: + getLifecycleFactory().clear(); + getLifecycleFactory().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACTORY_TYPE__RENDER_KIT_FACTORY: + getRenderKitFactory().clear(); + getRenderKitFactory().addAll((Collection)newValue); + return; + case FacesConfigPackage.FACTORY_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACTORY_TYPE__APPLICATION_FACTORY: + getApplicationFactory().clear(); + return; + case FacesConfigPackage.FACTORY_TYPE__FACES_CONTEXT_FACTORY: + getFacesContextFactory().clear(); + return; + case FacesConfigPackage.FACTORY_TYPE__LIFECYCLE_FACTORY: + getLifecycleFactory().clear(); + return; + case FacesConfigPackage.FACTORY_TYPE__RENDER_KIT_FACTORY: + getRenderKitFactory().clear(); + return; + case FacesConfigPackage.FACTORY_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FACTORY_TYPE__APPLICATION_FACTORY: + return applicationFactory != null && !applicationFactory.isEmpty(); + case FacesConfigPackage.FACTORY_TYPE__FACES_CONTEXT_FACTORY: + return facesContextFactory != null && !facesContextFactory.isEmpty(); + case FacesConfigPackage.FACTORY_TYPE__LIFECYCLE_FACTORY: + return lifecycleFactory != null && !lifecycleFactory.isEmpty(); + case FacesConfigPackage.FACTORY_TYPE__RENDER_KIT_FACTORY: + return renderKitFactory != null && !renderKitFactory.isEmpty(); + case FacesConfigPackage.FACTORY_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //FactoryTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromActionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromActionTypeImpl.java new file mode 100644 index 000000000..02baf6a2f --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromActionTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FromActionType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>From Action Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FromActionTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FromActionTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class FromActionTypeImpl extends EObjectImpl implements FromActionType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FromActionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getFromActionType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.FROM_ACTION_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.FROM_ACTION_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FROM_ACTION_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.FROM_ACTION_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FROM_ACTION_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.FROM_ACTION_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FROM_ACTION_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.FROM_ACTION_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FROM_ACTION_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.FROM_ACTION_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //FromActionTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromOutcomeTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromOutcomeTypeImpl.java new file mode 100644 index 000000000..7e09ad377 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromOutcomeTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>From Outcome Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FromOutcomeTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FromOutcomeTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class FromOutcomeTypeImpl extends EObjectImpl implements FromOutcomeType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FromOutcomeTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getFromOutcomeType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.FROM_OUTCOME_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.FROM_OUTCOME_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FROM_OUTCOME_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.FROM_OUTCOME_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FROM_OUTCOME_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.FROM_OUTCOME_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FROM_OUTCOME_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.FROM_OUTCOME_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FROM_OUTCOME_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.FROM_OUTCOME_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //FromOutcomeTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromViewIdTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromViewIdTypeImpl.java new file mode 100644 index 000000000..d9b208447 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromViewIdTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>From View Id Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FromViewIdTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FromViewIdTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class FromViewIdTypeImpl extends EObjectImpl implements FromViewIdType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FromViewIdTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getFromViewIdType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.FROM_VIEW_ID_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.FROM_VIEW_ID_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FROM_VIEW_ID_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.FROM_VIEW_ID_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FROM_VIEW_ID_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.FROM_VIEW_ID_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FROM_VIEW_ID_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.FROM_VIEW_ID_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.FROM_VIEW_ID_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.FROM_VIEW_ID_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //FromViewIdTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/IconTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/IconTypeImpl.java new file mode 100644 index 000000000..e0005429a --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/IconTypeImpl.java @@ -0,0 +1,379 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.LargeIconType; +import org.eclipse.jst.jsf.facesconfig.emf.SmallIconType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Icon Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.IconTypeImpl#getSmallIcon <em>Small Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.IconTypeImpl#getLargeIcon <em>Large Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.IconTypeImpl#getLang <em>Lang</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.IconTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class IconTypeImpl extends EObjectImpl implements IconType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getSmallIcon() <em>Small Icon</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSmallIcon() + * @generated + * @ordered + */ + protected SmallIconType smallIcon = null; + + /** + * The cached value of the '{@link #getLargeIcon() <em>Large Icon</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLargeIcon() + * @generated + * @ordered + */ + protected LargeIconType largeIcon = null; + + /** + * The default value of the '{@link #getLang() <em>Lang</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLang() + * @generated + * @ordered + */ + protected static final String LANG_EDEFAULT = null; + + /** + * The cached value of the '{@link #getLang() <em>Lang</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getLang() + * @generated + * @ordered + */ + protected String lang = LANG_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected IconTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getIconType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SmallIconType getSmallIcon() { + return smallIcon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetSmallIcon(SmallIconType newSmallIcon, NotificationChain msgs) { + SmallIconType oldSmallIcon = smallIcon; + smallIcon = newSmallIcon; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ICON_TYPE__SMALL_ICON, oldSmallIcon, newSmallIcon); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSmallIcon(SmallIconType newSmallIcon) { + if (newSmallIcon != smallIcon) { + NotificationChain msgs = null; + if (smallIcon != null) + msgs = ((InternalEObject)smallIcon).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ICON_TYPE__SMALL_ICON, null, msgs); + if (newSmallIcon != null) + msgs = ((InternalEObject)newSmallIcon).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ICON_TYPE__SMALL_ICON, null, msgs); + msgs = basicSetSmallIcon(newSmallIcon, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ICON_TYPE__SMALL_ICON, newSmallIcon, newSmallIcon)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public LargeIconType getLargeIcon() { + return largeIcon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetLargeIcon(LargeIconType newLargeIcon, NotificationChain msgs) { + LargeIconType oldLargeIcon = largeIcon; + largeIcon = newLargeIcon; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ICON_TYPE__LARGE_ICON, oldLargeIcon, newLargeIcon); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setLargeIcon(LargeIconType newLargeIcon) { + if (newLargeIcon != largeIcon) { + NotificationChain msgs = null; + if (largeIcon != null) + msgs = ((InternalEObject)largeIcon).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ICON_TYPE__LARGE_ICON, null, msgs); + if (newLargeIcon != null) + msgs = ((InternalEObject)newLargeIcon).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ICON_TYPE__LARGE_ICON, null, msgs); + msgs = basicSetLargeIcon(newLargeIcon, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ICON_TYPE__LARGE_ICON, newLargeIcon, newLargeIcon)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getLang() { + return lang; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setLang(String newLang) { + String oldLang = lang; + lang = newLang; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ICON_TYPE__LANG, oldLang, lang)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.ICON_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.ICON_TYPE__SMALL_ICON: + return basicSetSmallIcon(null, msgs); + case FacesConfigPackage.ICON_TYPE__LARGE_ICON: + return basicSetLargeIcon(null, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ICON_TYPE__SMALL_ICON: + return getSmallIcon(); + case FacesConfigPackage.ICON_TYPE__LARGE_ICON: + return getLargeIcon(); + case FacesConfigPackage.ICON_TYPE__LANG: + return getLang(); + case FacesConfigPackage.ICON_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ICON_TYPE__SMALL_ICON: + setSmallIcon((SmallIconType)newValue); + return; + case FacesConfigPackage.ICON_TYPE__LARGE_ICON: + setLargeIcon((LargeIconType)newValue); + return; + case FacesConfigPackage.ICON_TYPE__LANG: + setLang((String)newValue); + return; + case FacesConfigPackage.ICON_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ICON_TYPE__SMALL_ICON: + setSmallIcon((SmallIconType)null); + return; + case FacesConfigPackage.ICON_TYPE__LARGE_ICON: + setLargeIcon((LargeIconType)null); + return; + case FacesConfigPackage.ICON_TYPE__LANG: + setLang(LANG_EDEFAULT); + return; + case FacesConfigPackage.ICON_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.ICON_TYPE__SMALL_ICON: + return smallIcon != null; + case FacesConfigPackage.ICON_TYPE__LARGE_ICON: + return largeIcon != null; + case FacesConfigPackage.ICON_TYPE__LANG: + return LANG_EDEFAULT == null ? lang != null : !LANG_EDEFAULT.equals(lang); + case FacesConfigPackage.ICON_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (lang: "); + result.append(lang); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //IconTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/KeyClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/KeyClassTypeImpl.java new file mode 100644 index 000000000..44dbee62f --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/KeyClassTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.KeyClassType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Key Class Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.KeyClassTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.KeyClassTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class KeyClassTypeImpl extends EObjectImpl implements KeyClassType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected KeyClassTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getKeyClassType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.KEY_CLASS_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.KEY_CLASS_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.KEY_CLASS_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.KEY_CLASS_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.KEY_CLASS_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.KEY_CLASS_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.KEY_CLASS_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.KEY_CLASS_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.KEY_CLASS_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.KEY_CLASS_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //KeyClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/KeyTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/KeyTypeImpl.java new file mode 100644 index 000000000..e96e04d87 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/KeyTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.KeyType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Key Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.KeyTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.KeyTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class KeyTypeImpl extends EObjectImpl implements KeyType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected KeyTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getKeyType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.KEY_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.KEY_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.KEY_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.KEY_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.KEY_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.KEY_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.KEY_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.KEY_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.KEY_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.KEY_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //KeyTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LargeIconTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LargeIconTypeImpl.java new file mode 100644 index 000000000..e9bcd4f24 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LargeIconTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.LargeIconType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Large Icon Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.LargeIconTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.LargeIconTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class LargeIconTypeImpl extends EObjectImpl implements LargeIconType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected LargeIconTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getLargeIconType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.LARGE_ICON_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.LARGE_ICON_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LARGE_ICON_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.LARGE_ICON_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LARGE_ICON_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.LARGE_ICON_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LARGE_ICON_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.LARGE_ICON_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LARGE_ICON_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.LARGE_ICON_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //LargeIconTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LifecycleFactoryTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LifecycleFactoryTypeImpl.java new file mode 100644 index 000000000..a72439845 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LifecycleFactoryTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Lifecycle Factory Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.LifecycleFactoryTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.LifecycleFactoryTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class LifecycleFactoryTypeImpl extends EObjectImpl implements LifecycleFactoryType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected LifecycleFactoryTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getLifecycleFactoryType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //LifecycleFactoryTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LifecycleTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LifecycleTypeImpl.java new file mode 100644 index 000000000..e1978d4e5 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LifecycleTypeImpl.java @@ -0,0 +1,235 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.LifecycleType; +import org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Lifecycle Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.LifecycleTypeImpl#getPhaseListener <em>Phase Listener</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.LifecycleTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class LifecycleTypeImpl extends EObjectImpl implements LifecycleType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getPhaseListener() <em>Phase Listener</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPhaseListener() + * @generated + * @ordered + */ + protected EList phaseListener = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected LifecycleTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getLifecycleType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getPhaseListener() { + if (phaseListener == null) { + phaseListener = new EObjectContainmentEList(PhaseListenerType.class, this, FacesConfigPackage.LIFECYCLE_TYPE__PHASE_LISTENER); + } + return phaseListener; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.LIFECYCLE_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.LIFECYCLE_TYPE__PHASE_LISTENER: + return ((InternalEList)getPhaseListener()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LIFECYCLE_TYPE__PHASE_LISTENER: + return getPhaseListener(); + case FacesConfigPackage.LIFECYCLE_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LIFECYCLE_TYPE__PHASE_LISTENER: + getPhaseListener().clear(); + getPhaseListener().addAll((Collection)newValue); + return; + case FacesConfigPackage.LIFECYCLE_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LIFECYCLE_TYPE__PHASE_LISTENER: + getPhaseListener().clear(); + return; + case FacesConfigPackage.LIFECYCLE_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LIFECYCLE_TYPE__PHASE_LISTENER: + return phaseListener != null && !phaseListener.isEmpty(); + case FacesConfigPackage.LIFECYCLE_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //LifecycleTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ListEntriesTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ListEntriesTypeImpl.java new file mode 100644 index 000000000..b7ca2122e --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ListEntriesTypeImpl.java @@ -0,0 +1,339 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType; +import org.eclipse.jst.jsf.facesconfig.emf.NullValueType; +import org.eclipse.jst.jsf.facesconfig.emf.ValueClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ValueType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>List Entries Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ListEntriesTypeImpl#getValueClass <em>Value Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ListEntriesTypeImpl#getNullValue <em>Null Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ListEntriesTypeImpl#getValue <em>Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ListEntriesTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ListEntriesTypeImpl extends EObjectImpl implements ListEntriesType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getValueClass() <em>Value Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValueClass() + * @generated + * @ordered + */ + protected ValueClassType valueClass = null; + + /** + * The cached value of the '{@link #getNullValue() <em>Null Value</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getNullValue() + * @generated + * @ordered + */ + protected EList nullValue = null; + + /** + * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected EList value = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ListEntriesTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getListEntriesType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValueClassType getValueClass() { + return valueClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetValueClass(ValueClassType newValueClass, NotificationChain msgs) { + ValueClassType oldValueClass = valueClass; + valueClass = newValueClass; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE_CLASS, oldValueClass, newValueClass); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValueClass(ValueClassType newValueClass) { + if (newValueClass != valueClass) { + NotificationChain msgs = null; + if (valueClass != null) + msgs = ((InternalEObject)valueClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE_CLASS, null, msgs); + if (newValueClass != null) + msgs = ((InternalEObject)newValueClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE_CLASS, null, msgs); + msgs = basicSetValueClass(newValueClass, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE_CLASS, newValueClass, newValueClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getNullValue() { + if (nullValue == null) { + nullValue = new EObjectContainmentEList(NullValueType.class, this, FacesConfigPackage.LIST_ENTRIES_TYPE__NULL_VALUE); + } + return nullValue; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getValue() { + if (value == null) { + value = new EObjectContainmentEList(ValueType.class, this, FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE); + } + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.LIST_ENTRIES_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE_CLASS: + return basicSetValueClass(null, msgs); + case FacesConfigPackage.LIST_ENTRIES_TYPE__NULL_VALUE: + return ((InternalEList)getNullValue()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE: + return ((InternalEList)getValue()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE_CLASS: + return getValueClass(); + case FacesConfigPackage.LIST_ENTRIES_TYPE__NULL_VALUE: + return getNullValue(); + case FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE: + return getValue(); + case FacesConfigPackage.LIST_ENTRIES_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE_CLASS: + setValueClass((ValueClassType)newValue); + return; + case FacesConfigPackage.LIST_ENTRIES_TYPE__NULL_VALUE: + getNullValue().clear(); + getNullValue().addAll((Collection)newValue); + return; + case FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE: + getValue().clear(); + getValue().addAll((Collection)newValue); + return; + case FacesConfigPackage.LIST_ENTRIES_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE_CLASS: + setValueClass((ValueClassType)null); + return; + case FacesConfigPackage.LIST_ENTRIES_TYPE__NULL_VALUE: + getNullValue().clear(); + return; + case FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE: + getValue().clear(); + return; + case FacesConfigPackage.LIST_ENTRIES_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE_CLASS: + return valueClass != null; + case FacesConfigPackage.LIST_ENTRIES_TYPE__NULL_VALUE: + return nullValue != null && !nullValue.isEmpty(); + case FacesConfigPackage.LIST_ENTRIES_TYPE__VALUE: + return value != null && !value.isEmpty(); + case FacesConfigPackage.LIST_ENTRIES_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ListEntriesTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LocaleConfigTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LocaleConfigTypeImpl.java new file mode 100644 index 000000000..9f9e85d63 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LocaleConfigTypeImpl.java @@ -0,0 +1,302 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType; +import org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Locale Config Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.LocaleConfigTypeImpl#getDefaultLocale <em>Default Locale</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.LocaleConfigTypeImpl#getSupportedLocale <em>Supported Locale</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.LocaleConfigTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class LocaleConfigTypeImpl extends EObjectImpl implements LocaleConfigType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getDefaultLocale() <em>Default Locale</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDefaultLocale() + * @generated + * @ordered + */ + protected DefaultLocaleType defaultLocale = null; + + /** + * The cached value of the '{@link #getSupportedLocale() <em>Supported Locale</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSupportedLocale() + * @generated + * @ordered + */ + protected EList supportedLocale = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected LocaleConfigTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getLocaleConfigType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DefaultLocaleType getDefaultLocale() { + return defaultLocale; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetDefaultLocale(DefaultLocaleType newDefaultLocale, NotificationChain msgs) { + DefaultLocaleType oldDefaultLocale = defaultLocale; + defaultLocale = newDefaultLocale; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.LOCALE_CONFIG_TYPE__DEFAULT_LOCALE, oldDefaultLocale, newDefaultLocale); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDefaultLocale(DefaultLocaleType newDefaultLocale) { + if (newDefaultLocale != defaultLocale) { + NotificationChain msgs = null; + if (defaultLocale != null) + msgs = ((InternalEObject)defaultLocale).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.LOCALE_CONFIG_TYPE__DEFAULT_LOCALE, null, msgs); + if (newDefaultLocale != null) + msgs = ((InternalEObject)newDefaultLocale).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.LOCALE_CONFIG_TYPE__DEFAULT_LOCALE, null, msgs); + msgs = basicSetDefaultLocale(newDefaultLocale, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.LOCALE_CONFIG_TYPE__DEFAULT_LOCALE, newDefaultLocale, newDefaultLocale)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getSupportedLocale() { + if (supportedLocale == null) { + supportedLocale = new EObjectContainmentEList(SupportedLocaleType.class, this, FacesConfigPackage.LOCALE_CONFIG_TYPE__SUPPORTED_LOCALE); + } + return supportedLocale; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.LOCALE_CONFIG_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.LOCALE_CONFIG_TYPE__DEFAULT_LOCALE: + return basicSetDefaultLocale(null, msgs); + case FacesConfigPackage.LOCALE_CONFIG_TYPE__SUPPORTED_LOCALE: + return ((InternalEList)getSupportedLocale()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LOCALE_CONFIG_TYPE__DEFAULT_LOCALE: + return getDefaultLocale(); + case FacesConfigPackage.LOCALE_CONFIG_TYPE__SUPPORTED_LOCALE: + return getSupportedLocale(); + case FacesConfigPackage.LOCALE_CONFIG_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LOCALE_CONFIG_TYPE__DEFAULT_LOCALE: + setDefaultLocale((DefaultLocaleType)newValue); + return; + case FacesConfigPackage.LOCALE_CONFIG_TYPE__SUPPORTED_LOCALE: + getSupportedLocale().clear(); + getSupportedLocale().addAll((Collection)newValue); + return; + case FacesConfigPackage.LOCALE_CONFIG_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LOCALE_CONFIG_TYPE__DEFAULT_LOCALE: + setDefaultLocale((DefaultLocaleType)null); + return; + case FacesConfigPackage.LOCALE_CONFIG_TYPE__SUPPORTED_LOCALE: + getSupportedLocale().clear(); + return; + case FacesConfigPackage.LOCALE_CONFIG_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.LOCALE_CONFIG_TYPE__DEFAULT_LOCALE: + return defaultLocale != null; + case FacesConfigPackage.LOCALE_CONFIG_TYPE__SUPPORTED_LOCALE: + return supportedLocale != null && !supportedLocale.isEmpty(); + case FacesConfigPackage.LOCALE_CONFIG_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //LocaleConfigTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanClassTypeImpl.java new file mode 100644 index 000000000..136987211 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanClassTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Managed Bean Class Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanClassTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanClassTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ManagedBeanClassTypeImpl extends EObjectImpl implements ManagedBeanClassType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ManagedBeanClassTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getManagedBeanClassType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ManagedBeanClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanNameTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanNameTypeImpl.java new file mode 100644 index 000000000..0e2156274 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanNameTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Managed Bean Name Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanNameTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanNameTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ManagedBeanNameTypeImpl extends EObjectImpl implements ManagedBeanNameType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ManagedBeanNameTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getManagedBeanNameType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ManagedBeanNameTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanScopeTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanScopeTypeImpl.java new file mode 100644 index 000000000..e8684887b --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanScopeTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Managed Bean Scope Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanScopeTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanScopeTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ManagedBeanScopeTypeImpl extends EObjectImpl implements ManagedBeanScopeType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ManagedBeanScopeTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getManagedBeanScopeType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ManagedBeanScopeTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanTypeImpl.java new file mode 100644 index 000000000..604f3923a --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanTypeImpl.java @@ -0,0 +1,681 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType; +import org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Managed Bean Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanTypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanTypeImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanTypeImpl#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanTypeImpl#getManagedBeanName <em>Managed Bean Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanTypeImpl#getManagedBeanClass <em>Managed Bean Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanTypeImpl#getManagedBeanScope <em>Managed Bean Scope</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanTypeImpl#getManagedProperty <em>Managed Property</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanTypeImpl#getMapEntries <em>Map Entries</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanTypeImpl#getListEntries <em>List Entries</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ManagedBeanTypeImpl extends EObjectImpl implements ManagedBeanType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected EList description = null; + + /** + * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected EList displayName = null; + + /** + * The cached value of the '{@link #getIcon() <em>Icon</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIcon() + * @generated + * @ordered + */ + protected EList icon = null; + + /** + * The cached value of the '{@link #getManagedBeanName() <em>Managed Bean Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getManagedBeanName() + * @generated + * @ordered + */ + protected ManagedBeanNameType managedBeanName = null; + + /** + * The cached value of the '{@link #getManagedBeanClass() <em>Managed Bean Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getManagedBeanClass() + * @generated + * @ordered + */ + protected ManagedBeanClassType managedBeanClass = null; + + /** + * The cached value of the '{@link #getManagedBeanScope() <em>Managed Bean Scope</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getManagedBeanScope() + * @generated + * @ordered + */ + protected ManagedBeanScopeType managedBeanScope = null; + + /** + * The cached value of the '{@link #getManagedProperty() <em>Managed Property</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getManagedProperty() + * @generated + * @ordered + */ + protected EList managedProperty = null; + + /** + * The cached value of the '{@link #getMapEntries() <em>Map Entries</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMapEntries() + * @generated + * @ordered + */ + protected MapEntriesType mapEntries = null; + + /** + * The cached value of the '{@link #getListEntries() <em>List Entries</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getListEntries() + * @generated + * @ordered + */ + protected ListEntriesType listEntries = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ManagedBeanTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getManagedBeanType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDescription() { + if (description == null) { + description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.MANAGED_BEAN_TYPE__DESCRIPTION); + } + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDisplayName() { + if (displayName == null) { + displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.MANAGED_BEAN_TYPE__DISPLAY_NAME); + } + return displayName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getIcon() { + if (icon == null) { + icon = new EObjectContainmentEList(IconType.class, this, FacesConfigPackage.MANAGED_BEAN_TYPE__ICON); + } + return icon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ManagedBeanNameType getManagedBeanName() { + return managedBeanName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetManagedBeanName(ManagedBeanNameType newManagedBeanName, NotificationChain msgs) { + ManagedBeanNameType oldManagedBeanName = managedBeanName; + managedBeanName = newManagedBeanName; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_NAME, oldManagedBeanName, newManagedBeanName); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setManagedBeanName(ManagedBeanNameType newManagedBeanName) { + if (newManagedBeanName != managedBeanName) { + NotificationChain msgs = null; + if (managedBeanName != null) + msgs = ((InternalEObject)managedBeanName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_NAME, null, msgs); + if (newManagedBeanName != null) + msgs = ((InternalEObject)newManagedBeanName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_NAME, null, msgs); + msgs = basicSetManagedBeanName(newManagedBeanName, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_NAME, newManagedBeanName, newManagedBeanName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ManagedBeanClassType getManagedBeanClass() { + return managedBeanClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetManagedBeanClass(ManagedBeanClassType newManagedBeanClass, NotificationChain msgs) { + ManagedBeanClassType oldManagedBeanClass = managedBeanClass; + managedBeanClass = newManagedBeanClass; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_CLASS, oldManagedBeanClass, newManagedBeanClass); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setManagedBeanClass(ManagedBeanClassType newManagedBeanClass) { + if (newManagedBeanClass != managedBeanClass) { + NotificationChain msgs = null; + if (managedBeanClass != null) + msgs = ((InternalEObject)managedBeanClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_CLASS, null, msgs); + if (newManagedBeanClass != null) + msgs = ((InternalEObject)newManagedBeanClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_CLASS, null, msgs); + msgs = basicSetManagedBeanClass(newManagedBeanClass, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_CLASS, newManagedBeanClass, newManagedBeanClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ManagedBeanScopeType getManagedBeanScope() { + return managedBeanScope; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetManagedBeanScope(ManagedBeanScopeType newManagedBeanScope, NotificationChain msgs) { + ManagedBeanScopeType oldManagedBeanScope = managedBeanScope; + managedBeanScope = newManagedBeanScope; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_SCOPE, oldManagedBeanScope, newManagedBeanScope); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setManagedBeanScope(ManagedBeanScopeType newManagedBeanScope) { + if (newManagedBeanScope != managedBeanScope) { + NotificationChain msgs = null; + if (managedBeanScope != null) + msgs = ((InternalEObject)managedBeanScope).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_SCOPE, null, msgs); + if (newManagedBeanScope != null) + msgs = ((InternalEObject)newManagedBeanScope).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_SCOPE, null, msgs); + msgs = basicSetManagedBeanScope(newManagedBeanScope, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_SCOPE, newManagedBeanScope, newManagedBeanScope)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getManagedProperty() { + if (managedProperty == null) { + managedProperty = new EObjectContainmentEList(ManagedPropertyType.class, this, FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_PROPERTY); + } + return managedProperty; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MapEntriesType getMapEntries() { + return mapEntries; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetMapEntries(MapEntriesType newMapEntries, NotificationChain msgs) { + MapEntriesType oldMapEntries = mapEntries; + mapEntries = newMapEntries; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_BEAN_TYPE__MAP_ENTRIES, oldMapEntries, newMapEntries); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMapEntries(MapEntriesType newMapEntries) { + if (newMapEntries != mapEntries) { + NotificationChain msgs = null; + if (mapEntries != null) + msgs = ((InternalEObject)mapEntries).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_BEAN_TYPE__MAP_ENTRIES, null, msgs); + if (newMapEntries != null) + msgs = ((InternalEObject)newMapEntries).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_BEAN_TYPE__MAP_ENTRIES, null, msgs); + msgs = basicSetMapEntries(newMapEntries, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_BEAN_TYPE__MAP_ENTRIES, newMapEntries, newMapEntries)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ListEntriesType getListEntries() { + return listEntries; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetListEntries(ListEntriesType newListEntries, NotificationChain msgs) { + ListEntriesType oldListEntries = listEntries; + listEntries = newListEntries; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_BEAN_TYPE__LIST_ENTRIES, oldListEntries, newListEntries); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setListEntries(ListEntriesType newListEntries) { + if (newListEntries != listEntries) { + NotificationChain msgs = null; + if (listEntries != null) + msgs = ((InternalEObject)listEntries).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_BEAN_TYPE__LIST_ENTRIES, null, msgs); + if (newListEntries != null) + msgs = ((InternalEObject)newListEntries).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_BEAN_TYPE__LIST_ENTRIES, null, msgs); + msgs = basicSetListEntries(newListEntries, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_BEAN_TYPE__LIST_ENTRIES, newListEntries, newListEntries)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.MANAGED_BEAN_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.MANAGED_BEAN_TYPE__DESCRIPTION: + return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.MANAGED_BEAN_TYPE__DISPLAY_NAME: + return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.MANAGED_BEAN_TYPE__ICON: + return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_NAME: + return basicSetManagedBeanName(null, msgs); + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_CLASS: + return basicSetManagedBeanClass(null, msgs); + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_SCOPE: + return basicSetManagedBeanScope(null, msgs); + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_PROPERTY: + return ((InternalEList)getManagedProperty()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.MANAGED_BEAN_TYPE__MAP_ENTRIES: + return basicSetMapEntries(null, msgs); + case FacesConfigPackage.MANAGED_BEAN_TYPE__LIST_ENTRIES: + return basicSetListEntries(null, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_TYPE__DESCRIPTION: + return getDescription(); + case FacesConfigPackage.MANAGED_BEAN_TYPE__DISPLAY_NAME: + return getDisplayName(); + case FacesConfigPackage.MANAGED_BEAN_TYPE__ICON: + return getIcon(); + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_NAME: + return getManagedBeanName(); + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_CLASS: + return getManagedBeanClass(); + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_SCOPE: + return getManagedBeanScope(); + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_PROPERTY: + return getManagedProperty(); + case FacesConfigPackage.MANAGED_BEAN_TYPE__MAP_ENTRIES: + return getMapEntries(); + case FacesConfigPackage.MANAGED_BEAN_TYPE__LIST_ENTRIES: + return getListEntries(); + case FacesConfigPackage.MANAGED_BEAN_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_TYPE__DESCRIPTION: + getDescription().clear(); + getDescription().addAll((Collection)newValue); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + getDisplayName().addAll((Collection)newValue); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__ICON: + getIcon().clear(); + getIcon().addAll((Collection)newValue); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_NAME: + setManagedBeanName((ManagedBeanNameType)newValue); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_CLASS: + setManagedBeanClass((ManagedBeanClassType)newValue); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_SCOPE: + setManagedBeanScope((ManagedBeanScopeType)newValue); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_PROPERTY: + getManagedProperty().clear(); + getManagedProperty().addAll((Collection)newValue); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__MAP_ENTRIES: + setMapEntries((MapEntriesType)newValue); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__LIST_ENTRIES: + setListEntries((ListEntriesType)newValue); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_TYPE__DESCRIPTION: + getDescription().clear(); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__ICON: + getIcon().clear(); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_NAME: + setManagedBeanName((ManagedBeanNameType)null); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_CLASS: + setManagedBeanClass((ManagedBeanClassType)null); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_SCOPE: + setManagedBeanScope((ManagedBeanScopeType)null); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_PROPERTY: + getManagedProperty().clear(); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__MAP_ENTRIES: + setMapEntries((MapEntriesType)null); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__LIST_ENTRIES: + setListEntries((ListEntriesType)null); + return; + case FacesConfigPackage.MANAGED_BEAN_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_BEAN_TYPE__DESCRIPTION: + return description != null && !description.isEmpty(); + case FacesConfigPackage.MANAGED_BEAN_TYPE__DISPLAY_NAME: + return displayName != null && !displayName.isEmpty(); + case FacesConfigPackage.MANAGED_BEAN_TYPE__ICON: + return icon != null && !icon.isEmpty(); + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_NAME: + return managedBeanName != null; + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_CLASS: + return managedBeanClass != null; + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_SCOPE: + return managedBeanScope != null; + case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_PROPERTY: + return managedProperty != null && !managedProperty.isEmpty(); + case FacesConfigPackage.MANAGED_BEAN_TYPE__MAP_ENTRIES: + return mapEntries != null; + case FacesConfigPackage.MANAGED_BEAN_TYPE__LIST_ENTRIES: + return listEntries != null; + case FacesConfigPackage.MANAGED_BEAN_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ManagedBeanTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedPropertyTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedPropertyTypeImpl.java new file mode 100644 index 000000000..c557f5c82 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedPropertyTypeImpl.java @@ -0,0 +1,711 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType; +import org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType; +import org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType; +import org.eclipse.jst.jsf.facesconfig.emf.NullValueType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType; +import org.eclipse.jst.jsf.facesconfig.emf.ValueType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Managed Property Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedPropertyTypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedPropertyTypeImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedPropertyTypeImpl#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedPropertyTypeImpl#getPropertyName <em>Property Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedPropertyTypeImpl#getPropertyClass <em>Property Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedPropertyTypeImpl#getMapEntries <em>Map Entries</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedPropertyTypeImpl#getNullValue <em>Null Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedPropertyTypeImpl#getValue <em>Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedPropertyTypeImpl#getListEntries <em>List Entries</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedPropertyTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ManagedPropertyTypeImpl extends EObjectImpl implements ManagedPropertyType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected EList description = null; + + /** + * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected EList displayName = null; + + /** + * The cached value of the '{@link #getIcon() <em>Icon</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIcon() + * @generated + * @ordered + */ + protected EList icon = null; + + /** + * The cached value of the '{@link #getPropertyName() <em>Property Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPropertyName() + * @generated + * @ordered + */ + protected PropertyNameType propertyName = null; + + /** + * The cached value of the '{@link #getPropertyClass() <em>Property Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPropertyClass() + * @generated + * @ordered + */ + protected PropertyClassType propertyClass = null; + + /** + * The cached value of the '{@link #getMapEntries() <em>Map Entries</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMapEntries() + * @generated + * @ordered + */ + protected MapEntriesType mapEntries = null; + + /** + * The cached value of the '{@link #getNullValue() <em>Null Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getNullValue() + * @generated + * @ordered + */ + protected NullValueType nullValue = null; + + /** + * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected ValueType value = null; + + /** + * The cached value of the '{@link #getListEntries() <em>List Entries</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getListEntries() + * @generated + * @ordered + */ + protected ListEntriesType listEntries = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ManagedPropertyTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getManagedPropertyType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDescription() { + if (description == null) { + description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.MANAGED_PROPERTY_TYPE__DESCRIPTION); + } + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDisplayName() { + if (displayName == null) { + displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.MANAGED_PROPERTY_TYPE__DISPLAY_NAME); + } + return displayName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getIcon() { + if (icon == null) { + icon = new EObjectContainmentEList(IconType.class, this, FacesConfigPackage.MANAGED_PROPERTY_TYPE__ICON); + } + return icon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyNameType getPropertyName() { + return propertyName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPropertyName(PropertyNameType newPropertyName, NotificationChain msgs) { + PropertyNameType oldPropertyName = propertyName; + propertyName = newPropertyName; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_NAME, oldPropertyName, newPropertyName); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPropertyName(PropertyNameType newPropertyName) { + if (newPropertyName != propertyName) { + NotificationChain msgs = null; + if (propertyName != null) + msgs = ((InternalEObject)propertyName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_NAME, null, msgs); + if (newPropertyName != null) + msgs = ((InternalEObject)newPropertyName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_NAME, null, msgs); + msgs = basicSetPropertyName(newPropertyName, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_NAME, newPropertyName, newPropertyName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyClassType getPropertyClass() { + return propertyClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPropertyClass(PropertyClassType newPropertyClass, NotificationChain msgs) { + PropertyClassType oldPropertyClass = propertyClass; + propertyClass = newPropertyClass; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_CLASS, oldPropertyClass, newPropertyClass); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPropertyClass(PropertyClassType newPropertyClass) { + if (newPropertyClass != propertyClass) { + NotificationChain msgs = null; + if (propertyClass != null) + msgs = ((InternalEObject)propertyClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_CLASS, null, msgs); + if (newPropertyClass != null) + msgs = ((InternalEObject)newPropertyClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_CLASS, null, msgs); + msgs = basicSetPropertyClass(newPropertyClass, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_CLASS, newPropertyClass, newPropertyClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MapEntriesType getMapEntries() { + return mapEntries; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetMapEntries(MapEntriesType newMapEntries, NotificationChain msgs) { + MapEntriesType oldMapEntries = mapEntries; + mapEntries = newMapEntries; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_PROPERTY_TYPE__MAP_ENTRIES, oldMapEntries, newMapEntries); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setMapEntries(MapEntriesType newMapEntries) { + if (newMapEntries != mapEntries) { + NotificationChain msgs = null; + if (mapEntries != null) + msgs = ((InternalEObject)mapEntries).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_PROPERTY_TYPE__MAP_ENTRIES, null, msgs); + if (newMapEntries != null) + msgs = ((InternalEObject)newMapEntries).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_PROPERTY_TYPE__MAP_ENTRIES, null, msgs); + msgs = basicSetMapEntries(newMapEntries, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_PROPERTY_TYPE__MAP_ENTRIES, newMapEntries, newMapEntries)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NullValueType getNullValue() { + return nullValue; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetNullValue(NullValueType newNullValue, NotificationChain msgs) { + NullValueType oldNullValue = nullValue; + nullValue = newNullValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_PROPERTY_TYPE__NULL_VALUE, oldNullValue, newNullValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setNullValue(NullValueType newNullValue) { + if (newNullValue != nullValue) { + NotificationChain msgs = null; + if (nullValue != null) + msgs = ((InternalEObject)nullValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_PROPERTY_TYPE__NULL_VALUE, null, msgs); + if (newNullValue != null) + msgs = ((InternalEObject)newNullValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_PROPERTY_TYPE__NULL_VALUE, null, msgs); + msgs = basicSetNullValue(newNullValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_PROPERTY_TYPE__NULL_VALUE, newNullValue, newNullValue)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValueType getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetValue(ValueType newValue, NotificationChain msgs) { + ValueType oldValue = value; + value = newValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_PROPERTY_TYPE__VALUE, oldValue, newValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValue(ValueType newValue) { + if (newValue != value) { + NotificationChain msgs = null; + if (value != null) + msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_PROPERTY_TYPE__VALUE, null, msgs); + if (newValue != null) + msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_PROPERTY_TYPE__VALUE, null, msgs); + msgs = basicSetValue(newValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_PROPERTY_TYPE__VALUE, newValue, newValue)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ListEntriesType getListEntries() { + return listEntries; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetListEntries(ListEntriesType newListEntries, NotificationChain msgs) { + ListEntriesType oldListEntries = listEntries; + listEntries = newListEntries; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_PROPERTY_TYPE__LIST_ENTRIES, oldListEntries, newListEntries); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setListEntries(ListEntriesType newListEntries) { + if (newListEntries != listEntries) { + NotificationChain msgs = null; + if (listEntries != null) + msgs = ((InternalEObject)listEntries).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_PROPERTY_TYPE__LIST_ENTRIES, null, msgs); + if (newListEntries != null) + msgs = ((InternalEObject)newListEntries).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MANAGED_PROPERTY_TYPE__LIST_ENTRIES, null, msgs); + msgs = basicSetListEntries(newListEntries, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_PROPERTY_TYPE__LIST_ENTRIES, newListEntries, newListEntries)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.MANAGED_PROPERTY_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__DESCRIPTION: + return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__DISPLAY_NAME: + return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__ICON: + return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_NAME: + return basicSetPropertyName(null, msgs); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_CLASS: + return basicSetPropertyClass(null, msgs); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__MAP_ENTRIES: + return basicSetMapEntries(null, msgs); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__NULL_VALUE: + return basicSetNullValue(null, msgs); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__VALUE: + return basicSetValue(null, msgs); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__LIST_ENTRIES: + return basicSetListEntries(null, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__DESCRIPTION: + return getDescription(); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__DISPLAY_NAME: + return getDisplayName(); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__ICON: + return getIcon(); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_NAME: + return getPropertyName(); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_CLASS: + return getPropertyClass(); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__MAP_ENTRIES: + return getMapEntries(); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__NULL_VALUE: + return getNullValue(); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__VALUE: + return getValue(); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__LIST_ENTRIES: + return getListEntries(); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__DESCRIPTION: + getDescription().clear(); + getDescription().addAll((Collection)newValue); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + getDisplayName().addAll((Collection)newValue); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__ICON: + getIcon().clear(); + getIcon().addAll((Collection)newValue); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_NAME: + setPropertyName((PropertyNameType)newValue); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_CLASS: + setPropertyClass((PropertyClassType)newValue); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__MAP_ENTRIES: + setMapEntries((MapEntriesType)newValue); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__NULL_VALUE: + setNullValue((NullValueType)newValue); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__VALUE: + setValue((ValueType)newValue); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__LIST_ENTRIES: + setListEntries((ListEntriesType)newValue); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__DESCRIPTION: + getDescription().clear(); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__ICON: + getIcon().clear(); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_NAME: + setPropertyName((PropertyNameType)null); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_CLASS: + setPropertyClass((PropertyClassType)null); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__MAP_ENTRIES: + setMapEntries((MapEntriesType)null); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__NULL_VALUE: + setNullValue((NullValueType)null); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__VALUE: + setValue((ValueType)null); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__LIST_ENTRIES: + setListEntries((ListEntriesType)null); + return; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__DESCRIPTION: + return description != null && !description.isEmpty(); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__DISPLAY_NAME: + return displayName != null && !displayName.isEmpty(); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__ICON: + return icon != null && !icon.isEmpty(); + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_NAME: + return propertyName != null; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__PROPERTY_CLASS: + return propertyClass != null; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__MAP_ENTRIES: + return mapEntries != null; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__NULL_VALUE: + return nullValue != null; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__VALUE: + return value != null; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__LIST_ENTRIES: + return listEntries != null; + case FacesConfigPackage.MANAGED_PROPERTY_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ManagedPropertyTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MapEntriesTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MapEntriesTypeImpl.java new file mode 100644 index 000000000..470e11359 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MapEntriesTypeImpl.java @@ -0,0 +1,369 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.KeyClassType; +import org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType; +import org.eclipse.jst.jsf.facesconfig.emf.MapEntryType; +import org.eclipse.jst.jsf.facesconfig.emf.ValueClassType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Map Entries Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.MapEntriesTypeImpl#getKeyClass <em>Key Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.MapEntriesTypeImpl#getValueClass <em>Value Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.MapEntriesTypeImpl#getMapEntry <em>Map Entry</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.MapEntriesTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class MapEntriesTypeImpl extends EObjectImpl implements MapEntriesType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getKeyClass() <em>Key Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getKeyClass() + * @generated + * @ordered + */ + protected KeyClassType keyClass = null; + + /** + * The cached value of the '{@link #getValueClass() <em>Value Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValueClass() + * @generated + * @ordered + */ + protected ValueClassType valueClass = null; + + /** + * The cached value of the '{@link #getMapEntry() <em>Map Entry</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMapEntry() + * @generated + * @ordered + */ + protected EList mapEntry = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected MapEntriesTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getMapEntriesType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public KeyClassType getKeyClass() { + return keyClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetKeyClass(KeyClassType newKeyClass, NotificationChain msgs) { + KeyClassType oldKeyClass = keyClass; + keyClass = newKeyClass; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MAP_ENTRIES_TYPE__KEY_CLASS, oldKeyClass, newKeyClass); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setKeyClass(KeyClassType newKeyClass) { + if (newKeyClass != keyClass) { + NotificationChain msgs = null; + if (keyClass != null) + msgs = ((InternalEObject)keyClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MAP_ENTRIES_TYPE__KEY_CLASS, null, msgs); + if (newKeyClass != null) + msgs = ((InternalEObject)newKeyClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MAP_ENTRIES_TYPE__KEY_CLASS, null, msgs); + msgs = basicSetKeyClass(newKeyClass, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MAP_ENTRIES_TYPE__KEY_CLASS, newKeyClass, newKeyClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValueClassType getValueClass() { + return valueClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetValueClass(ValueClassType newValueClass, NotificationChain msgs) { + ValueClassType oldValueClass = valueClass; + valueClass = newValueClass; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MAP_ENTRIES_TYPE__VALUE_CLASS, oldValueClass, newValueClass); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValueClass(ValueClassType newValueClass) { + if (newValueClass != valueClass) { + NotificationChain msgs = null; + if (valueClass != null) + msgs = ((InternalEObject)valueClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MAP_ENTRIES_TYPE__VALUE_CLASS, null, msgs); + if (newValueClass != null) + msgs = ((InternalEObject)newValueClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MAP_ENTRIES_TYPE__VALUE_CLASS, null, msgs); + msgs = basicSetValueClass(newValueClass, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MAP_ENTRIES_TYPE__VALUE_CLASS, newValueClass, newValueClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getMapEntry() { + if (mapEntry == null) { + mapEntry = new EObjectContainmentEList(MapEntryType.class, this, FacesConfigPackage.MAP_ENTRIES_TYPE__MAP_ENTRY); + } + return mapEntry; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.MAP_ENTRIES_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.MAP_ENTRIES_TYPE__KEY_CLASS: + return basicSetKeyClass(null, msgs); + case FacesConfigPackage.MAP_ENTRIES_TYPE__VALUE_CLASS: + return basicSetValueClass(null, msgs); + case FacesConfigPackage.MAP_ENTRIES_TYPE__MAP_ENTRY: + return ((InternalEList)getMapEntry()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MAP_ENTRIES_TYPE__KEY_CLASS: + return getKeyClass(); + case FacesConfigPackage.MAP_ENTRIES_TYPE__VALUE_CLASS: + return getValueClass(); + case FacesConfigPackage.MAP_ENTRIES_TYPE__MAP_ENTRY: + return getMapEntry(); + case FacesConfigPackage.MAP_ENTRIES_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MAP_ENTRIES_TYPE__KEY_CLASS: + setKeyClass((KeyClassType)newValue); + return; + case FacesConfigPackage.MAP_ENTRIES_TYPE__VALUE_CLASS: + setValueClass((ValueClassType)newValue); + return; + case FacesConfigPackage.MAP_ENTRIES_TYPE__MAP_ENTRY: + getMapEntry().clear(); + getMapEntry().addAll((Collection)newValue); + return; + case FacesConfigPackage.MAP_ENTRIES_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MAP_ENTRIES_TYPE__KEY_CLASS: + setKeyClass((KeyClassType)null); + return; + case FacesConfigPackage.MAP_ENTRIES_TYPE__VALUE_CLASS: + setValueClass((ValueClassType)null); + return; + case FacesConfigPackage.MAP_ENTRIES_TYPE__MAP_ENTRY: + getMapEntry().clear(); + return; + case FacesConfigPackage.MAP_ENTRIES_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MAP_ENTRIES_TYPE__KEY_CLASS: + return keyClass != null; + case FacesConfigPackage.MAP_ENTRIES_TYPE__VALUE_CLASS: + return valueClass != null; + case FacesConfigPackage.MAP_ENTRIES_TYPE__MAP_ENTRY: + return mapEntry != null && !mapEntry.isEmpty(); + case FacesConfigPackage.MAP_ENTRIES_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //MapEntriesTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MapEntryTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MapEntryTypeImpl.java new file mode 100644 index 000000000..4aff4360b --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MapEntryTypeImpl.java @@ -0,0 +1,392 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.KeyType; +import org.eclipse.jst.jsf.facesconfig.emf.MapEntryType; +import org.eclipse.jst.jsf.facesconfig.emf.NullValueType; +import org.eclipse.jst.jsf.facesconfig.emf.ValueType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Map Entry Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.MapEntryTypeImpl#getKey <em>Key</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.MapEntryTypeImpl#getNullValue <em>Null Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.MapEntryTypeImpl#getValue <em>Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.MapEntryTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class MapEntryTypeImpl extends EObjectImpl implements MapEntryType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getKey() <em>Key</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getKey() + * @generated + * @ordered + */ + protected KeyType key = null; + + /** + * The cached value of the '{@link #getNullValue() <em>Null Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getNullValue() + * @generated + * @ordered + */ + protected NullValueType nullValue = null; + + /** + * The cached value of the '{@link #getValue() <em>Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValue() + * @generated + * @ordered + */ + protected ValueType value = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected MapEntryTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getMapEntryType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public KeyType getKey() { + return key; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetKey(KeyType newKey, NotificationChain msgs) { + KeyType oldKey = key; + key = newKey; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MAP_ENTRY_TYPE__KEY, oldKey, newKey); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setKey(KeyType newKey) { + if (newKey != key) { + NotificationChain msgs = null; + if (key != null) + msgs = ((InternalEObject)key).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MAP_ENTRY_TYPE__KEY, null, msgs); + if (newKey != null) + msgs = ((InternalEObject)newKey).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MAP_ENTRY_TYPE__KEY, null, msgs); + msgs = basicSetKey(newKey, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MAP_ENTRY_TYPE__KEY, newKey, newKey)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NullValueType getNullValue() { + return nullValue; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetNullValue(NullValueType newNullValue, NotificationChain msgs) { + NullValueType oldNullValue = nullValue; + nullValue = newNullValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MAP_ENTRY_TYPE__NULL_VALUE, oldNullValue, newNullValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setNullValue(NullValueType newNullValue) { + if (newNullValue != nullValue) { + NotificationChain msgs = null; + if (nullValue != null) + msgs = ((InternalEObject)nullValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MAP_ENTRY_TYPE__NULL_VALUE, null, msgs); + if (newNullValue != null) + msgs = ((InternalEObject)newNullValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MAP_ENTRY_TYPE__NULL_VALUE, null, msgs); + msgs = basicSetNullValue(newNullValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MAP_ENTRY_TYPE__NULL_VALUE, newNullValue, newNullValue)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValueType getValue() { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetValue(ValueType newValue, NotificationChain msgs) { + ValueType oldValue = value; + value = newValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MAP_ENTRY_TYPE__VALUE, oldValue, newValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValue(ValueType newValue) { + if (newValue != value) { + NotificationChain msgs = null; + if (value != null) + msgs = ((InternalEObject)value).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MAP_ENTRY_TYPE__VALUE, null, msgs); + if (newValue != null) + msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.MAP_ENTRY_TYPE__VALUE, null, msgs); + msgs = basicSetValue(newValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MAP_ENTRY_TYPE__VALUE, newValue, newValue)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.MAP_ENTRY_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.MAP_ENTRY_TYPE__KEY: + return basicSetKey(null, msgs); + case FacesConfigPackage.MAP_ENTRY_TYPE__NULL_VALUE: + return basicSetNullValue(null, msgs); + case FacesConfigPackage.MAP_ENTRY_TYPE__VALUE: + return basicSetValue(null, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MAP_ENTRY_TYPE__KEY: + return getKey(); + case FacesConfigPackage.MAP_ENTRY_TYPE__NULL_VALUE: + return getNullValue(); + case FacesConfigPackage.MAP_ENTRY_TYPE__VALUE: + return getValue(); + case FacesConfigPackage.MAP_ENTRY_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MAP_ENTRY_TYPE__KEY: + setKey((KeyType)newValue); + return; + case FacesConfigPackage.MAP_ENTRY_TYPE__NULL_VALUE: + setNullValue((NullValueType)newValue); + return; + case FacesConfigPackage.MAP_ENTRY_TYPE__VALUE: + setValue((ValueType)newValue); + return; + case FacesConfigPackage.MAP_ENTRY_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MAP_ENTRY_TYPE__KEY: + setKey((KeyType)null); + return; + case FacesConfigPackage.MAP_ENTRY_TYPE__NULL_VALUE: + setNullValue((NullValueType)null); + return; + case FacesConfigPackage.MAP_ENTRY_TYPE__VALUE: + setValue((ValueType)null); + return; + case FacesConfigPackage.MAP_ENTRY_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MAP_ENTRY_TYPE__KEY: + return key != null; + case FacesConfigPackage.MAP_ENTRY_TYPE__NULL_VALUE: + return nullValue != null; + case FacesConfigPackage.MAP_ENTRY_TYPE__VALUE: + return value != null; + case FacesConfigPackage.MAP_ENTRY_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //MapEntryTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MessageBundleTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MessageBundleTypeImpl.java new file mode 100644 index 000000000..2ddaad0e9 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MessageBundleTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Message Bundle Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.MessageBundleTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.MessageBundleTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class MessageBundleTypeImpl extends EObjectImpl implements MessageBundleType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected MessageBundleTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getMessageBundleType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MESSAGE_BUNDLE_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.MESSAGE_BUNDLE_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MESSAGE_BUNDLE_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.MESSAGE_BUNDLE_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MESSAGE_BUNDLE_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.MESSAGE_BUNDLE_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MESSAGE_BUNDLE_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.MESSAGE_BUNDLE_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.MESSAGE_BUNDLE_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.MESSAGE_BUNDLE_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //MessageBundleTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationCaseTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationCaseTypeImpl.java new file mode 100644 index 000000000..e71bee021 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationCaseTypeImpl.java @@ -0,0 +1,577 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FromActionType; +import org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType; +import org.eclipse.jst.jsf.facesconfig.emf.RedirectType; +import org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Navigation Case Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationCaseTypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationCaseTypeImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationCaseTypeImpl#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationCaseTypeImpl#getFromAction <em>From Action</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationCaseTypeImpl#getFromOutcome <em>From Outcome</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationCaseTypeImpl#getToViewId <em>To View Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationCaseTypeImpl#getRedirect <em>Redirect</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationCaseTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class NavigationCaseTypeImpl extends EObjectImpl implements NavigationCaseType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected EList description = null; + + /** + * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected EList displayName = null; + + /** + * The cached value of the '{@link #getIcon() <em>Icon</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIcon() + * @generated + * @ordered + */ + protected EList icon = null; + + /** + * The cached value of the '{@link #getFromAction() <em>From Action</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFromAction() + * @generated + * @ordered + */ + protected FromActionType fromAction = null; + + /** + * The cached value of the '{@link #getFromOutcome() <em>From Outcome</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFromOutcome() + * @generated + * @ordered + */ + protected FromOutcomeType fromOutcome = null; + + /** + * The cached value of the '{@link #getToViewId() <em>To View Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getToViewId() + * @generated + * @ordered + */ + protected ToViewIdType toViewId = null; + + /** + * The cached value of the '{@link #getRedirect() <em>Redirect</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRedirect() + * @generated + * @ordered + */ + protected RedirectType redirect = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected NavigationCaseTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getNavigationCaseType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDescription() { + if (description == null) { + description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.NAVIGATION_CASE_TYPE__DESCRIPTION); + } + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDisplayName() { + if (displayName == null) { + displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.NAVIGATION_CASE_TYPE__DISPLAY_NAME); + } + return displayName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getIcon() { + if (icon == null) { + icon = new EObjectContainmentEList(IconType.class, this, FacesConfigPackage.NAVIGATION_CASE_TYPE__ICON); + } + return icon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FromActionType getFromAction() { + return fromAction; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFromAction(FromActionType newFromAction, NotificationChain msgs) { + FromActionType oldFromAction = fromAction; + fromAction = newFromAction; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_ACTION, oldFromAction, newFromAction); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFromAction(FromActionType newFromAction) { + if (newFromAction != fromAction) { + NotificationChain msgs = null; + if (fromAction != null) + msgs = ((InternalEObject)fromAction).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_ACTION, null, msgs); + if (newFromAction != null) + msgs = ((InternalEObject)newFromAction).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_ACTION, null, msgs); + msgs = basicSetFromAction(newFromAction, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_ACTION, newFromAction, newFromAction)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FromOutcomeType getFromOutcome() { + return fromOutcome; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFromOutcome(FromOutcomeType newFromOutcome, NotificationChain msgs) { + FromOutcomeType oldFromOutcome = fromOutcome; + fromOutcome = newFromOutcome; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_OUTCOME, oldFromOutcome, newFromOutcome); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFromOutcome(FromOutcomeType newFromOutcome) { + if (newFromOutcome != fromOutcome) { + NotificationChain msgs = null; + if (fromOutcome != null) + msgs = ((InternalEObject)fromOutcome).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_OUTCOME, null, msgs); + if (newFromOutcome != null) + msgs = ((InternalEObject)newFromOutcome).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_OUTCOME, null, msgs); + msgs = basicSetFromOutcome(newFromOutcome, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_OUTCOME, newFromOutcome, newFromOutcome)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ToViewIdType getToViewId() { + return toViewId; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetToViewId(ToViewIdType newToViewId, NotificationChain msgs) { + ToViewIdType oldToViewId = toViewId; + toViewId = newToViewId; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.NAVIGATION_CASE_TYPE__TO_VIEW_ID, oldToViewId, newToViewId); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setToViewId(ToViewIdType newToViewId) { + if (newToViewId != toViewId) { + NotificationChain msgs = null; + if (toViewId != null) + msgs = ((InternalEObject)toViewId).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.NAVIGATION_CASE_TYPE__TO_VIEW_ID, null, msgs); + if (newToViewId != null) + msgs = ((InternalEObject)newToViewId).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.NAVIGATION_CASE_TYPE__TO_VIEW_ID, null, msgs); + msgs = basicSetToViewId(newToViewId, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.NAVIGATION_CASE_TYPE__TO_VIEW_ID, newToViewId, newToViewId)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RedirectType getRedirect() { + return redirect; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRedirect(RedirectType newRedirect, NotificationChain msgs) { + RedirectType oldRedirect = redirect; + redirect = newRedirect; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.NAVIGATION_CASE_TYPE__REDIRECT, oldRedirect, newRedirect); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRedirect(RedirectType newRedirect) { + if (newRedirect != redirect) { + NotificationChain msgs = null; + if (redirect != null) + msgs = ((InternalEObject)redirect).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.NAVIGATION_CASE_TYPE__REDIRECT, null, msgs); + if (newRedirect != null) + msgs = ((InternalEObject)newRedirect).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.NAVIGATION_CASE_TYPE__REDIRECT, null, msgs); + msgs = basicSetRedirect(newRedirect, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.NAVIGATION_CASE_TYPE__REDIRECT, newRedirect, newRedirect)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.NAVIGATION_CASE_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.NAVIGATION_CASE_TYPE__DESCRIPTION: + return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__DISPLAY_NAME: + return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__ICON: + return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_ACTION: + return basicSetFromAction(null, msgs); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_OUTCOME: + return basicSetFromOutcome(null, msgs); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__TO_VIEW_ID: + return basicSetToViewId(null, msgs); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__REDIRECT: + return basicSetRedirect(null, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NAVIGATION_CASE_TYPE__DESCRIPTION: + return getDescription(); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__DISPLAY_NAME: + return getDisplayName(); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__ICON: + return getIcon(); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_ACTION: + return getFromAction(); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_OUTCOME: + return getFromOutcome(); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__TO_VIEW_ID: + return getToViewId(); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__REDIRECT: + return getRedirect(); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NAVIGATION_CASE_TYPE__DESCRIPTION: + getDescription().clear(); + getDescription().addAll((Collection)newValue); + return; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + getDisplayName().addAll((Collection)newValue); + return; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__ICON: + getIcon().clear(); + getIcon().addAll((Collection)newValue); + return; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_ACTION: + setFromAction((FromActionType)newValue); + return; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_OUTCOME: + setFromOutcome((FromOutcomeType)newValue); + return; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__TO_VIEW_ID: + setToViewId((ToViewIdType)newValue); + return; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__REDIRECT: + setRedirect((RedirectType)newValue); + return; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NAVIGATION_CASE_TYPE__DESCRIPTION: + getDescription().clear(); + return; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + return; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__ICON: + getIcon().clear(); + return; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_ACTION: + setFromAction((FromActionType)null); + return; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_OUTCOME: + setFromOutcome((FromOutcomeType)null); + return; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__TO_VIEW_ID: + setToViewId((ToViewIdType)null); + return; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__REDIRECT: + setRedirect((RedirectType)null); + return; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NAVIGATION_CASE_TYPE__DESCRIPTION: + return description != null && !description.isEmpty(); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__DISPLAY_NAME: + return displayName != null && !displayName.isEmpty(); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__ICON: + return icon != null && !icon.isEmpty(); + case FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_ACTION: + return fromAction != null; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__FROM_OUTCOME: + return fromOutcome != null; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__TO_VIEW_ID: + return toViewId != null; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__REDIRECT: + return redirect != null; + case FacesConfigPackage.NAVIGATION_CASE_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //NavigationCaseTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationHandlerTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationHandlerTypeImpl.java new file mode 100644 index 000000000..71f1468dc --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationHandlerTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Navigation Handler Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationHandlerTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationHandlerTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class NavigationHandlerTypeImpl extends EObjectImpl implements NavigationHandlerType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected NavigationHandlerTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getNavigationHandlerType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.NAVIGATION_HANDLER_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.NAVIGATION_HANDLER_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NAVIGATION_HANDLER_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.NAVIGATION_HANDLER_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NAVIGATION_HANDLER_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.NAVIGATION_HANDLER_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NAVIGATION_HANDLER_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.NAVIGATION_HANDLER_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NAVIGATION_HANDLER_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.NAVIGATION_HANDLER_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //NavigationHandlerTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationRuleTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationRuleTypeImpl.java new file mode 100644 index 000000000..66637cd85 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationRuleTypeImpl.java @@ -0,0 +1,413 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType; +import org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Navigation Rule Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationRuleTypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationRuleTypeImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationRuleTypeImpl#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationRuleTypeImpl#getFromViewId <em>From View Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationRuleTypeImpl#getNavigationCase <em>Navigation Case</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NavigationRuleTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class NavigationRuleTypeImpl extends EObjectImpl implements NavigationRuleType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected EList description = null; + + /** + * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected EList displayName = null; + + /** + * The cached value of the '{@link #getIcon() <em>Icon</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIcon() + * @generated + * @ordered + */ + protected EList icon = null; + + /** + * The cached value of the '{@link #getFromViewId() <em>From View Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFromViewId() + * @generated + * @ordered + */ + protected FromViewIdType fromViewId = null; + + /** + * The cached value of the '{@link #getNavigationCase() <em>Navigation Case</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getNavigationCase() + * @generated + * @ordered + */ + protected EList navigationCase = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected NavigationRuleTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getNavigationRuleType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDescription() { + if (description == null) { + description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.NAVIGATION_RULE_TYPE__DESCRIPTION); + } + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDisplayName() { + if (displayName == null) { + displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.NAVIGATION_RULE_TYPE__DISPLAY_NAME); + } + return displayName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getIcon() { + if (icon == null) { + icon = new EObjectContainmentEList(IconType.class, this, FacesConfigPackage.NAVIGATION_RULE_TYPE__ICON); + } + return icon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FromViewIdType getFromViewId() { + return fromViewId; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetFromViewId(FromViewIdType newFromViewId, NotificationChain msgs) { + FromViewIdType oldFromViewId = fromViewId; + fromViewId = newFromViewId; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.NAVIGATION_RULE_TYPE__FROM_VIEW_ID, oldFromViewId, newFromViewId); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setFromViewId(FromViewIdType newFromViewId) { + if (newFromViewId != fromViewId) { + NotificationChain msgs = null; + if (fromViewId != null) + msgs = ((InternalEObject)fromViewId).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.NAVIGATION_RULE_TYPE__FROM_VIEW_ID, null, msgs); + if (newFromViewId != null) + msgs = ((InternalEObject)newFromViewId).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.NAVIGATION_RULE_TYPE__FROM_VIEW_ID, null, msgs); + msgs = basicSetFromViewId(newFromViewId, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.NAVIGATION_RULE_TYPE__FROM_VIEW_ID, newFromViewId, newFromViewId)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getNavigationCase() { + if (navigationCase == null) { + navigationCase = new EObjectContainmentEList(NavigationCaseType.class, this, FacesConfigPackage.NAVIGATION_RULE_TYPE__NAVIGATION_CASE); + } + return navigationCase; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.NAVIGATION_RULE_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.NAVIGATION_RULE_TYPE__DESCRIPTION: + return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.NAVIGATION_RULE_TYPE__DISPLAY_NAME: + return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.NAVIGATION_RULE_TYPE__ICON: + return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.NAVIGATION_RULE_TYPE__FROM_VIEW_ID: + return basicSetFromViewId(null, msgs); + case FacesConfigPackage.NAVIGATION_RULE_TYPE__NAVIGATION_CASE: + return ((InternalEList)getNavigationCase()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NAVIGATION_RULE_TYPE__DESCRIPTION: + return getDescription(); + case FacesConfigPackage.NAVIGATION_RULE_TYPE__DISPLAY_NAME: + return getDisplayName(); + case FacesConfigPackage.NAVIGATION_RULE_TYPE__ICON: + return getIcon(); + case FacesConfigPackage.NAVIGATION_RULE_TYPE__FROM_VIEW_ID: + return getFromViewId(); + case FacesConfigPackage.NAVIGATION_RULE_TYPE__NAVIGATION_CASE: + return getNavigationCase(); + case FacesConfigPackage.NAVIGATION_RULE_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NAVIGATION_RULE_TYPE__DESCRIPTION: + getDescription().clear(); + getDescription().addAll((Collection)newValue); + return; + case FacesConfigPackage.NAVIGATION_RULE_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + getDisplayName().addAll((Collection)newValue); + return; + case FacesConfigPackage.NAVIGATION_RULE_TYPE__ICON: + getIcon().clear(); + getIcon().addAll((Collection)newValue); + return; + case FacesConfigPackage.NAVIGATION_RULE_TYPE__FROM_VIEW_ID: + setFromViewId((FromViewIdType)newValue); + return; + case FacesConfigPackage.NAVIGATION_RULE_TYPE__NAVIGATION_CASE: + getNavigationCase().clear(); + getNavigationCase().addAll((Collection)newValue); + return; + case FacesConfigPackage.NAVIGATION_RULE_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NAVIGATION_RULE_TYPE__DESCRIPTION: + getDescription().clear(); + return; + case FacesConfigPackage.NAVIGATION_RULE_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + return; + case FacesConfigPackage.NAVIGATION_RULE_TYPE__ICON: + getIcon().clear(); + return; + case FacesConfigPackage.NAVIGATION_RULE_TYPE__FROM_VIEW_ID: + setFromViewId((FromViewIdType)null); + return; + case FacesConfigPackage.NAVIGATION_RULE_TYPE__NAVIGATION_CASE: + getNavigationCase().clear(); + return; + case FacesConfigPackage.NAVIGATION_RULE_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NAVIGATION_RULE_TYPE__DESCRIPTION: + return description != null && !description.isEmpty(); + case FacesConfigPackage.NAVIGATION_RULE_TYPE__DISPLAY_NAME: + return displayName != null && !displayName.isEmpty(); + case FacesConfigPackage.NAVIGATION_RULE_TYPE__ICON: + return icon != null && !icon.isEmpty(); + case FacesConfigPackage.NAVIGATION_RULE_TYPE__FROM_VIEW_ID: + return fromViewId != null; + case FacesConfigPackage.NAVIGATION_RULE_TYPE__NAVIGATION_CASE: + return navigationCase != null && !navigationCase.isEmpty(); + case FacesConfigPackage.NAVIGATION_RULE_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //NavigationRuleTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NullValueTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NullValueTypeImpl.java new file mode 100644 index 000000000..316ccbe81 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NullValueTypeImpl.java @@ -0,0 +1,174 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.NullValueType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Null Value Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NullValueTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class NullValueTypeImpl extends EObjectImpl implements NullValueType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected NullValueTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getNullValueType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.NULL_VALUE_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NULL_VALUE_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NULL_VALUE_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NULL_VALUE_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.NULL_VALUE_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //NullValueTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PhaseListenerTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PhaseListenerTypeImpl.java new file mode 100644 index 000000000..d7e0c2bee --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PhaseListenerTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Phase Listener Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PhaseListenerTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PhaseListenerTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class PhaseListenerTypeImpl extends EObjectImpl implements PhaseListenerType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected PhaseListenerTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getPhaseListenerType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.PHASE_LISTENER_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.PHASE_LISTENER_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PHASE_LISTENER_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.PHASE_LISTENER_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PHASE_LISTENER_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.PHASE_LISTENER_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PHASE_LISTENER_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.PHASE_LISTENER_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PHASE_LISTENER_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.PHASE_LISTENER_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //PhaseListenerTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyClassTypeImpl.java new file mode 100644 index 000000000..bd2b4eb73 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyClassTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Property Class Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyClassTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyClassTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class PropertyClassTypeImpl extends EObjectImpl implements PropertyClassType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected PropertyClassTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getPropertyClassType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.PROPERTY_CLASS_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.PROPERTY_CLASS_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_CLASS_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.PROPERTY_CLASS_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_CLASS_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.PROPERTY_CLASS_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_CLASS_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.PROPERTY_CLASS_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_CLASS_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.PROPERTY_CLASS_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //PropertyClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyExtensionTypeImpl.java new file mode 100644 index 000000000..d0774465c --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyExtensionTypeImpl.java @@ -0,0 +1,281 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.BasicFeatureMap; +import org.eclipse.emf.ecore.util.FeatureMap; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Property Extension Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyExtensionTypeImpl#getMixed <em>Mixed</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyExtensionTypeImpl#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyExtensionTypeImpl#getAny <em>Any</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyExtensionTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class PropertyExtensionTypeImpl extends EObjectImpl implements PropertyExtensionType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMixed() + * @generated + * @ordered + */ + protected FeatureMap mixed = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected PropertyExtensionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getPropertyExtensionType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getMixed() { + if (mixed == null) { + mixed = new BasicFeatureMap(this, FacesConfigPackage.PROPERTY_EXTENSION_TYPE__MIXED); + } + return mixed; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getGroup() { + return (FeatureMap)((FeatureMap)getMixed()).list(FacesConfigPackage.eINSTANCE.getPropertyExtensionType_Group()); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getAny() { + return (FeatureMap)((FeatureMap)getGroup()).list(FacesConfigPackage.eINSTANCE.getPropertyExtensionType_Any()); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.PROPERTY_EXTENSION_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__MIXED: + return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__GROUP: + return ((InternalEList)getGroup()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__ANY: + return ((InternalEList)getAny()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__MIXED: + return getMixed(); + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__GROUP: + return getGroup(); + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__ANY: + return getAny(); + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__MIXED: + getMixed().clear(); + getMixed().addAll((Collection)newValue); + return; + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__GROUP: + getGroup().clear(); + getGroup().addAll((Collection)newValue); + return; + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__ANY: + getAny().clear(); + getAny().addAll((Collection)newValue); + return; + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__MIXED: + getMixed().clear(); + return; + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__GROUP: + getGroup().clear(); + return; + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__ANY: + getAny().clear(); + return; + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__MIXED: + return mixed != null && !mixed.isEmpty(); + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__GROUP: + return !getGroup().isEmpty(); + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__ANY: + return !getAny().isEmpty(); + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (mixed: "); + result.append(mixed); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //PropertyExtensionTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyNameTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyNameTypeImpl.java new file mode 100644 index 000000000..eb8768fac --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyNameTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Property Name Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyNameTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyNameTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class PropertyNameTypeImpl extends EObjectImpl implements PropertyNameType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected PropertyNameTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getPropertyNameType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.PROPERTY_NAME_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.PROPERTY_NAME_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_NAME_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.PROPERTY_NAME_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_NAME_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.PROPERTY_NAME_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_NAME_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.PROPERTY_NAME_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_NAME_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.PROPERTY_NAME_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //PropertyNameTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyResolverTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyResolverTypeImpl.java new file mode 100644 index 000000000..a0cccfa00 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyResolverTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Property Resolver Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyResolverTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyResolverTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class PropertyResolverTypeImpl extends EObjectImpl implements PropertyResolverType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected PropertyResolverTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getPropertyResolverType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.PROPERTY_RESOLVER_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.PROPERTY_RESOLVER_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_RESOLVER_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.PROPERTY_RESOLVER_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_RESOLVER_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.PROPERTY_RESOLVER_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_RESOLVER_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.PROPERTY_RESOLVER_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_RESOLVER_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.PROPERTY_RESOLVER_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //PropertyResolverTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyTypeImpl.java new file mode 100644 index 000000000..c5a75bd90 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyTypeImpl.java @@ -0,0 +1,614 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyType; +import org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Property Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyTypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyTypeImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyTypeImpl#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyTypeImpl#getPropertyName <em>Property Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyTypeImpl#getPropertyClass <em>Property Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyTypeImpl#getDefaultValue <em>Default Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyTypeImpl#getSuggestedValue <em>Suggested Value</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyTypeImpl#getPropertyExtension <em>Property Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PropertyTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class PropertyTypeImpl extends EObjectImpl implements PropertyType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected EList description = null; + + /** + * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected EList displayName = null; + + /** + * The cached value of the '{@link #getIcon() <em>Icon</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIcon() + * @generated + * @ordered + */ + protected EList icon = null; + + /** + * The cached value of the '{@link #getPropertyName() <em>Property Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPropertyName() + * @generated + * @ordered + */ + protected PropertyNameType propertyName = null; + + /** + * The cached value of the '{@link #getPropertyClass() <em>Property Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPropertyClass() + * @generated + * @ordered + */ + protected PropertyClassType propertyClass = null; + + /** + * The cached value of the '{@link #getDefaultValue() <em>Default Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDefaultValue() + * @generated + * @ordered + */ + protected DefaultValueType defaultValue = null; + + /** + * The cached value of the '{@link #getSuggestedValue() <em>Suggested Value</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getSuggestedValue() + * @generated + * @ordered + */ + protected SuggestedValueType suggestedValue = null; + + /** + * The cached value of the '{@link #getPropertyExtension() <em>Property Extension</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getPropertyExtension() + * @generated + * @ordered + */ + protected EList propertyExtension = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected PropertyTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getPropertyType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDescription() { + if (description == null) { + description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.PROPERTY_TYPE__DESCRIPTION); + } + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDisplayName() { + if (displayName == null) { + displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.PROPERTY_TYPE__DISPLAY_NAME); + } + return displayName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getIcon() { + if (icon == null) { + icon = new EObjectContainmentEList(IconType.class, this, FacesConfigPackage.PROPERTY_TYPE__ICON); + } + return icon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyNameType getPropertyName() { + return propertyName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPropertyName(PropertyNameType newPropertyName, NotificationChain msgs) { + PropertyNameType oldPropertyName = propertyName; + propertyName = newPropertyName; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.PROPERTY_TYPE__PROPERTY_NAME, oldPropertyName, newPropertyName); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPropertyName(PropertyNameType newPropertyName) { + if (newPropertyName != propertyName) { + NotificationChain msgs = null; + if (propertyName != null) + msgs = ((InternalEObject)propertyName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.PROPERTY_TYPE__PROPERTY_NAME, null, msgs); + if (newPropertyName != null) + msgs = ((InternalEObject)newPropertyName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.PROPERTY_TYPE__PROPERTY_NAME, null, msgs); + msgs = basicSetPropertyName(newPropertyName, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.PROPERTY_TYPE__PROPERTY_NAME, newPropertyName, newPropertyName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public PropertyClassType getPropertyClass() { + return propertyClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetPropertyClass(PropertyClassType newPropertyClass, NotificationChain msgs) { + PropertyClassType oldPropertyClass = propertyClass; + propertyClass = newPropertyClass; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.PROPERTY_TYPE__PROPERTY_CLASS, oldPropertyClass, newPropertyClass); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setPropertyClass(PropertyClassType newPropertyClass) { + if (newPropertyClass != propertyClass) { + NotificationChain msgs = null; + if (propertyClass != null) + msgs = ((InternalEObject)propertyClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.PROPERTY_TYPE__PROPERTY_CLASS, null, msgs); + if (newPropertyClass != null) + msgs = ((InternalEObject)newPropertyClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.PROPERTY_TYPE__PROPERTY_CLASS, null, msgs); + msgs = basicSetPropertyClass(newPropertyClass, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.PROPERTY_TYPE__PROPERTY_CLASS, newPropertyClass, newPropertyClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public DefaultValueType getDefaultValue() { + return defaultValue; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetDefaultValue(DefaultValueType newDefaultValue, NotificationChain msgs) { + DefaultValueType oldDefaultValue = defaultValue; + defaultValue = newDefaultValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.PROPERTY_TYPE__DEFAULT_VALUE, oldDefaultValue, newDefaultValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setDefaultValue(DefaultValueType newDefaultValue) { + if (newDefaultValue != defaultValue) { + NotificationChain msgs = null; + if (defaultValue != null) + msgs = ((InternalEObject)defaultValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.PROPERTY_TYPE__DEFAULT_VALUE, null, msgs); + if (newDefaultValue != null) + msgs = ((InternalEObject)newDefaultValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.PROPERTY_TYPE__DEFAULT_VALUE, null, msgs); + msgs = basicSetDefaultValue(newDefaultValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.PROPERTY_TYPE__DEFAULT_VALUE, newDefaultValue, newDefaultValue)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SuggestedValueType getSuggestedValue() { + return suggestedValue; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetSuggestedValue(SuggestedValueType newSuggestedValue, NotificationChain msgs) { + SuggestedValueType oldSuggestedValue = suggestedValue; + suggestedValue = newSuggestedValue; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.PROPERTY_TYPE__SUGGESTED_VALUE, oldSuggestedValue, newSuggestedValue); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setSuggestedValue(SuggestedValueType newSuggestedValue) { + if (newSuggestedValue != suggestedValue) { + NotificationChain msgs = null; + if (suggestedValue != null) + msgs = ((InternalEObject)suggestedValue).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.PROPERTY_TYPE__SUGGESTED_VALUE, null, msgs); + if (newSuggestedValue != null) + msgs = ((InternalEObject)newSuggestedValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.PROPERTY_TYPE__SUGGESTED_VALUE, null, msgs); + msgs = basicSetSuggestedValue(newSuggestedValue, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.PROPERTY_TYPE__SUGGESTED_VALUE, newSuggestedValue, newSuggestedValue)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getPropertyExtension() { + if (propertyExtension == null) { + propertyExtension = new EObjectContainmentEList(PropertyExtensionType.class, this, FacesConfigPackage.PROPERTY_TYPE__PROPERTY_EXTENSION); + } + return propertyExtension; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.PROPERTY_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.PROPERTY_TYPE__DESCRIPTION: + return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.PROPERTY_TYPE__DISPLAY_NAME: + return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.PROPERTY_TYPE__ICON: + return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_NAME: + return basicSetPropertyName(null, msgs); + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_CLASS: + return basicSetPropertyClass(null, msgs); + case FacesConfigPackage.PROPERTY_TYPE__DEFAULT_VALUE: + return basicSetDefaultValue(null, msgs); + case FacesConfigPackage.PROPERTY_TYPE__SUGGESTED_VALUE: + return basicSetSuggestedValue(null, msgs); + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_EXTENSION: + return ((InternalEList)getPropertyExtension()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_TYPE__DESCRIPTION: + return getDescription(); + case FacesConfigPackage.PROPERTY_TYPE__DISPLAY_NAME: + return getDisplayName(); + case FacesConfigPackage.PROPERTY_TYPE__ICON: + return getIcon(); + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_NAME: + return getPropertyName(); + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_CLASS: + return getPropertyClass(); + case FacesConfigPackage.PROPERTY_TYPE__DEFAULT_VALUE: + return getDefaultValue(); + case FacesConfigPackage.PROPERTY_TYPE__SUGGESTED_VALUE: + return getSuggestedValue(); + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_EXTENSION: + return getPropertyExtension(); + case FacesConfigPackage.PROPERTY_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_TYPE__DESCRIPTION: + getDescription().clear(); + getDescription().addAll((Collection)newValue); + return; + case FacesConfigPackage.PROPERTY_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + getDisplayName().addAll((Collection)newValue); + return; + case FacesConfigPackage.PROPERTY_TYPE__ICON: + getIcon().clear(); + getIcon().addAll((Collection)newValue); + return; + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_NAME: + setPropertyName((PropertyNameType)newValue); + return; + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_CLASS: + setPropertyClass((PropertyClassType)newValue); + return; + case FacesConfigPackage.PROPERTY_TYPE__DEFAULT_VALUE: + setDefaultValue((DefaultValueType)newValue); + return; + case FacesConfigPackage.PROPERTY_TYPE__SUGGESTED_VALUE: + setSuggestedValue((SuggestedValueType)newValue); + return; + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_EXTENSION: + getPropertyExtension().clear(); + getPropertyExtension().addAll((Collection)newValue); + return; + case FacesConfigPackage.PROPERTY_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_TYPE__DESCRIPTION: + getDescription().clear(); + return; + case FacesConfigPackage.PROPERTY_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + return; + case FacesConfigPackage.PROPERTY_TYPE__ICON: + getIcon().clear(); + return; + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_NAME: + setPropertyName((PropertyNameType)null); + return; + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_CLASS: + setPropertyClass((PropertyClassType)null); + return; + case FacesConfigPackage.PROPERTY_TYPE__DEFAULT_VALUE: + setDefaultValue((DefaultValueType)null); + return; + case FacesConfigPackage.PROPERTY_TYPE__SUGGESTED_VALUE: + setSuggestedValue((SuggestedValueType)null); + return; + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_EXTENSION: + getPropertyExtension().clear(); + return; + case FacesConfigPackage.PROPERTY_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.PROPERTY_TYPE__DESCRIPTION: + return description != null && !description.isEmpty(); + case FacesConfigPackage.PROPERTY_TYPE__DISPLAY_NAME: + return displayName != null && !displayName.isEmpty(); + case FacesConfigPackage.PROPERTY_TYPE__ICON: + return icon != null && !icon.isEmpty(); + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_NAME: + return propertyName != null; + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_CLASS: + return propertyClass != null; + case FacesConfigPackage.PROPERTY_TYPE__DEFAULT_VALUE: + return defaultValue != null; + case FacesConfigPackage.PROPERTY_TYPE__SUGGESTED_VALUE: + return suggestedValue != null; + case FacesConfigPackage.PROPERTY_TYPE__PROPERTY_EXTENSION: + return propertyExtension != null && !propertyExtension.isEmpty(); + case FacesConfigPackage.PROPERTY_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //PropertyTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RedirectTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RedirectTypeImpl.java new file mode 100644 index 000000000..8e16b2de3 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RedirectTypeImpl.java @@ -0,0 +1,174 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.RedirectType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Redirect Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RedirectTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RedirectTypeImpl extends EObjectImpl implements RedirectType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RedirectTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getRedirectType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.REDIRECT_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REDIRECT_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REDIRECT_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REDIRECT_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REDIRECT_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //RedirectTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanClassTypeImpl.java new file mode 100644 index 000000000..48d2d9fd4 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanClassTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Referenced Bean Class Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanClassTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanClassTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ReferencedBeanClassTypeImpl extends EObjectImpl implements ReferencedBeanClassType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ReferencedBeanClassTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getReferencedBeanClassType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ReferencedBeanClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanNameTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanNameTypeImpl.java new file mode 100644 index 000000000..b7197d095 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanNameTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Referenced Bean Name Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanNameTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanNameTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ReferencedBeanNameTypeImpl extends EObjectImpl implements ReferencedBeanNameType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ReferencedBeanNameTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getReferencedBeanNameType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ReferencedBeanNameTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanTypeImpl.java new file mode 100644 index 000000000..504c7a280 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanTypeImpl.java @@ -0,0 +1,443 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType; +import org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Referenced Bean Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanTypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanTypeImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanTypeImpl#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanTypeImpl#getReferencedBeanName <em>Referenced Bean Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanTypeImpl#getReferencedBeanClass <em>Referenced Bean Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ReferencedBeanTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ReferencedBeanTypeImpl extends EObjectImpl implements ReferencedBeanType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected EList description = null; + + /** + * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected EList displayName = null; + + /** + * The cached value of the '{@link #getIcon() <em>Icon</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIcon() + * @generated + * @ordered + */ + protected EList icon = null; + + /** + * The cached value of the '{@link #getReferencedBeanName() <em>Referenced Bean Name</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getReferencedBeanName() + * @generated + * @ordered + */ + protected ReferencedBeanNameType referencedBeanName = null; + + /** + * The cached value of the '{@link #getReferencedBeanClass() <em>Referenced Bean Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getReferencedBeanClass() + * @generated + * @ordered + */ + protected ReferencedBeanClassType referencedBeanClass = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ReferencedBeanTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getReferencedBeanType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDescription() { + if (description == null) { + description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.REFERENCED_BEAN_TYPE__DESCRIPTION); + } + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDisplayName() { + if (displayName == null) { + displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.REFERENCED_BEAN_TYPE__DISPLAY_NAME); + } + return displayName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getIcon() { + if (icon == null) { + icon = new EObjectContainmentEList(IconType.class, this, FacesConfigPackage.REFERENCED_BEAN_TYPE__ICON); + } + return icon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ReferencedBeanNameType getReferencedBeanName() { + return referencedBeanName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetReferencedBeanName(ReferencedBeanNameType newReferencedBeanName, NotificationChain msgs) { + ReferencedBeanNameType oldReferencedBeanName = referencedBeanName; + referencedBeanName = newReferencedBeanName; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_NAME, oldReferencedBeanName, newReferencedBeanName); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setReferencedBeanName(ReferencedBeanNameType newReferencedBeanName) { + if (newReferencedBeanName != referencedBeanName) { + NotificationChain msgs = null; + if (referencedBeanName != null) + msgs = ((InternalEObject)referencedBeanName).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_NAME, null, msgs); + if (newReferencedBeanName != null) + msgs = ((InternalEObject)newReferencedBeanName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_NAME, null, msgs); + msgs = basicSetReferencedBeanName(newReferencedBeanName, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_NAME, newReferencedBeanName, newReferencedBeanName)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ReferencedBeanClassType getReferencedBeanClass() { + return referencedBeanClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetReferencedBeanClass(ReferencedBeanClassType newReferencedBeanClass, NotificationChain msgs) { + ReferencedBeanClassType oldReferencedBeanClass = referencedBeanClass; + referencedBeanClass = newReferencedBeanClass; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_CLASS, oldReferencedBeanClass, newReferencedBeanClass); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setReferencedBeanClass(ReferencedBeanClassType newReferencedBeanClass) { + if (newReferencedBeanClass != referencedBeanClass) { + NotificationChain msgs = null; + if (referencedBeanClass != null) + msgs = ((InternalEObject)referencedBeanClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_CLASS, null, msgs); + if (newReferencedBeanClass != null) + msgs = ((InternalEObject)newReferencedBeanClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_CLASS, null, msgs); + msgs = basicSetReferencedBeanClass(newReferencedBeanClass, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_CLASS, newReferencedBeanClass, newReferencedBeanClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.REFERENCED_BEAN_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.REFERENCED_BEAN_TYPE__DESCRIPTION: + return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.REFERENCED_BEAN_TYPE__DISPLAY_NAME: + return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.REFERENCED_BEAN_TYPE__ICON: + return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_NAME: + return basicSetReferencedBeanName(null, msgs); + case FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_CLASS: + return basicSetReferencedBeanClass(null, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REFERENCED_BEAN_TYPE__DESCRIPTION: + return getDescription(); + case FacesConfigPackage.REFERENCED_BEAN_TYPE__DISPLAY_NAME: + return getDisplayName(); + case FacesConfigPackage.REFERENCED_BEAN_TYPE__ICON: + return getIcon(); + case FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_NAME: + return getReferencedBeanName(); + case FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_CLASS: + return getReferencedBeanClass(); + case FacesConfigPackage.REFERENCED_BEAN_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REFERENCED_BEAN_TYPE__DESCRIPTION: + getDescription().clear(); + getDescription().addAll((Collection)newValue); + return; + case FacesConfigPackage.REFERENCED_BEAN_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + getDisplayName().addAll((Collection)newValue); + return; + case FacesConfigPackage.REFERENCED_BEAN_TYPE__ICON: + getIcon().clear(); + getIcon().addAll((Collection)newValue); + return; + case FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_NAME: + setReferencedBeanName((ReferencedBeanNameType)newValue); + return; + case FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_CLASS: + setReferencedBeanClass((ReferencedBeanClassType)newValue); + return; + case FacesConfigPackage.REFERENCED_BEAN_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REFERENCED_BEAN_TYPE__DESCRIPTION: + getDescription().clear(); + return; + case FacesConfigPackage.REFERENCED_BEAN_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + return; + case FacesConfigPackage.REFERENCED_BEAN_TYPE__ICON: + getIcon().clear(); + return; + case FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_NAME: + setReferencedBeanName((ReferencedBeanNameType)null); + return; + case FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_CLASS: + setReferencedBeanClass((ReferencedBeanClassType)null); + return; + case FacesConfigPackage.REFERENCED_BEAN_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.REFERENCED_BEAN_TYPE__DESCRIPTION: + return description != null && !description.isEmpty(); + case FacesConfigPackage.REFERENCED_BEAN_TYPE__DISPLAY_NAME: + return displayName != null && !displayName.isEmpty(); + case FacesConfigPackage.REFERENCED_BEAN_TYPE__ICON: + return icon != null && !icon.isEmpty(); + case FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_NAME: + return referencedBeanName != null; + case FacesConfigPackage.REFERENCED_BEAN_TYPE__REFERENCED_BEAN_CLASS: + return referencedBeanClass != null; + case FacesConfigPackage.REFERENCED_BEAN_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ReferencedBeanTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitClassTypeImpl.java new file mode 100644 index 000000000..912786b22 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitClassTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Render Kit Class Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitClassTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitClassTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RenderKitClassTypeImpl extends EObjectImpl implements RenderKitClassType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RenderKitClassTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getRenderKitClassType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDER_KIT_CLASS_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.RENDER_KIT_CLASS_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_CLASS_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.RENDER_KIT_CLASS_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_CLASS_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.RENDER_KIT_CLASS_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_CLASS_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.RENDER_KIT_CLASS_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_CLASS_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.RENDER_KIT_CLASS_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //RenderKitClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitFactoryTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitFactoryTypeImpl.java new file mode 100644 index 000000000..021ffa640 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitFactoryTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Render Kit Factory Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitFactoryTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitFactoryTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RenderKitFactoryTypeImpl extends EObjectImpl implements RenderKitFactoryType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RenderKitFactoryTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getRenderKitFactoryType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //RenderKitFactoryTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitIdTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitIdTypeImpl.java new file mode 100644 index 000000000..029db46ae --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitIdTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Render Kit Id Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitIdTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitIdTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RenderKitIdTypeImpl extends EObjectImpl implements RenderKitIdType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RenderKitIdTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getRenderKitIdType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDER_KIT_ID_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.RENDER_KIT_ID_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_ID_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.RENDER_KIT_ID_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_ID_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.RENDER_KIT_ID_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_ID_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.RENDER_KIT_ID_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_ID_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.RENDER_KIT_ID_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //RenderKitIdTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitTypeImpl.java new file mode 100644 index 000000000..afe74f541 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitTypeImpl.java @@ -0,0 +1,480 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType; +import org.eclipse.jst.jsf.facesconfig.emf.RenderKitType; +import org.eclipse.jst.jsf.facesconfig.emf.RendererType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Render Kit Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitTypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitTypeImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitTypeImpl#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitTypeImpl#getRenderKitId <em>Render Kit Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitTypeImpl#getRenderKitClass <em>Render Kit Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitTypeImpl#getRenderer <em>Renderer</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RenderKitTypeImpl extends EObjectImpl implements RenderKitType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected EList description = null; + + /** + * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected EList displayName = null; + + /** + * The cached value of the '{@link #getIcon() <em>Icon</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIcon() + * @generated + * @ordered + */ + protected EList icon = null; + + /** + * The cached value of the '{@link #getRenderKitId() <em>Render Kit Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRenderKitId() + * @generated + * @ordered + */ + protected RenderKitIdType renderKitId = null; + + /** + * The cached value of the '{@link #getRenderKitClass() <em>Render Kit Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRenderKitClass() + * @generated + * @ordered + */ + protected RenderKitClassType renderKitClass = null; + + /** + * The cached value of the '{@link #getRenderer() <em>Renderer</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRenderer() + * @generated + * @ordered + */ + protected EList renderer = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RenderKitTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getRenderKitType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDescription() { + if (description == null) { + description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.RENDER_KIT_TYPE__DESCRIPTION); + } + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDisplayName() { + if (displayName == null) { + displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.RENDER_KIT_TYPE__DISPLAY_NAME); + } + return displayName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getIcon() { + if (icon == null) { + icon = new EObjectContainmentEList(IconType.class, this, FacesConfigPackage.RENDER_KIT_TYPE__ICON); + } + return icon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RenderKitIdType getRenderKitId() { + return renderKitId; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRenderKitId(RenderKitIdType newRenderKitId, NotificationChain msgs) { + RenderKitIdType oldRenderKitId = renderKitId; + renderKitId = newRenderKitId; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_ID, oldRenderKitId, newRenderKitId); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRenderKitId(RenderKitIdType newRenderKitId) { + if (newRenderKitId != renderKitId) { + NotificationChain msgs = null; + if (renderKitId != null) + msgs = ((InternalEObject)renderKitId).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_ID, null, msgs); + if (newRenderKitId != null) + msgs = ((InternalEObject)newRenderKitId).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_ID, null, msgs); + msgs = basicSetRenderKitId(newRenderKitId, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_ID, newRenderKitId, newRenderKitId)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RenderKitClassType getRenderKitClass() { + return renderKitClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRenderKitClass(RenderKitClassType newRenderKitClass, NotificationChain msgs) { + RenderKitClassType oldRenderKitClass = renderKitClass; + renderKitClass = newRenderKitClass; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_CLASS, oldRenderKitClass, newRenderKitClass); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRenderKitClass(RenderKitClassType newRenderKitClass) { + if (newRenderKitClass != renderKitClass) { + NotificationChain msgs = null; + if (renderKitClass != null) + msgs = ((InternalEObject)renderKitClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_CLASS, null, msgs); + if (newRenderKitClass != null) + msgs = ((InternalEObject)newRenderKitClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_CLASS, null, msgs); + msgs = basicSetRenderKitClass(newRenderKitClass, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_CLASS, newRenderKitClass, newRenderKitClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getRenderer() { + if (renderer == null) { + renderer = new EObjectContainmentEList(RendererType.class, this, FacesConfigPackage.RENDER_KIT_TYPE__RENDERER); + } + return renderer; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.RENDER_KIT_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.RENDER_KIT_TYPE__DESCRIPTION: + return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.RENDER_KIT_TYPE__DISPLAY_NAME: + return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.RENDER_KIT_TYPE__ICON: + return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_ID: + return basicSetRenderKitId(null, msgs); + case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_CLASS: + return basicSetRenderKitClass(null, msgs); + case FacesConfigPackage.RENDER_KIT_TYPE__RENDERER: + return ((InternalEList)getRenderer()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_TYPE__DESCRIPTION: + return getDescription(); + case FacesConfigPackage.RENDER_KIT_TYPE__DISPLAY_NAME: + return getDisplayName(); + case FacesConfigPackage.RENDER_KIT_TYPE__ICON: + return getIcon(); + case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_ID: + return getRenderKitId(); + case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_CLASS: + return getRenderKitClass(); + case FacesConfigPackage.RENDER_KIT_TYPE__RENDERER: + return getRenderer(); + case FacesConfigPackage.RENDER_KIT_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_TYPE__DESCRIPTION: + getDescription().clear(); + getDescription().addAll((Collection)newValue); + return; + case FacesConfigPackage.RENDER_KIT_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + getDisplayName().addAll((Collection)newValue); + return; + case FacesConfigPackage.RENDER_KIT_TYPE__ICON: + getIcon().clear(); + getIcon().addAll((Collection)newValue); + return; + case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_ID: + setRenderKitId((RenderKitIdType)newValue); + return; + case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_CLASS: + setRenderKitClass((RenderKitClassType)newValue); + return; + case FacesConfigPackage.RENDER_KIT_TYPE__RENDERER: + getRenderer().clear(); + getRenderer().addAll((Collection)newValue); + return; + case FacesConfigPackage.RENDER_KIT_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_TYPE__DESCRIPTION: + getDescription().clear(); + return; + case FacesConfigPackage.RENDER_KIT_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + return; + case FacesConfigPackage.RENDER_KIT_TYPE__ICON: + getIcon().clear(); + return; + case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_ID: + setRenderKitId((RenderKitIdType)null); + return; + case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_CLASS: + setRenderKitClass((RenderKitClassType)null); + return; + case FacesConfigPackage.RENDER_KIT_TYPE__RENDERER: + getRenderer().clear(); + return; + case FacesConfigPackage.RENDER_KIT_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDER_KIT_TYPE__DESCRIPTION: + return description != null && !description.isEmpty(); + case FacesConfigPackage.RENDER_KIT_TYPE__DISPLAY_NAME: + return displayName != null && !displayName.isEmpty(); + case FacesConfigPackage.RENDER_KIT_TYPE__ICON: + return icon != null && !icon.isEmpty(); + case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_ID: + return renderKitId != null; + case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_CLASS: + return renderKitClass != null; + case FacesConfigPackage.RENDER_KIT_TYPE__RENDERER: + return renderer != null && !renderer.isEmpty(); + case FacesConfigPackage.RENDER_KIT_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //RenderKitTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererClassTypeImpl.java new file mode 100644 index 000000000..28c50caee --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererClassTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.RendererClassType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Renderer Class Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererClassTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererClassTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RendererClassTypeImpl extends EObjectImpl implements RendererClassType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RendererClassTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getRendererClassType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDERER_CLASS_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.RENDERER_CLASS_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_CLASS_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.RENDERER_CLASS_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_CLASS_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.RENDERER_CLASS_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_CLASS_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.RENDERER_CLASS_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_CLASS_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.RENDERER_CLASS_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //RendererClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererExtensionTypeImpl.java new file mode 100644 index 000000000..d49aae70a --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererExtensionTypeImpl.java @@ -0,0 +1,281 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.BasicFeatureMap; +import org.eclipse.emf.ecore.util.FeatureMap; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Renderer Extension Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererExtensionTypeImpl#getMixed <em>Mixed</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererExtensionTypeImpl#getGroup <em>Group</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererExtensionTypeImpl#getAny <em>Any</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererExtensionTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RendererExtensionTypeImpl extends EObjectImpl implements RendererExtensionType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getMixed() + * @generated + * @ordered + */ + protected FeatureMap mixed = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RendererExtensionTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getRendererExtensionType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getMixed() { + if (mixed == null) { + mixed = new BasicFeatureMap(this, FacesConfigPackage.RENDERER_EXTENSION_TYPE__MIXED); + } + return mixed; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getGroup() { + return (FeatureMap)((FeatureMap)getMixed()).list(FacesConfigPackage.eINSTANCE.getRendererExtensionType_Group()); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FeatureMap getAny() { + return (FeatureMap)((FeatureMap)getGroup()).list(FacesConfigPackage.eINSTANCE.getRendererExtensionType_Any()); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.RENDERER_EXTENSION_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__MIXED: + return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__GROUP: + return ((InternalEList)getGroup()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__ANY: + return ((InternalEList)getAny()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__MIXED: + return getMixed(); + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__GROUP: + return getGroup(); + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__ANY: + return getAny(); + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__MIXED: + getMixed().clear(); + getMixed().addAll((Collection)newValue); + return; + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__GROUP: + getGroup().clear(); + getGroup().addAll((Collection)newValue); + return; + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__ANY: + getAny().clear(); + getAny().addAll((Collection)newValue); + return; + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__MIXED: + getMixed().clear(); + return; + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__GROUP: + getGroup().clear(); + return; + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__ANY: + getAny().clear(); + return; + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__MIXED: + return mixed != null && !mixed.isEmpty(); + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__GROUP: + return !getGroup().isEmpty(); + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__ANY: + return !getAny().isEmpty(); + case FacesConfigPackage.RENDERER_EXTENSION_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (mixed: "); + result.append(mixed); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //RendererExtensionTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererTypeImpl.java new file mode 100644 index 000000000..3c2f44a1d --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererTypeImpl.java @@ -0,0 +1,621 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeType; +import org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.FacetType; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.RendererClassType; +import org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType; +import org.eclipse.jst.jsf.facesconfig.emf.RendererType; +import org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Renderer Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeImpl#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeImpl#getComponentFamily <em>Component Family</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeImpl#getRendererType <em>Renderer Type</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeImpl#getRendererClass <em>Renderer Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeImpl#getFacet <em>Facet</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeImpl#getAttribute <em>Attribute</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeImpl#getRendererExtension <em>Renderer Extension</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RendererTypeImpl extends EObjectImpl implements RendererType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected EList description = null; + + /** + * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected EList displayName = null; + + /** + * The cached value of the '{@link #getIcon() <em>Icon</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIcon() + * @generated + * @ordered + */ + protected EList icon = null; + + /** + * The cached value of the '{@link #getComponentFamily() <em>Component Family</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getComponentFamily() + * @generated + * @ordered + */ + protected ComponentFamilyType componentFamily = null; + + /** + * The cached value of the '{@link #getRendererType() <em>Renderer Type</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRendererType() + * @generated + * @ordered + */ + protected RendererTypeType rendererType = null; + + /** + * The cached value of the '{@link #getRendererClass() <em>Renderer Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRendererClass() + * @generated + * @ordered + */ + protected RendererClassType rendererClass = null; + + /** + * The cached value of the '{@link #getFacet() <em>Facet</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getFacet() + * @generated + * @ordered + */ + protected EList facet = null; + + /** + * The cached value of the '{@link #getAttribute() <em>Attribute</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAttribute() + * @generated + * @ordered + */ + protected EList attribute = null; + + /** + * The cached value of the '{@link #getRendererExtension() <em>Renderer Extension</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getRendererExtension() + * @generated + * @ordered + */ + protected EList rendererExtension = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RendererTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getRendererType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDescription() { + if (description == null) { + description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.RENDERER_TYPE__DESCRIPTION); + } + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDisplayName() { + if (displayName == null) { + displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.RENDERER_TYPE__DISPLAY_NAME); + } + return displayName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getIcon() { + if (icon == null) { + icon = new EObjectContainmentEList(IconType.class, this, FacesConfigPackage.RENDERER_TYPE__ICON); + } + return icon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ComponentFamilyType getComponentFamily() { + return componentFamily; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetComponentFamily(ComponentFamilyType newComponentFamily, NotificationChain msgs) { + ComponentFamilyType oldComponentFamily = componentFamily; + componentFamily = newComponentFamily; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDERER_TYPE__COMPONENT_FAMILY, oldComponentFamily, newComponentFamily); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setComponentFamily(ComponentFamilyType newComponentFamily) { + if (newComponentFamily != componentFamily) { + NotificationChain msgs = null; + if (componentFamily != null) + msgs = ((InternalEObject)componentFamily).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.RENDERER_TYPE__COMPONENT_FAMILY, null, msgs); + if (newComponentFamily != null) + msgs = ((InternalEObject)newComponentFamily).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.RENDERER_TYPE__COMPONENT_FAMILY, null, msgs); + msgs = basicSetComponentFamily(newComponentFamily, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDERER_TYPE__COMPONENT_FAMILY, newComponentFamily, newComponentFamily)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RendererTypeType getRendererType() { + return rendererType; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRendererType(RendererTypeType newRendererType, NotificationChain msgs) { + RendererTypeType oldRendererType = rendererType; + rendererType = newRendererType; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDERER_TYPE__RENDERER_TYPE, oldRendererType, newRendererType); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRendererType(RendererTypeType newRendererType) { + if (newRendererType != rendererType) { + NotificationChain msgs = null; + if (rendererType != null) + msgs = ((InternalEObject)rendererType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.RENDERER_TYPE__RENDERER_TYPE, null, msgs); + if (newRendererType != null) + msgs = ((InternalEObject)newRendererType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.RENDERER_TYPE__RENDERER_TYPE, null, msgs); + msgs = basicSetRendererType(newRendererType, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDERER_TYPE__RENDERER_TYPE, newRendererType, newRendererType)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RendererClassType getRendererClass() { + return rendererClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetRendererClass(RendererClassType newRendererClass, NotificationChain msgs) { + RendererClassType oldRendererClass = rendererClass; + rendererClass = newRendererClass; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDERER_TYPE__RENDERER_CLASS, oldRendererClass, newRendererClass); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setRendererClass(RendererClassType newRendererClass) { + if (newRendererClass != rendererClass) { + NotificationChain msgs = null; + if (rendererClass != null) + msgs = ((InternalEObject)rendererClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.RENDERER_TYPE__RENDERER_CLASS, null, msgs); + if (newRendererClass != null) + msgs = ((InternalEObject)newRendererClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.RENDERER_TYPE__RENDERER_CLASS, null, msgs); + msgs = basicSetRendererClass(newRendererClass, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDERER_TYPE__RENDERER_CLASS, newRendererClass, newRendererClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getFacet() { + if (facet == null) { + facet = new EObjectContainmentEList(FacetType.class, this, FacesConfigPackage.RENDERER_TYPE__FACET); + } + return facet; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getAttribute() { + if (attribute == null) { + attribute = new EObjectContainmentEList(AttributeType.class, this, FacesConfigPackage.RENDERER_TYPE__ATTRIBUTE); + } + return attribute; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getRendererExtension() { + if (rendererExtension == null) { + rendererExtension = new EObjectContainmentEList(RendererExtensionType.class, this, FacesConfigPackage.RENDERER_TYPE__RENDERER_EXTENSION); + } + return rendererExtension; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.RENDERER_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.RENDERER_TYPE__DESCRIPTION: + return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.RENDERER_TYPE__DISPLAY_NAME: + return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.RENDERER_TYPE__ICON: + return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.RENDERER_TYPE__COMPONENT_FAMILY: + return basicSetComponentFamily(null, msgs); + case FacesConfigPackage.RENDERER_TYPE__RENDERER_TYPE: + return basicSetRendererType(null, msgs); + case FacesConfigPackage.RENDERER_TYPE__RENDERER_CLASS: + return basicSetRendererClass(null, msgs); + case FacesConfigPackage.RENDERER_TYPE__FACET: + return ((InternalEList)getFacet()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.RENDERER_TYPE__ATTRIBUTE: + return ((InternalEList)getAttribute()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.RENDERER_TYPE__RENDERER_EXTENSION: + return ((InternalEList)getRendererExtension()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_TYPE__DESCRIPTION: + return getDescription(); + case FacesConfigPackage.RENDERER_TYPE__DISPLAY_NAME: + return getDisplayName(); + case FacesConfigPackage.RENDERER_TYPE__ICON: + return getIcon(); + case FacesConfigPackage.RENDERER_TYPE__COMPONENT_FAMILY: + return getComponentFamily(); + case FacesConfigPackage.RENDERER_TYPE__RENDERER_TYPE: + return getRendererType(); + case FacesConfigPackage.RENDERER_TYPE__RENDERER_CLASS: + return getRendererClass(); + case FacesConfigPackage.RENDERER_TYPE__FACET: + return getFacet(); + case FacesConfigPackage.RENDERER_TYPE__ATTRIBUTE: + return getAttribute(); + case FacesConfigPackage.RENDERER_TYPE__RENDERER_EXTENSION: + return getRendererExtension(); + case FacesConfigPackage.RENDERER_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_TYPE__DESCRIPTION: + getDescription().clear(); + getDescription().addAll((Collection)newValue); + return; + case FacesConfigPackage.RENDERER_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + getDisplayName().addAll((Collection)newValue); + return; + case FacesConfigPackage.RENDERER_TYPE__ICON: + getIcon().clear(); + getIcon().addAll((Collection)newValue); + return; + case FacesConfigPackage.RENDERER_TYPE__COMPONENT_FAMILY: + setComponentFamily((ComponentFamilyType)newValue); + return; + case FacesConfigPackage.RENDERER_TYPE__RENDERER_TYPE: + setRendererType((RendererTypeType)newValue); + return; + case FacesConfigPackage.RENDERER_TYPE__RENDERER_CLASS: + setRendererClass((RendererClassType)newValue); + return; + case FacesConfigPackage.RENDERER_TYPE__FACET: + getFacet().clear(); + getFacet().addAll((Collection)newValue); + return; + case FacesConfigPackage.RENDERER_TYPE__ATTRIBUTE: + getAttribute().clear(); + getAttribute().addAll((Collection)newValue); + return; + case FacesConfigPackage.RENDERER_TYPE__RENDERER_EXTENSION: + getRendererExtension().clear(); + getRendererExtension().addAll((Collection)newValue); + return; + case FacesConfigPackage.RENDERER_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_TYPE__DESCRIPTION: + getDescription().clear(); + return; + case FacesConfigPackage.RENDERER_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + return; + case FacesConfigPackage.RENDERER_TYPE__ICON: + getIcon().clear(); + return; + case FacesConfigPackage.RENDERER_TYPE__COMPONENT_FAMILY: + setComponentFamily((ComponentFamilyType)null); + return; + case FacesConfigPackage.RENDERER_TYPE__RENDERER_TYPE: + setRendererType((RendererTypeType)null); + return; + case FacesConfigPackage.RENDERER_TYPE__RENDERER_CLASS: + setRendererClass((RendererClassType)null); + return; + case FacesConfigPackage.RENDERER_TYPE__FACET: + getFacet().clear(); + return; + case FacesConfigPackage.RENDERER_TYPE__ATTRIBUTE: + getAttribute().clear(); + return; + case FacesConfigPackage.RENDERER_TYPE__RENDERER_EXTENSION: + getRendererExtension().clear(); + return; + case FacesConfigPackage.RENDERER_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_TYPE__DESCRIPTION: + return description != null && !description.isEmpty(); + case FacesConfigPackage.RENDERER_TYPE__DISPLAY_NAME: + return displayName != null && !displayName.isEmpty(); + case FacesConfigPackage.RENDERER_TYPE__ICON: + return icon != null && !icon.isEmpty(); + case FacesConfigPackage.RENDERER_TYPE__COMPONENT_FAMILY: + return componentFamily != null; + case FacesConfigPackage.RENDERER_TYPE__RENDERER_TYPE: + return rendererType != null; + case FacesConfigPackage.RENDERER_TYPE__RENDERER_CLASS: + return rendererClass != null; + case FacesConfigPackage.RENDERER_TYPE__FACET: + return facet != null && !facet.isEmpty(); + case FacesConfigPackage.RENDERER_TYPE__ATTRIBUTE: + return attribute != null && !attribute.isEmpty(); + case FacesConfigPackage.RENDERER_TYPE__RENDERER_EXTENSION: + return rendererExtension != null && !rendererExtension.isEmpty(); + case FacesConfigPackage.RENDERER_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //RendererTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererTypeTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererTypeTypeImpl.java new file mode 100644 index 000000000..7dca42e35 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererTypeTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Renderer Type Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RendererTypeTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RendererTypeTypeImpl extends EObjectImpl implements RendererTypeType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RendererTypeTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getRendererTypeType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RENDERER_TYPE_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.RENDERER_TYPE_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_TYPE_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.RENDERER_TYPE_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_TYPE_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.RENDERER_TYPE_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_TYPE_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.RENDERER_TYPE_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.RENDERER_TYPE_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.RENDERER_TYPE_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //RendererTypeTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SmallIconTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SmallIconTypeImpl.java new file mode 100644 index 000000000..401443439 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SmallIconTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.SmallIconType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Small Icon Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SmallIconTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SmallIconTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class SmallIconTypeImpl extends EObjectImpl implements SmallIconType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected SmallIconTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getSmallIconType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.SMALL_ICON_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.SMALL_ICON_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.SMALL_ICON_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.SMALL_ICON_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.SMALL_ICON_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.SMALL_ICON_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.SMALL_ICON_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.SMALL_ICON_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.SMALL_ICON_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.SMALL_ICON_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //SmallIconTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/StateManagerTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/StateManagerTypeImpl.java new file mode 100644 index 000000000..63e16d3d0 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/StateManagerTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.StateManagerType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>State Manager Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.StateManagerTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.StateManagerTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class StateManagerTypeImpl extends EObjectImpl implements StateManagerType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected StateManagerTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getStateManagerType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.STATE_MANAGER_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.STATE_MANAGER_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.STATE_MANAGER_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.STATE_MANAGER_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.STATE_MANAGER_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.STATE_MANAGER_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.STATE_MANAGER_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.STATE_MANAGER_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.STATE_MANAGER_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.STATE_MANAGER_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //StateManagerTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SuggestedValueTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SuggestedValueTypeImpl.java new file mode 100644 index 000000000..1820a3923 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SuggestedValueTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Suggested Value Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SuggestedValueTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SuggestedValueTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class SuggestedValueTypeImpl extends EObjectImpl implements SuggestedValueType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected SuggestedValueTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getSuggestedValueType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.SUGGESTED_VALUE_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.SUGGESTED_VALUE_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.SUGGESTED_VALUE_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.SUGGESTED_VALUE_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.SUGGESTED_VALUE_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.SUGGESTED_VALUE_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.SUGGESTED_VALUE_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.SUGGESTED_VALUE_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.SUGGESTED_VALUE_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.SUGGESTED_VALUE_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //SuggestedValueTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SupportedLocaleTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SupportedLocaleTypeImpl.java new file mode 100644 index 000000000..2729c1ff1 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SupportedLocaleTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Supported Locale Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SupportedLocaleTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SupportedLocaleTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class SupportedLocaleTypeImpl extends EObjectImpl implements SupportedLocaleType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected SupportedLocaleTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getSupportedLocaleType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.SUPPORTED_LOCALE_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.SUPPORTED_LOCALE_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.SUPPORTED_LOCALE_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.SUPPORTED_LOCALE_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.SUPPORTED_LOCALE_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.SUPPORTED_LOCALE_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.SUPPORTED_LOCALE_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.SUPPORTED_LOCALE_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.SUPPORTED_LOCALE_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.SUPPORTED_LOCALE_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //SupportedLocaleTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ToViewIdTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ToViewIdTypeImpl.java new file mode 100644 index 000000000..43d9c38d5 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ToViewIdTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>To View Id Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ToViewIdTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ToViewIdTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ToViewIdTypeImpl extends EObjectImpl implements ToViewIdType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ToViewIdTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getToViewIdType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.TO_VIEW_ID_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.TO_VIEW_ID_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.TO_VIEW_ID_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.TO_VIEW_ID_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.TO_VIEW_ID_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.TO_VIEW_ID_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.TO_VIEW_ID_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.TO_VIEW_ID_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.TO_VIEW_ID_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.TO_VIEW_ID_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ToViewIdTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorClassTypeImpl.java new file mode 100644 index 000000000..f011bc67f --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorClassTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Validator Class Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorClassTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorClassTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ValidatorClassTypeImpl extends EObjectImpl implements ValidatorClassType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ValidatorClassTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getValidatorClassType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.VALIDATOR_CLASS_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.VALIDATOR_CLASS_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALIDATOR_CLASS_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.VALIDATOR_CLASS_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALIDATOR_CLASS_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.VALIDATOR_CLASS_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALIDATOR_CLASS_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.VALIDATOR_CLASS_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALIDATOR_CLASS_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.VALIDATOR_CLASS_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ValidatorClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorIdTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorIdTypeImpl.java new file mode 100644 index 000000000..38cbc993f --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorIdTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Validator Id Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorIdTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorIdTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ValidatorIdTypeImpl extends EObjectImpl implements ValidatorIdType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ValidatorIdTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getValidatorIdType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.VALIDATOR_ID_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.VALIDATOR_ID_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALIDATOR_ID_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.VALIDATOR_ID_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALIDATOR_ID_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.VALIDATOR_ID_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALIDATOR_ID_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.VALIDATOR_ID_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALIDATOR_ID_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.VALIDATOR_ID_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ValidatorIdTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorTypeImpl.java new file mode 100644 index 000000000..4f99839cc --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorTypeImpl.java @@ -0,0 +1,517 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.jst.jsf.facesconfig.emf.AttributeType; +import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType; +import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.IconType; +import org.eclipse.jst.jsf.facesconfig.emf.PropertyType; +import org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType; +import org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType; +import org.eclipse.jst.jsf.facesconfig.emf.ValidatorType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Validator Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorTypeImpl#getDescription <em>Description</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorTypeImpl#getDisplayName <em>Display Name</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorTypeImpl#getIcon <em>Icon</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorTypeImpl#getValidatorId <em>Validator Id</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorTypeImpl#getValidatorClass <em>Validator Class</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorTypeImpl#getAttribute <em>Attribute</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorTypeImpl#getProperty <em>Property</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValidatorTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ValidatorTypeImpl extends EObjectImpl implements ValidatorType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached value of the '{@link #getDescription() <em>Description</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDescription() + * @generated + * @ordered + */ + protected EList description = null; + + /** + * The cached value of the '{@link #getDisplayName() <em>Display Name</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getDisplayName() + * @generated + * @ordered + */ + protected EList displayName = null; + + /** + * The cached value of the '{@link #getIcon() <em>Icon</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getIcon() + * @generated + * @ordered + */ + protected EList icon = null; + + /** + * The cached value of the '{@link #getValidatorId() <em>Validator Id</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValidatorId() + * @generated + * @ordered + */ + protected ValidatorIdType validatorId = null; + + /** + * The cached value of the '{@link #getValidatorClass() <em>Validator Class</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getValidatorClass() + * @generated + * @ordered + */ + protected ValidatorClassType validatorClass = null; + + /** + * The cached value of the '{@link #getAttribute() <em>Attribute</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getAttribute() + * @generated + * @ordered + */ + protected EList attribute = null; + + /** + * The cached value of the '{@link #getProperty() <em>Property</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getProperty() + * @generated + * @ordered + */ + protected EList property = null; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ValidatorTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getValidatorType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDescription() { + if (description == null) { + description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.VALIDATOR_TYPE__DESCRIPTION); + } + return description; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getDisplayName() { + if (displayName == null) { + displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.VALIDATOR_TYPE__DISPLAY_NAME); + } + return displayName; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getIcon() { + if (icon == null) { + icon = new EObjectContainmentEList(IconType.class, this, FacesConfigPackage.VALIDATOR_TYPE__ICON); + } + return icon; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValidatorIdType getValidatorId() { + return validatorId; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetValidatorId(ValidatorIdType newValidatorId, NotificationChain msgs) { + ValidatorIdType oldValidatorId = validatorId; + validatorId = newValidatorId; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_ID, oldValidatorId, newValidatorId); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValidatorId(ValidatorIdType newValidatorId) { + if (newValidatorId != validatorId) { + NotificationChain msgs = null; + if (validatorId != null) + msgs = ((InternalEObject)validatorId).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_ID, null, msgs); + if (newValidatorId != null) + msgs = ((InternalEObject)newValidatorId).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_ID, null, msgs); + msgs = basicSetValidatorId(newValidatorId, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_ID, newValidatorId, newValidatorId)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ValidatorClassType getValidatorClass() { + return validatorClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetValidatorClass(ValidatorClassType newValidatorClass, NotificationChain msgs) { + ValidatorClassType oldValidatorClass = validatorClass; + validatorClass = newValidatorClass; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_CLASS, oldValidatorClass, newValidatorClass); + if (msgs == null) msgs = notification; else msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setValidatorClass(ValidatorClassType newValidatorClass) { + if (newValidatorClass != validatorClass) { + NotificationChain msgs = null; + if (validatorClass != null) + msgs = ((InternalEObject)validatorClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_CLASS, null, msgs); + if (newValidatorClass != null) + msgs = ((InternalEObject)newValidatorClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_CLASS, null, msgs); + msgs = basicSetValidatorClass(newValidatorClass, msgs); + if (msgs != null) msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_CLASS, newValidatorClass, newValidatorClass)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getAttribute() { + if (attribute == null) { + attribute = new EObjectContainmentEList(AttributeType.class, this, FacesConfigPackage.VALIDATOR_TYPE__ATTRIBUTE); + } + return attribute; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList getProperty() { + if (property == null) { + property = new EObjectContainmentEList(PropertyType.class, this, FacesConfigPackage.VALIDATOR_TYPE__PROPERTY); + } + return property; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.VALIDATOR_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs) { + if (featureID >= 0) { + switch (eDerivedStructuralFeatureID(featureID, baseClass)) { + case FacesConfigPackage.VALIDATOR_TYPE__DESCRIPTION: + return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.VALIDATOR_TYPE__DISPLAY_NAME: + return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.VALIDATOR_TYPE__ICON: + return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_ID: + return basicSetValidatorId(null, msgs); + case FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_CLASS: + return basicSetValidatorClass(null, msgs); + case FacesConfigPackage.VALIDATOR_TYPE__ATTRIBUTE: + return ((InternalEList)getAttribute()).basicRemove(otherEnd, msgs); + case FacesConfigPackage.VALIDATOR_TYPE__PROPERTY: + return ((InternalEList)getProperty()).basicRemove(otherEnd, msgs); + default: + return eDynamicInverseRemove(otherEnd, featureID, baseClass, msgs); + } + } + return eBasicSetContainer(null, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALIDATOR_TYPE__DESCRIPTION: + return getDescription(); + case FacesConfigPackage.VALIDATOR_TYPE__DISPLAY_NAME: + return getDisplayName(); + case FacesConfigPackage.VALIDATOR_TYPE__ICON: + return getIcon(); + case FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_ID: + return getValidatorId(); + case FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_CLASS: + return getValidatorClass(); + case FacesConfigPackage.VALIDATOR_TYPE__ATTRIBUTE: + return getAttribute(); + case FacesConfigPackage.VALIDATOR_TYPE__PROPERTY: + return getProperty(); + case FacesConfigPackage.VALIDATOR_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALIDATOR_TYPE__DESCRIPTION: + getDescription().clear(); + getDescription().addAll((Collection)newValue); + return; + case FacesConfigPackage.VALIDATOR_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + getDisplayName().addAll((Collection)newValue); + return; + case FacesConfigPackage.VALIDATOR_TYPE__ICON: + getIcon().clear(); + getIcon().addAll((Collection)newValue); + return; + case FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_ID: + setValidatorId((ValidatorIdType)newValue); + return; + case FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_CLASS: + setValidatorClass((ValidatorClassType)newValue); + return; + case FacesConfigPackage.VALIDATOR_TYPE__ATTRIBUTE: + getAttribute().clear(); + getAttribute().addAll((Collection)newValue); + return; + case FacesConfigPackage.VALIDATOR_TYPE__PROPERTY: + getProperty().clear(); + getProperty().addAll((Collection)newValue); + return; + case FacesConfigPackage.VALIDATOR_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALIDATOR_TYPE__DESCRIPTION: + getDescription().clear(); + return; + case FacesConfigPackage.VALIDATOR_TYPE__DISPLAY_NAME: + getDisplayName().clear(); + return; + case FacesConfigPackage.VALIDATOR_TYPE__ICON: + getIcon().clear(); + return; + case FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_ID: + setValidatorId((ValidatorIdType)null); + return; + case FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_CLASS: + setValidatorClass((ValidatorClassType)null); + return; + case FacesConfigPackage.VALIDATOR_TYPE__ATTRIBUTE: + getAttribute().clear(); + return; + case FacesConfigPackage.VALIDATOR_TYPE__PROPERTY: + getProperty().clear(); + return; + case FacesConfigPackage.VALIDATOR_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALIDATOR_TYPE__DESCRIPTION: + return description != null && !description.isEmpty(); + case FacesConfigPackage.VALIDATOR_TYPE__DISPLAY_NAME: + return displayName != null && !displayName.isEmpty(); + case FacesConfigPackage.VALIDATOR_TYPE__ICON: + return icon != null && !icon.isEmpty(); + case FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_ID: + return validatorId != null; + case FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_CLASS: + return validatorClass != null; + case FacesConfigPackage.VALIDATOR_TYPE__ATTRIBUTE: + return attribute != null && !attribute.isEmpty(); + case FacesConfigPackage.VALIDATOR_TYPE__PROPERTY: + return property != null && !property.isEmpty(); + case FacesConfigPackage.VALIDATOR_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ValidatorTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValueClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValueClassTypeImpl.java new file mode 100644 index 000000000..d5141f04f --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValueClassTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.ValueClassType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Value Class Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValueClassTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValueClassTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ValueClassTypeImpl extends EObjectImpl implements ValueClassType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ValueClassTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getValueClassType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.VALUE_CLASS_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.VALUE_CLASS_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALUE_CLASS_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.VALUE_CLASS_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALUE_CLASS_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.VALUE_CLASS_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALUE_CLASS_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.VALUE_CLASS_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALUE_CLASS_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.VALUE_CLASS_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ValueClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValueTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValueTypeImpl.java new file mode 100644 index 000000000..3ba3c86f3 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValueTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.ValueType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Value Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValueTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ValueTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ValueTypeImpl extends EObjectImpl implements ValueType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ValueTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getValueType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.VALUE_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.VALUE_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALUE_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.VALUE_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALUE_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.VALUE_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALUE_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.VALUE_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VALUE_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.VALUE_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ValueTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/VariableResolverTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/VariableResolverTypeImpl.java new file mode 100644 index 000000000..8a4f89495 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/VariableResolverTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Variable Resolver Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.VariableResolverTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.VariableResolverTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class VariableResolverTypeImpl extends EObjectImpl implements VariableResolverType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected VariableResolverTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getVariableResolverType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.VARIABLE_RESOLVER_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.VARIABLE_RESOLVER_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VARIABLE_RESOLVER_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.VARIABLE_RESOLVER_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VARIABLE_RESOLVER_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.VARIABLE_RESOLVER_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VARIABLE_RESOLVER_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.VARIABLE_RESOLVER_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VARIABLE_RESOLVER_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.VARIABLE_RESOLVER_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //VariableResolverTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ViewHandlerTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ViewHandlerTypeImpl.java new file mode 100644 index 000000000..613fcc3f3 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ViewHandlerTypeImpl.java @@ -0,0 +1,228 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.impl; + +import org.eclipse.emf.common.notify.Notification; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EStructuralFeature; + +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType; + + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>View Handler Type</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ViewHandlerTypeImpl#getTextContent <em>Text Content</em>}</li> + * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ViewHandlerTypeImpl#getId <em>Id</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ViewHandlerTypeImpl extends EObjectImpl implements ViewHandlerType { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The default value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected static final String TEXT_CONTENT_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTextContent() <em>Text Content</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTextContent() + * @generated + * @ordered + */ + protected String textContent = TEXT_CONTENT_EDEFAULT; + + /** + * The default value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected static final String ID_EDEFAULT = null; + + /** + * The cached value of the '{@link #getId() <em>Id</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getId() + * @generated + * @ordered + */ + protected String id = ID_EDEFAULT; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ViewHandlerTypeImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected EClass eStaticClass() { + return FacesConfigPackage.eINSTANCE.getViewHandlerType(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTextContent() { + return textContent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTextContent(String newTextContent) { + String oldTextContent = textContent; + textContent = newTextContent; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.VIEW_HANDLER_TYPE__TEXT_CONTENT, oldTextContent, textContent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getId() { + return id; + } + + /** + * <!-- 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, FacesConfigPackage.VIEW_HANDLER_TYPE__ID, oldId, id)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Object eGet(EStructuralFeature eFeature, boolean resolve) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VIEW_HANDLER_TYPE__TEXT_CONTENT: + return getTextContent(); + case FacesConfigPackage.VIEW_HANDLER_TYPE__ID: + return getId(); + } + return eDynamicGet(eFeature, resolve); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eSet(EStructuralFeature eFeature, Object newValue) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VIEW_HANDLER_TYPE__TEXT_CONTENT: + setTextContent((String)newValue); + return; + case FacesConfigPackage.VIEW_HANDLER_TYPE__ID: + setId((String)newValue); + return; + } + eDynamicSet(eFeature, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void eUnset(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VIEW_HANDLER_TYPE__TEXT_CONTENT: + setTextContent(TEXT_CONTENT_EDEFAULT); + return; + case FacesConfigPackage.VIEW_HANDLER_TYPE__ID: + setId(ID_EDEFAULT); + return; + } + eDynamicUnset(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public boolean eIsSet(EStructuralFeature eFeature) { + switch (eDerivedStructuralFeatureID(eFeature)) { + case FacesConfigPackage.VIEW_HANDLER_TYPE__TEXT_CONTENT: + return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); + case FacesConfigPackage.VIEW_HANDLER_TYPE__ID: + return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); + } + return eDynamicIsSet(eFeature); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String toString() { + if (eIsProxy()) return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (textContent: "); + result.append(textContent); + result.append(", id: "); + result.append(id); + result.append(')'); + return result.toString(); + } + +} //ViewHandlerTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/util/FacesConfigAdapterFactory.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/util/FacesConfigAdapterFactory.java new file mode 100644 index 000000000..fc2bce15f --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/util/FacesConfigAdapterFactory.java @@ -0,0 +1,1492 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.util; + +import org.eclipse.emf.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; + +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.jst.jsf.facesconfig.emf.*; + + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage + * @generated + */ +public class FacesConfigAdapterFactory extends AdapterFactoryImpl { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static FacesConfigPackage modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacesConfigAdapterFactory() { + if (modelPackage == null) { + modelPackage = FacesConfigPackage.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + public boolean isFactoryForType(Object object) { + if (object == modelPackage) { + return true; + } + if (object instanceof EObject) { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch the delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected FacesConfigSwitch modelSwitch = + new FacesConfigSwitch() { + public Object caseActionListenerType(ActionListenerType object) { + return createActionListenerTypeAdapter(); + } + public Object caseApplicationFactoryType(ApplicationFactoryType object) { + return createApplicationFactoryTypeAdapter(); + } + public Object caseApplicationType(ApplicationType object) { + return createApplicationTypeAdapter(); + } + public Object caseAttributeClassType(AttributeClassType object) { + return createAttributeClassTypeAdapter(); + } + public Object caseAttributeExtensionType(AttributeExtensionType object) { + return createAttributeExtensionTypeAdapter(); + } + public Object caseAttributeNameType(AttributeNameType object) { + return createAttributeNameTypeAdapter(); + } + public Object caseAttributeType(AttributeType object) { + return createAttributeTypeAdapter(); + } + public Object caseComponentClassType(ComponentClassType object) { + return createComponentClassTypeAdapter(); + } + public Object caseComponentExtensionType(ComponentExtensionType object) { + return createComponentExtensionTypeAdapter(); + } + public Object caseComponentFamilyType(ComponentFamilyType object) { + return createComponentFamilyTypeAdapter(); + } + public Object caseComponentType(ComponentType object) { + return createComponentTypeAdapter(); + } + public Object caseComponentTypeType(ComponentTypeType object) { + return createComponentTypeTypeAdapter(); + } + public Object caseConverterClassType(ConverterClassType object) { + return createConverterClassTypeAdapter(); + } + public Object caseConverterForClassType(ConverterForClassType object) { + return createConverterForClassTypeAdapter(); + } + public Object caseConverterIdType(ConverterIdType object) { + return createConverterIdTypeAdapter(); + } + public Object caseConverterType(ConverterType object) { + return createConverterTypeAdapter(); + } + public Object caseDefaultLocaleType(DefaultLocaleType object) { + return createDefaultLocaleTypeAdapter(); + } + public Object caseDefaultRenderKitIdType(DefaultRenderKitIdType object) { + return createDefaultRenderKitIdTypeAdapter(); + } + public Object caseDefaultValueType(DefaultValueType object) { + return createDefaultValueTypeAdapter(); + } + public Object caseDescriptionType(DescriptionType object) { + return createDescriptionTypeAdapter(); + } + public Object caseDisplayNameType(DisplayNameType object) { + return createDisplayNameTypeAdapter(); + } + public Object caseDocumentRoot(DocumentRoot object) { + return createDocumentRootAdapter(); + } + public Object caseFacesConfigType(FacesConfigType object) { + return createFacesConfigTypeAdapter(); + } + public Object caseFacesContextFactoryType(FacesContextFactoryType object) { + return createFacesContextFactoryTypeAdapter(); + } + public Object caseFacetExtensionType(FacetExtensionType object) { + return createFacetExtensionTypeAdapter(); + } + public Object caseFacetNameType(FacetNameType object) { + return createFacetNameTypeAdapter(); + } + public Object caseFacetType(FacetType object) { + return createFacetTypeAdapter(); + } + public Object caseFactoryType(FactoryType object) { + return createFactoryTypeAdapter(); + } + public Object caseFromActionType(FromActionType object) { + return createFromActionTypeAdapter(); + } + public Object caseFromOutcomeType(FromOutcomeType object) { + return createFromOutcomeTypeAdapter(); + } + public Object caseFromViewIdType(FromViewIdType object) { + return createFromViewIdTypeAdapter(); + } + public Object caseIconType(IconType object) { + return createIconTypeAdapter(); + } + public Object caseKeyClassType(KeyClassType object) { + return createKeyClassTypeAdapter(); + } + public Object caseKeyType(KeyType object) { + return createKeyTypeAdapter(); + } + public Object caseLargeIconType(LargeIconType object) { + return createLargeIconTypeAdapter(); + } + public Object caseLifecycleFactoryType(LifecycleFactoryType object) { + return createLifecycleFactoryTypeAdapter(); + } + public Object caseLifecycleType(LifecycleType object) { + return createLifecycleTypeAdapter(); + } + public Object caseListEntriesType(ListEntriesType object) { + return createListEntriesTypeAdapter(); + } + public Object caseLocaleConfigType(LocaleConfigType object) { + return createLocaleConfigTypeAdapter(); + } + public Object caseManagedBeanClassType(ManagedBeanClassType object) { + return createManagedBeanClassTypeAdapter(); + } + public Object caseManagedBeanNameType(ManagedBeanNameType object) { + return createManagedBeanNameTypeAdapter(); + } + public Object caseManagedBeanScopeType(ManagedBeanScopeType object) { + return createManagedBeanScopeTypeAdapter(); + } + public Object caseManagedBeanType(ManagedBeanType object) { + return createManagedBeanTypeAdapter(); + } + public Object caseManagedPropertyType(ManagedPropertyType object) { + return createManagedPropertyTypeAdapter(); + } + public Object caseMapEntriesType(MapEntriesType object) { + return createMapEntriesTypeAdapter(); + } + public Object caseMapEntryType(MapEntryType object) { + return createMapEntryTypeAdapter(); + } + public Object caseMessageBundleType(MessageBundleType object) { + return createMessageBundleTypeAdapter(); + } + public Object caseNavigationCaseType(NavigationCaseType object) { + return createNavigationCaseTypeAdapter(); + } + public Object caseNavigationHandlerType(NavigationHandlerType object) { + return createNavigationHandlerTypeAdapter(); + } + public Object caseNavigationRuleType(NavigationRuleType object) { + return createNavigationRuleTypeAdapter(); + } + public Object caseNullValueType(NullValueType object) { + return createNullValueTypeAdapter(); + } + public Object casePhaseListenerType(PhaseListenerType object) { + return createPhaseListenerTypeAdapter(); + } + public Object casePropertyClassType(PropertyClassType object) { + return createPropertyClassTypeAdapter(); + } + public Object casePropertyExtensionType(PropertyExtensionType object) { + return createPropertyExtensionTypeAdapter(); + } + public Object casePropertyNameType(PropertyNameType object) { + return createPropertyNameTypeAdapter(); + } + public Object casePropertyResolverType(PropertyResolverType object) { + return createPropertyResolverTypeAdapter(); + } + public Object casePropertyType(PropertyType object) { + return createPropertyTypeAdapter(); + } + public Object caseRedirectType(RedirectType object) { + return createRedirectTypeAdapter(); + } + public Object caseReferencedBeanClassType(ReferencedBeanClassType object) { + return createReferencedBeanClassTypeAdapter(); + } + public Object caseReferencedBeanNameType(ReferencedBeanNameType object) { + return createReferencedBeanNameTypeAdapter(); + } + public Object caseReferencedBeanType(ReferencedBeanType object) { + return createReferencedBeanTypeAdapter(); + } + public Object caseRendererClassType(RendererClassType object) { + return createRendererClassTypeAdapter(); + } + public Object caseRendererExtensionType(RendererExtensionType object) { + return createRendererExtensionTypeAdapter(); + } + public Object caseRendererType(RendererType object) { + return createRendererTypeAdapter(); + } + public Object caseRendererTypeType(RendererTypeType object) { + return createRendererTypeTypeAdapter(); + } + public Object caseRenderKitClassType(RenderKitClassType object) { + return createRenderKitClassTypeAdapter(); + } + public Object caseRenderKitFactoryType(RenderKitFactoryType object) { + return createRenderKitFactoryTypeAdapter(); + } + public Object caseRenderKitIdType(RenderKitIdType object) { + return createRenderKitIdTypeAdapter(); + } + public Object caseRenderKitType(RenderKitType object) { + return createRenderKitTypeAdapter(); + } + public Object caseSmallIconType(SmallIconType object) { + return createSmallIconTypeAdapter(); + } + public Object caseStateManagerType(StateManagerType object) { + return createStateManagerTypeAdapter(); + } + public Object caseSuggestedValueType(SuggestedValueType object) { + return createSuggestedValueTypeAdapter(); + } + public Object caseSupportedLocaleType(SupportedLocaleType object) { + return createSupportedLocaleTypeAdapter(); + } + public Object caseToViewIdType(ToViewIdType object) { + return createToViewIdTypeAdapter(); + } + public Object caseValidatorClassType(ValidatorClassType object) { + return createValidatorClassTypeAdapter(); + } + public Object caseValidatorIdType(ValidatorIdType object) { + return createValidatorIdTypeAdapter(); + } + public Object caseValidatorType(ValidatorType object) { + return createValidatorTypeAdapter(); + } + public Object caseValueClassType(ValueClassType object) { + return createValueClassTypeAdapter(); + } + public Object caseValueType(ValueType object) { + return createValueTypeAdapter(); + } + public Object caseVariableResolverType(VariableResolverType object) { + return createVariableResolverTypeAdapter(); + } + public Object caseViewHandlerType(ViewHandlerType object) { + return createViewHandlerTypeAdapter(); + } + public Object defaultCase(EObject object) { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + public Adapter createAdapter(Notifier target) { + return (Adapter)modelSwitch.doSwitch((EObject)target); + } + + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType <em>Action Listener Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType + * @generated + */ + public Adapter createActionListenerTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType <em>Application Factory Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType + * @generated + */ + public Adapter createApplicationFactoryTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ApplicationType <em>Application Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ApplicationType + * @generated + */ + public Adapter createApplicationTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType <em>Attribute Class Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType + * @generated + */ + public Adapter createAttributeClassTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType <em>Attribute Extension Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType + * @generated + */ + public Adapter createAttributeExtensionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType <em>Attribute Name Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType + * @generated + */ + public Adapter createAttributeNameTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.AttributeType <em>Attribute Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.AttributeType + * @generated + */ + public Adapter createAttributeTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType <em>Component Class Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType + * @generated + */ + public Adapter createComponentClassTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType <em>Component Extension Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType + * @generated + */ + public Adapter createComponentExtensionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType <em>Component Family Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType + * @generated + */ + public Adapter createComponentFamilyTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType <em>Component Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentType + * @generated + */ + public Adapter createComponentTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType <em>Component Type Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType + * @generated + */ + public Adapter createComponentTypeTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType <em>Converter Class Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType + * @generated + */ + public Adapter createConverterClassTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType <em>Converter For Class Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType + * @generated + */ + public Adapter createConverterForClassTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType <em>Converter Id Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType + * @generated + */ + public Adapter createConverterIdTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType <em>Converter Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ConverterType + * @generated + */ + public Adapter createConverterTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType <em>Default Locale Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType + * @generated + */ + public Adapter createDefaultLocaleTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType <em>Default Render Kit Id Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType + * @generated + */ + public Adapter createDefaultRenderKitIdTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType <em>Default Value Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType + * @generated + */ + public Adapter createDefaultValueTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.DescriptionType <em>Description Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.DescriptionType + * @generated + */ + public Adapter createDescriptionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType <em>Display Name Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType + * @generated + */ + public Adapter createDisplayNameTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot <em>Document Root</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot + * @generated + */ + public Adapter createDocumentRootAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType <em>Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType + * @generated + */ + public Adapter createFacesConfigTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType <em>Faces Context Factory Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType + * @generated + */ + public Adapter createFacesContextFactoryTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType <em>Facet Extension Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetExtensionType + * @generated + */ + public Adapter createFacetExtensionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetNameType <em>Facet Name Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetNameType + * @generated + */ + public Adapter createFacetNameTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.FacetType <em>Facet Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.FacetType + * @generated + */ + public Adapter createFacetTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.FactoryType <em>Factory Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.FactoryType + * @generated + */ + public Adapter createFactoryTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.FromActionType <em>From Action Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.FromActionType + * @generated + */ + public Adapter createFromActionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType <em>From Outcome Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.FromOutcomeType + * @generated + */ + public Adapter createFromOutcomeTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType <em>From View Id Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.FromViewIdType + * @generated + */ + public Adapter createFromViewIdTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.IconType <em>Icon Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.IconType + * @generated + */ + public Adapter createIconTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.KeyClassType <em>Key Class Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.KeyClassType + * @generated + */ + public Adapter createKeyClassTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.KeyType <em>Key Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.KeyType + * @generated + */ + public Adapter createKeyTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.LargeIconType <em>Large Icon Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.LargeIconType + * @generated + */ + public Adapter createLargeIconTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType <em>Lifecycle Factory Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType + * @generated + */ + public Adapter createLifecycleFactoryTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.LifecycleType <em>Lifecycle Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.LifecycleType + * @generated + */ + public Adapter createLifecycleTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType <em>List Entries Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ListEntriesType + * @generated + */ + public Adapter createListEntriesTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType <em>Locale Config Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.LocaleConfigType + * @generated + */ + public Adapter createLocaleConfigTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType <em>Managed Bean Class Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanClassType + * @generated + */ + public Adapter createManagedBeanClassTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType <em>Managed Bean Name Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanNameType + * @generated + */ + public Adapter createManagedBeanNameTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType <em>Managed Bean Scope Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanScopeType + * @generated + */ + public Adapter createManagedBeanScopeTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType <em>Managed Bean Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanType + * @generated + */ + public Adapter createManagedBeanTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType <em>Managed Property Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ManagedPropertyType + * @generated + */ + public Adapter createManagedPropertyTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType <em>Map Entries Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.MapEntriesType + * @generated + */ + public Adapter createMapEntriesTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.MapEntryType <em>Map Entry Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.MapEntryType + * @generated + */ + public Adapter createMapEntryTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType <em>Message Bundle Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.MessageBundleType + * @generated + */ + public Adapter createMessageBundleTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType <em>Navigation Case Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationCaseType + * @generated + */ + public Adapter createNavigationCaseTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType <em>Navigation Handler Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationHandlerType + * @generated + */ + public Adapter createNavigationHandlerTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType <em>Navigation Rule Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType + * @generated + */ + public Adapter createNavigationRuleTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.NullValueType <em>Null Value Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.NullValueType + * @generated + */ + public Adapter createNullValueTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType <em>Phase Listener Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.PhaseListenerType + * @generated + */ + public Adapter createPhaseListenerTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType <em>Property Class Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyClassType + * @generated + */ + public Adapter createPropertyClassTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType <em>Property Extension Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyExtensionType + * @generated + */ + public Adapter createPropertyExtensionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType <em>Property Name Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyNameType + * @generated + */ + public Adapter createPropertyNameTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType <em>Property Resolver Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyResolverType + * @generated + */ + public Adapter createPropertyResolverTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.PropertyType <em>Property Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.PropertyType + * @generated + */ + public Adapter createPropertyTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.RedirectType <em>Redirect Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.RedirectType + * @generated + */ + public Adapter createRedirectTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType <em>Referenced Bean Class Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanClassType + * @generated + */ + public Adapter createReferencedBeanClassTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType <em>Referenced Bean Name Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanNameType + * @generated + */ + public Adapter createReferencedBeanNameTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType <em>Referenced Bean Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ReferencedBeanType + * @generated + */ + public Adapter createReferencedBeanTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererClassType <em>Renderer Class Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererClassType + * @generated + */ + public Adapter createRendererClassTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType <em>Renderer Extension Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererExtensionType + * @generated + */ + public Adapter createRendererExtensionTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererType <em>Renderer Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererType + * @generated + */ + public Adapter createRendererTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType <em>Renderer Type Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.RendererTypeType + * @generated + */ + public Adapter createRendererTypeTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType <em>Render Kit Class Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitClassType + * @generated + */ + public Adapter createRenderKitClassTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType <em>Render Kit Factory Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType + * @generated + */ + public Adapter createRenderKitFactoryTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType <em>Render Kit Id Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitIdType + * @generated + */ + public Adapter createRenderKitIdTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.RenderKitType <em>Render Kit Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.RenderKitType + * @generated + */ + public Adapter createRenderKitTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.SmallIconType <em>Small Icon Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.SmallIconType + * @generated + */ + public Adapter createSmallIconTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.StateManagerType <em>State Manager Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.StateManagerType + * @generated + */ + public Adapter createStateManagerTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType <em>Suggested Value Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.SuggestedValueType + * @generated + */ + public Adapter createSuggestedValueTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType <em>Supported Locale Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.SupportedLocaleType + * @generated + */ + public Adapter createSupportedLocaleTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType <em>To View Id Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ToViewIdType + * @generated + */ + public Adapter createToViewIdTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType <em>Validator Class Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorClassType + * @generated + */ + public Adapter createValidatorClassTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType <em>Validator Id Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorIdType + * @generated + */ + public Adapter createValidatorIdTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ValidatorType <em>Validator Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValidatorType + * @generated + */ + public Adapter createValidatorTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ValueClassType <em>Value Class Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValueClassType + * @generated + */ + public Adapter createValueClassTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ValueType <em>Value Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ValueType + * @generated + */ + public Adapter createValueTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType <em>Variable Resolver Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.VariableResolverType + * @generated + */ + public Adapter createVariableResolverTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType <em>View Handler Type</em>}'. + * <!-- begin-user-doc --> + * This default implementation returns null so that we can easily ignore cases; + * it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.jst.jsf.facesconfig.emf.ViewHandlerType + * @generated + */ + public Adapter createViewHandlerTypeAdapter() { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() { + return null; + } + +} //FacesConfigAdapterFactory diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/util/FacesConfigSwitch.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/util/FacesConfigSwitch.java new file mode 100644 index 000000000..b885f5216 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/util/FacesConfigSwitch.java @@ -0,0 +1,1822 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - revision + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.emf.util; + +import java.util.List; + +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.jst.jsf.facesconfig.emf.*; + + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage + * @generated + */ +public class FacesConfigSwitch { + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; + + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static FacesConfigPackage modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public FacesConfigSwitch() { + if (modelPackage == null) { + modelPackage = FacesConfigPackage.eINSTANCE; + } + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + public Object doSwitch(EObject theEObject) { + return doSwitch(theEObject.eClass(), theEObject); + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + protected Object doSwitch(EClass theEClass, EObject theEObject) { + if (theEClass.eContainer() == modelPackage) { + return doSwitch(theEClass.getClassifierID(), theEObject); + } + else { + List eSuperTypes = theEClass.getESuperTypes(); + return + eSuperTypes.isEmpty() ? + defaultCase(theEObject) : + doSwitch((EClass)eSuperTypes.get(0), theEObject); + } + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + protected Object doSwitch(int classifierID, EObject theEObject) { + switch (classifierID) { + case FacesConfigPackage.ACTION_LISTENER_TYPE: { + ActionListenerType actionListenerType = (ActionListenerType)theEObject; + Object result = caseActionListenerType(actionListenerType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.APPLICATION_FACTORY_TYPE: { + ApplicationFactoryType applicationFactoryType = (ApplicationFactoryType)theEObject; + Object result = caseApplicationFactoryType(applicationFactoryType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.APPLICATION_TYPE: { + ApplicationType applicationType = (ApplicationType)theEObject; + Object result = caseApplicationType(applicationType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE: { + AttributeClassType attributeClassType = (AttributeClassType)theEObject; + Object result = caseAttributeClassType(attributeClassType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.ATTRIBUTE_EXTENSION_TYPE: { + AttributeExtensionType attributeExtensionType = (AttributeExtensionType)theEObject; + Object result = caseAttributeExtensionType(attributeExtensionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.ATTRIBUTE_NAME_TYPE: { + AttributeNameType attributeNameType = (AttributeNameType)theEObject; + Object result = caseAttributeNameType(attributeNameType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.ATTRIBUTE_TYPE: { + AttributeType attributeType = (AttributeType)theEObject; + Object result = caseAttributeType(attributeType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.COMPONENT_CLASS_TYPE: { + ComponentClassType componentClassType = (ComponentClassType)theEObject; + Object result = caseComponentClassType(componentClassType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.COMPONENT_EXTENSION_TYPE: { + ComponentExtensionType componentExtensionType = (ComponentExtensionType)theEObject; + Object result = caseComponentExtensionType(componentExtensionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.COMPONENT_FAMILY_TYPE: { + ComponentFamilyType componentFamilyType = (ComponentFamilyType)theEObject; + Object result = caseComponentFamilyType(componentFamilyType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.COMPONENT_TYPE: { + ComponentType componentType = (ComponentType)theEObject; + Object result = caseComponentType(componentType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.COMPONENT_TYPE_TYPE: { + ComponentTypeType componentTypeType = (ComponentTypeType)theEObject; + Object result = caseComponentTypeType(componentTypeType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.CONVERTER_CLASS_TYPE: { + ConverterClassType converterClassType = (ConverterClassType)theEObject; + Object result = caseConverterClassType(converterClassType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE: { + ConverterForClassType converterForClassType = (ConverterForClassType)theEObject; + Object result = caseConverterForClassType(converterForClassType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.CONVERTER_ID_TYPE: { + ConverterIdType converterIdType = (ConverterIdType)theEObject; + Object result = caseConverterIdType(converterIdType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.CONVERTER_TYPE: { + ConverterType converterType = (ConverterType)theEObject; + Object result = caseConverterType(converterType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.DEFAULT_LOCALE_TYPE: { + DefaultLocaleType defaultLocaleType = (DefaultLocaleType)theEObject; + Object result = caseDefaultLocaleType(defaultLocaleType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE: { + DefaultRenderKitIdType defaultRenderKitIdType = (DefaultRenderKitIdType)theEObject; + Object result = caseDefaultRenderKitIdType(defaultRenderKitIdType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.DEFAULT_VALUE_TYPE: { + DefaultValueType defaultValueType = (DefaultValueType)theEObject; + Object result = caseDefaultValueType(defaultValueType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.DESCRIPTION_TYPE: { + DescriptionType descriptionType = (DescriptionType)theEObject; + Object result = caseDescriptionType(descriptionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.DISPLAY_NAME_TYPE: { + DisplayNameType displayNameType = (DisplayNameType)theEObject; + Object result = caseDisplayNameType(displayNameType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.DOCUMENT_ROOT: { + DocumentRoot documentRoot = (DocumentRoot)theEObject; + Object result = caseDocumentRoot(documentRoot); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.FACES_CONFIG_TYPE: { + FacesConfigType facesConfigType = (FacesConfigType)theEObject; + Object result = caseFacesConfigType(facesConfigType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE: { + FacesContextFactoryType facesContextFactoryType = (FacesContextFactoryType)theEObject; + Object result = caseFacesContextFactoryType(facesContextFactoryType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.FACET_EXTENSION_TYPE: { + FacetExtensionType facetExtensionType = (FacetExtensionType)theEObject; + Object result = caseFacetExtensionType(facetExtensionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.FACET_NAME_TYPE: { + FacetNameType facetNameType = (FacetNameType)theEObject; + Object result = caseFacetNameType(facetNameType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.FACET_TYPE: { + FacetType facetType = (FacetType)theEObject; + Object result = caseFacetType(facetType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.FACTORY_TYPE: { + FactoryType factoryType = (FactoryType)theEObject; + Object result = caseFactoryType(factoryType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.FROM_ACTION_TYPE: { + FromActionType fromActionType = (FromActionType)theEObject; + Object result = caseFromActionType(fromActionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.FROM_OUTCOME_TYPE: { + FromOutcomeType fromOutcomeType = (FromOutcomeType)theEObject; + Object result = caseFromOutcomeType(fromOutcomeType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.FROM_VIEW_ID_TYPE: { + FromViewIdType fromViewIdType = (FromViewIdType)theEObject; + Object result = caseFromViewIdType(fromViewIdType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.ICON_TYPE: { + IconType iconType = (IconType)theEObject; + Object result = caseIconType(iconType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.KEY_CLASS_TYPE: { + KeyClassType keyClassType = (KeyClassType)theEObject; + Object result = caseKeyClassType(keyClassType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.KEY_TYPE: { + KeyType keyType = (KeyType)theEObject; + Object result = caseKeyType(keyType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.LARGE_ICON_TYPE: { + LargeIconType largeIconType = (LargeIconType)theEObject; + Object result = caseLargeIconType(largeIconType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE: { + LifecycleFactoryType lifecycleFactoryType = (LifecycleFactoryType)theEObject; + Object result = caseLifecycleFactoryType(lifecycleFactoryType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.LIFECYCLE_TYPE: { + LifecycleType lifecycleType = (LifecycleType)theEObject; + Object result = caseLifecycleType(lifecycleType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.LIST_ENTRIES_TYPE: { + ListEntriesType listEntriesType = (ListEntriesType)theEObject; + Object result = caseListEntriesType(listEntriesType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.LOCALE_CONFIG_TYPE: { + LocaleConfigType localeConfigType = (LocaleConfigType)theEObject; + Object result = caseLocaleConfigType(localeConfigType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE: { + ManagedBeanClassType managedBeanClassType = (ManagedBeanClassType)theEObject; + Object result = caseManagedBeanClassType(managedBeanClassType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE: { + ManagedBeanNameType managedBeanNameType = (ManagedBeanNameType)theEObject; + Object result = caseManagedBeanNameType(managedBeanNameType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE: { + ManagedBeanScopeType managedBeanScopeType = (ManagedBeanScopeType)theEObject; + Object result = caseManagedBeanScopeType(managedBeanScopeType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.MANAGED_BEAN_TYPE: { + ManagedBeanType managedBeanType = (ManagedBeanType)theEObject; + Object result = caseManagedBeanType(managedBeanType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.MANAGED_PROPERTY_TYPE: { + ManagedPropertyType managedPropertyType = (ManagedPropertyType)theEObject; + Object result = caseManagedPropertyType(managedPropertyType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.MAP_ENTRIES_TYPE: { + MapEntriesType mapEntriesType = (MapEntriesType)theEObject; + Object result = caseMapEntriesType(mapEntriesType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.MAP_ENTRY_TYPE: { + MapEntryType mapEntryType = (MapEntryType)theEObject; + Object result = caseMapEntryType(mapEntryType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.MESSAGE_BUNDLE_TYPE: { + MessageBundleType messageBundleType = (MessageBundleType)theEObject; + Object result = caseMessageBundleType(messageBundleType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.NAVIGATION_CASE_TYPE: { + NavigationCaseType navigationCaseType = (NavigationCaseType)theEObject; + Object result = caseNavigationCaseType(navigationCaseType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.NAVIGATION_HANDLER_TYPE: { + NavigationHandlerType navigationHandlerType = (NavigationHandlerType)theEObject; + Object result = caseNavigationHandlerType(navigationHandlerType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.NAVIGATION_RULE_TYPE: { + NavigationRuleType navigationRuleType = (NavigationRuleType)theEObject; + Object result = caseNavigationRuleType(navigationRuleType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.NULL_VALUE_TYPE: { + NullValueType nullValueType = (NullValueType)theEObject; + Object result = caseNullValueType(nullValueType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.PHASE_LISTENER_TYPE: { + PhaseListenerType phaseListenerType = (PhaseListenerType)theEObject; + Object result = casePhaseListenerType(phaseListenerType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.PROPERTY_CLASS_TYPE: { + PropertyClassType propertyClassType = (PropertyClassType)theEObject; + Object result = casePropertyClassType(propertyClassType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.PROPERTY_EXTENSION_TYPE: { + PropertyExtensionType propertyExtensionType = (PropertyExtensionType)theEObject; + Object result = casePropertyExtensionType(propertyExtensionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.PROPERTY_NAME_TYPE: { + PropertyNameType propertyNameType = (PropertyNameType)theEObject; + Object result = casePropertyNameType(propertyNameType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.PROPERTY_RESOLVER_TYPE: { + PropertyResolverType propertyResolverType = (PropertyResolverType)theEObject; + Object result = casePropertyResolverType(propertyResolverType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.PROPERTY_TYPE: { + PropertyType propertyType = (PropertyType)theEObject; + Object result = casePropertyType(propertyType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.REDIRECT_TYPE: { + RedirectType redirectType = (RedirectType)theEObject; + Object result = caseRedirectType(redirectType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE: { + ReferencedBeanClassType referencedBeanClassType = (ReferencedBeanClassType)theEObject; + Object result = caseReferencedBeanClassType(referencedBeanClassType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE: { + ReferencedBeanNameType referencedBeanNameType = (ReferencedBeanNameType)theEObject; + Object result = caseReferencedBeanNameType(referencedBeanNameType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.REFERENCED_BEAN_TYPE: { + ReferencedBeanType referencedBeanType = (ReferencedBeanType)theEObject; + Object result = caseReferencedBeanType(referencedBeanType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.RENDERER_CLASS_TYPE: { + RendererClassType rendererClassType = (RendererClassType)theEObject; + Object result = caseRendererClassType(rendererClassType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.RENDERER_EXTENSION_TYPE: { + RendererExtensionType rendererExtensionType = (RendererExtensionType)theEObject; + Object result = caseRendererExtensionType(rendererExtensionType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.RENDERER_TYPE: { + RendererType rendererType = (RendererType)theEObject; + Object result = caseRendererType(rendererType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.RENDERER_TYPE_TYPE: { + RendererTypeType rendererTypeType = (RendererTypeType)theEObject; + Object result = caseRendererTypeType(rendererTypeType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.RENDER_KIT_CLASS_TYPE: { + RenderKitClassType renderKitClassType = (RenderKitClassType)theEObject; + Object result = caseRenderKitClassType(renderKitClassType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE: { + RenderKitFactoryType renderKitFactoryType = (RenderKitFactoryType)theEObject; + Object result = caseRenderKitFactoryType(renderKitFactoryType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.RENDER_KIT_ID_TYPE: { + RenderKitIdType renderKitIdType = (RenderKitIdType)theEObject; + Object result = caseRenderKitIdType(renderKitIdType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.RENDER_KIT_TYPE: { + RenderKitType renderKitType = (RenderKitType)theEObject; + Object result = caseRenderKitType(renderKitType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.SMALL_ICON_TYPE: { + SmallIconType smallIconType = (SmallIconType)theEObject; + Object result = caseSmallIconType(smallIconType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.STATE_MANAGER_TYPE: { + StateManagerType stateManagerType = (StateManagerType)theEObject; + Object result = caseStateManagerType(stateManagerType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.SUGGESTED_VALUE_TYPE: { + SuggestedValueType suggestedValueType = (SuggestedValueType)theEObject; + Object result = caseSuggestedValueType(suggestedValueType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.SUPPORTED_LOCALE_TYPE: { + SupportedLocaleType supportedLocaleType = (SupportedLocaleType)theEObject; + Object result = caseSupportedLocaleType(supportedLocaleType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.TO_VIEW_ID_TYPE: { + ToViewIdType toViewIdType = (ToViewIdType)theEObject; + Object result = caseToViewIdType(toViewIdType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.VALIDATOR_CLASS_TYPE: { + ValidatorClassType validatorClassType = (ValidatorClassType)theEObject; + Object result = caseValidatorClassType(validatorClassType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.VALIDATOR_ID_TYPE: { + ValidatorIdType validatorIdType = (ValidatorIdType)theEObject; + Object result = caseValidatorIdType(validatorIdType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.VALIDATOR_TYPE: { + ValidatorType validatorType = (ValidatorType)theEObject; + Object result = caseValidatorType(validatorType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.VALUE_CLASS_TYPE: { + ValueClassType valueClassType = (ValueClassType)theEObject; + Object result = caseValueClassType(valueClassType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.VALUE_TYPE: { + ValueType valueType = (ValueType)theEObject; + Object result = caseValueType(valueType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.VARIABLE_RESOLVER_TYPE: { + VariableResolverType variableResolverType = (VariableResolverType)theEObject; + Object result = caseVariableResolverType(variableResolverType); + if (result == null) result = defaultCase(theEObject); + return result; + } + case FacesConfigPackage.VIEW_HANDLER_TYPE: { + ViewHandlerType viewHandlerType = (ViewHandlerType)theEObject; + Object result = caseViewHandlerType(viewHandlerType); + if (result == null) result = defaultCase(theEObject); + return result; + } + default: return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Action Listener Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Action Listener Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseActionListenerType(ActionListenerType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Application Factory Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Application Factory Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseApplicationFactoryType(ApplicationFactoryType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Application Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Application Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseApplicationType(ApplicationType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Attribute Class Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Attribute Class Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseAttributeClassType(AttributeClassType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Attribute Extension Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Attribute Extension Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseAttributeExtensionType(AttributeExtensionType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Attribute Name Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Attribute Name Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseAttributeNameType(AttributeNameType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Attribute Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Attribute Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseAttributeType(AttributeType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Component Class Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Component Class Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseComponentClassType(ComponentClassType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Component Extension Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Component Extension Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseComponentExtensionType(ComponentExtensionType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Component Family Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Component Family Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseComponentFamilyType(ComponentFamilyType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Component Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Component Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseComponentType(ComponentType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Component Type Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Component Type Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseComponentTypeType(ComponentTypeType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Converter Class Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Converter Class Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseConverterClassType(ConverterClassType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Converter For Class Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Converter For Class Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseConverterForClassType(ConverterForClassType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Converter Id Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Converter Id Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseConverterIdType(ConverterIdType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Converter Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Converter Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseConverterType(ConverterType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Default Locale Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Default Locale Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseDefaultLocaleType(DefaultLocaleType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Default Render Kit Id Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Default Render Kit Id Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseDefaultRenderKitIdType(DefaultRenderKitIdType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Default Value Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Default Value Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseDefaultValueType(DefaultValueType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Description Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Description Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseDescriptionType(DescriptionType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Display Name Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Display Name Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseDisplayNameType(DisplayNameType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Document Root</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Document Root</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseDocumentRoot(DocumentRoot object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseFacesConfigType(FacesConfigType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Faces Context Factory Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Faces Context Factory Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseFacesContextFactoryType(FacesContextFactoryType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Facet Extension Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Facet Extension Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseFacetExtensionType(FacetExtensionType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Facet Name Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Facet Name Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseFacetNameType(FacetNameType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Facet Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Facet Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseFacetType(FacetType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Factory Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Factory Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseFactoryType(FactoryType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>From Action Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>From Action Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseFromActionType(FromActionType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>From Outcome Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>From Outcome Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseFromOutcomeType(FromOutcomeType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>From View Id Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>From View Id Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseFromViewIdType(FromViewIdType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Icon Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Icon Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseIconType(IconType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Key Class Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Key Class Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseKeyClassType(KeyClassType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Key Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Key Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseKeyType(KeyType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Large Icon Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Large Icon Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseLargeIconType(LargeIconType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Lifecycle Factory Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Lifecycle Factory Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseLifecycleFactoryType(LifecycleFactoryType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Lifecycle Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Lifecycle Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseLifecycleType(LifecycleType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>List Entries Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>List Entries Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseListEntriesType(ListEntriesType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Locale Config Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Locale Config Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseLocaleConfigType(LocaleConfigType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Managed Bean Class Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Managed Bean Class Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseManagedBeanClassType(ManagedBeanClassType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Managed Bean Name Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Managed Bean Name Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseManagedBeanNameType(ManagedBeanNameType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Managed Bean Scope Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Managed Bean Scope Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseManagedBeanScopeType(ManagedBeanScopeType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Managed Bean Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Managed Bean Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseManagedBeanType(ManagedBeanType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Managed Property Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Managed Property Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseManagedPropertyType(ManagedPropertyType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Map Entries Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Map Entries Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseMapEntriesType(MapEntriesType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Map Entry Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Map Entry Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseMapEntryType(MapEntryType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Message Bundle Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Message Bundle Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseMessageBundleType(MessageBundleType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Navigation Case Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Navigation Case Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseNavigationCaseType(NavigationCaseType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Navigation Handler Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Navigation Handler Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseNavigationHandlerType(NavigationHandlerType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Navigation Rule Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Navigation Rule Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseNavigationRuleType(NavigationRuleType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Null Value Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Null Value Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseNullValueType(NullValueType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Phase Listener Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Phase Listener Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object casePhaseListenerType(PhaseListenerType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Property Class Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Property Class Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object casePropertyClassType(PropertyClassType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Property Extension Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Property Extension Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object casePropertyExtensionType(PropertyExtensionType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Property Name Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Property Name Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object casePropertyNameType(PropertyNameType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Property Resolver Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Property Resolver Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object casePropertyResolverType(PropertyResolverType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Property Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Property Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object casePropertyType(PropertyType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Redirect Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Redirect Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseRedirectType(RedirectType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Referenced Bean Class Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Referenced Bean Class Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseReferencedBeanClassType(ReferencedBeanClassType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Referenced Bean Name Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Referenced Bean Name Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseReferencedBeanNameType(ReferencedBeanNameType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Referenced Bean Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Referenced Bean Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseReferencedBeanType(ReferencedBeanType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Renderer Class Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Renderer Class Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseRendererClassType(RendererClassType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Renderer Extension Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Renderer Extension Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseRendererExtensionType(RendererExtensionType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Renderer Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Renderer Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseRendererType(RendererType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Renderer Type Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Renderer Type Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseRendererTypeType(RendererTypeType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Render Kit Class Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Render Kit Class Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseRenderKitClassType(RenderKitClassType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Render Kit Factory Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Render Kit Factory Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseRenderKitFactoryType(RenderKitFactoryType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Render Kit Id Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Render Kit Id Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseRenderKitIdType(RenderKitIdType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Render Kit Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Render Kit Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseRenderKitType(RenderKitType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Small Icon Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Small Icon Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseSmallIconType(SmallIconType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>State Manager Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>State Manager Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseStateManagerType(StateManagerType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Suggested Value Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Suggested Value Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseSuggestedValueType(SuggestedValueType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Supported Locale Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Supported Locale Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseSupportedLocaleType(SupportedLocaleType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>To View Id Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>To View Id Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseToViewIdType(ToViewIdType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Validator Class Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Validator Class Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseValidatorClassType(ValidatorClassType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Validator Id Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Validator Id Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseValidatorIdType(ValidatorIdType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Validator Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Validator Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseValidatorType(ValidatorType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Value Class Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Value Class Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseValueClassType(ValueClassType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Value Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Value Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseValueType(ValueType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>Variable Resolver Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>Variable Resolver Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseVariableResolverType(VariableResolverType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>View Handler Type</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>View Handler Type</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public Object caseViewHandlerType(ViewHandlerType object) { + return null; + } + + /** + * Returns the result of interpretting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpretting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + public Object defaultCase(EObject object) { + return null; + } + +} //FacesConfigSwitch diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/Logger.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/Logger.java new file mode 100644 index 000000000..bfa80774f --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/Logger.java @@ -0,0 +1,229 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal; + +import java.io.PrintStream; +import java.util.StringTokenizer; + +import org.eclipse.core.runtime.IStatus; +import org.eclipse.core.runtime.Platform; +import org.eclipse.core.runtime.Plugin; +import org.eclipse.core.runtime.Status; +import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin; + + +/** + * Small convenience class to log messages to plugin's log file and also, if desired, + * the console. This class should only be used by classes in this plugin. Other + * plugins should make their own copy, with appropriate ID. + */ +public class Logger { + private static Plugin fPlugin; + private static String fPluginId; + + /** + * Controls whether or not log/trace messages also go to the console. + * Normally, leave this as false. Change to true temporarily, if desired, for debugging. + */ + private static boolean displayToConsole = false; + + private static final String TRACEFILTER_LOCATION = "/debug/tracefilter"; //$NON-NLS-1$ + + public static final int OK = IStatus.OK; // 0 + public static final int INFO = IStatus.INFO; // 1 + public static final int WARNING = IStatus.WARNING; // 2 + public static final int ERROR = IStatus.ERROR; // 4 + + public static final int OK_DEBUG = 200 + OK; + public static final int INFO_DEBUG = 200 + INFO; + public static final int WARNING_DEBUG = 200 + WARNING; + public static final int ERROR_DEBUG = 200 + ERROR; + + /** + * Adds message to log. + * @param level severity level of the message (OK, INFO, WARNING, ERROR, OK_DEBUG, INFO_DEBUG, WARNING_DEBUG, ERROR_DEBUG) + * @param message text to add to the log + * @param exception exception thrown + */ + protected static void _log(int level, String message, Throwable exception) { + if (level == OK_DEBUG || level == INFO_DEBUG || level == WARNING_DEBUG || level == ERROR_DEBUG) { + if (!isDebugging()) + return; + } + + int severity = IStatus.OK; + switch (level) { + case INFO_DEBUG : + case INFO : + severity = IStatus.INFO; + break; + case WARNING_DEBUG : + case WARNING : + severity = IStatus.WARNING; + break; + case ERROR_DEBUG : + case ERROR : + severity = IStatus.ERROR; + } + message = (message != null) ? message : "null"; //$NON-NLS-1$ + Status statusObj = new Status(severity, getPluginId(), severity, message, exception); + getPlugin().getLog().log(statusObj); + } + + /** + * Prints message to log if category matches /debug/tracefilter option. + * @param message text to print + * @param category category of the message, to be compared with /debug/tracefilter + */ + protected static void _trace(String category, String message, Throwable exception) { + if (isTracing(category)) { + message = (message != null) ? message : "null"; //$NON-NLS-1$ + Status statusObj = new Status(IStatus.OK, getPluginId(), IStatus.OK, message, exception); + getPlugin().getLog().log(statusObj); + } + } + + /** + * @return true if the plugin for this logger is debugging + */ + public static boolean isDebugging() { + return getPlugin().isDebugging(); + } + + /** + * Determines if currently tracing a category + * @param category + * @return true if tracing category, false otherwise + */ + public static boolean isTracing(String category) { + if (!isDebugging()) + return false; + + String traceFilter = Platform.getDebugOption(getPluginId() + TRACEFILTER_LOCATION); + if (traceFilter != null) { + StringTokenizer tokenizer = new StringTokenizer(traceFilter, ","); //$NON-NLS-1$ + while (tokenizer.hasMoreTokens()) { + String cat = tokenizer.nextToken().trim(); + if (category.equals(cat)) { + return true; + } + } + } + return false; + } + + public static void log(int level, String message) { + _log(level, message, null); + } + + public static void log(int level, String message, Throwable exception) { + _log(level, message, exception); + } + + public static void log(Object source, String message) { + doLog(source, message, null); + } + + public static void log(Object source, String message, Throwable throwable) { + doLog(source, message, throwable); + } + + public static void log(Object source, Throwable throwable) { + doLog(source, null, throwable); + } + + public static void log(String message) { + doLog(message, null); + } + + private static void doLog(String message, Throwable exception) { + _log(ERROR, message, exception); + } + + private static void doLog(Object source, String message, Throwable exception) { + _log(ERROR, getMessageFor(source, message), exception); + } + + private static final String getMessageFor(Object source, String message) { + StringBuffer buffer = new StringBuffer(); + buffer.append(source); + if (message != null) { + buffer.append(": "); + buffer.append(message); + } + return buffer.toString(); + } + + public static void logException(String message, Throwable exception) { + _log(ERROR, message, exception); + } + + public static void logException(Throwable exception) { + _log(ERROR, exception.getMessage(), exception); + } + + public static void traceException(String category, String message, Throwable exception) { + _trace(category, message, exception); + } + + public static void traceException(String category, Throwable exception) { + _trace(category, exception.getMessage(), exception); + } + + public static void trace(String category, String message) { + _trace(category, message, null); + } + + private static Plugin getFacesPlugin() { + return FacesConfigPlugin.getPlugin(); + } + + public static Plugin getPlugin() { + + if (fPlugin == null) { + fPlugin = getFacesPlugin(); + } + return fPlugin; + } + + public static String getPluginId() { + + if (fPluginId == null) { + fPluginId = ((Plugin) (FacesConfigPlugin.getPlugin())).getBundle().getSymbolicName() ; + } + return fPluginId; + } + + private static final void doConsole(String message, Throwable throwable) { + if (displayToConsole) { + PrintStream out = System.out; + out.println(message); + if (throwable != null) + throwable.printStackTrace(out); + } + } + + private static final void doTrace(String category, Object source, String message) { + message = getMessageFor(source, message); + try { + _trace(category, message, null); + } catch (Exception ignored) { + // Empty block intended. + } finally { + doConsole(message, null); + } + } + + public static void trace(String category, Object source, String message) { + doTrace(category, source, message); + } + +}
\ No newline at end of file diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/nls/Messages.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/nls/Messages.java new file mode 100644 index 000000000..746a08fe6 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/nls/Messages.java @@ -0,0 +1,369 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.nls; + +import org.eclipse.osgi.util.NLS; + +public final class Messages extends NLS { + + private static final String BUNDLE_NAME = "org.eclipse.jst.jsf.facesconfig.internal.nls.messages";//$NON-NLS-1$ + + private Messages() { + // Do not instantiate + } + + public static String Source_UI_; + public static String FaceConfigEditor_Title; + public static String Overview_Page_Title; + public static String Application_Page_Title; + public static String Factory_Page_Title; + public static String Component_Page_Title; + public static String Converter_Page_Title; + public static String ManagedBean_Page_Title; + public static String NavigationRule_Page_Title; + public static String ReferencedBean_Page_Title; + public static String RenderKit_Page_Title; + public static String Lifecycle_Page_Title; + public static String Validator_Page_Title; + public static String MANAGEDBEAN_MAIN_SEC_TITLE; + public static String MANAGEDBEAN_MAIN_SEC_DESC; + public static String Invalid_Config_File; + public static String OPEN_TO_FACESCONFIG_SOURCE_PAGE_MENU_LABEL; + public static String _UI_CreateChild_text; + public static String _UI_CreateChild_text2; + public static String _UI_CreateChild_tooltip; + public static String _UI_CreateChild_description; + public static String _UI_CreateSibling_description; + public static String _UI_PropertyDescriptor_description; + public static String _UI_ActionListenerType_type; + public static String _UI_ApplicationFactoryType_type; + public static String _UI_ApplicationType_type; + public static String _UI_AttributeExtensionType_type; + public static String _UI_AttributeNameType_type; + public static String _UI_AttributeType_type; + public static String _UI_ComponentClassType_type; + public static String _UI_ComponentExtensionType_type; + public static String _UI_ComponentType_type; + public static String _UI_ComponentTypeType_type; + public static String _UI_ConverterType_type; + public static String _UI_DefaultLocaleType_type; + public static String _UI_DescriptionType_type; + public static String _UI_DisplayNameType_type; + public static String _UI_DocumentRoot_type; + public static String _UI_FacesConfigType_type; + public static String _UI_FacesContextFactoryType_type; + public static String _UI_FactoryType_type; + public static String _UI_IconType_type; + public static String _UI_LifecycleFactoryType_type; + public static String _UI_LifecycleType_type; + public static String _UI_ListEntriesType_type; + public static String _UI_LocaleConfigType_type; + public static String _UI_ManagedBeanType_type; + public static String _UI_ManagedPropertyType_type; + public static String _UI_MapEntriesType_type; + public static String _UI_MapEntryType_type; + public static String _UI_MessageBundleType_type; + public static String _UI_NavigationCaseType_type; + public static String _UI_NavigationHandlerType_type; + public static String _UI_NavigationRuleType_type; + public static String _UI_NullValueType_type; + public static String _UI_PhaseListenerType_type; + public static String _UI_PropertyExtensionType_type; + public static String _UI_PropertyResolverType_type; + public static String _UI_PropertyType_type; + public static String _UI_RedirectType_type; + public static String _UI_ReferencedBeanType_type; + public static String _UI_RendererExtensionType_type; + public static String _UI_RendererType_type; + public static String _UI_RenderKitFactoryType_type; + public static String _UI_RenderKitType_type; + public static String _UI_StateManagerType_type; + public static String _UI_SupportedComponentClassType_type; + public static String _UI_SupportedComponentTypeType_type; + public static String _UI_SupportedLocaleType_type; + public static String _UI_ValidatorType_type; + public static String _UI_ValueType_type; + public static String _UI_VariableResolverType_type; + public static String _UI_ViewHandlerType_type; + public static String _UI_Unknown_type; + public static String _UI_ActionListenerType_value_feature; + public static String _UI_ActionListenerType_id_feature; + public static String _UI_ApplicationFactoryType_value_feature; + public static String _UI_ApplicationFactoryType_id_feature; + public static String _UI_ApplicationType_actionListener_feature; + public static String _UI_ApplicationType_messageBundle_feature; + public static String _UI_ApplicationType_navigationHandler_feature; + public static String _UI_ApplicationType_viewHandler_feature; + public static String _UI_ApplicationType_stateManager_feature; + public static String _UI_ApplicationType_propertyResolver_feature; + public static String _UI_ApplicationType_variableResolver_feature; + public static String _UI_ApplicationType_localeConfig_feature; + public static String _UI_ApplicationType_id_feature; + public static String _UI_AttributeExtensionType_mixed_feature; + public static String _UI_AttributeExtensionType_group_feature; + public static String _UI_AttributeExtensionType_any_feature; + public static String _UI_AttributeExtensionType_id_feature; + public static String _UI_AttributeNameType_value_feature; + public static String _UI_AttributeNameType_id_feature; + public static String _UI_AttributeType_description_feature; + public static String _UI_AttributeType_displayName_feature; + public static String _UI_AttributeType_icon_feature; + public static String _UI_AttributeType_attributeName_feature; + public static String _UI_AttributeType_attributeExtension_feature; + public static String _UI_AttributeType_attributeClass_feature; + public static String _UI_AttributeType_defaultValue_feature; + public static String _UI_AttributeType_id_feature; + public static String _UI_AttributeType_suggestedValue_feature; + public static String _UI_ComponentClassType_value_feature; + public static String _UI_ComponentClassType_id_feature; + public static String _UI_ComponentExtensionType_mixed_feature; + public static String _UI_ComponentExtensionType_group_feature; + public static String _UI_ComponentExtensionType_any_feature; + public static String _UI_ComponentExtensionType_id_feature; + public static String _UI_ComponentType_description_feature; + public static String _UI_ComponentType_displayName_feature; + public static String _UI_ComponentType_icon_feature; + public static String _UI_ComponentType_componentType_feature; + public static String _UI_ComponentType_componentClass_feature; + public static String _UI_ComponentType_attribute_feature; + public static String _UI_ComponentType_property_feature; + public static String _UI_ComponentType_componentExtension_feature; + public static String _UI_ComponentType_id_feature; + public static String _UI_ComponentTypeType_value_feature; + public static String _UI_ComponentTypeType_id_feature; + public static String _UI_ConverterType_description_feature; + public static String _UI_ConverterType_displayName_feature; + public static String _UI_ConverterType_icon_feature; + public static String _UI_ConverterType_attribute_feature; + public static String _UI_ConverterType_property_feature; + public static String _UI_ConverterType_converterClass_feature; + public static String _UI_ConverterType_converterForClass_feature; + public static String _UI_ConverterType_converterId_feature; + public static String _UI_ConverterType_id_feature; + public static String _UI_DefaultLocaleType_value_feature; + public static String _UI_DefaultLocaleType_id_feature; + public static String _UI_DescriptionType_value_feature; + public static String _UI_DescriptionType_id_feature; + public static String _UI_DescriptionType_lang_feature; + public static String _UI_DisplayNameType_value_feature; + public static String _UI_DisplayNameType_id_feature; + public static String _UI_DisplayNameType_lang_feature; + public static String _UI_DocumentRoot_mixed_feature; + public static String _UI_DocumentRoot_xMLNSPrefixMap_feature; + public static String _UI_DocumentRoot_xSISchemaLocation_feature; + public static String _UI_DocumentRoot_actionListener_feature; + public static String _UI_DocumentRoot_application_feature; + public static String _UI_DocumentRoot_applicationFactory_feature; + public static String _UI_DocumentRoot_attribute_feature; + public static String _UI_DocumentRoot_attributeExtension_feature; + public static String _UI_DocumentRoot_attributeName_feature; + public static String _UI_DocumentRoot_component_feature; + public static String _UI_DocumentRoot_componentClass_feature; + public static String _UI_DocumentRoot_componentExtension_feature; + public static String _UI_DocumentRoot_componentType_feature; + public static String _UI_DocumentRoot_converter_feature; + public static String _UI_DocumentRoot_defaultLocale_feature; + public static String _UI_DocumentRoot_description_feature; + public static String _UI_DocumentRoot_displayName_feature; + public static String _UI_DocumentRoot_facesConfig_feature; + public static String _UI_DocumentRoot_facesContextFactory_feature; + public static String _UI_DocumentRoot_factory_feature; + public static String _UI_DocumentRoot_icon_feature; + public static String _UI_DocumentRoot_lifecycle_feature; + public static String _UI_DocumentRoot_lifecycleFactory_feature; + public static String _UI_DocumentRoot_listEntries_feature; + public static String _UI_DocumentRoot_localeConfig_feature; + public static String _UI_DocumentRoot_managedBean_feature; + public static String _UI_DocumentRoot_managedProperty_feature; + public static String _UI_DocumentRoot_mapEntries_feature; + public static String _UI_DocumentRoot_mapEntry_feature; + public static String _UI_DocumentRoot_messageBundle_feature; + public static String _UI_DocumentRoot_navigationCase_feature; + public static String _UI_DocumentRoot_navigationHandler_feature; + public static String _UI_DocumentRoot_navigationRule_feature; + public static String _UI_DocumentRoot_nullValue_feature; + public static String _UI_DocumentRoot_phaseListener_feature; + public static String _UI_DocumentRoot_property_feature; + public static String _UI_DocumentRoot_propertyExtension_feature; + public static String _UI_DocumentRoot_propertyResolver_feature; + public static String _UI_DocumentRoot_redirect_feature; + public static String _UI_DocumentRoot_referencedBean_feature; + public static String _UI_DocumentRoot_renderer_feature; + public static String _UI_DocumentRoot_rendererExtension_feature; + public static String _UI_DocumentRoot_renderKit_feature; + public static String _UI_DocumentRoot_renderKitFactory_feature; + public static String _UI_DocumentRoot_stateManager_feature; + public static String _UI_DocumentRoot_supportedComponentClass_feature; + public static String _UI_DocumentRoot_supportedComponentType_feature; + public static String _UI_DocumentRoot_supportedLocale_feature; + public static String _UI_DocumentRoot_validator_feature; + public static String _UI_DocumentRoot_value_feature; + public static String _UI_DocumentRoot_variableResolver_feature; + public static String _UI_DocumentRoot_viewHandler_feature; + public static String _UI_FacesConfigType_application_feature; + public static String _UI_FacesConfigType_factory_feature; + public static String _UI_FacesConfigType_component_feature; + public static String _UI_FacesConfigType_converter_feature; + public static String _UI_FacesConfigType_managedBean_feature; + public static String _UI_FacesConfigType_navigationRule_feature; + public static String _UI_FacesConfigType_referencedBean_feature; + public static String _UI_FacesConfigType_renderKit_feature; + public static String _UI_FacesConfigType_lifecycle_feature; + public static String _UI_FacesConfigType_validator_feature; + public static String _UI_FacesConfigType_id_feature; + public static String _UI_FacesConfigType_xmlns00000_feature; + public static String _UI_FacesContextFactoryType_value_feature; + public static String _UI_FacesContextFactoryType_id_feature; + public static String _UI_FactoryType_applicationFactory_feature; + public static String _UI_FactoryType_facesContextFactory_feature; + public static String _UI_FactoryType_lifecycleFactory_feature; + public static String _UI_FactoryType_renderKitFactory_feature; + public static String _UI_FactoryType_id_feature; + public static String _UI_IconType_id_feature; + public static String _UI_IconType_lang_feature; + public static String _UI_IconType_largeIcon_feature; + public static String _UI_IconType_smallIcon_feature; + public static String _UI_LifecycleFactoryType_value_feature; + public static String _UI_LifecycleFactoryType_id_feature; + public static String _UI_LifecycleType_phaseListener_feature; + public static String _UI_LifecycleType_id_feature; + public static String _UI_ListEntriesType_nullValue_feature; + public static String _UI_ListEntriesType_value_feature; + public static String _UI_ListEntriesType_id_feature; + public static String _UI_ListEntriesType_valueClass_feature; + public static String _UI_LocaleConfigType_defaultLocale_feature; + public static String _UI_LocaleConfigType_supportedLocale_feature; + public static String _UI_LocaleConfigType_id_feature; + public static String _UI_ManagedBeanType_description_feature; + public static String _UI_ManagedBeanType_displayName_feature; + public static String _UI_ManagedBeanType_icon_feature; + public static String _UI_ManagedBeanType_managedProperty_feature; + public static String _UI_ManagedBeanType_mapEntries_feature; + public static String _UI_ManagedBeanType_listEntries_feature; + public static String _UI_ManagedBeanType_id_feature; + public static String _UI_ManagedBeanType_managedBeanClass_feature; + public static String _UI_ManagedBeanType_managedBeanName_feature; + public static String _UI_ManagedBeanType_managedBeanScope_feature; + public static String _UI_ManagedPropertyType_description_feature; + public static String _UI_ManagedPropertyType_displayName_feature; + public static String _UI_ManagedPropertyType_icon_feature; + public static String _UI_ManagedPropertyType_mapEntries_feature; + public static String _UI_ManagedPropertyType_listEntries_feature; + public static String _UI_ManagedPropertyType_id_feature; + public static String _UI_ManagedPropertyType_nullValue_feature; + public static String _UI_ManagedPropertyType_propertyClass_feature; + public static String _UI_ManagedPropertyType_propertyName_feature; + public static String _UI_ManagedPropertyType_value_feature; + public static String _UI_MapEntriesType_mapEntry_feature; + public static String _UI_MapEntriesType_id_feature; + public static String _UI_MapEntriesType_keyClass_feature; + public static String _UI_MapEntriesType_valueClass_feature; + public static String _UI_MapEntryType_id_feature; + public static String _UI_MapEntryType_key_feature; + public static String _UI_MapEntryType_nullValue_feature; + public static String _UI_MapEntryType_value_feature; + public static String _UI_MessageBundleType_value_feature; + public static String _UI_MessageBundleType_id_feature; + public static String _UI_NavigationCaseType_description_feature; + public static String _UI_NavigationCaseType_displayName_feature; + public static String _UI_NavigationCaseType_icon_feature; + public static String _UI_NavigationCaseType_redirect_feature; + public static String _UI_NavigationCaseType_fromAction_feature; + public static String _UI_NavigationCaseType_fromOutcome_feature; + public static String _UI_NavigationCaseType_id_feature; + public static String _UI_NavigationCaseType_toViewId_feature; + public static String _UI_NavigationHandlerType_value_feature; + public static String _UI_NavigationHandlerType_id_feature; + public static String _UI_NavigationRuleType_description_feature; + public static String _UI_NavigationRuleType_displayName_feature; + public static String _UI_NavigationRuleType_icon_feature; + public static String _UI_NavigationRuleType_navigationCase_feature; + public static String _UI_NavigationRuleType_fromViewId_feature; + public static String _UI_NavigationRuleType_id_feature; + public static String _UI_NullValueType_id_feature; + public static String _UI_PhaseListenerType_value_feature; + public static String _UI_PhaseListenerType_id_feature; + public static String _UI_PropertyExtensionType_mixed_feature; + public static String _UI_PropertyExtensionType_group_feature; + public static String _UI_PropertyExtensionType_any_feature; + public static String _UI_PropertyExtensionType_id_feature; + public static String _UI_PropertyResolverType_value_feature; + public static String _UI_PropertyResolverType_id_feature; + public static String _UI_PropertyType_description_feature; + public static String _UI_PropertyType_displayName_feature; + public static String _UI_PropertyType_icon_feature; + public static String _UI_PropertyType_propertyExtension_feature; + public static String _UI_PropertyType_defaultValue_feature; + public static String _UI_PropertyType_id_feature; + public static String _UI_PropertyType_propertyClass_feature; + public static String _UI_PropertyType_propertyName_feature; + public static String _UI_PropertyType_suggestedValue_feature; + public static String _UI_RedirectType_id_feature; + public static String _UI_ReferencedBeanType_description_feature; + public static String _UI_ReferencedBeanType_displayName_feature; + public static String _UI_ReferencedBeanType_icon_feature; + public static String _UI_ReferencedBeanType_id_feature; + public static String _UI_ReferencedBeanType_referencedBeanClass_feature; + public static String _UI_ReferencedBeanType_referencedBeanName_feature; + public static String _UI_RendererExtensionType_mixed_feature; + public static String _UI_RendererExtensionType_group_feature; + public static String _UI_RendererExtensionType_any_feature; + public static String _UI_RendererExtensionType_id_feature; + public static String _UI_RendererType_description_feature; + public static String _UI_RendererType_displayName_feature; + public static String _UI_RendererType_icon_feature; + public static String _UI_RendererType_attribute_feature; + public static String _UI_RendererType_supportedComponentType_feature; + public static String _UI_RendererType_supportedComponentClass_feature; + public static String _UI_RendererType_rendererExtension_feature; + public static String _UI_RendererType_id_feature; + public static String _UI_RendererType_rendererClass_feature; + public static String _UI_RendererType_rendererType_feature; + public static String _UI_RenderKitFactoryType_value_feature; + public static String _UI_RenderKitFactoryType_id_feature; + public static String _UI_RenderKitType_description_feature; + public static String _UI_RenderKitType_displayName_feature; + public static String _UI_RenderKitType_icon_feature; + public static String _UI_RenderKitType_renderer_feature; + public static String _UI_RenderKitType_id_feature; + public static String _UI_RenderKitType_renderKitClass_feature; + public static String _UI_RenderKitType_renderKitId_feature; + public static String _UI_StateManagerType_value_feature; + public static String _UI_StateManagerType_id_feature; + public static String _UI_SupportedComponentClassType_componentClass_feature; + public static String _UI_SupportedComponentClassType_attributeName_feature; + public static String _UI_SupportedComponentClassType_id_feature; + public static String _UI_SupportedComponentTypeType_componentType_feature; + public static String _UI_SupportedComponentTypeType_attributeName_feature; + public static String _UI_SupportedComponentTypeType_id_feature; + public static String _UI_SupportedLocaleType_value_feature; + public static String _UI_SupportedLocaleType_id_feature; + public static String _UI_ValidatorType_description_feature; + public static String _UI_ValidatorType_displayName_feature; + public static String _UI_ValidatorType_icon_feature; + public static String _UI_ValidatorType_attribute_feature; + public static String _UI_ValidatorType_property_feature; + public static String _UI_ValidatorType_id_feature; + public static String _UI_ValidatorType_validatorClass_feature; + public static String _UI_ValidatorType_validatorId_feature; + public static String _UI_ValueType_value_feature; + public static String _UI_ValueType_id_feature; + public static String _UI_VariableResolverType_value_feature; + public static String _UI_VariableResolverType_id_feature; + public static String _UI_ViewHandlerType_value_feature; + public static String _UI_ViewHandlerType_id_feature; + public static String _UI_Unknown_feature; + public static String scValidation_duplicate_definition; + + static { + NLS.initializeMessages(BUNDLE_NAME, Messages.class); + } +}
\ No newline at end of file diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/nls/messages.properties b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/nls/messages.properties new file mode 100644 index 000000000..c9218a421 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/nls/messages.properties @@ -0,0 +1,359 @@ +#/*************************************************************************************************** +# * Copyright (c) 2005, 2006 IBM Corporation and others. +# * All rights reserved. This program and the accompanying materials +# * are made available under the terms of the Eclipse Public License v1.0 +# * which accompanies this distribution, and is available at +# * http://www.eclipse.org/legal/epl-v10.html +# * +# * Contributors: +# * IBM Corporation - initial API and implementation +# **************************************************************************************************/ +Source_UI_ = XML Source +FaceConfigEditor_Title=Faces Configuration File Editor + +Overview_Page_Title=Overview +Application_Page_Title=Application +Factory_Page_Title=Factory +Component_Page_Title=Components +Converter_Page_Title=Converter +ManagedBean_Page_Title=Managed Beans +NavigationRule_Page_Title=Navigation Rules +ReferencedBean_Page_Title=Referenced Beans +RenderKit_Page_Title=RenderKits +Lifecycle_Page_Title=Lifecycle +Validator_Page_Title=Validator + +MANAGEDBEAN_MAIN_SEC_TITLE=Managed Beans +MANAGEDBEAN_MAIN_SEC_DESC=The following Managed Beans are defined for this config file +Invalid_Config_File = The Faces Configuration File editor cannot open the file because it is not a valid Faces configuration file. The XML editor will be opened. +OPEN_TO_FACESCONFIG_SOURCE_PAGE_MENU_LABEL=Faces Configuration File Editor Source Page + +_UI_CreateChild_text = {0} +_UI_CreateChild_text2 = {1} {0} +_UI_CreateChild_tooltip = Create New {0} Under {1} Feature +_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}. +_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent. + +_UI_PropertyDescriptor_description = The {0} of the {1} + +_UI_ActionListenerType_type = Action Listener Type +_UI_ApplicationFactoryType_type = Application Factory Type +_UI_ApplicationType_type = Application Type +_UI_AttributeExtensionType_type = Attribute Extension Type +_UI_AttributeNameType_type = Attribute Name Type +_UI_AttributeType_type = Attribute Type +_UI_ComponentClassType_type = Component Class Type +_UI_ComponentExtensionType_type = Component Extension Type +_UI_ComponentType_type = Component Type +_UI_ComponentTypeType_type = Component Type Type +_UI_ConverterType_type = Converter Type +_UI_DefaultLocaleType_type = Default Locale Type +_UI_DescriptionType_type = Description Type +_UI_DisplayNameType_type = Display Name Type +_UI_DocumentRoot_type = Document Root +_UI_FacesConfigType_type = Type +_UI_FacesContextFactoryType_type = Faces Context Factory Type +_UI_FactoryType_type = Factory Type +_UI_IconType_type = Icon Type +_UI_LifecycleFactoryType_type = Lifecycle Factory Type +_UI_LifecycleType_type = Lifecycle Type +_UI_ListEntriesType_type = List Entries Type +_UI_LocaleConfigType_type = Locale Config Type +_UI_ManagedBeanType_type = Managed Bean Type +_UI_ManagedPropertyType_type = Managed Property Type +_UI_MapEntriesType_type = Map Entries Type +_UI_MapEntryType_type = Map Entry Type +_UI_MessageBundleType_type = Message Bundle Type +_UI_NavigationCaseType_type = Navigation Case Type +_UI_NavigationHandlerType_type = Navigation Handler Type +_UI_NavigationRuleType_type = Navigation Rule Type +_UI_NullValueType_type = Null Value Type +_UI_PhaseListenerType_type = Phase Listener Type +_UI_PropertyExtensionType_type = Property Extension Type +_UI_PropertyResolverType_type = Property Resolver Type +_UI_PropertyType_type = Property Type +_UI_RedirectType_type = Redirect Type +_UI_ReferencedBeanType_type = Referenced Bean Type +_UI_RendererExtensionType_type = Renderer Extension Type +_UI_RendererType_type = Renderer Type +_UI_RenderKitFactoryType_type = Render Kit Factory Type +_UI_RenderKitType_type = Render Kit Type +_UI_StateManagerType_type = State Manager Type +_UI_SupportedComponentClassType_type = Supported Component Class Type +_UI_SupportedComponentTypeType_type = Supported Component Type Type +_UI_SupportedLocaleType_type = Supported Locale Type +_UI_ValidatorType_type = Validator Type +_UI_ValueType_type = Value Type +_UI_VariableResolverType_type = Variable Resolver Type +_UI_ViewHandlerType_type = View Handler Type +_UI_Unknown_type = Object + +_UI_ActionListenerType_value_feature = Value +_UI_ActionListenerType_id_feature = Id +_UI_ApplicationFactoryType_value_feature = Value +_UI_ApplicationFactoryType_id_feature = Id +_UI_ApplicationType_actionListener_feature = Action Listener +_UI_ApplicationType_messageBundle_feature = Message Bundle +_UI_ApplicationType_navigationHandler_feature = Navigation Handler +_UI_ApplicationType_viewHandler_feature = View Handler +_UI_ApplicationType_stateManager_feature = State Manager +_UI_ApplicationType_propertyResolver_feature = Property Resolver +_UI_ApplicationType_variableResolver_feature = Variable Resolver +_UI_ApplicationType_localeConfig_feature = Locale Config +_UI_ApplicationType_id_feature = Id +_UI_AttributeExtensionType_mixed_feature = Mixed +_UI_AttributeExtensionType_group_feature = Group +_UI_AttributeExtensionType_any_feature = Any +_UI_AttributeExtensionType_id_feature = Id +_UI_AttributeNameType_value_feature = Value +_UI_AttributeNameType_id_feature = Id +_UI_AttributeType_description_feature = Description +_UI_AttributeType_displayName_feature = Display Name +_UI_AttributeType_icon_feature = Icon +_UI_AttributeType_attributeName_feature = Attribute Name +_UI_AttributeType_attributeExtension_feature = Attribute Extension +_UI_AttributeType_attributeClass_feature = Attribute Class +_UI_AttributeType_defaultValue_feature = Default Value +_UI_AttributeType_id_feature = Id +_UI_AttributeType_suggestedValue_feature = Suggested Value +_UI_ComponentClassType_value_feature = Value +_UI_ComponentClassType_id_feature = Id +_UI_ComponentExtensionType_mixed_feature = Mixed +_UI_ComponentExtensionType_group_feature = Group +_UI_ComponentExtensionType_any_feature = Any +_UI_ComponentExtensionType_id_feature = Id +_UI_ComponentType_description_feature = Description +_UI_ComponentType_displayName_feature = Display Name +_UI_ComponentType_icon_feature = Icon +_UI_ComponentType_componentType_feature = Component Type +_UI_ComponentType_componentClass_feature = Component Class +_UI_ComponentType_attribute_feature = Attribute +_UI_ComponentType_property_feature = Property +_UI_ComponentType_componentExtension_feature = Component Extension +_UI_ComponentType_id_feature = Id +_UI_ComponentTypeType_value_feature = Value +_UI_ComponentTypeType_id_feature = Id +_UI_ConverterType_description_feature = Description +_UI_ConverterType_displayName_feature = Display Name +_UI_ConverterType_icon_feature = Icon +_UI_ConverterType_attribute_feature = Attribute +_UI_ConverterType_property_feature = Property +_UI_ConverterType_converterClass_feature = Converter Class +_UI_ConverterType_converterForClass_feature = Converter For Class +_UI_ConverterType_converterId_feature = Converter Id +_UI_ConverterType_id_feature = Id +_UI_DefaultLocaleType_value_feature = Value +_UI_DefaultLocaleType_id_feature = Id +_UI_DescriptionType_value_feature = Value +_UI_DescriptionType_id_feature = Id +_UI_DescriptionType_lang_feature = Lang +_UI_DisplayNameType_value_feature = Value +_UI_DisplayNameType_id_feature = Id +_UI_DisplayNameType_lang_feature = Lang +_UI_DocumentRoot_mixed_feature = Mixed +_UI_DocumentRoot_xMLNSPrefixMap_feature = XMLNS Prefix Map +_UI_DocumentRoot_xSISchemaLocation_feature = XSI Schema Location +_UI_DocumentRoot_actionListener_feature = Action Listener +_UI_DocumentRoot_application_feature = Application +_UI_DocumentRoot_applicationFactory_feature = Application Factory +_UI_DocumentRoot_attribute_feature = Attribute +_UI_DocumentRoot_attributeExtension_feature = Attribute Extension +_UI_DocumentRoot_attributeName_feature = Attribute Name +_UI_DocumentRoot_component_feature = Component +_UI_DocumentRoot_componentClass_feature = Component Class +_UI_DocumentRoot_componentExtension_feature = Component Extension +_UI_DocumentRoot_componentType_feature = Component Type +_UI_DocumentRoot_converter_feature = Converter +_UI_DocumentRoot_defaultLocale_feature = Default Locale +_UI_DocumentRoot_description_feature = Description +_UI_DocumentRoot_displayName_feature = Display Name +_UI_DocumentRoot_facesConfig_feature = Faces Config +_UI_DocumentRoot_facesContextFactory_feature = Faces Context Factory +_UI_DocumentRoot_factory_feature = Factory +_UI_DocumentRoot_icon_feature = Icon +_UI_DocumentRoot_lifecycle_feature = Lifecycle +_UI_DocumentRoot_lifecycleFactory_feature = Lifecycle Factory +_UI_DocumentRoot_listEntries_feature = List Entries +_UI_DocumentRoot_localeConfig_feature = Locale Config +_UI_DocumentRoot_managedBean_feature = Managed Bean +_UI_DocumentRoot_managedProperty_feature = Managed Property +_UI_DocumentRoot_mapEntries_feature = Map Entries +_UI_DocumentRoot_mapEntry_feature = Map Entry +_UI_DocumentRoot_messageBundle_feature = Message Bundle +_UI_DocumentRoot_navigationCase_feature = Navigation Case +_UI_DocumentRoot_navigationHandler_feature = Navigation Handler +_UI_DocumentRoot_navigationRule_feature = Navigation Rule +_UI_DocumentRoot_nullValue_feature = Null Value +_UI_DocumentRoot_phaseListener_feature = Phase Listener +_UI_DocumentRoot_property_feature = Property +_UI_DocumentRoot_propertyExtension_feature = Property Extension +_UI_DocumentRoot_propertyResolver_feature = Property Resolver +_UI_DocumentRoot_redirect_feature = Redirect +_UI_DocumentRoot_referencedBean_feature = Referenced Bean +_UI_DocumentRoot_renderer_feature = Renderer +_UI_DocumentRoot_rendererExtension_feature = Renderer Extension +_UI_DocumentRoot_renderKit_feature = Render Kit +_UI_DocumentRoot_renderKitFactory_feature = Render Kit Factory +_UI_DocumentRoot_stateManager_feature = State Manager +_UI_DocumentRoot_supportedComponentClass_feature = Supported Component Class +_UI_DocumentRoot_supportedComponentType_feature = Supported Component Type +_UI_DocumentRoot_supportedLocale_feature = Supported Locale +_UI_DocumentRoot_validator_feature = Validator +_UI_DocumentRoot_value_feature = Value +_UI_DocumentRoot_variableResolver_feature = Variable Resolver +_UI_DocumentRoot_viewHandler_feature = View Handler +_UI_FacesConfigType_application_feature = Application +_UI_FacesConfigType_factory_feature = Factory +_UI_FacesConfigType_component_feature = Component +_UI_FacesConfigType_converter_feature = Converter +_UI_FacesConfigType_managedBean_feature = Managed Bean +_UI_FacesConfigType_navigationRule_feature = Navigation Rule +_UI_FacesConfigType_referencedBean_feature = Referenced Bean +_UI_FacesConfigType_renderKit_feature = Render Kit +_UI_FacesConfigType_lifecycle_feature = Lifecycle +_UI_FacesConfigType_validator_feature = Validator +_UI_FacesConfigType_id_feature = Id +_UI_FacesConfigType_xmlns00000_feature = Xmlns00000 +_UI_FacesContextFactoryType_value_feature = Value +_UI_FacesContextFactoryType_id_feature = Id +_UI_FactoryType_applicationFactory_feature = Application Factory +_UI_FactoryType_facesContextFactory_feature = Faces Context Factory +_UI_FactoryType_lifecycleFactory_feature = Lifecycle Factory +_UI_FactoryType_renderKitFactory_feature = Render Kit Factory +_UI_FactoryType_id_feature = Id +_UI_IconType_id_feature = Id +_UI_IconType_lang_feature = Lang +_UI_IconType_largeIcon_feature = Large Icon +_UI_IconType_smallIcon_feature = Small Icon +_UI_LifecycleFactoryType_value_feature = Value +_UI_LifecycleFactoryType_id_feature = Id +_UI_LifecycleType_phaseListener_feature = Phase Listener +_UI_LifecycleType_id_feature = Id +_UI_ListEntriesType_nullValue_feature = Null Value +_UI_ListEntriesType_value_feature = Value +_UI_ListEntriesType_id_feature = Id +_UI_ListEntriesType_valueClass_feature = Value Class +_UI_LocaleConfigType_defaultLocale_feature = Default Locale +_UI_LocaleConfigType_supportedLocale_feature = Supported Locale +_UI_LocaleConfigType_id_feature = Id +_UI_ManagedBeanType_description_feature = Description +_UI_ManagedBeanType_displayName_feature = Display Name +_UI_ManagedBeanType_icon_feature = Icon +_UI_ManagedBeanType_managedProperty_feature = Managed Property +_UI_ManagedBeanType_mapEntries_feature = Map Entries +_UI_ManagedBeanType_listEntries_feature = List Entries +_UI_ManagedBeanType_id_feature = Id +_UI_ManagedBeanType_managedBeanClass_feature = Managed Bean Class +_UI_ManagedBeanType_managedBeanName_feature = Managed Bean Name +_UI_ManagedBeanType_managedBeanScope_feature = Managed Bean Scope +_UI_ManagedPropertyType_description_feature = Description +_UI_ManagedPropertyType_displayName_feature = Display Name +_UI_ManagedPropertyType_icon_feature = Icon +_UI_ManagedPropertyType_mapEntries_feature = Map Entries +_UI_ManagedPropertyType_listEntries_feature = List Entries +_UI_ManagedPropertyType_id_feature = Id +_UI_ManagedPropertyType_nullValue_feature = Null Value +_UI_ManagedPropertyType_propertyClass_feature = Property Class +_UI_ManagedPropertyType_propertyName_feature = Property Name +_UI_ManagedPropertyType_value_feature = Value +_UI_MapEntriesType_mapEntry_feature = Map Entry +_UI_MapEntriesType_id_feature = Id +_UI_MapEntriesType_keyClass_feature = Key Class +_UI_MapEntriesType_valueClass_feature = Value Class +_UI_MapEntryType_id_feature = Id +_UI_MapEntryType_key_feature = Key +_UI_MapEntryType_nullValue_feature = Null Value +_UI_MapEntryType_value_feature = Value +_UI_MessageBundleType_value_feature = Value +_UI_MessageBundleType_id_feature = Id +_UI_NavigationCaseType_description_feature = Description +_UI_NavigationCaseType_displayName_feature = Display Name +_UI_NavigationCaseType_icon_feature = Icon +_UI_NavigationCaseType_redirect_feature = Redirect +_UI_NavigationCaseType_fromAction_feature = From Action +_UI_NavigationCaseType_fromOutcome_feature = From Outcome +_UI_NavigationCaseType_id_feature = Id +_UI_NavigationCaseType_toViewId_feature = To View Id +_UI_NavigationHandlerType_value_feature = Value +_UI_NavigationHandlerType_id_feature = Id +_UI_NavigationRuleType_description_feature = Description +_UI_NavigationRuleType_displayName_feature = Display Name +_UI_NavigationRuleType_icon_feature = Icon +_UI_NavigationRuleType_navigationCase_feature = Navigation Case +_UI_NavigationRuleType_fromViewId_feature = From View Id +_UI_NavigationRuleType_id_feature = Id +_UI_NullValueType_id_feature = Id +_UI_PhaseListenerType_value_feature = Value +_UI_PhaseListenerType_id_feature = Id +_UI_PropertyExtensionType_mixed_feature = Mixed +_UI_PropertyExtensionType_group_feature = Group +_UI_PropertyExtensionType_any_feature = Any +_UI_PropertyExtensionType_id_feature = Id +_UI_PropertyResolverType_value_feature = Value +_UI_PropertyResolverType_id_feature = Id +_UI_PropertyType_description_feature = Description +_UI_PropertyType_displayName_feature = Display Name +_UI_PropertyType_icon_feature = Icon +_UI_PropertyType_propertyExtension_feature = Property Extension +_UI_PropertyType_defaultValue_feature = Default Value +_UI_PropertyType_id_feature = Id +_UI_PropertyType_propertyClass_feature = Property Class +_UI_PropertyType_propertyName_feature = Property Name +_UI_PropertyType_suggestedValue_feature = Suggested Value +_UI_RedirectType_id_feature = Id +_UI_ReferencedBeanType_description_feature = Description +_UI_ReferencedBeanType_displayName_feature = Display Name +_UI_ReferencedBeanType_icon_feature = Icon +_UI_ReferencedBeanType_id_feature = Id +_UI_ReferencedBeanType_referencedBeanClass_feature = Referenced Bean Class +_UI_ReferencedBeanType_referencedBeanName_feature = Referenced Bean Name +_UI_RendererExtensionType_mixed_feature = Mixed +_UI_RendererExtensionType_group_feature = Group +_UI_RendererExtensionType_any_feature = Any +_UI_RendererExtensionType_id_feature = Id +_UI_RendererType_description_feature = Description +_UI_RendererType_displayName_feature = Display Name +_UI_RendererType_icon_feature = Icon +_UI_RendererType_attribute_feature = Attribute +_UI_RendererType_supportedComponentType_feature = Supported Component Type +_UI_RendererType_supportedComponentClass_feature = Supported Component Class +_UI_RendererType_rendererExtension_feature = Renderer Extension +_UI_RendererType_id_feature = Id +_UI_RendererType_rendererClass_feature = Renderer Class +_UI_RendererType_rendererType_feature = Renderer Type +_UI_RenderKitFactoryType_value_feature = Value +_UI_RenderKitFactoryType_id_feature = Id +_UI_RenderKitType_description_feature = Description +_UI_RenderKitType_displayName_feature = Display Name +_UI_RenderKitType_icon_feature = Icon +_UI_RenderKitType_renderer_feature = Renderer +_UI_RenderKitType_id_feature = Id +_UI_RenderKitType_renderKitClass_feature = Render Kit Class +_UI_RenderKitType_renderKitId_feature = Render Kit Id +_UI_StateManagerType_value_feature = Value +_UI_StateManagerType_id_feature = Id +_UI_SupportedComponentClassType_componentClass_feature = Component Class +_UI_SupportedComponentClassType_attributeName_feature = Attribute Name +_UI_SupportedComponentClassType_id_feature = Id +_UI_SupportedComponentTypeType_componentType_feature = Component Type +_UI_SupportedComponentTypeType_attributeName_feature = Attribute Name +_UI_SupportedComponentTypeType_id_feature = Id +_UI_SupportedLocaleType_value_feature = Value +_UI_SupportedLocaleType_id_feature = Id +_UI_ValidatorType_description_feature = Description +_UI_ValidatorType_displayName_feature = Display Name +_UI_ValidatorType_icon_feature = Icon +_UI_ValidatorType_attribute_feature = Attribute +_UI_ValidatorType_property_feature = Property +_UI_ValidatorType_id_feature = Id +_UI_ValidatorType_validatorClass_feature = Validator Class +_UI_ValidatorType_validatorId_feature = Validator Id +_UI_ValueType_value_feature = Value +_UI_ValueType_id_feature = Id +_UI_VariableResolverType_value_feature = Value +_UI_VariableResolverType_id_feature = Id +_UI_ViewHandlerType_value_feature = Value +_UI_ViewHandlerType_id_feature = Id +_UI_Unknown_feature = Unspecified + +scValidation_duplicate_definition=Duplicate {0} {1}
\ No newline at end of file diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ActionListenerTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ActionListenerTranslator.java new file mode 100644 index 000000000..51bdd315c --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ActionListenerTranslator.java @@ -0,0 +1,39 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang + * + */ +public class ActionListenerTranslator extends Translator { + public ActionListenerTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature);//$NON-NLS-1$ + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getActionListenerType_TextContent()), + new Translator("id", facesPackage.getActionListenerType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ApplicationFactoryTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ApplicationFactoryTranslator.java new file mode 100644 index 000000000..3bcdc8880 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ApplicationFactoryTranslator.java @@ -0,0 +1,42 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang + * + */ +public class ApplicationFactoryTranslator extends Translator { + /** + * @param node + */ + public ApplicationFactoryTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getApplicationFactoryType_TextContent()), + new Translator("id", facesPackage.getApplicationFactoryType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ApplicationTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ApplicationTranslator.java new file mode 100644 index 000000000..f3c3d384c --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ApplicationTranslator.java @@ -0,0 +1,48 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang, itrimble + * + */ +public class ApplicationTranslator extends Translator { + public ApplicationTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature);//$NON-NLS-1$ + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new ActionListenerTranslator("action-listener", facesPackage.getApplicationType_ActionListener()), //$NON-NLS-1$ + new DefaultRenderKitIdTranslator("default-render-kit-id", facesPackage.getApplicationType_DefaultRenderKitId()), //$NON-NLS-1$ + new MessageBundleTranslator("message-bundle", facesPackage.getApplicationType_MessageBundle()), //$NON-NLS-1$ + new NavigationHandlerTranslator("navigation-handler", facesPackage.getApplicationType_NavigationHandler()), //$NON-NLS-1$ + new ViewHandlerTranslator("view-handler", facesPackage.getApplicationType_ViewHandler()), //$NON-NLS-1$ + new StateManagerTranslator("state-manager", facesPackage.getApplicationType_StateManager()), //$NON-NLS-1$ + new PropertyResolverTranslator("property-resolver", facesPackage.getApplicationType_PropertyResolver()), //$NON-NLS-1$ + new VariableResolverTranslator("variable-resolver", facesPackage.getApplicationType_VariableResolver()), //$NON-NLS-1$ + new LocaleConfigTranslator("locale-config", facesPackage.getApplicationType_LocaleConfig()), //$NON-NLS-1$ + new Translator("id", facesPackage.getApplicationType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/AttributeClassTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/AttributeClassTranslator.java new file mode 100644 index 000000000..3674af88c --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/AttributeClassTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class AttributeClassTranslator extends Translator { + + public AttributeClassTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getAttributeClassType_TextContent()), + new Translator("id", facesPackage.getAttributeClassType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/AttributeExtensionTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/AttributeExtensionTranslator.java new file mode 100644 index 000000000..e4d214bc2 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/AttributeExtensionTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang, itrimble + * + */ +public class AttributeExtensionTranslator extends Translator { + public AttributeExtensionTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature);//$NON-NLS-1$ + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator("any", facesPackage.getAttributeExtensionType_Any()), //$NON-NLS-1$ + new Translator("mixed", facesPackage.getAttributeExtensionType_Mixed()), //$NON-NLS-1$ + new Translator("id", facesPackage.getAttributeExtensionType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/AttributeNameTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/AttributeNameTranslator.java new file mode 100644 index 000000000..920ec6143 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/AttributeNameTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class AttributeNameTranslator extends Translator { + + public AttributeNameTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getAttributeNameType_TextContent()), + new Translator("id", facesPackage.getAttributeNameType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/AttributeTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/AttributeTranslator.java new file mode 100644 index 000000000..73353d4d6 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/AttributeTranslator.java @@ -0,0 +1,48 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class AttributeTranslator extends Translator { + + public AttributeTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new DescriptionTranslator("description", facesPackage.getAttributeType_Description()), //$NON-NLS-1$ + new DisplayNameTranslator("display-name", facesPackage.getAttributeType_DisplayName()), //$NON-NLS-1$ + new IconTranslator("icon", facesPackage.getAttributeType_Icon()), //$NON-NLS-1$ + new AttributeNameTranslator("attribute-name", facesPackage.getAttributeType_AttributeName()), //$NON-NLS-1$ + new AttributeClassTranslator("attribute-class", facesPackage.getAttributeType_AttributeClass()), //$NON-NLS-1$ + new DefaultValueTranslator("default-value", facesPackage.getAttributeType_DefaultValue()), //$NON-NLS-1$ + new SuggestedValueTranslator("suggested-value", facesPackage.getAttributeType_SuggestedValue()), //$NON-NLS-1$ + new AttributeExtensionTranslator("attribute-extension", facesPackage.getAttributeType_AttributeExtension()), //$NON-NLS-1$ + new Translator("id", facesPackage.getAttributeType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentClassTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentClassTranslator.java new file mode 100644 index 000000000..03c6717da --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentClassTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ComponentClassTranslator extends Translator { + + public ComponentClassTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getComponentClassType_TextContent()), + new Translator("id", facesPackage.getComponentClassType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentExtensionTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentExtensionTranslator.java new file mode 100644 index 000000000..5093c31c0 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentExtensionTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang, itrimble + * + */ +public class ComponentExtensionTranslator extends Translator { + public ComponentExtensionTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator("any", facesPackage.getComponentExtensionType_Any()), //$NON-NLS-1$ + new Translator("mixed", facesPackage.getComponentExtensionType_Mixed()), //$NON-NLS-1$ + new Translator("id", facesPackage.getComponentExtensionType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentFamilyTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentFamilyTranslator.java new file mode 100644 index 000000000..b9b893c87 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentFamilyTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ComponentFamilyTranslator extends Translator { + + public ComponentFamilyTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getComponentFamilyType_TextContent()), + new Translator("id", facesPackage.getComponentFamilyType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentTranslator.java new file mode 100644 index 000000000..dd58b4645 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentTranslator.java @@ -0,0 +1,48 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class ComponentTranslator extends Translator { + public ComponentTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature);//$NON-NLS-1$ + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new DescriptionTranslator("description", facesPackage.getComponentType_Description()), //$NON-NLS-1$ + new DisplayNameTranslator("display-name", facesPackage.getComponentType_DisplayName()), //$NON-NLS-1$ + new IconTranslator("icon", facesPackage.getComponentType_Icon()), //$NON-NLS-1$ + new ComponentTypeTranslator("component-type", facesPackage.getComponentType_ComponentType()), //$NON-NLS-1$ + new ComponentClassTranslator("component-class", facesPackage.getComponentType_ComponentClass()), //$NON-NLS-1$ + new FacetTranslator("facet", facesPackage.getComponentType_Facet()), //$NON-NLS-1$ + new AttributeTranslator("attribute", facesPackage.getComponentType_Attribute()), //$NON-NLS-1$ + new PropertyTranslator("property", facesPackage.getComponentType_Property()), //$NON-NLS-1$ + new ComponentExtensionTranslator("component-extension", facesPackage.getComponentType_ComponentExtension()), //$NON-NLS-1$ + new Translator("id", facesPackage.getComponentType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentTypeTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentTypeTranslator.java new file mode 100644 index 000000000..e3fc73cd0 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ComponentTypeTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ComponentTypeTranslator extends Translator { + + public ComponentTypeTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getComponentTypeType_TextContent()), + new Translator("id", facesPackage.getComponentTypeType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ConverterClassTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ConverterClassTranslator.java new file mode 100644 index 000000000..addd797bb --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ConverterClassTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ConverterClassTranslator extends Translator { + + public ConverterClassTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getConverterClassType_TextContent()), + new Translator("id", facesPackage.getConverterClassType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ConverterForClassTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ConverterForClassTranslator.java new file mode 100644 index 000000000..6be272d92 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ConverterForClassTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ConverterForClassTranslator extends Translator { + + public ConverterForClassTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getConverterForClassType_TextContent()), + new Translator("id", facesPackage.getConverterForClassType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ConverterIdTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ConverterIdTranslator.java new file mode 100644 index 000000000..6c72e1b83 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ConverterIdTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ConverterIdTranslator extends Translator { + + public ConverterIdTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getConverterIdType_TextContent()), + new Translator("id", facesPackage.getConverterIdType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ConverterTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ConverterTranslator.java new file mode 100644 index 000000000..cbd265d08 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ConverterTranslator.java @@ -0,0 +1,47 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class ConverterTranslator extends Translator { + public ConverterTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); //$NON-NLS-1$ + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new DescriptionTranslator("description", facesPackage.getConverterType_Description()), //$NON-NLS-1$ + new DisplayNameTranslator("display-name", facesPackage.getConverterType_DisplayName()), //$NON-NLS-1$ + new IconTranslator("icon", facesPackage.getConverterType_Icon()), //$NON-NLS-1$ + new ConverterIdTranslator("converter-id", facesPackage.getConverterType_ConverterId()), //$NON-NLS-1$ + new ConverterForClassTranslator("converter-for-class", facesPackage.getConverterType_ConverterForClass()), //$NON-NLS-1$ + new ConverterClassTranslator("converter-class", facesPackage.getConverterType_ConverterClass()), //$NON-NLS-1$ + new AttributeTranslator("attribute", facesPackage.getConverterType_Attribute()), //$NON-NLS-1$ + new PropertyTranslator("property", facesPackage.getConverterType_Property()), //$NON-NLS-1$ + new Translator("id", facesPackage.getConverterType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DefaultLocaleTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DefaultLocaleTranslator.java new file mode 100644 index 000000000..54be3ebc2 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DefaultLocaleTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class DefaultLocaleTranslator extends Translator { + + public DefaultLocaleTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getDefaultLocaleType_TextContent()), + new Translator("id", facesPackage.getDefaultLocaleType_Id(), DOM_ATTRIBUTE)//$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DefaultRenderKitIdTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DefaultRenderKitIdTranslator.java new file mode 100644 index 000000000..595fcf032 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DefaultRenderKitIdTranslator.java @@ -0,0 +1,40 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang, itrimble + * + */ +public class DefaultRenderKitIdTranslator extends Translator { + public DefaultRenderKitIdTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); //$NON-NLS-1$ + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getDefaultRenderKitIdType_TextContent()), + new Translator("id", facesPackage.getDefaultRenderKitIdType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DefaultValueTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DefaultValueTranslator.java new file mode 100644 index 000000000..4b63e7f6b --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DefaultValueTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class DefaultValueTranslator extends Translator { + + public DefaultValueTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getDefaultValueType_TextContent()), + new Translator("id", facesPackage.getDefaultValueType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DescriptionTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DescriptionTranslator.java new file mode 100644 index 000000000..5026a9abf --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DescriptionTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added text content and id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class DescriptionTranslator extends Translator { + public DescriptionTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getDescriptionType_TextContent()), + new Translator("lang", facesPackage.getDescriptionType_Lang(), DOM_ATTRIBUTE), //$NON-NLS-1$ + new Translator("id", facesPackage.getDescriptionType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DisplayNameTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DisplayNameTranslator.java new file mode 100644 index 000000000..45139a76f --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DisplayNameTranslator.java @@ -0,0 +1,42 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added text content and id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class DisplayNameTranslator extends Translator { + + public DisplayNameTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getDisplayNameType_TextContent()), + new Translator("lang", facesPackage.getDisplayNameType_Lang(), DOM_ATTRIBUTE), //$NON-NLS-1$ + new Translator("id", facesPackage.getDisplayNameType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacesConfigTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacesConfigTranslator.java new file mode 100644 index 000000000..683042b64 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacesConfigTranslator.java @@ -0,0 +1,52 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + + +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; +import org.eclipse.wst.common.internal.emf.resource.RootTranslator; + +/** + * @author xjiang, itrimble + * + */ +public class FacesConfigTranslator extends RootTranslator { + + public static FacesConfigTranslator INSTANCE = new FacesConfigTranslator(); + + public FacesConfigTranslator() { + super("faces-config", FacesConfigPackage.eINSTANCE.getFacesConfigType()); //$NON-NLS-1$ + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new ApplicationTranslator("application", facesPackage.getFacesConfigType_Application()), //$NON-NLS-1$ + new FactoryTranslator("factory", facesPackage.getFacesConfigType_Factory()), //$NON-NLS-1$ + new ComponentTranslator("component", facesPackage.getFacesConfigType_Component()), //$NON-NLS-1$ + new ConverterTranslator("converter", facesPackage.getFacesConfigType_Converter()), //$NON-NLS-1$ + new ManagedBeanTranslator("managed-bean", facesPackage.getFacesConfigType_ManagedBean()), //$NON-NLS-1$ + new NavigationRuleTranslator("navigation-rule", facesPackage.getFacesConfigType_NavigationRule()), //$NON-NLS-1$ + new ReferencedBeanTranslator("referenced-bean", facesPackage.getFacesConfigType_ReferencedBean()), //$NON-NLS-1$ + new RenderKitTranslator("render-kit", facesPackage.getFacesConfigType_RenderKit()), //$NON-NLS-1$ + new LifecycleTranslator("lifecycle", facesPackage.getFacesConfigType_Lifecycle()), //$NON-NLS-1$ + new ValidatorTranslator("validator", facesPackage.getFacesConfigType_Validator()), //$NON-NLS-1$ + new Translator("xmlns", facesPackage.getFacesConfigType_Xmlns(), DOM_ATTRIBUTE), //$NON-NLS-1$ + new Translator("id", facesPackage.getFacesConfigType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacesContextFactoryTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacesContextFactoryTranslator.java new file mode 100644 index 000000000..32ba41e55 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacesContextFactoryTranslator.java @@ -0,0 +1,42 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang, itrimble + * + */ +public class FacesContextFactoryTranslator extends Translator { + + public FacesContextFactoryTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getFacesContextFactoryType_TextContent()), + new Translator("id", facesPackage.getFacesContextFactoryType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacetExtensionTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacetExtensionTranslator.java new file mode 100644 index 000000000..ed21b0b2f --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacetExtensionTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Orcale Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang, itrimble + * + */ +public class FacetExtensionTranslator extends Translator { + public FacetExtensionTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); //$NON-NLS-1$ + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator("any", facesPackage.getFacetExtensionType_Any()), //$NON-NLS-1$ + new Translator("mixed", facesPackage.getFacetExtensionType_Mixed()), //$NON-NLS-1$ + new Translator("id", facesPackage.getFacetExtensionType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacetNameTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacetNameTranslator.java new file mode 100644 index 000000000..27b2aa1ee --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacetNameTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class FacetNameTranslator extends Translator { + + public FacetNameTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getFacetNameType_TextContent()), + new Translator("id", facesPackage.getFacetNameType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacetTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacetTranslator.java new file mode 100644 index 000000000..b1dd5f3c3 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacetTranslator.java @@ -0,0 +1,45 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang, itrimble + * + */ +public class FacetTranslator extends Translator { + + public FacetTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new DescriptionTranslator("description", facesPackage.getFacetType_Description()), //$NON-NLS-1$ + new DisplayNameTranslator("display-name", facesPackage.getFacetType_DisplayName()), //$NON-NLS-1$ + new IconTranslator("icon", facesPackage.getFacetType_Icon()), //$NON-NLS-1$ + new FacetNameTranslator("facet-name", facesPackage.getFacetType_FacetName()), //$NON-NLS-1$ + new FacetExtensionTranslator("facet-extension", facesPackage.getFacetType_FacetExtension()), //$NON-NLS-1$ + new Translator("id", facesPackage.getFacetType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FactoryTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FactoryTranslator.java new file mode 100644 index 000000000..4d2fdef57 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FactoryTranslator.java @@ -0,0 +1,43 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author Eric Bordeau, itrimble + */ +public class FactoryTranslator extends Translator { + + public FactoryTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new ApplicationFactoryTranslator("application-factory", facesPackage.getFactoryType_ApplicationFactory()), //$NON-NLS-1$ + new FacesContextFactoryTranslator("faces-context-factory", facesPackage.getFactoryType_FacesContextFactory()), //$NON-NLS-1$ + new LifecycleFactoryTranslator("lifecycle-factory", facesPackage.getFactoryType_LifecycleFactory()), //$NON-NLS-1$ + new RenderKitFactoryTranslator("render-kit-factory", facesPackage.getFactoryType_RenderKitFactory()), //$NON-NLS-1$ + new Translator("id", facesPackage.getFactoryType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FromActionTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FromActionTranslator.java new file mode 100644 index 000000000..0e8296e14 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FromActionTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class FromActionTranslator extends Translator { + + public FromActionTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getFromActionType_TextContent()), + new Translator("id", facesPackage.getFromActionType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FromOutcomeTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FromOutcomeTranslator.java new file mode 100644 index 000000000..3a8799b70 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FromOutcomeTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class FromOutcomeTranslator extends Translator { + + public FromOutcomeTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getFromOutcomeType_TextContent()), + new Translator("id", facesPackage.getFromOutcomeType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FromViewIdTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FromViewIdTranslator.java new file mode 100644 index 000000000..75ba47054 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FromViewIdTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class FromViewIdTranslator extends Translator { + + public FromViewIdTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getFromViewIdType_TextContent()), + new Translator("id", facesPackage.getFromViewIdType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/IconTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/IconTranslator.java new file mode 100644 index 000000000..6bba15347 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/IconTranslator.java @@ -0,0 +1,43 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class IconTranslator extends Translator { + + public IconTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new SmallIconTranslator("small-icon", facesPackage.getIconType_SmallIcon()), //$NON-NLS-1$ + new LargeIconTranslator("large-icon", facesPackage.getIconType_LargeIcon()), //$NON-NLS-1$ + new Translator("lang", facesPackage.getIconType_Lang(), DOM_ATTRIBUTE), //$NON-NLS-1$ + new Translator("id", facesPackage.getIconType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/KeyClassTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/KeyClassTranslator.java new file mode 100644 index 000000000..6a17832cd --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/KeyClassTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class KeyClassTranslator extends Translator { + + public KeyClassTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getKeyClassType_TextContent()), + new Translator("id", facesPackage.getKeyClassType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/KeyTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/KeyTranslator.java new file mode 100644 index 000000000..ed7916739 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/KeyTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class KeyTranslator extends Translator { + + public KeyTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getKeyType_TextContent()), + new Translator("id", facesPackage.getKeyType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LargeIconTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LargeIconTranslator.java new file mode 100644 index 000000000..97245bb6a --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LargeIconTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class LargeIconTranslator extends Translator { + + public LargeIconTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getLargeIconType_TextContent()), + new Translator("id", facesPackage.getLargeIconType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LifecycleFactoryTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LifecycleFactoryTranslator.java new file mode 100644 index 000000000..56262737d --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LifecycleFactoryTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang, itrimble + * + */ +public class LifecycleFactoryTranslator extends Translator { + + public LifecycleFactoryTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getLifecycleFactoryType_TextContent()), + new Translator("id", facesPackage.getLifecycleFactoryType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LifecycleTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LifecycleTranslator.java new file mode 100644 index 000000000..7a351e2f2 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LifecycleTranslator.java @@ -0,0 +1,40 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author Eric Bordeau, itrimble + */ +public class LifecycleTranslator extends Translator { + + public LifecycleTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new PhaseListenerTranslator("phase-listener", facesPackage.getLifecycleType_PhaseListener()), //$NON-NLS-1$ + new Translator("id", facesPackage.getLifecycleType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ListEntriesTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ListEntriesTranslator.java new file mode 100644 index 000000000..d978bb123 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ListEntriesTranslator.java @@ -0,0 +1,43 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class ListEntriesTranslator extends Translator { + + public ListEntriesTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new ValueClassTranslator("value-class", facesPackage.getListEntriesType_ValueClass()), //$NON-NLS-1$ + new NullValueTranslator("null-value", facesPackage.getListEntriesType_NullValue()), //$NON-NLS-1$ + new ValueTranslator("value", facesPackage.getListEntriesType_Value()), //$NON-NLS-1$ + new Translator("id", facesPackage.getListEntriesType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LocaleConfigTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LocaleConfigTranslator.java new file mode 100644 index 000000000..f779f2171 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LocaleConfigTranslator.java @@ -0,0 +1,42 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class LocaleConfigTranslator extends Translator { + + public LocaleConfigTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new DefaultLocaleTranslator("default-locale", facesPackage.getLocaleConfigType_DefaultLocale()), //$NON-NLS-1$ + new SupportedLocaleTranslator("supported-locale", facesPackage.getLocaleConfigType_SupportedLocale()), //$NON-NLS-1$ + new Translator("id", facesPackage.getLocaleConfigType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedBeanClassTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedBeanClassTranslator.java new file mode 100644 index 000000000..19ab4db5d --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedBeanClassTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ManagedBeanClassTranslator extends Translator { + + public ManagedBeanClassTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getManagedBeanClassType_TextContent()), + new Translator("id", facesPackage.getManagedBeanClassType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedBeanNameTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedBeanNameTranslator.java new file mode 100644 index 000000000..358a9bb4f --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedBeanNameTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ManagedBeanNameTranslator extends Translator { + + public ManagedBeanNameTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getManagedBeanNameType_TextContent()), + new Translator("id", facesPackage.getManagedBeanNameType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedBeanScopeTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedBeanScopeTranslator.java new file mode 100644 index 000000000..0e23a0e65 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedBeanScopeTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ManagedBeanScopeTranslator extends Translator { + + public ManagedBeanScopeTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getManagedBeanScopeType_TextContent()), + new Translator("id", facesPackage.getManagedBeanScopeType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedBeanTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedBeanTranslator.java new file mode 100644 index 000000000..a6f464de5 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedBeanTranslator.java @@ -0,0 +1,49 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class ManagedBeanTranslator extends Translator { + + public ManagedBeanTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new DescriptionTranslator("description", facesPackage.getManagedBeanType_Description()), //$NON-NLS-1$ + new DisplayNameTranslator("display-name", facesPackage.getManagedBeanType_DisplayName()), //$NON-NLS-1$ + new IconTranslator("icon", facesPackage.getManagedBeanType_Icon()), //$NON-NLS-1$ + new ManagedBeanNameTranslator("managed-bean-name", facesPackage.getManagedBeanType_ManagedBeanName()), //$NON-NLS-1$ + new ManagedBeanClassTranslator("managed-bean-class", facesPackage.getManagedBeanType_ManagedBeanClass()), //$NON-NLS-1$ + new ManagedBeanScopeTranslator("managed-bean-scope", facesPackage.getManagedBeanType_ManagedBeanScope()), //$NON-NLS-1$ + new ManagedPropertyTranslator("managed-property", facesPackage.getManagedBeanType_ManagedProperty()), //$NON-NLS-1$ + new MapEntriesTranslator("map-entries", facesPackage.getManagedBeanType_MapEntries()), //$NON-NLS-1$ + new ListEntriesTranslator("list-entries", facesPackage.getManagedBeanType_ListEntries()), //$NON-NLS-1$ + new Translator("id", facesPackage.getManagedBeanType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedPropertyTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedPropertyTranslator.java new file mode 100644 index 000000000..16728e0ad --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedPropertyTranslator.java @@ -0,0 +1,49 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class ManagedPropertyTranslator extends Translator { + + public ManagedPropertyTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new DescriptionTranslator("description", facesPackage.getManagedPropertyType_Description()), //$NON-NLS-1$ + new DisplayNameTranslator("display-name", facesPackage.getManagedPropertyType_DisplayName()), //$NON-NLS-1$ + new IconTranslator("icon", facesPackage.getManagedPropertyType_Icon()), //$NON-NLS-1$ + new PropertyNameTranslator("property-name", facesPackage.getManagedPropertyType_PropertyName()), //$NON-NLS-1$ + new PropertyClassTranslator("property-class", facesPackage.getManagedPropertyType_PropertyClass()), //$NON-NLS-1$ + new MapEntriesTranslator("map-entries", facesPackage.getManagedPropertyType_MapEntries()), //$NON-NLS-1$ + new NullValueTranslator("null-value", facesPackage.getManagedPropertyType_NullValue()), //$NON-NLS-1$ + new ValueTranslator("value", facesPackage.getManagedPropertyType_Value()), //$NON-NLS-1$ + new ListEntriesTranslator("list-entries", facesPackage.getManagedPropertyType_ListEntries()), //$NON-NLS-1$ + new Translator("id", facesPackage.getManagedPropertyType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/MapEntriesTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/MapEntriesTranslator.java new file mode 100644 index 000000000..869388d5b --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/MapEntriesTranslator.java @@ -0,0 +1,43 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class MapEntriesTranslator extends Translator { + + public MapEntriesTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new KeyClassTranslator("key-class", facesPackage.getMapEntriesType_KeyClass()), //$NON-NLS-1$ + new ValueClassTranslator("value-class", facesPackage.getMapEntriesType_ValueClass()), //$NON-NLS-1$ + new MapEntryTranslator("map-entry", facesPackage.getMapEntriesType_MapEntry()), //$NON-NLS-1$ + new Translator("id", facesPackage.getMapEntriesType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/MapEntryTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/MapEntryTranslator.java new file mode 100644 index 000000000..20cf05ecc --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/MapEntryTranslator.java @@ -0,0 +1,43 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class MapEntryTranslator extends Translator { + + public MapEntryTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new KeyTranslator("key", facesPackage.getMapEntryType_Key()), //$NON-NLS-1$ + new NullValueTranslator("null-value", facesPackage.getMapEntryType_NullValue()), //$NON-NLS-1$ + new ValueTranslator("value", facesPackage.getMapEntryType_Value()), //$NON-NLS-1$ + new Translator("id", facesPackage.getMapEntryType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/MessageBundleTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/MessageBundleTranslator.java new file mode 100644 index 000000000..3d128ef55 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/MessageBundleTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class MessageBundleTranslator extends Translator { + + public MessageBundleTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getMessageBundleType_TextContent()), + new Translator("id", facesPackage.getMessageBundleType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NavigationCaseTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NavigationCaseTranslator.java new file mode 100644 index 000000000..e3fb19d5e --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NavigationCaseTranslator.java @@ -0,0 +1,47 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class NavigationCaseTranslator extends Translator { + + public NavigationCaseTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new DescriptionTranslator("description", facesPackage.getNavigationCaseType_Description()), //$NON-NLS-1$ + new DisplayNameTranslator("display-name", facesPackage.getNavigationCaseType_DisplayName()), //$NON-NLS-1$ + new IconTranslator("icon", facesPackage.getNavigationCaseType_Icon()), //$NON-NLS-1$ + new FromActionTranslator("from-action", facesPackage.getNavigationCaseType_FromAction()), //$NON-NLS-1$ + new FromOutcomeTranslator("from-outcome", facesPackage.getNavigationCaseType_FromOutcome()), //$NON-NLS-1$ + new ToViewIdTranslator("to-view-id", facesPackage.getNavigationCaseType_ToViewId()), //$NON-NLS-1$ + new RedirectTranslator("redirect", facesPackage.getNavigationCaseType_Redirect()), //$NON-NLS-1$ + new Translator("id", facesPackage.getNavigationCaseType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NavigationHandlerTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NavigationHandlerTranslator.java new file mode 100644 index 000000000..9c563dcb7 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NavigationHandlerTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class NavigationHandlerTranslator extends Translator { + + public NavigationHandlerTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature);//$NON-NLS-1$ + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getNavigationHandlerType_TextContent()), + new Translator("id", facesPackage.getNavigationHandlerType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NavigationRuleTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NavigationRuleTranslator.java new file mode 100644 index 000000000..a7e6a676f --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NavigationRuleTranslator.java @@ -0,0 +1,45 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class NavigationRuleTranslator extends Translator { + + public NavigationRuleTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new DescriptionTranslator("description", facesPackage.getNavigationRuleType_Description()), //$NON-NLS-1$ + new DisplayNameTranslator("display-name", facesPackage.getNavigationRuleType_DisplayName()), //$NON-NLS-1$ + new IconTranslator("icon", facesPackage.getNavigationRuleType_Icon()), //$NON-NLS-1$ + new FromViewIdTranslator("from-view-id", facesPackage.getNavigationRuleType_FromViewId()), //$NON-NLS-1$ + new NavigationCaseTranslator("navigation-case", facesPackage.getNavigationRuleType_NavigationCase()), //$NON-NLS-1$ + new Translator("id", facesPackage.getNavigationRuleType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NullValueTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NullValueTranslator.java new file mode 100644 index 000000000..1003681f5 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NullValueTranslator.java @@ -0,0 +1,43 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class NullValueTranslator extends Translator { + + public NullValueTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature, EMPTY_TAG|END_TAG_NO_INDENT); + } + + public boolean isSetMOFValue(EObject emfObject) { + return feature != null && emfObject.eIsSet(feature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator("id", facesPackage.getNullValueType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PhaseListenerTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PhaseListenerTranslator.java new file mode 100644 index 000000000..716c17472 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PhaseListenerTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang, itrimble + * + */ +public class PhaseListenerTranslator extends Translator { + + public PhaseListenerTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getPhaseListenerType_TextContent()), + new Translator("id", facesPackage.getPhaseListenerType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyClassTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyClassTranslator.java new file mode 100644 index 000000000..fde7f64a2 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyClassTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class PropertyClassTranslator extends Translator { + + public PropertyClassTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getPropertyClassType_TextContent()), + new Translator("id", facesPackage.getPropertyClassType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyExtensionTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyExtensionTranslator.java new file mode 100644 index 000000000..93be00ee5 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyExtensionTranslator.java @@ -0,0 +1,42 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang, itrimble + * + */ +public class PropertyExtensionTranslator extends Translator { + + public PropertyExtensionTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator("any", facesPackage.getPropertyExtensionType_Any()), //$NON-NLS-1$ + new Translator("mixed", facesPackage.getPropertyExtensionType_Mixed()), //$NON-NLS-1$ + new Translator("id", facesPackage.getPropertyExtensionType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyNameTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyNameTranslator.java new file mode 100644 index 000000000..36dc64ee2 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyNameTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class PropertyNameTranslator extends Translator { + + public PropertyNameTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getPropertyNameType_TextContent()), + new Translator("id", facesPackage.getPropertyNameType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyResolverTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyResolverTranslator.java new file mode 100644 index 000000000..bfe0a9327 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyResolverTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class PropertyResolverTranslator extends Translator { + + public PropertyResolverTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getPropertyResolverType_TextContent()), + new Translator("id", facesPackage.getPropertyResolverType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyTranslator.java new file mode 100644 index 000000000..fd113b17c --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyTranslator.java @@ -0,0 +1,48 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class PropertyTranslator extends Translator { + + public PropertyTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new DescriptionTranslator("description", facesPackage.getPropertyType_Description()), //$NON-NLS-1$ + new DisplayNameTranslator("display-name", facesPackage.getPropertyType_DisplayName()), //$NON-NLS-1$ + new IconTranslator("icon", facesPackage.getPropertyType_Icon()), //$NON-NLS-1$ + new PropertyNameTranslator("property-name", facesPackage.getPropertyType_PropertyName()), //$NON-NLS-1$ + new PropertyClassTranslator("property-class", facesPackage.getPropertyType_PropertyClass()), //$NON-NLS-1$ + new DefaultValueTranslator("default-value", facesPackage.getPropertyType_DefaultValue()), //$NON-NLS-1$ + new SuggestedValueTranslator("suggested-value", facesPackage.getPropertyType_SuggestedValue()), //$NON-NLS-1$ + new PropertyExtensionTranslator("property-extension", facesPackage.getPropertyType_PropertyExtension()), //$NON-NLS-1$ + new Translator("id", facesPackage.getPropertyType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RedirectTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RedirectTranslator.java new file mode 100644 index 000000000..449bf10c3 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RedirectTranslator.java @@ -0,0 +1,38 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class RedirectTranslator extends Translator { + + public RedirectTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature, EMPTY_TAG|END_TAG_NO_INDENT); + } + + public boolean isSetMOFValue(EObject emfObject) { + return feature != null && emfObject.eIsSet(feature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator("id", facesPackage.getRedirectType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ReferencedBeanClassTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ReferencedBeanClassTranslator.java new file mode 100644 index 000000000..e0da5c4e7 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ReferencedBeanClassTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ReferencedBeanClassTranslator extends Translator { + + public ReferencedBeanClassTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getReferencedBeanClassType_TextContent()), + new Translator("id", facesPackage.getReferencedBeanClassType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ReferencedBeanNameTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ReferencedBeanNameTranslator.java new file mode 100644 index 000000000..9c0d7380c --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ReferencedBeanNameTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ReferencedBeanNameTranslator extends Translator { + + public ReferencedBeanNameTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getReferencedBeanNameType_TextContent()), + new Translator("id", facesPackage.getReferencedBeanNameType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ReferencedBeanTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ReferencedBeanTranslator.java new file mode 100644 index 000000000..6f3c16599 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ReferencedBeanTranslator.java @@ -0,0 +1,45 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class ReferencedBeanTranslator extends Translator { + + public ReferencedBeanTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new DescriptionTranslator("description", facesPackage.getReferencedBeanType_Description()), //$NON-NLS-1$ + new DisplayNameTranslator("display-name", facesPackage.getReferencedBeanType_DisplayName()), //$NON-NLS-1$ + new IconTranslator("icon", facesPackage.getReferencedBeanType_Icon()), //$NON-NLS-1$ + new ReferencedBeanNameTranslator("referenced-bean-name", facesPackage.getReferencedBeanType_ReferencedBeanName()), //$NON-NLS-1$ + new ReferencedBeanClassTranslator("referenced-bean-class", facesPackage.getReferencedBeanType_ReferencedBeanClass()), //$NON-NLS-1$ + new Translator("id", facesPackage.getReferencedBeanType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RenderKitClassTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RenderKitClassTranslator.java new file mode 100644 index 000000000..a22f5d886 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RenderKitClassTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class RenderKitClassTranslator extends Translator { + + public RenderKitClassTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getRenderKitClassType_TextContent()), + new Translator("id", facesPackage.getRenderKitClassType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RenderKitFactoryTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RenderKitFactoryTranslator.java new file mode 100644 index 000000000..0e74343af --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RenderKitFactoryTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang, itrimble + * + */ +public class RenderKitFactoryTranslator extends Translator { + + public RenderKitFactoryTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getRenderKitFactoryType_TextContent()), + new Translator("id", facesPackage.getRenderKitFactoryType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RenderKitIdTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RenderKitIdTranslator.java new file mode 100644 index 000000000..c9185a7c9 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RenderKitIdTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class RenderKitIdTranslator extends Translator { + + public RenderKitIdTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getRenderKitIdType_TextContent()), + new Translator("id", facesPackage.getRenderKitIdType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RenderKitTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RenderKitTranslator.java new file mode 100644 index 000000000..c84467f46 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RenderKitTranslator.java @@ -0,0 +1,46 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class RenderKitTranslator extends Translator { + + public RenderKitTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new DescriptionTranslator("description", facesPackage.getRenderKitType_Description()), //$NON-NLS-1$ + new DisplayNameTranslator("display-name", facesPackage.getRenderKitType_DisplayName()), //$NON-NLS-1$ + new IconTranslator("icon", facesPackage.getRenderKitType_Icon()), //$NON-NLS-1$ + new RenderKitIdTranslator("render-kit-id", facesPackage.getRenderKitType_RenderKitId()), //$NON-NLS-1$ + new RenderKitClassTranslator("render-kit-class", facesPackage.getRenderKitType_RenderKitClass()), //$NON-NLS-1$ + new RendererTranslator("renderer", facesPackage.getRenderKitType_Renderer()), //$NON-NLS-1$ + new Translator("id", facesPackage.getRenderKitType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RendererClassTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RendererClassTranslator.java new file mode 100644 index 000000000..5d947e6fa --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RendererClassTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class RendererClassTranslator extends Translator { + + public RendererClassTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getRendererClassType_TextContent()), + new Translator("id", facesPackage.getRendererClassType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RendererExtensionTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RendererExtensionTranslator.java new file mode 100644 index 000000000..3a48e9378 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RendererExtensionTranslator.java @@ -0,0 +1,42 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang, itrimble + * + */ +public class RendererExtensionTranslator extends Translator { + + public RendererExtensionTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator("any", facesPackage.getRendererExtensionType_Any()), //$NON-NLS-1$ + new Translator("mixed", facesPackage.getRendererExtensionType_Mixed()), //$NON-NLS-1$ + new Translator("id", facesPackage.getRendererExtensionType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RendererTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RendererTranslator.java new file mode 100644 index 000000000..26e2f5cf9 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RendererTranslator.java @@ -0,0 +1,49 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class RendererTranslator extends Translator { + + public RendererTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new DescriptionTranslator("description", facesPackage.getRendererType_Description()), //$NON-NLS-1$ + new DisplayNameTranslator("display-name", facesPackage.getRendererType_DisplayName()), //$NON-NLS-1$ + new IconTranslator("icon", facesPackage.getRendererType_Icon()), //$NON-NLS-1$ + new ComponentFamilyTranslator("component-family", facesPackage.getRendererType_ComponentFamily()), //$NON-NLS-1$ + new RendererTypeTranslator("renderer-type", facesPackage.getRendererType_RendererType()), //$NON-NLS-1$ + new RendererClassTranslator("renderer-class", facesPackage.getRendererType_RendererClass()), //$NON-NLS-1$ + new FacetTranslator("facet", facesPackage.getRendererType_Facet()), //$NON-NLS-1$ + new AttributeTranslator("attribute", facesPackage.getRendererType_Attribute()), //$NON-NLS-1$ + new RendererExtensionTranslator("renderer-extension", facesPackage.getRendererType_RendererExtension()), //$NON-NLS-1$ + new Translator("id", facesPackage.getRendererType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RendererTypeTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RendererTypeTranslator.java new file mode 100644 index 000000000..9c7cfd811 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RendererTypeTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class RendererTypeTranslator extends Translator { + + public RendererTypeTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getRendererTypeType_TextContent()), + new Translator("id", facesPackage.getRendererTypeType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/SmallIconTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/SmallIconTranslator.java new file mode 100644 index 000000000..e4cba8680 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/SmallIconTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class SmallIconTranslator extends Translator { + + public SmallIconTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getSmallIconType_TextContent()), + new Translator("id", facesPackage.getSmallIconType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/StateManagerTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/StateManagerTranslator.java new file mode 100644 index 000000000..ddcc3b44c --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/StateManagerTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class StateManagerTranslator extends Translator { + + public StateManagerTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getStateManagerType_TextContent()), + new Translator("id", facesPackage.getStateManagerType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/SuggestedValueTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/SuggestedValueTranslator.java new file mode 100644 index 000000000..3cfdbe7ce --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/SuggestedValueTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class SuggestedValueTranslator extends Translator { + + public SuggestedValueTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getSuggestedValueType_TextContent()), + new Translator("id", facesPackage.getSuggestedValueType_Id(), DOM_ATTRIBUTE)//$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/SupportedLocaleTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/SupportedLocaleTranslator.java new file mode 100644 index 000000000..3cb59aa38 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/SupportedLocaleTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang, itrimble + * + */ +public class SupportedLocaleTranslator extends Translator { + + public SupportedLocaleTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getSupportedLocaleType_TextContent()), + new Translator("id", facesPackage.getSupportedLocaleType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ToViewIdTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ToViewIdTranslator.java new file mode 100644 index 000000000..38180f7c4 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ToViewIdTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ToViewIdTranslator extends Translator { + + public ToViewIdTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getToViewIdType_TextContent()), + new Translator("id", facesPackage.getToViewIdType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValidatorClassTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValidatorClassTranslator.java new file mode 100644 index 000000000..ff0d4db59 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValidatorClassTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ValidatorClassTranslator extends Translator { + + public ValidatorClassTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getValidatorClassType_TextContent()), + new Translator("id", facesPackage.getValidatorClassType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValidatorIdTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValidatorIdTranslator.java new file mode 100644 index 000000000..88df447bd --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValidatorIdTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ValidatorIdTranslator extends Translator { + + public ValidatorIdTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getValidatorIdType_TextContent()), + new Translator("id", facesPackage.getValidatorIdType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValidatorTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValidatorTranslator.java new file mode 100644 index 000000000..f4ddf18ed --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValidatorTranslator.java @@ -0,0 +1,46 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - fixed getChildren() + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class ValidatorTranslator extends Translator { + + public ValidatorTranslator(String domNameAndPath,EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new DescriptionTranslator("description", facesPackage.getValidatorType_Description()), //$NON-NLS-1$ + new DisplayNameTranslator("display-name", facesPackage.getValidatorType_DisplayName()), //$NON-NLS-1$ + new IconTranslator("icon", facesPackage.getValidatorType_Icon()), //$NON-NLS-1$ + new ValidatorIdTranslator("validator-id", facesPackage.getValidatorType_ValidatorId()), //$NON-NLS-1$ + new ValidatorClassTranslator("validator-class", facesPackage.getValidatorType_ValidatorClass()), //$NON-NLS-1$ + new AttributeTranslator("attribute", facesPackage.getValidatorType_Attribute()), //$NON-NLS-1$ + new PropertyTranslator("property", facesPackage.getValidatorType_Property()), //$NON-NLS-1$ + new Translator("id", facesPackage.getValidatorType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValueClassTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValueClassTranslator.java new file mode 100644 index 000000000..a0e1cae42 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValueClassTranslator.java @@ -0,0 +1,34 @@ +/******************************************************************************* + * Copyright (c) 2005 Oracle Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Ian Trimble - initial API and implementation + *******************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; +import org.eclipse.wst.common.internal.emf.resource.Translator; + +public class ValueClassTranslator extends Translator { + + public ValueClassTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getValueClassType_TextContent()), + new Translator("id", facesPackage.getValueClassType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValueTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValueTranslator.java new file mode 100644 index 000000000..af6a6d2d6 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValueTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added is attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xnjiang, itrimble + * + */ +public class ValueTranslator extends Translator { + + public ValueTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getValueType_TextContent()), + new Translator("id", facesPackage.getValueType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/VariableResolverTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/VariableResolverTranslator.java new file mode 100644 index 000000000..107a8c4e7 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/VariableResolverTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class VariableResolverTranslator extends Translator { + + public VariableResolverTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getVariableResolverType_TextContent()), + new Translator("id", facesPackage.getVariableResolverType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ViewHandlerTranslator.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ViewHandlerTranslator.java new file mode 100644 index 000000000..db6c61f94 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ViewHandlerTranslator.java @@ -0,0 +1,41 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + * Oracle Corporation - added id attribute + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.internal.translator; + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; + + +import org.eclipse.wst.common.internal.emf.resource.Translator; + +/** + * @author xjiang, itrimble + * + */ +public class ViewHandlerTranslator extends Translator { + + public ViewHandlerTranslator(String domNameAndPath, EStructuralFeature aFeature) { + super(domNameAndPath, aFeature); + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.Translator#getChildren() + */ + public Translator[] getChildren() { + + FacesConfigPackage facesPackage = FacesConfigPackage.eINSTANCE; + return new Translator[] { + new Translator(TEXT_ATTRIBUTE_VALUE, facesPackage.getViewHandlerType_TextContent()), + new Translator("id", facesPackage.getViewHandlerType_Id(), DOM_ATTRIBUTE) //$NON-NLS-1$ + }; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigArtifactEdit.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigArtifactEdit.java new file mode 100644 index 000000000..091c704af --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigArtifactEdit.java @@ -0,0 +1,160 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.util; + +import java.util.List; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IProject; +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType; +import org.eclipse.wst.common.componentcore.ArtifactEdit; +import org.eclipse.wst.common.componentcore.resources.IVirtualFile; +import org.eclipse.wst.common.componentcore.resources.IVirtualResource; +import org.eclipse.wst.common.internal.emf.resource.TranslatorResource; +import org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSERenderer; +import org.eclipse.wst.xml.core.internal.provisional.document.IDOMModel; + + +public class FacesConfigArtifactEdit extends ArtifactEdit { + private static String sFileName = null; + private FacesConfigType facesConfig = null; + private URI facesConfigURI = URI.createURI(IFacesConfigConstants.FACES_CONFIG_URI); + private boolean bRegistered = false; + + public FacesConfigArtifactEdit(IProject aProject, boolean toAccessAsReadOnly) throws IllegalArgumentException { + super(aProject, toAccessAsReadOnly); + } + + public static FacesConfigArtifactEdit getFacesConfigArtifactEditForRead(IProject aProject, String sConfigFile) { + sFileName = sConfigFile; + FacesConfigArtifactEdit artifactEdit = null; + try { + artifactEdit = new FacesConfigArtifactEdit(aProject, true); + } catch (IllegalArgumentException iae) { + } + return artifactEdit; + } + public static FacesConfigArtifactEdit getFacesConfigArtifactEditForRead(IProject aProject) { + return getFacesConfigArtifactEditForRead(aProject, null); + } + + public static FacesConfigArtifactEdit getFacesConfigArtifactEditForWrite(IProject aProject, String sConfigFile) { + sFileName = sConfigFile; + FacesConfigArtifactEdit artifactEdit = null; + try { + artifactEdit = new FacesConfigArtifactEdit(aProject, false); + } catch (IllegalArgumentException iae) { + } + return artifactEdit; + } + + public static FacesConfigArtifactEdit getFacesConfigArtifactEditForWrite(IProject aProject) { + return getFacesConfigArtifactEditForWrite(aProject, null); + } + + public FacesConfigType getFacesConfig() { + if (facesConfig == null) { + // TODO: XN - does not seem a good way to check whether the resource has been registered each time. + // The following comment is from StrutsArchfactEdit: + // This is a hack to ensure that our Resource.Factory is used to + // create + // the Resource. It's the same hack used by JaxRPCMapArtifactEdit. + // The problem is that there is no way to register a Resource.Factory + // by, say, content type. + // The best we can do is register by last file segment, which isn't + // strictly correct. + // Plus, there's no way to deregister. + if (sFileName != null) { + if (!bRegistered) { + //if (FacesConfigResourceFactory.getRegisteredFactory(URI.createURI(sFileName)) == null) { + FacesConfigResourceFactory.register(sFileName); + bRegistered = true; + } + } + facesConfig = (FacesConfigType)getDeploymentDescriptorRoot(); + } + return facesConfig; + } + + public URI getFacesConfigURI() { + return facesConfigURI; + } + + public EObject getDeploymentDescriptorRoot() { + List contents = getDeploymentDescriptorResource().getContents(); + if (contents.size() > 0) + return (EObject) contents.get(0); + return null; + // TODO: XN + //addFacesConfigIfNecessary((IFacesConfigResource)getDeploymentDescriptorResource()); + //return (EObject) contents.get(0); + } + + public Resource getDeploymentDescriptorResource() { + if (sFileName != null) { + facesConfigURI = URI.createURI(sFileName); + } else {// default is "WEB-INF/faces-config.xml" + facesConfigURI = URI.createURI(IFacesConfigConstants.FACES_CONFIG_URI); + } + return getArtifactEditModel().getResource(facesConfigURI); + } + + protected void addFacesConfigIfNecessary(TranslatorResource aResource) { + //TO: XN - See how to create one if the config file does not exist + /*if (aResource != null) { + if(aResource.getContents() == null || aResource.getContents().isEmpty()) { + FacesConfigType facesConfigNew = WebapplicationFactory.eINSTANCE.createWebApp(); + aResource.getContents().add(facesConfigNew); + aResource.setModified(true); + } + FacesConfigType facesConfig = (FacesConfigType)aResource.getContents().get(0); + URI moduleURI = getArtifactEditModel().getModuleURI(); + try { + facesConfig.setDisplayName(StructureEdit.getDeployedName(moduleURI)); + } catch (UnresolveableURIException e) { + //Ignore + } + aResource.setID(facesConfig, J2EEConstants.WEBAPP_ID); + + try{ + aResource.saveIfNecessary(); + }catch(Exception e){ + e.printStackTrace(); + } + }*/ + } + + /** + * @return the DOM model for the Struts config. file. + */ + public IDOMModel getIDOMModel() { + // Modeled after SourceNestedEditorPage.getXMLModelFromResource(). + // TODO - XN This is a little hackish because it depends on the resource's + // renderer being an EMF2DOMSedRenderer (which it is, but that could + // change). + IFacesConfigResource resource = (IFacesConfigResource)getDeploymentDescriptorResource(); + if (resource != null) { + EMF2DOMSSERenderer renderer = (EMF2DOMSSERenderer) resource.getRenderer(); + return renderer.getXMLModel(); + } + return null; + } + + public IFile getFile() { + IVirtualResource resource = getComponent().getRootFolder().findMember(facesConfigURI.toString()); + if ((resource != null) && (resource.getType() == IVirtualResource.FILE)) + return ((IVirtualFile) resource).getUnderlyingFile(); + return null; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigChangeEvent.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigChangeEvent.java new file mode 100644 index 000000000..b6efd645e --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigChangeEvent.java @@ -0,0 +1,43 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.util; + +/** + * @author xnjiang + * + */ +public class FacesConfigChangeEvent implements IFacesConfigChangeEvent { + + private boolean bManagedBeandChanged = true; + private boolean bNavigationRuleChanged = true; + + /* (non-Javadoc) + * @see org.eclipse.jst.jsf.facesconfig.IFacesConfigChangeEvent#isManagedBeanChanged() + */ + public boolean isManagedBeanChanged() { + return bManagedBeandChanged; + } + + /* (non-Javadoc) + * @see org.eclipse.jst.jsf.facesconfig.IFacesConfigChangeEvent#isNavigationRuleChanged() + */ + public boolean isNavigationRuleChanged() { + return bNavigationRuleChanged; + } + + public void setManagedBeanChanged(boolean b) { + bManagedBeandChanged = b; + } + + public void setNavigationRuleChanged(boolean b) { + bNavigationRuleChanged = b; + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigResourceFactory.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigResourceFactory.java new file mode 100644 index 000000000..52763740f --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigResourceFactory.java @@ -0,0 +1,90 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.util; + +import org.eclipse.emf.common.util.URI; +import org.eclipse.emf.ecore.resource.Resource; +import org.eclipse.wst.common.componentcore.internal.impl.WTPResourceFactoryRegistry; +import org.eclipse.wst.common.internal.emf.resource.FileNameResourceFactoryRegistry; +import org.eclipse.wst.common.internal.emf.resource.Renderer; +import org.eclipse.wst.common.internal.emf.resource.RendererFactory; +import org.eclipse.wst.common.internal.emf.resource.TranslatorResource; +import org.eclipse.wst.common.internal.emf.resource.TranslatorResourceFactory; + +/** + * @author xjiang + * + * To change the template for this generated type comment go to + * Window>Preferences>Java>Code Generation>Code and Comments + */ +public class FacesConfigResourceFactory extends TranslatorResourceFactory { + + /** + * @param aRendererFactory + */ + public FacesConfigResourceFactory(RendererFactory aRendererFactory) { + super(aRendererFactory); + } + + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.TranslatorResourceFactory#createResource(org.eclipse.emf.common.util.URI) + */ + protected TranslatorResource createResource(URI uri, Renderer aRenderer) { + return new FacesConfigResourceImpl(uri, aRenderer); + } + + /** + * Method registerDtds. + */ + public static void registerDtds() { + //J2EEXmlDtDEntityResolver.registerDtD(J2EEConstants.WEBAPP_SYSTEMID_2_2, "web-app_2_2.dtd"); //$NON-NLS-1$ + //J2EEXmlDtDEntityResolver.registerDtD(J2EEConstants.WEBAPP_ALT_SYSTEMID_2_2, "web-app_2.2.dtd"); //$NON-NLS-1$ + //J2EEXmlDtDEntityResolver.registerDtD(J2EEConstants.WEBAPP_SYSTEMID_2_3, "web-app_2_3.dtd"); //$NON-NLS-1$ + //J2EEXmlDtDEntityResolver.registerDtD(J2EEConstants.WEB_APP_SCHEMA_LOC_2_4, "web-app_2_4.xsd"); //$NON-NLS-1$ + //J2EEXmlDtDEntityResolver.registerDtD(J2EEConstants.JSP_SCHEMA_LOC_2_0, "jsp_2_0.xsd"); //$NON-NLS-1$ + } + + /** + * register using the default renderer factory. + * @see #registerWith(RendererFactory) + */ + public static void register() { + registerWith(null, RendererFactory.getDefaultRendererFactory()); + } + + public static void register(String sFileName) { + registerWith(sFileName, RendererFactory.getDefaultRendererFactory()); + } + + /** + * register using the default renderer factory. + * @see #registerWith(RendererFactory) + */ + public static void register(FileNameResourceFactoryRegistry aRegistry) { + aRegistry.registerLastFileSegment("faces-config.xml", new FacesConfigResourceFactory(RendererFactory.getDefaultRendererFactory()));//$NON-NLS-1$ + } + + /** + * Register myself with the Resource.Factory.Registry + */ + public static void registerWith(String sFileName, RendererFactory aRendererFactory) { + if (sFileName != null) { + WTPResourceFactoryRegistry.INSTANCE.registerLastFileSegment(sFileName, new FacesConfigResourceFactory(aRendererFactory)); //$NON-NLS-1$ + } else { + WTPResourceFactoryRegistry.INSTANCE.registerLastFileSegment("faces-config.xml", new FacesConfigResourceFactory(aRendererFactory)); //$NON-NLS-1$ + } + } + + public static Resource.Factory getRegisteredFactory(URI uri) { + return WTPResourceFactoryRegistry.INSTANCE.getFactory(uri); + } +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigResourceImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigResourceImpl.java new file mode 100644 index 000000000..1f78c737c --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigResourceImpl.java @@ -0,0 +1,109 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.util; + +import org.eclipse.emf.common.util.URI; +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType; +import org.eclipse.jst.jsf.facesconfig.internal.translator.FacesConfigTranslator; +import org.eclipse.wst.common.internal.emf.resource.Renderer; +import org.eclipse.wst.common.internal.emf.resource.Translator; +import org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl; + + +/** + * <!-- begin-user-doc --> + * The <b>Resource </b> associated with the package. + * <!-- end-user-doc --> + * @see webFacesconfig10.util.FacesConfigResourceFactoryImpl + * @generated + */ +public class FacesConfigResourceImpl extends TranslatorResourceImpl implements IFacesConfigResource { + + /** + * @param aRenderer + */ + public FacesConfigResourceImpl(Renderer aRenderer) { + super(aRenderer); + } + /** + * @param uri + * @param aRenderer + */ + public FacesConfigResourceImpl(URI uri, Renderer aRenderer) { + super(uri, aRenderer); + } + + /* (non-Javadoc) + * @see org.eclipse.jst.j2ee.common.impl.XMLResourceImpl#getType() + */ + public int getType() { + return IFacesConfigConstants.JSF_CONFIG_TYPE; + } + + /* (non-Javadoc) + * @see org.eclipse.jst.j2ee.common.impl.XMLResourceImpl#syncVersionOfRootObject() + */ + protected void syncVersionOfRootObject() { + // TODO: V6 migration - + } + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.TranslatorResource#getDoctype() + */ + public String getDoctype() { + return null; + } + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.TranslatorResource#getRootTranslator() + */ + public Translator getRootTranslator() { + return FacesConfigTranslator.INSTANCE; + + } + /* (non-Javadoc) + * @see org.eclipse.jst.jsf.emf.facesconfig.xml.FacesConfigResource#getFacesConfig() + */ + public FacesConfigType getFacesConfig() { + return (FacesConfigType) getRootObject(); + } + /* (non-Javadoc) + * @see org.eclipse.jst.jsf.emf.facesconfig.xml.FacesConfigResource#isFaces1_0() + */ + public boolean isFaces1_0() { + // TODO: XN: + return false; + } + /* (non-Javadoc) + * @see org.eclipse.jst.jsf.emf.facesconfig.xml.FacesConfigResource#isFaces1_1() + */ + public boolean isFaces1_1() { + // TODO: XN + return false; + } + + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl#getDefaultPublicId() + */ + protected String getDefaultPublicId() { + return "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"; //$NON-NLS-1$ + } + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl#getDefaultSystemId() + */ + protected String getDefaultSystemId() { + return "http://java.sun.com/dtd/web-facesconfig_1_0.dtd"; //$NON-NLS-1$ + } + /* (non-Javadoc) + * @see org.eclipse.wst.common.internal.emf.resource.TranslatorResourceImpl#getDefaultVersionID() + */ + protected int getDefaultVersionID() { + return 0; + } +} //FacesConfigResourceFactoryImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigRestartServerResourceDeltaVisitor.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigRestartServerResourceDeltaVisitor.java new file mode 100644 index 000000000..da30fa700 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigRestartServerResourceDeltaVisitor.java @@ -0,0 +1,77 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.util; + +import java.util.Collection; +import java.util.HashSet; +import java.util.Set; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IResource; +import org.eclipse.core.resources.IResourceDelta; +import org.eclipse.core.resources.IResourceDeltaVisitor; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.wst.common.componentcore.internal.util.ComponentUtilities; +import org.eclipse.wst.common.componentcore.resources.IVirtualComponent; + +/** + * @version $Id$ + */ +public class FacesConfigRestartServerResourceDeltaVisitor implements IResourceDeltaVisitor { + + /** Set of IProjects. */ + private Set components = new HashSet(); + + /** Maps IProject --> Set of Strings. */ + //private Map configMap = new HashMap(); + + /** + * @see org.eclipse.core.resources.IResourceDeltaVisitor#visit(org.eclipse.core.resources.IResourceDelta) + */ + public boolean visit(IResourceDelta delta) throws CoreException { + + if (shouldCheckForRestartProject()) { + int kind = delta.getKind(); + if ((kind == IResourceDelta.ADDED) + || (kind == IResourceDelta.REMOVED) + || ((kind == IResourceDelta.CHANGED) && ((delta.getFlags() & (IResourceDelta.CONTENT + | IResourceDelta.TYPE | IResourceDelta.SYNC | IResourceDelta.REPLACED)) != 0))) { + primCheckForRestartComponent(delta.getResource()); + } + } + + // Done. + return true; + } + + private boolean shouldCheckForRestartProject() { + //TODO: XN: we don't have preference page for this? + //return FacesconfigPlugin.getPlugin().getFacesPreferences().getRestart(); + return true; + } + + private void primCheckForRestartComponent(IResource resource) { + if (resource.getType() == IResource.FILE) { + IFile file = (IFile) resource; + if (FacesConfigUtil.isFacesConfigFile(file)) { + IVirtualComponent component = ComponentUtilities.findComponent(file); + if (component != null) { + components.add(component); + } + } + + } + } + + public Collection getComponents() { + return components; + } +}
\ No newline at end of file diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigUtil.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigUtil.java new file mode 100644 index 000000000..f1d2bc681 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesConfigUtil.java @@ -0,0 +1,80 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.util; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IProject; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.content.IContentDescription; +import org.eclipse.core.runtime.content.IContentType; + +public class FacesConfigUtil { + + /** Must match the id specified in plugin.xml. */ + public static final String FACES_CONFIG_CONTENT_TYPE_ID = "org.eclipse.jst.jsf.facesconfig.facesConfigFile"; + + /** + * Returns true iff the specified file seems to be a Faces configuration + * file. Always returns false if the file is in a non-Faces project. + * + * @param file + * the IFile to check + * @return true iff the specified file seems to be a Faces configuration + * file. + */ + public static boolean isFacesConfigFile(IFile file) { + return isFacesConfigFile(file, true); + } + + /** + * Returns true iff the specified file seems to be a Faces configuration + * file. If ignoreNonFacesProject is true, always returns false if the file + * is in a non-Faces project. + * + * @param file + * the IFile to check + * @param ignoreNonFacesProject + * @return true iff the specified file seems to be a Faces configuration + * file. + */ + public static boolean isFacesConfigFile(IFile file, boolean ignoreNonFacesProject) { + + // Bail if it's not a .xml file. + if (!"xml".equalsIgnoreCase(file.getFileExtension())) + return false; + + // Bail if we can't determine the project. This shouldn't be possible + // here, but... + IProject project = file.getProject(); + if (project == null) + return false; + + // If requested, bail if the project isn't a Faces project. + // TODO: XN - temporarily disabled the following two lines to get rid + // of the dependency on jsf.util + //if (ignoreNonFacesProject && !JsfProjectUtil.isJsfProject(project)) + //return false; + + try { + IContentDescription contentDescription = file.getContentDescription(); + if (contentDescription != null) { + IContentType contentType = contentDescription.getContentType(); + if (contentType != null) + return FACES_CONFIG_CONTENT_TYPE_ID.equals(contentType.getId()); + } + } catch (CoreException ignored) { + // Empty block intended. + } + + return false; + } + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesResourceChangeListener.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesResourceChangeListener.java new file mode 100644 index 000000000..c652f71de --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/FacesResourceChangeListener.java @@ -0,0 +1,339 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.util; + +import java.util.Collection; +import java.util.HashSet; +import java.util.LinkedList; +import java.util.ListIterator; + +import org.eclipse.core.resources.IFile; +import org.eclipse.core.resources.IResource; +import org.eclipse.core.resources.IResourceChangeEvent; +import org.eclipse.core.resources.IResourceChangeListener; +import org.eclipse.core.resources.IResourceDelta; +import org.eclipse.core.resources.IResourceDeltaVisitor; +import org.eclipse.core.resources.IResourceVisitor; +import org.eclipse.core.resources.ISaveContext; +import org.eclipse.core.resources.ISaveParticipant; +import org.eclipse.core.resources.ResourcesPlugin; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.QualifiedName; +import org.eclipse.jface.preference.IPreferenceStore; +import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin; +import org.eclipse.jst.jsf.facesconfig.internal.Logger; +import org.eclipse.ui.IEditorDescriptor; +import org.eclipse.ui.IEditorRegistry; +import org.eclipse.ui.PlatformUI; +import org.eclipse.wst.common.componentcore.internal.util.ComponentUtilities; +import org.eclipse.wst.common.componentcore.resources.IVirtualComponent; + +/** + * This class is responsible for the following: + * <ol> + * <li>Ensure that the Struts nature is added to any project to which a Struts + * config. file is added.</li> + * <li>Ensure that the Struts nature is added to any project to which a diagram + * file is added.</li> + * <li>Restart project(s) if/as apporopriate when a Struts config. file is + * modified. + * </ol> + * It arguably should be multiple classes, but the things it does are closely + * related and splitting it up would result in duplicate work as well as + * multiple delta traversals. + */ +public class FacesResourceChangeListener implements IResourceChangeListener, + IResourceDeltaVisitor, ISaveParticipant, IResourceVisitor { + + /** The singleton instance. */ + private static FacesResourceChangeListener listener; + private static boolean restartInProgress = false; + private LinkedList facesConfigChangeListeners = new LinkedList(); + + private static IPreferenceStore preferenceStore = null; + + public static final QualifiedName EDITOR_KEY = new QualifiedName( + "org.eclipse.ui.internal.registry.ResourceEditorRegistry", "EditorProperty");//$NON-NLS-2$//$NON-NLS-1$ + + /** Start up the singleton instance. */ + public static void startup() { + + // Bail if we're already started. + if (listener != null) + return; + + // Create the singleton instance. + listener = new FacesResourceChangeListener(); + + // Register as resource change listener. + ResourcesPlugin.getWorkspace().addResourceChangeListener( + listener, + IResourceChangeEvent.PRE_BUILD + IResourceChangeEvent.POST_BUILD); + } + + /** Shutdown the singleton instance. */ + public static void shutdown() { + + // Bail if we're not started. + if (listener == null) + return; + + // Deregister as save participant. + ResourcesPlugin.getWorkspace().removeSaveParticipant(FacesConfigPlugin.getPlugin()); + + // Deregister as resource change listener. + ResourcesPlugin.getWorkspace().removeResourceChangeListener(listener); + + // Dereference the singleton instance. + listener = null; + } + + /** + * Only this class can create instances. + */ + private FacesResourceChangeListener() { + } + + /** + * Process a resource change event. This should be invoked only from the + * workbench. + * + * @see IResourceChangeListener#resourceChanged(IResourceChangeEvent) + */ + public void resourceChanged(IResourceChangeEvent event) { + + IResourceDelta delta = event.getDelta(); + if (delta != null) { + FacesConfigChangeEvent facesConfigChangeEvent = new FacesConfigChangeEvent(); + fireFacesConfigChangeEvent(facesConfigChangeEvent); + + try { + delta.accept(this); + } catch (CoreException ignored) { + Logger.log(this, ignored); + } + } + + // Restart projects, if necessary. + if ((delta != null) && (event.getType() == IResourceChangeEvent.POST_BUILD)) { + FacesConfigRestartServerResourceDeltaVisitor visitor = new FacesConfigRestartServerResourceDeltaVisitor(); + try { + delta.accept(visitor); + } catch (CoreException ignored) { + Logger.log(this, ignored); + } + //restartComponents(visitor.getComponents()); + } + } + + /** + * Visit a resource delta. This should be invoked only from the + * IResourceDelta.accept() method invoked above. + * + * @see IResourceDeltaVisitor#visit(IResourceDelta) + */ + public boolean visit(IResourceDelta delta) throws CoreException { + + // Check for and handle it if it's a Struts config. file. + checkForFacesConfigFile(delta); + + // Done. + return true; + } + + private void checkForFacesConfigFile(IResourceDelta delta) { + boolean isAdded = delta.getKind() == IResourceDelta.ADDED; + if (isAdded + || ((delta.getKind() == IResourceDelta.CHANGED) && ((delta.getFlags() & (IResourceDelta.CONTENT + | IResourceDelta.TYPE | IResourceDelta.SYNC | IResourceDelta.REPLACED)) != 0))) { + checkForFacesConfigFile(delta.getResource(), !isAdded); + } + } + + private void checkForFacesConfigFile(IResource resource, boolean ignoreNonFacesProjects) { + if (resource.getType() == IResource.FILE) { + + // See if the file is a Struts config. file. + // If the file was just added, we check the file regardless of + // whether or not it is in a Struts project. + // Otherwise, a file in a non-Struts project is considered to not be + // a Struts config. file. + IFile file = (IFile) resource; + if (FacesConfigUtil.isFacesConfigFile(file, ignoreNonFacesProjects)) { + + // Ensure that the project has the Struts nature. + // TODO: + // StrutsNatureRuntime.ensureProjectHasStrutsNature(file.getProject()); + IVirtualComponent component = ComponentUtilities.findComponent(file); + if (component != null) { + restartServerIfNecessary(component); + // Try to register the SCFE as the default editor. + setRegistration(file); + } + } else { + // Try to unregister the SCFE as the default editor. + unsetRegistration(file); + } + } + } + + /** + * Look to see if the persisted resource level property keyed by EDITOR_KEY + * has ben set yet. If not then set it to the SCFE. + * + * @param file + * The FCF + */ + private void setRegistration(IFile file) { + String editorID = null; + try { + editorID = file.getPersistentProperty(EDITOR_KEY); + } catch (CoreException e) { + } + if (editorID == null) { + try { + file.setPersistentProperty(EDITOR_KEY, FacesConfigPlugin.FACES_CONFIG_EDITOR_ID); + } catch (CoreException e) { + Logger.log(file, "Failed to set the vcurrent editor to SCFE", e); + } + } + } + + private void unsetRegistration(IFile file) { + // If the default editor for this file is not the Struts config. editor, + // then we're done. + IEditorRegistry registry = PlatformUI.getWorkbench().getEditorRegistry(); + IEditorDescriptor userEditor = registry.getDefaultEditor(file.getFullPath().toString()); + if ((userEditor == null) + || !FacesConfigPlugin.FACES_CONFIG_EDITOR_ID.equals(userEditor.getId())) { + traceFiner(file, "Not unsetting: Default already not Faces config. editor"); + return; + } + + // Make the Struts config. editor the default. + traceFiner(file, "Unsetting."); + IEditorDescriptor[] editors = registry.getEditors(file.getFullPath().toString()); + if (editors.length > 1) { + registry.setDefaultEditor(file.getFullPath().toString(), editors[1].getId()); + } + } + + private boolean isRestarting = false; + private Collection restartableComponents = new HashSet(); + +/* private void restartComponents(Collection components) { + restartableComponents.addAll(components); + if (!isRestarting) { + isRestarting = true; + try { + while (!restartableComponents.isEmpty()) { + IVirtualComponent component = (IVirtualComponent) restartableComponents.iterator().next(); + try { + ServerRestartUtil.restartComponent(component, true); + } finally { + restartableComponents.remove(component); + } + } + } finally { + isRestarting = false; + } + + } + } + +*/ private void traceFiner(IFile file, String message) { + String fileName = file.getProjectRelativePath().toString(); + Logger.trace("FacesconfigPlugin", this, fileName + ": " + message); + } + + /** @see ISaveParticipant#doneSaving(ISaveContext) */ + public void doneSaving(ISaveContext context) { + } + + /** @see ISaveParticipant#prepareToSave(ISaveContext) */ + public void prepareToSave(ISaveContext context) throws CoreException { + } + + /** @see ISaveParticipant#rollback(ISaveContext) */ + public void rollback(ISaveContext context) { + } + + /** @see ISaveParticipant#saving(ISaveContext) */ + public void saving(ISaveContext context) throws CoreException { + context.needDelta(); + } + + /** + * Visit a resource. This should be invoked only from the + * IResource.accept(IResourceVisitor) invocation, above. + * + * @see IResourceVisitor#visit(IResource) + */ + public boolean visit(IResource resource) { + + // Check for and handle a Struts config. file. + checkForFacesConfigFile(resource, true); + + // Continue. + return true; + } + + private void restartServerIfNecessary(IVirtualComponent component) { + if(!restartInProgress) { + // check against preference about whether to automatically restart + boolean restart = false; + if (FacesResourceChangeListener.preferenceStore != null) { + restart = FacesResourceChangeListener.preferenceStore.getBoolean(IFacesconfigPreferences.PREFSKEY_SERVER_RESTART); + } + if(restart) { + restartInProgress = true; + // we'll ask that just the containing EAR is restarted, but it may cycle the whole server if running on Portal + + //ServerRestartUtil.restartComponent(component, true); + restartInProgress = false; + } + } + } + + /** + * @return Returns the listener. + */ + public static FacesResourceChangeListener getFacesResourceChangeListener() { + if (listener == null) { + listener = new FacesResourceChangeListener(); + // Register as resource change listener. + ResourcesPlugin.getWorkspace().addResourceChangeListener(listener, IResourceChangeEvent.PRE_BUILD); + } + return listener; + } + + public void addFacesConfigChangeListener(IFacesConfigChangeListener facesConfigChangeListener) { + facesConfigChangeListeners.add(facesConfigChangeListener); + } + public void removeFacesConfigChangeListener(IFacesConfigChangeListener facesConfigChangeListener) { + facesConfigChangeListeners.remove(facesConfigChangeListener); + } + + private void fireFacesConfigChangeEvent(IFacesConfigChangeEvent event) { + LinkedList localCopy; + synchronized( this ) { + localCopy = (LinkedList)facesConfigChangeListeners.clone(); + } + for ( ListIterator iter = localCopy.listIterator(); iter.hasNext(); ) { + IFacesConfigChangeListener facesConfigChangeListener = (IFacesConfigChangeListener)iter.next(); + facesConfigChangeListener.resourceChanged(event); + } + } + + public static void setPreferenceStore(IPreferenceStore preferenceStore) { + FacesResourceChangeListener.preferenceStore = preferenceStore; + } +}
\ No newline at end of file diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesConfigChangeEvent.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesConfigChangeEvent.java new file mode 100644 index 000000000..feb5161c8 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesConfigChangeEvent.java @@ -0,0 +1,22 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.util; + +/** + * @author xnjiang + * + */ +public interface IFacesConfigChangeEvent { + + public boolean isManagedBeanChanged(); + public boolean isNavigationRuleChanged(); + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesConfigChangeListener.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesConfigChangeListener.java new file mode 100644 index 000000000..fa06e2529 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesConfigChangeListener.java @@ -0,0 +1,21 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.util; + + +/** + * @author xnjiang + * + */ +public interface IFacesConfigChangeListener { + + public void resourceChanged(IFacesConfigChangeEvent event); +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesConfigConstants.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesConfigConstants.java new file mode 100644 index 000000000..a2c02c2e0 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesConfigConstants.java @@ -0,0 +1,16 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.util; + +public interface IFacesConfigConstants { + final static public int JSF_CONFIG_TYPE = 10; + final String FACES_CONFIG_URI = "WEB-INF/faces-config.xml"; //$NON-NLS-1$ +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesConfigResource.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesConfigResource.java new file mode 100644 index 000000000..05b8523a4 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesConfigResource.java @@ -0,0 +1,28 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.util; + + +import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigType; +import org.eclipse.wst.common.internal.emf.resource.TranslatorResource; + + +/** + * @author gjohnsto + * @version $Id$ + */ +public interface IFacesConfigResource extends TranslatorResource { + + public FacesConfigType getFacesConfig(); + public boolean isFaces1_0(); + public boolean isFaces1_1(); + +} diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesconfigPreferences.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesconfigPreferences.java new file mode 100644 index 000000000..fdab4aca1 --- /dev/null +++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/util/IFacesconfigPreferences.java @@ -0,0 +1,22 @@ +/*************************************************************************************************** + * Copyright (c) 2005, 2006 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + **************************************************************************************************/ +package org.eclipse.jst.jsf.facesconfig.util; + +/** + * constants for JSF preferences pages + * + * @author spaxton + */ +public interface IFacesconfigPreferences { + + String PREFSKEY_SERVER_RESTART = "jsf.project.restart"; //$NON-NLS-1$ + +} |