diff options
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl')
126 files changed, 0 insertions, 51382 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AbsoluteOrderingTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AbsoluteOrderingTypeImpl.java deleted file mode 100644 index c3347fd81..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AbsoluteOrderingTypeImpl.java +++ /dev/null @@ -1,250 +0,0 @@ -/*************************************************************************************************** - * 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.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.AbsoluteOrderingType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.NameType; -import org.eclipse.jst.jsf.facesconfig.emf.OrderingOthersType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Absolute Ordering Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AbsoluteOrderingTypeImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.AbsoluteOrderingTypeImpl#getOthers <em>Others</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class AbsoluteOrderingTypeImpl extends EObjectImpl implements AbsoluteOrderingType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected EList name; - - /** - * The cached value of the '{@link #getOthers() <em>Others</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOthers() - * @generated - * @ordered - */ - protected OrderingOthersType others; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AbsoluteOrderingTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.ABSOLUTE_ORDERING_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getName() { - if (name == null) { - name = new EObjectContainmentEList(NameType.class, this, FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__NAME); - } - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OrderingOthersType getOthers() { - return others; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param newOthers - * @param msgs - * @return NotificationChain - * @generated NOT - */ - public NotificationChain basicSetOthers(OrderingOthersType newOthers, NotificationChain msgs) { - OrderingOthersType oldOthers = others; - others = newOthers; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__OTHERS, oldOthers, newOthers); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOthers(OrderingOthersType newOthers) { - if (newOthers != others) { - NotificationChain msgs = null; - if (others != null) - msgs = ((InternalEObject)others).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__OTHERS, null, msgs); - if (newOthers != null) - msgs = ((InternalEObject)newOthers).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__OTHERS, null, msgs); - msgs = basicSetOthers(newOthers, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__OTHERS, newOthers, newOthers)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__NAME: - return ((InternalEList)getName()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__OTHERS: - return basicSetOthers(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__NAME: - return getName(); - case FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__OTHERS: - return getOthers(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__NAME: - getName().clear(); - getName().addAll((Collection)newValue); - return; - case FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__OTHERS: - setOthers((OrderingOthersType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__NAME: - getName().clear(); - return; - case FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__OTHERS: - setOthers((OrderingOthersType)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__NAME: - return name != null && !name.isEmpty(); - case FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__OTHERS: - return others != null; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (names: "); //$NON-NLS-1$ - for (final Object oname : getName()) { - NameType nameType = (NameType)oname; - result.append(nameType.getTextContent()); - result.append(','); - } - result.append(')'); -// result.append(" (id: "); //$NON-NLS-1$ -// result.append(id); -// result.append(')'); - return result.toString(); - } - -} //AbsoluteOrderingTypeImpl 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 deleted file mode 100644 index ad8360ef3..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ActionListenerTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.ACTION_LISTENER_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.ACTION_LISTENER_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.ACTION_LISTENER_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.ACTION_LISTENER_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.ACTION_LISTENER_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.ACTION_LISTENER_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.ACTION_LISTENER_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - 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/ApplicationExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ApplicationExtensionTypeImpl.java deleted file mode 100644 index 2b74cf440..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ApplicationExtensionTypeImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -/*************************************************************************************************** - * 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.jst.jsf.facesconfig.emf.ApplicationExtensionType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Application Extension Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class ApplicationExtensionTypeImpl extends ExtensionTypeImpl implements ApplicationExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ApplicationExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.APPLICATION_EXTENSION_TYPE; - } - -} //ApplicationExtensionTypeImpl 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 deleted file mode 100644 index 4280a6214..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ApplicationFactoryTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.APPLICATION_FACTORY_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.APPLICATION_FACTORY_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.APPLICATION_FACTORY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.APPLICATION_FACTORY_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.APPLICATION_FACTORY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.APPLICATION_FACTORY_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.APPLICATION_FACTORY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - 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 deleted file mode 100644 index de8affdb1..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ApplicationTypeImpl.java +++ /dev/null @@ -1,735 +0,0 @@ -/*************************************************************************************************** - * 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.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.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jst.jsf.facesconfig.emf.ActionListenerType; -import org.eclipse.jst.jsf.facesconfig.emf.ApplicationExtensionType; -import org.eclipse.jst.jsf.facesconfig.emf.ApplicationType; -import org.eclipse.jst.jsf.facesconfig.emf.DefaultRenderKitIdType; -import org.eclipse.jst.jsf.facesconfig.emf.DefaultValidatorsType; -import org.eclipse.jst.jsf.facesconfig.emf.ELResolverType; -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.ResourceBundleType; -import org.eclipse.jst.jsf.facesconfig.emf.ResourceHandlerType; -import org.eclipse.jst.jsf.facesconfig.emf.StateManagerType; -import org.eclipse.jst.jsf.facesconfig.emf.SystemEventListenerType; -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#getELResolver <em>EL Resolver</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#getResourceHandler <em>Resource Handler</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl#getSystemEventListener <em>System Event Listener</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#getResourceBundle <em>Resource Bundle</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl#getApplicationExtension <em>Application Extension</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ApplicationTypeImpl#getDefaultValidators <em>Default Validators</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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * The cached value of the '{@link #getELResolver() <em>EL Resolver</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getELResolver() - * @generated - * @ordered - */ - protected EList eLResolver; - - /** - * 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; - - /** - * 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; - - /** - * The cached value of the '{@link #getResourceHandler() <em>Resource Handler</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResourceHandler() - * @generated - * @ordered - */ - protected EList resourceHandler; - - /** - * The cached value of the '{@link #getSystemEventListener() <em>System Event Listener</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSystemEventListener() - * @generated - * @ordered - */ - protected EList systemEventListener; - - /** - * 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; - - /** - * The cached value of the '{@link #getResourceBundle() <em>Resource Bundle</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getResourceBundle() - * @generated - * @ordered - */ - protected EList resourceBundle; - - /** - * The cached value of the '{@link #getApplicationExtension() <em>Application Extension</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getApplicationExtension() - * @generated - * @ordered - */ - protected EList applicationExtension; - - /** - * The cached value of the '{@link #getDefaultValidators() <em>Default Validators</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDefaultValidators() - * @generated - * @ordered - */ - protected EList defaultValidators; - - /** - * 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.Literals.APPLICATION_TYPE; - } - - /** - * <!-- 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 getResourceHandler() { - if (resourceHandler == null) { - resourceHandler = new EObjectContainmentEList(ResourceHandlerType.class, this, FacesConfigPackage.APPLICATION_TYPE__RESOURCE_HANDLER); - } - return resourceHandler; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getSystemEventListener() { - if (systemEventListener == null) { - systemEventListener = new EObjectResolvingEList(SystemEventListenerType.class, this, FacesConfigPackage.APPLICATION_TYPE__SYSTEM_EVENT_LISTENER); - } - return systemEventListener; - } - - /** - * <!-- 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 EList getELResolver() { - if (eLResolver == null) { - eLResolver = new EObjectResolvingEList(ELResolverType.class, this, FacesConfigPackage.APPLICATION_TYPE__EL_RESOLVER); - } - return eLResolver; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getResourceBundle() { - if (resourceBundle == null) { - resourceBundle = new EObjectResolvingEList(ResourceBundleType.class, this, FacesConfigPackage.APPLICATION_TYPE__RESOURCE_BUNDLE); - } - return resourceBundle; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getApplicationExtension() { - if (applicationExtension == null) { - applicationExtension = new EObjectResolvingEList(ApplicationExtensionType.class, this, FacesConfigPackage.APPLICATION_TYPE__APPLICATION_EXTENSION); - } - return applicationExtension; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getDefaultValidators() { - if (defaultValidators == null) { - defaultValidators = new EObjectResolvingEList(DefaultValidatorsType.class, this, FacesConfigPackage.APPLICATION_TYPE__DEFAULT_VALIDATORS); - } - return defaultValidators; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - 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__RESOURCE_HANDLER: - return ((InternalEList)getResourceHandler()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.APPLICATION_TYPE__LOCALE_CONFIG: - return ((InternalEList)getLocaleConfig()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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__EL_RESOLVER: - return getELResolver(); - case FacesConfigPackage.APPLICATION_TYPE__PROPERTY_RESOLVER: - return getPropertyResolver(); - case FacesConfigPackage.APPLICATION_TYPE__VARIABLE_RESOLVER: - return getVariableResolver(); - case FacesConfigPackage.APPLICATION_TYPE__RESOURCE_HANDLER: - return getResourceHandler(); - case FacesConfigPackage.APPLICATION_TYPE__SYSTEM_EVENT_LISTENER: - return getSystemEventListener(); - case FacesConfigPackage.APPLICATION_TYPE__LOCALE_CONFIG: - return getLocaleConfig(); - case FacesConfigPackage.APPLICATION_TYPE__RESOURCE_BUNDLE: - return getResourceBundle(); - case FacesConfigPackage.APPLICATION_TYPE__APPLICATION_EXTENSION: - return getApplicationExtension(); - case FacesConfigPackage.APPLICATION_TYPE__DEFAULT_VALIDATORS: - return getDefaultValidators(); - case FacesConfigPackage.APPLICATION_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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__EL_RESOLVER: - getELResolver().clear(); - getELResolver().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__RESOURCE_HANDLER: - getResourceHandler().clear(); - getResourceHandler().addAll((Collection)newValue); - return; - case FacesConfigPackage.APPLICATION_TYPE__SYSTEM_EVENT_LISTENER: - getSystemEventListener().clear(); - getSystemEventListener().addAll((Collection)newValue); - return; - case FacesConfigPackage.APPLICATION_TYPE__LOCALE_CONFIG: - getLocaleConfig().clear(); - getLocaleConfig().addAll((Collection)newValue); - return; - case FacesConfigPackage.APPLICATION_TYPE__RESOURCE_BUNDLE: - getResourceBundle().clear(); - getResourceBundle().addAll((Collection)newValue); - return; - case FacesConfigPackage.APPLICATION_TYPE__APPLICATION_EXTENSION: - getApplicationExtension().clear(); - getApplicationExtension().addAll((Collection)newValue); - return; - case FacesConfigPackage.APPLICATION_TYPE__DEFAULT_VALIDATORS: - getDefaultValidators().clear(); - getDefaultValidators().addAll((Collection)newValue); - return; - case FacesConfigPackage.APPLICATION_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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__EL_RESOLVER: - getELResolver().clear(); - return; - case FacesConfigPackage.APPLICATION_TYPE__PROPERTY_RESOLVER: - getPropertyResolver().clear(); - return; - case FacesConfigPackage.APPLICATION_TYPE__VARIABLE_RESOLVER: - getVariableResolver().clear(); - return; - case FacesConfigPackage.APPLICATION_TYPE__RESOURCE_HANDLER: - getResourceHandler().clear(); - return; - case FacesConfigPackage.APPLICATION_TYPE__SYSTEM_EVENT_LISTENER: - getSystemEventListener().clear(); - return; - case FacesConfigPackage.APPLICATION_TYPE__LOCALE_CONFIG: - getLocaleConfig().clear(); - return; - case FacesConfigPackage.APPLICATION_TYPE__RESOURCE_BUNDLE: - getResourceBundle().clear(); - return; - case FacesConfigPackage.APPLICATION_TYPE__APPLICATION_EXTENSION: - getApplicationExtension().clear(); - return; - case FacesConfigPackage.APPLICATION_TYPE__DEFAULT_VALIDATORS: - getDefaultValidators().clear(); - return; - case FacesConfigPackage.APPLICATION_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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__EL_RESOLVER: - return eLResolver != null && !eLResolver.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__RESOURCE_HANDLER: - return resourceHandler != null && !resourceHandler.isEmpty(); - case FacesConfigPackage.APPLICATION_TYPE__SYSTEM_EVENT_LISTENER: - return systemEventListener != null && !systemEventListener.isEmpty(); - case FacesConfigPackage.APPLICATION_TYPE__LOCALE_CONFIG: - return localeConfig != null && !localeConfig.isEmpty(); - case FacesConfigPackage.APPLICATION_TYPE__RESOURCE_BUNDLE: - return resourceBundle != null && !resourceBundle.isEmpty(); - case FacesConfigPackage.APPLICATION_TYPE__APPLICATION_EXTENSION: - return applicationExtension != null && !applicationExtension.isEmpty(); - case FacesConfigPackage.APPLICATION_TYPE__DEFAULT_VALIDATORS: - return defaultValidators != null && !defaultValidators.isEmpty(); - case FacesConfigPackage.APPLICATION_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index 5f390f7c1..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeClassTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.ATTRIBUTE_CLASS_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - 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 deleted file mode 100644 index af1ea2637..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeExtensionTypeImpl.java +++ /dev/null @@ -1,55 +0,0 @@ -/*************************************************************************************************** - * 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.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> - * </p> - * - * @generated - */ -public class AttributeExtensionTypeImpl extends ExtensionTypeImpl implements AttributeExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected AttributeExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.ATTRIBUTE_EXTENSION_TYPE; - } - -} //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 deleted file mode 100644 index 87f3a86df..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeNameTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.ATTRIBUTE_NAME_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index d7e870968..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeTypeImpl.java +++ /dev/null @@ -1,617 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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.Literals.ATTRIBUTE_TYPE; - } - - /** - * <!-- 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 --> - * @param newAttributeName - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newAttributeClass - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newDefaultValue - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newSuggestedValue - * @param msgs - * @return the notification chain - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //AttributeTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BaseNameTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BaseNameTypeImpl.java deleted file mode 100644 index 91ce97605..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BaseNameTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.BaseNameType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Base Name Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.BaseNameTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.BaseNameTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class BaseNameTypeImpl extends EObjectImpl implements BaseNameType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 BaseNameTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.BASE_NAME_TYPE; - } - - /** - * <!-- 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.BASE_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.BASE_NAME_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.BASE_NAME_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.BASE_NAME_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.BASE_NAME_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.BASE_NAME_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.BASE_NAME_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.BASE_NAME_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.BASE_NAME_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.BASE_NAME_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //BaseNameTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorClassTypeImpl.java deleted file mode 100644 index 2909d6391..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorClassTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.BehaviorClassType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Behavior Class Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.BehaviorClassTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.BehaviorClassTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class BehaviorClassTypeImpl extends EObjectImpl implements BehaviorClassType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 BehaviorClassTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.BEHAVIOR_CLASS_TYPE; - } - - /** - * <!-- 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.BEHAVIOR_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.BEHAVIOR_CLASS_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.BEHAVIOR_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.BEHAVIOR_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.BEHAVIOR_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.BEHAVIOR_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.BEHAVIOR_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.BEHAVIOR_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.BEHAVIOR_CLASS_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.BEHAVIOR_CLASS_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //BehaviorClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorExtensionTypeImpl.java deleted file mode 100644 index 902b25597..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorExtensionTypeImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -/*************************************************************************************************** - * 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.jst.jsf.facesconfig.emf.BehaviorExtensionType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Behavior Extension Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class BehaviorExtensionTypeImpl extends ExtensionTypeImpl implements BehaviorExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected BehaviorExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.BEHAVIOR_EXTENSION_TYPE; - } - -} //BehaviorExtensionTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorIdTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorIdTypeImpl.java deleted file mode 100644 index 7eae39c4a..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorIdTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.BehaviorIdType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Behavior Id Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.BehaviorIdTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.BehaviorIdTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class BehaviorIdTypeImpl extends EObjectImpl implements BehaviorIdType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 BehaviorIdTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.BEHAVIOR_ID_TYPE; - } - - /** - * <!-- 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.BEHAVIOR_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.BEHAVIOR_ID_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.BEHAVIOR_ID_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.BEHAVIOR_ID_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.BEHAVIOR_ID_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.BEHAVIOR_ID_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.BEHAVIOR_ID_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.BEHAVIOR_ID_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.BEHAVIOR_ID_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.BEHAVIOR_ID_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //BehaviorIdTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorTypeImpl.java deleted file mode 100644 index f37d470c7..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorTypeImpl.java +++ /dev/null @@ -1,483 +0,0 @@ -/*************************************************************************************************** - * 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.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.BehaviorClassType; -import org.eclipse.jst.jsf.facesconfig.emf.BehaviorExtensionType; -import org.eclipse.jst.jsf.facesconfig.emf.BehaviorIdType; -import org.eclipse.jst.jsf.facesconfig.emf.BehaviorType; -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>Behavior Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.BehaviorTypeImpl#getDescription <em>Description</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.BehaviorTypeImpl#getDisplayName <em>Display Name</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.BehaviorTypeImpl#getIcon <em>Icon</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.BehaviorTypeImpl#getBehaviorId <em>Behavior Id</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.BehaviorTypeImpl#getBehaviorClass <em>Behavior Class</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.BehaviorTypeImpl#getAttribute <em>Attribute</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.BehaviorTypeImpl#getProperty <em>Property</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.BehaviorTypeImpl#getBehaviorExtension <em>Behavior Extension</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class BehaviorTypeImpl extends EObjectImpl implements BehaviorType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * The cached value of the '{@link #getBehaviorId() <em>Behavior Id</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBehaviorId() - * @generated - * @ordered - */ - protected BehaviorIdType behaviorId; - - /** - * The cached value of the '{@link #getBehaviorClass() <em>Behavior Class</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBehaviorClass() - * @generated - * @ordered - */ - protected BehaviorClassType behaviorClass; - - /** - * 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; - - /** - * 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; - - /** - * The cached value of the '{@link #getBehaviorExtension() <em>Behavior Extension</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBehaviorExtension() - * @generated - * @ordered - */ - protected EList behaviorExtension; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected BehaviorTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.BEHAVIOR_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getDescription() { - if (description == null) { - description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.BEHAVIOR_TYPE__DESCRIPTION); - } - return description; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getDisplayName() { - if (displayName == null) { - displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.BEHAVIOR_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.BEHAVIOR_TYPE__ICON); - } - return icon; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BehaviorIdType getBehaviorId() { - return behaviorId; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param newBehaviorId - * @param msgs - * @return NotificationChain - * @generated NOT - */ - public NotificationChain basicSetBehaviorId(BehaviorIdType newBehaviorId, NotificationChain msgs) { - BehaviorIdType oldBehaviorId = behaviorId; - behaviorId = newBehaviorId; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_ID, oldBehaviorId, newBehaviorId); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBehaviorId(BehaviorIdType newBehaviorId) { - if (newBehaviorId != behaviorId) { - NotificationChain msgs = null; - if (behaviorId != null) - msgs = ((InternalEObject)behaviorId).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_ID, null, msgs); - if (newBehaviorId != null) - msgs = ((InternalEObject)newBehaviorId).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_ID, null, msgs); - msgs = basicSetBehaviorId(newBehaviorId, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_ID, newBehaviorId, newBehaviorId)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BehaviorClassType getBehaviorClass() { - return behaviorClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param newBehaviorClass - * @param msgs - * @return NotificationChain - * @generated NOT - */ - public NotificationChain basicSetBehaviorClass(BehaviorClassType newBehaviorClass, NotificationChain msgs) { - BehaviorClassType oldBehaviorClass = behaviorClass; - behaviorClass = newBehaviorClass; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_CLASS, oldBehaviorClass, newBehaviorClass); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBehaviorClass(BehaviorClassType newBehaviorClass) { - if (newBehaviorClass != behaviorClass) { - NotificationChain msgs = null; - if (behaviorClass != null) - msgs = ((InternalEObject)behaviorClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_CLASS, null, msgs); - if (newBehaviorClass != null) - msgs = ((InternalEObject)newBehaviorClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_CLASS, null, msgs); - msgs = basicSetBehaviorClass(newBehaviorClass, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_CLASS, newBehaviorClass, newBehaviorClass)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getAttribute() { - if (attribute == null) { - attribute = new EObjectContainmentEList(AttributeType.class, this, FacesConfigPackage.BEHAVIOR_TYPE__ATTRIBUTE); - } - return attribute; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getProperty() { - if (property == null) { - property = new EObjectContainmentEList(PropertyType.class, this, FacesConfigPackage.BEHAVIOR_TYPE__PROPERTY); - } - return property; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getBehaviorExtension() { - if (behaviorExtension == null) { - behaviorExtension = new EObjectContainmentEList(BehaviorExtensionType.class, this, FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_EXTENSION); - } - return behaviorExtension; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.BEHAVIOR_TYPE__DESCRIPTION: - return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.BEHAVIOR_TYPE__DISPLAY_NAME: - return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.BEHAVIOR_TYPE__ICON: - return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_ID: - return basicSetBehaviorId(null, msgs); - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_CLASS: - return basicSetBehaviorClass(null, msgs); - case FacesConfigPackage.BEHAVIOR_TYPE__ATTRIBUTE: - return ((InternalEList)getAttribute()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.BEHAVIOR_TYPE__PROPERTY: - return ((InternalEList)getProperty()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_EXTENSION: - return ((InternalEList)getBehaviorExtension()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.BEHAVIOR_TYPE__DESCRIPTION: - return getDescription(); - case FacesConfigPackage.BEHAVIOR_TYPE__DISPLAY_NAME: - return getDisplayName(); - case FacesConfigPackage.BEHAVIOR_TYPE__ICON: - return getIcon(); - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_ID: - return getBehaviorId(); - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_CLASS: - return getBehaviorClass(); - case FacesConfigPackage.BEHAVIOR_TYPE__ATTRIBUTE: - return getAttribute(); - case FacesConfigPackage.BEHAVIOR_TYPE__PROPERTY: - return getProperty(); - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_EXTENSION: - return getBehaviorExtension(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.BEHAVIOR_TYPE__DESCRIPTION: - getDescription().clear(); - getDescription().addAll((Collection)newValue); - return; - case FacesConfigPackage.BEHAVIOR_TYPE__DISPLAY_NAME: - getDisplayName().clear(); - getDisplayName().addAll((Collection)newValue); - return; - case FacesConfigPackage.BEHAVIOR_TYPE__ICON: - getIcon().clear(); - getIcon().addAll((Collection)newValue); - return; - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_ID: - setBehaviorId((BehaviorIdType)newValue); - return; - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_CLASS: - setBehaviorClass((BehaviorClassType)newValue); - return; - case FacesConfigPackage.BEHAVIOR_TYPE__ATTRIBUTE: - getAttribute().clear(); - getAttribute().addAll((Collection)newValue); - return; - case FacesConfigPackage.BEHAVIOR_TYPE__PROPERTY: - getProperty().clear(); - getProperty().addAll((Collection)newValue); - return; - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_EXTENSION: - getBehaviorExtension().clear(); - getBehaviorExtension().addAll((Collection)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.BEHAVIOR_TYPE__DESCRIPTION: - getDescription().clear(); - return; - case FacesConfigPackage.BEHAVIOR_TYPE__DISPLAY_NAME: - getDisplayName().clear(); - return; - case FacesConfigPackage.BEHAVIOR_TYPE__ICON: - getIcon().clear(); - return; - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_ID: - setBehaviorId((BehaviorIdType)null); - return; - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_CLASS: - setBehaviorClass((BehaviorClassType)null); - return; - case FacesConfigPackage.BEHAVIOR_TYPE__ATTRIBUTE: - getAttribute().clear(); - return; - case FacesConfigPackage.BEHAVIOR_TYPE__PROPERTY: - getProperty().clear(); - return; - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_EXTENSION: - getBehaviorExtension().clear(); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.BEHAVIOR_TYPE__DESCRIPTION: - return description != null && !description.isEmpty(); - case FacesConfigPackage.BEHAVIOR_TYPE__DISPLAY_NAME: - return displayName != null && !displayName.isEmpty(); - case FacesConfigPackage.BEHAVIOR_TYPE__ICON: - return icon != null && !icon.isEmpty(); - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_ID: - return behaviorId != null; - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_CLASS: - return behaviorClass != null; - case FacesConfigPackage.BEHAVIOR_TYPE__ATTRIBUTE: - return attribute != null && !attribute.isEmpty(); - case FacesConfigPackage.BEHAVIOR_TYPE__PROPERTY: - return property != null && !property.isEmpty(); - case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_EXTENSION: - return behaviorExtension != null && !behaviorExtension.isEmpty(); - } - return super.eIsSet(featureID); - } - -} //BehaviorTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ClientBehaviorRendererClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ClientBehaviorRendererClassTypeImpl.java deleted file mode 100644 index 119062105..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ClientBehaviorRendererClassTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.ClientBehaviorRendererClassType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Client Behavior Renderer Class Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ClientBehaviorRendererClassTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ClientBehaviorRendererClassTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ClientBehaviorRendererClassTypeImpl extends EObjectImpl implements ClientBehaviorRendererClassType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 ClientBehaviorRendererClassTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE; - } - - /** - * <!-- 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.CLIENT_BEHAVIOR_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.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ClientBehaviorRendererClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ClientBehaviorRendererTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ClientBehaviorRendererTypeImpl.java deleted file mode 100644 index 96921d720..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ClientBehaviorRendererTypeImpl.java +++ /dev/null @@ -1,258 +0,0 @@ -/*************************************************************************************************** - * 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.InternalEObject; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.ClientBehaviorRendererClassType; -import org.eclipse.jst.jsf.facesconfig.emf.ClientBehaviorRendererType; -import org.eclipse.jst.jsf.facesconfig.emf.ClientBehaviorRendererTypeType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Client Behavior Renderer Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ClientBehaviorRendererTypeImpl#getClientBehaviorRendererType <em>Client Behavior Renderer Type</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ClientBehaviorRendererTypeImpl#getClientBehaviorRendererClass <em>Client Behavior Renderer Class</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ClientBehaviorRendererTypeImpl extends EObjectImpl implements ClientBehaviorRendererType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getClientBehaviorRendererType() <em>Client Behavior Renderer Type</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getClientBehaviorRendererType() - * @generated - * @ordered - */ - protected ClientBehaviorRendererTypeType clientBehaviorRendererType; - - /** - * The cached value of the '{@link #getClientBehaviorRendererClass() <em>Client Behavior Renderer Class</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getClientBehaviorRendererClass() - * @generated - * @ordered - */ - protected ClientBehaviorRendererClassType clientBehaviorRendererClass; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ClientBehaviorRendererTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.CLIENT_BEHAVIOR_RENDERER_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ClientBehaviorRendererTypeType getClientBehaviorRendererType() { - return clientBehaviorRendererType; - } - - /** - * <!-- begin-user-doc --> - * - * @param newClientBehaviorRendererType - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetClientBehaviorRendererType(ClientBehaviorRendererTypeType newClientBehaviorRendererType, NotificationChain msgs) { - ClientBehaviorRendererTypeType oldClientBehaviorRendererType = clientBehaviorRendererType; - clientBehaviorRendererType = newClientBehaviorRendererType; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_TYPE, oldClientBehaviorRendererType, newClientBehaviorRendererType); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setClientBehaviorRendererType(ClientBehaviorRendererTypeType newClientBehaviorRendererType) { - if (newClientBehaviorRendererType != clientBehaviorRendererType) { - NotificationChain msgs = null; - if (clientBehaviorRendererType != null) - msgs = ((InternalEObject)clientBehaviorRendererType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_TYPE, null, msgs); - if (newClientBehaviorRendererType != null) - msgs = ((InternalEObject)newClientBehaviorRendererType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_TYPE, null, msgs); - msgs = basicSetClientBehaviorRendererType(newClientBehaviorRendererType, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_TYPE, newClientBehaviorRendererType, newClientBehaviorRendererType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ClientBehaviorRendererClassType getClientBehaviorRendererClass() { - return clientBehaviorRendererClass; - } - - /** - * <!-- begin-user-doc --> - * - * @param newClientBehaviorRendererClass - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetClientBehaviorRendererClass(ClientBehaviorRendererClassType newClientBehaviorRendererClass, NotificationChain msgs) { - ClientBehaviorRendererClassType oldClientBehaviorRendererClass = clientBehaviorRendererClass; - clientBehaviorRendererClass = newClientBehaviorRendererClass; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_CLASS, oldClientBehaviorRendererClass, newClientBehaviorRendererClass); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setClientBehaviorRendererClass(ClientBehaviorRendererClassType newClientBehaviorRendererClass) { - if (newClientBehaviorRendererClass != clientBehaviorRendererClass) { - NotificationChain msgs = null; - if (clientBehaviorRendererClass != null) - msgs = ((InternalEObject)clientBehaviorRendererClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_CLASS, null, msgs); - if (newClientBehaviorRendererClass != null) - msgs = ((InternalEObject)newClientBehaviorRendererClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_CLASS, null, msgs); - msgs = basicSetClientBehaviorRendererClass(newClientBehaviorRendererClass, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_CLASS, newClientBehaviorRendererClass, newClientBehaviorRendererClass)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_TYPE: - return basicSetClientBehaviorRendererType(null, msgs); - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_CLASS: - return basicSetClientBehaviorRendererClass(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_TYPE: - return getClientBehaviorRendererType(); - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_CLASS: - return getClientBehaviorRendererClass(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_TYPE: - setClientBehaviorRendererType((ClientBehaviorRendererTypeType)newValue); - return; - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_CLASS: - setClientBehaviorRendererClass((ClientBehaviorRendererClassType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_TYPE: - setClientBehaviorRendererType((ClientBehaviorRendererTypeType)null); - return; - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_CLASS: - setClientBehaviorRendererClass((ClientBehaviorRendererClassType)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_TYPE: - return clientBehaviorRendererType != null; - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_CLASS: - return clientBehaviorRendererClass != null; - } - return super.eIsSet(featureID); - } - -} //ClientBehaviorRendererTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ClientBehaviorRendererTypeTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ClientBehaviorRendererTypeTypeImpl.java deleted file mode 100644 index 5ee57a7ad..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ClientBehaviorRendererTypeTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.ClientBehaviorRendererTypeType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Client Behavior Renderer Type Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ClientBehaviorRendererTypeTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ClientBehaviorRendererTypeTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ClientBehaviorRendererTypeTypeImpl extends EObjectImpl implements ClientBehaviorRendererTypeType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 ClientBehaviorRendererTypeTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE; - } - - /** - * <!-- 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.CLIENT_BEHAVIOR_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.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ClientBehaviorRendererTypeTypeImpl 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 deleted file mode 100644 index 54b1f1a3b..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentClassTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.COMPONENT_CLASS_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.COMPONENT_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.COMPONENT_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.COMPONENT_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.COMPONENT_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.COMPONENT_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.COMPONENT_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - 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 deleted file mode 100644 index f55a19d3f..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentExtensionTypeImpl.java +++ /dev/null @@ -1,55 +0,0 @@ -/*************************************************************************************************** - * 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.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> - * </p> - * - * @generated - */ -public class ComponentExtensionTypeImpl extends ExtensionTypeImpl implements ComponentExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ComponentExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.COMPONENT_EXTENSION_TYPE; - } - -} //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 deleted file mode 100644 index 7f3bdb1e6..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentFamilyTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.COMPONENT_FAMILY_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.COMPONENT_FAMILY_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.COMPONENT_FAMILY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.COMPONENT_FAMILY_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.COMPONENT_FAMILY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.COMPONENT_FAMILY_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.COMPONENT_FAMILY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - 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 deleted file mode 100644 index 304ebe443..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentTypeImpl.java +++ /dev/null @@ -1,588 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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.Literals.COMPONENT_TYPE; - } - - /** - * <!-- 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 --> - * @param newComponentType - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newComponentClass - * @param msgs - * @return the notification chain - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index 56bfb4161..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentTypeTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.COMPONENT_TYPE_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.COMPONENT_TYPE_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.COMPONENT_TYPE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.COMPONENT_TYPE_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.COMPONENT_TYPE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.COMPONENT_TYPE_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.COMPONENT_TYPE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - 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 deleted file mode 100644 index f57f9f821..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterClassTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.CONVERTER_CLASS_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.CONVERTER_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.CONVERTER_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.CONVERTER_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.CONVERTER_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.CONVERTER_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.CONVERTER_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - 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/ConverterExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterExtensionTypeImpl.java deleted file mode 100644 index 3b8b38d43..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterExtensionTypeImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -/*************************************************************************************************** - * 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.jst.jsf.facesconfig.emf.ConverterExtensionType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Converter Extension Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class ConverterExtensionTypeImpl extends ExtensionTypeImpl implements ConverterExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ConverterExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.CONVERTER_EXTENSION_TYPE; - } - -} //ConverterExtensionTypeImpl 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 deleted file mode 100644 index 659359c36..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterForClassTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.CONVERTER_FOR_CLASS_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - 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 deleted file mode 100644 index 82a499703..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterIdTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.CONVERTER_ID_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.CONVERTER_ID_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.CONVERTER_ID_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.CONVERTER_ID_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.CONVERTER_ID_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.CONVERTER_ID_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.CONVERTER_ID_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - 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 deleted file mode 100644 index fe331eef8..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterTypeImpl.java +++ /dev/null @@ -1,621 +0,0 @@ -/*************************************************************************************************** - * 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.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.ConverterExtensionType; -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#getConverterExtension <em>Converter Extension</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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * The cached value of the '{@link #getConverterExtension() <em>Converter Extension</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getConverterExtension() - * @generated - * @ordered - */ - protected EList converterExtension; - - /** - * 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.Literals.CONVERTER_TYPE; - } - - /** - * <!-- 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 --> - * @param newConverterId - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newConverterForClass - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newConverterClass - * @param msgs - * @return - * <!-- 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 EList getConverterExtension() { - if (converterExtension == null) { - converterExtension = new EObjectContainmentEList(ConverterExtensionType.class, this, FacesConfigPackage.CONVERTER_TYPE__CONVERTER_EXTENSION); - } - return converterExtension; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_EXTENSION: - return ((InternalEList)getConverterExtension()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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__CONVERTER_EXTENSION: - return getConverterExtension(); - case FacesConfigPackage.CONVERTER_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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__CONVERTER_EXTENSION: - getConverterExtension().clear(); - getConverterExtension().addAll((Collection)newValue); - return; - case FacesConfigPackage.CONVERTER_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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__CONVERTER_EXTENSION: - getConverterExtension().clear(); - return; - case FacesConfigPackage.CONVERTER_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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__CONVERTER_EXTENSION: - return converterExtension != null && !converterExtension.isEmpty(); - case FacesConfigPackage.CONVERTER_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index 78cb7b691..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultLocaleTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.DEFAULT_LOCALE_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.DEFAULT_LOCALE_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.DEFAULT_LOCALE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.DEFAULT_LOCALE_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.DEFAULT_LOCALE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.DEFAULT_LOCALE_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.DEFAULT_LOCALE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - 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 deleted file mode 100644 index 7091636c0..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultRenderKitIdTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.DEFAULT_RENDER_KIT_ID_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - 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/DefaultValidatorsTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultValidatorsTypeImpl.java deleted file mode 100644 index dc222bf1c..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultValidatorsTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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.DefaultValidatorsType; -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>Default Validators Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DefaultValidatorsTypeImpl#getValidatorId <em>Validator Id</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DefaultValidatorsTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class DefaultValidatorsTypeImpl extends EObjectImpl implements DefaultValidatorsType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getValidatorId() <em>Validator Id</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValidatorId() - * @generated - * @ordered - */ - protected EList validatorId; - - /** - * 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 DefaultValidatorsTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.DEFAULT_VALIDATORS_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getValidatorId() { - if (validatorId == null) { - validatorId = new EObjectContainmentEList(ValidatorIdType.class, this, FacesConfigPackage.DEFAULT_VALIDATORS_TYPE__VALIDATOR_ID); - } - return validatorId; - } - - /** - * <!-- 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_VALIDATORS_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.DEFAULT_VALIDATORS_TYPE__VALIDATOR_ID: - return ((InternalEList)getValidatorId()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.DEFAULT_VALIDATORS_TYPE__VALIDATOR_ID: - return getValidatorId(); - case FacesConfigPackage.DEFAULT_VALIDATORS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.DEFAULT_VALIDATORS_TYPE__VALIDATOR_ID: - getValidatorId().clear(); - getValidatorId().addAll((Collection)newValue); - return; - case FacesConfigPackage.DEFAULT_VALIDATORS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.DEFAULT_VALIDATORS_TYPE__VALIDATOR_ID: - getValidatorId().clear(); - return; - case FacesConfigPackage.DEFAULT_VALIDATORS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.DEFAULT_VALIDATORS_TYPE__VALIDATOR_ID: - return validatorId != null && !validatorId.isEmpty(); - case FacesConfigPackage.DEFAULT_VALIDATORS_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: ");//$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //DefaultValidatorsTypeImpl 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 deleted file mode 100644 index c5da60990..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultValueTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.DEFAULT_VALUE_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.DEFAULT_VALUE_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.DEFAULT_VALUE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.DEFAULT_VALUE_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.DEFAULT_VALUE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.DEFAULT_VALUE_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.DEFAULT_VALUE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - 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 deleted file mode 100644 index 31368c7fe..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DescriptionTypeImpl.java +++ /dev/null @@ -1,279 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.DESCRIPTION_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.DESCRIPTION_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.DESCRIPTION_TYPE__LANG: - return getLang(); - case FacesConfigPackage.DESCRIPTION_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", lang: ");//$NON-NLS-1$ - result.append(lang); - result.append(", id: ");//$NON-NLS-1$ - 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 deleted file mode 100644 index 85b8ea05b..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DisplayNameTypeImpl.java +++ /dev/null @@ -1,279 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.DISPLAY_NAME_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", lang: ");//$NON-NLS-1$ - result.append(lang); - result.append(", id: ");//$NON-NLS-1$ - 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 deleted file mode 100644 index ffd274472..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DocumentRootImpl.java +++ /dev/null @@ -1,4674 +0,0 @@ -/*************************************************************************************************** - * 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.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.*; - - -/** - * <!-- 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#getAbsoluteOrdering <em>Absolute Ordering</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#getBehavior <em>Behavior</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getBehaviorClass <em>Behavior Class</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getBehaviorId <em>Behavior Id</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getBehaviorExtension <em>Behavior Extension</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#getDefaultValidators <em>Default Validators</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#getExceptionHandlerFactory <em>Exception Handler Factory</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getExternalContextFactory <em>External Context Factory</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#getIf <em>If</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#getName <em>Name</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#getOrdering <em>Ordering</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getOrderingOrdering <em>Ordering Ordering</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getOthers <em>Others</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getPartialViewContextFactory <em>Partial View Context Factory</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#getRedirectViewParam <em>Redirect View Param</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#getResourceHandler <em>Resource Handler</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#getSourceClass <em>Source Class</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#getSystemEventClass <em>System Event Class</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getSystemEventListener <em>System Event Listener</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getSystemEventListenerClass <em>System Event Listener Class</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getTagHandlerDelegateFactory <em>Tag Handler Delegate Factory</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#getViewDeclarationLanguageFactory <em>View Declaration Language Factory</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getViewHandler <em>View Handler</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DocumentRootImpl#getVisitContextFactory <em>Visit Context Factory</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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DocumentRootImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.DOCUMENT_ROOT; - } - - /** - * <!-- 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.Literals.ESTRING_TO_STRING_MAP_ENTRY, 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.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, FacesConfigPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION); - } - return xSISchemaLocation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AbsoluteOrderingType getAbsoluteOrdering() { - return (AbsoluteOrderingType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__ABSOLUTE_ORDERING, true); - } - - /** - * <!-- begin-user-doc --> - * @param newAbsoluteOrdering - * @param msgs - * @return NotficationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetAbsoluteOrdering(AbsoluteOrderingType newAbsoluteOrdering, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__ABSOLUTE_ORDERING, newAbsoluteOrdering, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAbsoluteOrdering(AbsoluteOrderingType newAbsoluteOrdering) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__ABSOLUTE_ORDERING, newAbsoluteOrdering); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ActionListenerType getActionListener() { - return (ActionListenerType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__ACTION_LISTENER, true); - } - - /** - * <!-- begin-user-doc --> - * @param newActionListener - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetActionListener(ActionListenerType newActionListener, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__ACTION_LISTENER, newActionListener, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setActionListener(ActionListenerType newActionListener) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__ACTION_LISTENER, newActionListener); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ApplicationType getApplication() { - return (ApplicationType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__APPLICATION, true); - } - - /** - * <!-- begin-user-doc --> - * @param newApplication - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetApplication(ApplicationType newApplication, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__APPLICATION, newApplication, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setApplication(ApplicationType newApplication) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__APPLICATION, newApplication); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ApplicationFactoryType getApplicationFactory() { - return (ApplicationFactoryType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__APPLICATION_FACTORY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newApplicationFactory - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetApplicationFactory(ApplicationFactoryType newApplicationFactory, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__APPLICATION_FACTORY, newApplicationFactory, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setApplicationFactory(ApplicationFactoryType newApplicationFactory) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__APPLICATION_FACTORY, newApplicationFactory); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AttributeType getAttribute() { - return (AttributeType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE, true); - } - - /** - * <!-- begin-user-doc --> - * @param newAttribute - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetAttribute(AttributeType newAttribute, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE, newAttribute, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAttribute(AttributeType newAttribute) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE, newAttribute); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AttributeClassType getAttributeClass() { - return (AttributeClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newAttributeClass - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetAttributeClass(AttributeClassType newAttributeClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_CLASS, newAttributeClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAttributeClass(AttributeClassType newAttributeClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_CLASS, newAttributeClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AttributeExtensionType getAttributeExtension() { - return (AttributeExtensionType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_EXTENSION, true); - } - - /** - * <!-- begin-user-doc --> - * @param newAttributeExtension - * @param msgs - * @return the notification chiain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetAttributeExtension(AttributeExtensionType newAttributeExtension, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_EXTENSION, newAttributeExtension, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAttributeExtension(AttributeExtensionType newAttributeExtension) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_EXTENSION, newAttributeExtension); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AttributeNameType getAttributeName() { - return (AttributeNameType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_NAME, true); - } - - /** - * <!-- begin-user-doc --> - * @param newAttributeName - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetAttributeName(AttributeNameType newAttributeName, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_NAME, newAttributeName, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAttributeName(AttributeNameType newAttributeName) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_NAME, newAttributeName); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BehaviorType getBehavior() { - return (BehaviorType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR, true); - } - - /** - * <!-- begin-user-doc --> - * @param newBehavior - * @param msgs NotificationChain - * @return - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetBehavior(BehaviorType newBehavior, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR, newBehavior, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBehavior(BehaviorType newBehavior) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR, newBehavior); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BehaviorClassType getBehaviorClass() { - return (BehaviorClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newBehaviorClass - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetBehaviorClass(BehaviorClassType newBehaviorClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_CLASS, newBehaviorClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBehaviorClass(BehaviorClassType newBehaviorClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_CLASS, newBehaviorClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BehaviorIdType getBehaviorId() { - return (BehaviorIdType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_ID, true); - } - - /** - * <!-- begin-user-doc --> - * @param newBehaviorId - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetBehaviorId(BehaviorIdType newBehaviorId, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_ID, newBehaviorId, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBehaviorId(BehaviorIdType newBehaviorId) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_ID, newBehaviorId); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BehaviorExtensionType getBehaviorExtension() { - return (BehaviorExtensionType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_EXTENSION, true); - } - - /** - * <!-- begin-user-doc --> - * @param newBehaviorExtension - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetBehaviorExtension(BehaviorExtensionType newBehaviorExtension, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_EXTENSION, newBehaviorExtension, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBehaviorExtension(BehaviorExtensionType newBehaviorExtension) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_EXTENSION, newBehaviorExtension); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ComponentType getComponent() { - return (ComponentType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT, true); - } - - /** - * <!-- begin-user-doc --> - * @param newComponent - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetComponent(ComponentType newComponent, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT, newComponent, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setComponent(ComponentType newComponent) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT, newComponent); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ComponentClassType getComponentClass() { - return (ComponentClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newComponentClass - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetComponentClass(ComponentClassType newComponentClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_CLASS, newComponentClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setComponentClass(ComponentClassType newComponentClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_CLASS, newComponentClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ComponentExtensionType getComponentExtension() { - return (ComponentExtensionType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_EXTENSION, true); - } - - /** - * <!-- begin-user-doc --> - * @param newComponentExtension - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetComponentExtension(ComponentExtensionType newComponentExtension, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_EXTENSION, newComponentExtension, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setComponentExtension(ComponentExtensionType newComponentExtension) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_EXTENSION, newComponentExtension); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ComponentFamilyType getComponentFamily() { - return (ComponentFamilyType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_FAMILY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newComponentFamily - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetComponentFamily(ComponentFamilyType newComponentFamily, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_FAMILY, newComponentFamily, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setComponentFamily(ComponentFamilyType newComponentFamily) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_FAMILY, newComponentFamily); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ComponentTypeType getComponentType() { - return (ComponentTypeType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_TYPE, true); - } - - /** - * <!-- begin-user-doc --> - * @param newComponentType - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetComponentType(ComponentTypeType newComponentType, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_TYPE, newComponentType, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setComponentType(ComponentTypeType newComponentType) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_TYPE, newComponentType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConverterType getConverter() { - return (ConverterType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER, true); - } - - /** - * <!-- begin-user-doc --> - * @param newConverter - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetConverter(ConverterType newConverter, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER, newConverter, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setConverter(ConverterType newConverter) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER, newConverter); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConverterClassType getConverterClass() { - return (ConverterClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newConverterClass - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetConverterClass(ConverterClassType newConverterClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_CLASS, newConverterClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setConverterClass(ConverterClassType newConverterClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_CLASS, newConverterClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConverterForClassType getConverterForClass() { - return (ConverterForClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_FOR_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newConverterForClass - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetConverterForClass(ConverterForClassType newConverterForClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_FOR_CLASS, newConverterForClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setConverterForClass(ConverterForClassType newConverterForClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_FOR_CLASS, newConverterForClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConverterIdType getConverterId() { - return (ConverterIdType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_ID, true); - } - - /** - * <!-- begin-user-doc --> - * @param newConverterId - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetConverterId(ConverterIdType newConverterId, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_ID, newConverterId, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setConverterId(ConverterIdType newConverterId) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_ID, newConverterId); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DefaultLocaleType getDefaultLocale() { - return (DefaultLocaleType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_LOCALE, true); - } - - /** - * <!-- begin-user-doc --> - * @param newDefaultLocale - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetDefaultLocale(DefaultLocaleType newDefaultLocale, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_LOCALE, newDefaultLocale, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDefaultLocale(DefaultLocaleType newDefaultLocale) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_LOCALE, newDefaultLocale); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DefaultRenderKitIdType getDefaultRenderKitId() { - return (DefaultRenderKitIdType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_RENDER_KIT_ID, true); - } - - /** - * <!-- begin-user-doc --> - * @param newDefaultRenderKitId - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetDefaultRenderKitId(DefaultRenderKitIdType newDefaultRenderKitId, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_RENDER_KIT_ID, newDefaultRenderKitId, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDefaultRenderKitId(DefaultRenderKitIdType newDefaultRenderKitId) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_RENDER_KIT_ID, newDefaultRenderKitId); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DefaultValidatorsType getDefaultValidators() { - return (DefaultValidatorsType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_VALIDATORS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newDefaultValidators - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetDefaultValidators(DefaultValidatorsType newDefaultValidators, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_VALIDATORS, newDefaultValidators, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDefaultValidators(DefaultValidatorsType newDefaultValidators) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_VALIDATORS, newDefaultValidators); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DefaultValueType getDefaultValue() { - return (DefaultValueType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_VALUE, true); - } - - /** - * <!-- begin-user-doc --> - * @param newDefaultValue - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetDefaultValue(DefaultValueType newDefaultValue, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_VALUE, newDefaultValue, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDefaultValue(DefaultValueType newDefaultValue) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_VALUE, newDefaultValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DescriptionType getDescription() { - return (DescriptionType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__DESCRIPTION, true); - } - - /** - * <!-- begin-user-doc --> - * @param newDescription - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetDescription(DescriptionType newDescription, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__DESCRIPTION, newDescription, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDescription(DescriptionType newDescription) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__DESCRIPTION, newDescription); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DisplayNameType getDisplayName() { - return (DisplayNameType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__DISPLAY_NAME, true); - } - - /** - * <!-- begin-user-doc --> - * @param newDisplayName - * @param msgs - * @return the notification - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetDisplayName(DisplayNameType newDisplayName, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__DISPLAY_NAME, newDisplayName, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDisplayName(DisplayNameType newDisplayName) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__DISPLAY_NAME, newDisplayName); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ExceptionHandlerFactoryType getExceptionHandlerFactory() { - return (ExceptionHandlerFactoryType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__EXCEPTION_HANDLER_FACTORY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newExceptionHandlerFactory - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetExceptionHandlerFactory(ExceptionHandlerFactoryType newExceptionHandlerFactory, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__EXCEPTION_HANDLER_FACTORY, newExceptionHandlerFactory, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setExceptionHandlerFactory(ExceptionHandlerFactoryType newExceptionHandlerFactory) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__EXCEPTION_HANDLER_FACTORY, newExceptionHandlerFactory); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ExternalContextFactoryType getExternalContextFactory() { - return (ExternalContextFactoryType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__EXTERNAL_CONTEXT_FACTORY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newExternalContextFactory - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetExternalContextFactory(ExternalContextFactoryType newExternalContextFactory, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__EXTERNAL_CONTEXT_FACTORY, newExternalContextFactory, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setExternalContextFactory(ExternalContextFactoryType newExternalContextFactory) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__EXTERNAL_CONTEXT_FACTORY, newExternalContextFactory); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FacesConfigType getFacesConfig() { - return (FacesConfigType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACES_CONFIG, true); - } - - /** - * <!-- begin-user-doc --> - * @param newFacesConfig - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetFacesConfig(FacesConfigType newFacesConfig, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACES_CONFIG, newFacesConfig, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFacesConfig(FacesConfigType newFacesConfig) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACES_CONFIG, newFacesConfig); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FacesContextFactoryType getFacesContextFactory() { - return (FacesContextFactoryType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACES_CONTEXT_FACTORY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newFacesContextFactory - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetFacesContextFactory(FacesContextFactoryType newFacesContextFactory, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACES_CONTEXT_FACTORY, newFacesContextFactory, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFacesContextFactory(FacesContextFactoryType newFacesContextFactory) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACES_CONTEXT_FACTORY, newFacesContextFactory); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FacetType getFacet() { - return (FacetType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET, true); - } - - /** - * <!-- begin-user-doc --> - * @param newFacet - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetFacet(FacetType newFacet, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET, newFacet, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFacet(FacetType newFacet) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET, newFacet); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FacetExtensionType getFacetExtension() { - return (FacetExtensionType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET_EXTENSION, true); - } - - /** - * <!-- begin-user-doc --> - * @param newFacetExtension - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetFacetExtension(FacetExtensionType newFacetExtension, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET_EXTENSION, newFacetExtension, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFacetExtension(FacetExtensionType newFacetExtension) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET_EXTENSION, newFacetExtension); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FacetNameType getFacetName() { - return (FacetNameType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET_NAME, true); - } - - /** - * <!-- begin-user-doc --> - * @param newFacetName - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetFacetName(FacetNameType newFacetName, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET_NAME, newFacetName, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFacetName(FacetNameType newFacetName) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET_NAME, newFacetName); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FactoryType getFactory() { - return (FactoryType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACTORY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newFactory - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetFactory(FactoryType newFactory, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACTORY, newFactory, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFactory(FactoryType newFactory) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACTORY, newFactory); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FromActionType getFromAction() { - return (FromActionType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_ACTION, true); - } - - /** - * <!-- begin-user-doc --> - * @param newFromAction - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetFromAction(FromActionType newFromAction, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_ACTION, newFromAction, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFromAction(FromActionType newFromAction) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_ACTION, newFromAction); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FromOutcomeType getFromOutcome() { - return (FromOutcomeType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_OUTCOME, true); - } - - /** - * <!-- begin-user-doc --> - * @param newFromOutcome - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetFromOutcome(FromOutcomeType newFromOutcome, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_OUTCOME, newFromOutcome, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFromOutcome(FromOutcomeType newFromOutcome) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_OUTCOME, newFromOutcome); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FromViewIdType getFromViewId() { - return (FromViewIdType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_VIEW_ID, true); - } - - /** - * <!-- begin-user-doc --> - * @param newFromViewId - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetFromViewId(FromViewIdType newFromViewId, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_VIEW_ID, newFromViewId, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setFromViewId(FromViewIdType newFromViewId) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_VIEW_ID, newFromViewId); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IconType getIcon() { - return (IconType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__ICON, true); - } - - /** - * <!-- begin-user-doc --> - * @param newIcon - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetIcon(IconType newIcon, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__ICON, newIcon, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setIcon(IconType newIcon) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__ICON, newIcon); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public IfType getIf() { - return (IfType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__IF, true); - } - - /** - * <!-- begin-user-doc --> - * @param newIf - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetIf(IfType newIf, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__IF, newIf, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setIf(IfType newIf) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__IF, newIf); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public KeyType getKey() { - return (KeyType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__KEY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newKey - * @param msgs - * @return the notification chiainn - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetKey(KeyType newKey, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__KEY, newKey, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setKey(KeyType newKey) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__KEY, newKey); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public KeyClassType getKeyClass() { - return (KeyClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__KEY_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newKeyClass - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetKeyClass(KeyClassType newKeyClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__KEY_CLASS, newKeyClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setKeyClass(KeyClassType newKeyClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__KEY_CLASS, newKeyClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public LargeIconType getLargeIcon() { - return (LargeIconType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__LARGE_ICON, true); - } - - /** - * <!-- begin-user-doc --> - * @param newLargeIcon - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLargeIcon(LargeIconType newLargeIcon, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__LARGE_ICON, newLargeIcon, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLargeIcon(LargeIconType newLargeIcon) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__LARGE_ICON, newLargeIcon); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public LifecycleType getLifecycle() { - return (LifecycleType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__LIFECYCLE, true); - } - - /** - * <!-- begin-user-doc --> - * @param newLifecycle - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLifecycle(LifecycleType newLifecycle, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__LIFECYCLE, newLifecycle, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLifecycle(LifecycleType newLifecycle) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__LIFECYCLE, newLifecycle); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public LifecycleFactoryType getLifecycleFactory() { - return (LifecycleFactoryType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__LIFECYCLE_FACTORY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newLifecycleFactory - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLifecycleFactory(LifecycleFactoryType newLifecycleFactory, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__LIFECYCLE_FACTORY, newLifecycleFactory, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLifecycleFactory(LifecycleFactoryType newLifecycleFactory) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__LIFECYCLE_FACTORY, newLifecycleFactory); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ListEntriesType getListEntries() { - return (ListEntriesType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__LIST_ENTRIES, true); - } - - /** - * <!-- begin-user-doc --> - * @param newListEntries - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetListEntries(ListEntriesType newListEntries, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__LIST_ENTRIES, newListEntries, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setListEntries(ListEntriesType newListEntries) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__LIST_ENTRIES, newListEntries); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public LocaleConfigType getLocaleConfig() { - return (LocaleConfigType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__LOCALE_CONFIG, true); - } - - /** - * <!-- begin-user-doc --> - * @param newLocaleConfig - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetLocaleConfig(LocaleConfigType newLocaleConfig, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__LOCALE_CONFIG, newLocaleConfig, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setLocaleConfig(LocaleConfigType newLocaleConfig) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__LOCALE_CONFIG, newLocaleConfig); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ManagedBeanType getManagedBean() { - return (ManagedBeanType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN, true); - } - - /** - * <!-- begin-user-doc --> - * @param newManagedBean - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetManagedBean(ManagedBeanType newManagedBean, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN, newManagedBean, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setManagedBean(ManagedBeanType newManagedBean) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN, newManagedBean); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ManagedBeanClassType getManagedBeanClass() { - return (ManagedBeanClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newManagedBeanClass - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetManagedBeanClass(ManagedBeanClassType newManagedBeanClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_CLASS, newManagedBeanClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setManagedBeanClass(ManagedBeanClassType newManagedBeanClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_CLASS, newManagedBeanClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ManagedBeanNameType getManagedBeanName() { - return (ManagedBeanNameType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_NAME, true); - } - - /** - * <!-- begin-user-doc --> - * @param newManagedBeanName - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetManagedBeanName(ManagedBeanNameType newManagedBeanName, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_NAME, newManagedBeanName, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setManagedBeanName(ManagedBeanNameType newManagedBeanName) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_NAME, newManagedBeanName); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ManagedBeanScopeType getManagedBeanScope() { - return (ManagedBeanScopeType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_SCOPE, true); - } - - /** - * <!-- begin-user-doc --> - * @param newManagedBeanScope - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetManagedBeanScope(ManagedBeanScopeType newManagedBeanScope, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_SCOPE, newManagedBeanScope, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setManagedBeanScope(ManagedBeanScopeType newManagedBeanScope) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_SCOPE, newManagedBeanScope); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ManagedPropertyType getManagedProperty() { - return (ManagedPropertyType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_PROPERTY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newManagedProperty - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetManagedProperty(ManagedPropertyType newManagedProperty, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_PROPERTY, newManagedProperty, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setManagedProperty(ManagedPropertyType newManagedProperty) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_PROPERTY, newManagedProperty); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MapEntriesType getMapEntries() { - return (MapEntriesType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__MAP_ENTRIES, true); - } - - /** - * <!-- begin-user-doc --> - * @param newMapEntries - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetMapEntries(MapEntriesType newMapEntries, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__MAP_ENTRIES, newMapEntries, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMapEntries(MapEntriesType newMapEntries) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__MAP_ENTRIES, newMapEntries); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MapEntryType getMapEntry() { - return (MapEntryType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__MAP_ENTRY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newMapEntry - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetMapEntry(MapEntryType newMapEntry, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__MAP_ENTRY, newMapEntry, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMapEntry(MapEntryType newMapEntry) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__MAP_ENTRY, newMapEntry); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public MessageBundleType getMessageBundle() { - return (MessageBundleType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__MESSAGE_BUNDLE, true); - } - - /** - * <!-- begin-user-doc --> - * @param newMessageBundle - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetMessageBundle(MessageBundleType newMessageBundle, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__MESSAGE_BUNDLE, newMessageBundle, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMessageBundle(MessageBundleType newMessageBundle) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__MESSAGE_BUNDLE, newMessageBundle); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NameType getName() { - return (NameType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAME, true); - } - - /** - * <!-- begin-user-doc --> - * @param newName - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetName(NameType newName, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAME, newName, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(NameType newName) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAME, newName); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NavigationCaseType getNavigationCase() { - return (NavigationCaseType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_CASE, true); - } - - /** - * <!-- begin-user-doc --> - * @param newNavigationCase - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetNavigationCase(NavigationCaseType newNavigationCase, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_CASE, newNavigationCase, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setNavigationCase(NavigationCaseType newNavigationCase) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_CASE, newNavigationCase); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NavigationHandlerType getNavigationHandler() { - return (NavigationHandlerType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_HANDLER, true); - } - - /** - * <!-- begin-user-doc --> - * @param newNavigationHandler - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetNavigationHandler(NavigationHandlerType newNavigationHandler, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_HANDLER, newNavigationHandler, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setNavigationHandler(NavigationHandlerType newNavigationHandler) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_HANDLER, newNavigationHandler); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NavigationRuleType getNavigationRule() { - return (NavigationRuleType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_RULE, true); - } - - /** - * <!-- begin-user-doc --> - * @param newNavigationRule - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetNavigationRule(NavigationRuleType newNavigationRule, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_RULE, newNavigationRule, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setNavigationRule(NavigationRuleType newNavigationRule) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_RULE, newNavigationRule); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NullValueType getNullValue() { - return (NullValueType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__NULL_VALUE, true); - } - - /** - * <!-- begin-user-doc --> - * @param newNullValue - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetNullValue(NullValueType newNullValue, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__NULL_VALUE, newNullValue, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setNullValue(NullValueType newNullValue) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__NULL_VALUE, newNullValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OrderingType getOrdering() { - return (OrderingType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__ORDERING, true); - } - - /** - * <!-- begin-user-doc --> - * @param newOrdering - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOrdering(OrderingType newOrdering, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__ORDERING, newOrdering, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOrdering(OrderingType newOrdering) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__ORDERING, newOrdering); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OrderingOrderingType getOrderingOrdering() { - return (OrderingOrderingType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__ORDERING_ORDERING, true); - } - - /** - * <!-- begin-user-doc --> - * @param newOrderingOrdering - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOrderingOrdering(OrderingOrderingType newOrderingOrdering, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__ORDERING_ORDERING, newOrderingOrdering, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOrderingOrdering(OrderingOrderingType newOrderingOrdering) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__ORDERING_ORDERING, newOrderingOrdering); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OrderingOthersType getOthers() { - return (OrderingOthersType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__OTHERS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newOthers - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOthers(OrderingOthersType newOthers, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__OTHERS, newOthers, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOthers(OrderingOthersType newOthers) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__OTHERS, newOthers); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PartialViewContextFactoryType getPartialViewContextFactory() { - return (PartialViewContextFactoryType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__PARTIAL_VIEW_CONTEXT_FACTORY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newPartialViewContextFactory - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetPartialViewContextFactory(PartialViewContextFactoryType newPartialViewContextFactory, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__PARTIAL_VIEW_CONTEXT_FACTORY, newPartialViewContextFactory, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPartialViewContextFactory(PartialViewContextFactoryType newPartialViewContextFactory) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__PARTIAL_VIEW_CONTEXT_FACTORY, newPartialViewContextFactory); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PhaseListenerType getPhaseListener() { - return (PhaseListenerType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__PHASE_LISTENER, true); - } - - /** - * <!-- begin-user-doc --> - * @param newPhaseListener - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetPhaseListener(PhaseListenerType newPhaseListener, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__PHASE_LISTENER, newPhaseListener, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPhaseListener(PhaseListenerType newPhaseListener) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__PHASE_LISTENER, newPhaseListener); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PropertyType getProperty() { - return (PropertyType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newProperty - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetProperty(PropertyType newProperty, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY, newProperty, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setProperty(PropertyType newProperty) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY, newProperty); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PropertyClassType getPropertyClass() { - return (PropertyClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newPropertyClass - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetPropertyClass(PropertyClassType newPropertyClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_CLASS, newPropertyClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPropertyClass(PropertyClassType newPropertyClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_CLASS, newPropertyClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PropertyExtensionType getPropertyExtension() { - return (PropertyExtensionType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_EXTENSION, true); - } - - /** - * <!-- begin-user-doc --> - * @param newPropertyExtension - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetPropertyExtension(PropertyExtensionType newPropertyExtension, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_EXTENSION, newPropertyExtension, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPropertyExtension(PropertyExtensionType newPropertyExtension) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_EXTENSION, newPropertyExtension); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PropertyNameType getPropertyName() { - return (PropertyNameType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_NAME, true); - } - - /** - * <!-- begin-user-doc --> - * @param newPropertyName - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetPropertyName(PropertyNameType newPropertyName, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_NAME, newPropertyName, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPropertyName(PropertyNameType newPropertyName) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_NAME, newPropertyName); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PropertyResolverType getPropertyResolver() { - return (PropertyResolverType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_RESOLVER, true); - } - - /** - * <!-- begin-user-doc --> - * @param newPropertyResolver - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetPropertyResolver(PropertyResolverType newPropertyResolver, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_RESOLVER, newPropertyResolver, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPropertyResolver(PropertyResolverType newPropertyResolver) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_RESOLVER, newPropertyResolver); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RedirectType getRedirect() { - return (RedirectType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__REDIRECT, true); - } - - /** - * <!-- begin-user-doc --> - * @param newRedirect - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRedirect(RedirectType newRedirect, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__REDIRECT, newRedirect, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRedirect(RedirectType newRedirect) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__REDIRECT, newRedirect); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RedirectViewParamType getRedirectViewParam() { - return (RedirectViewParamType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__REDIRECT_VIEW_PARAM, true); - } - - /** - * <!-- begin-user-doc --> - * @param newRedirectViewParam - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRedirectViewParam(RedirectViewParamType newRedirectViewParam, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__REDIRECT_VIEW_PARAM, newRedirectViewParam, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRedirectViewParam(RedirectViewParamType newRedirectViewParam) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__REDIRECT_VIEW_PARAM, newRedirectViewParam); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ReferencedBeanType getReferencedBean() { - return (ReferencedBeanType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN, true); - } - - /** - * <!-- begin-user-doc --> - * @param newReferencedBean - * @param msgs - * @return the notification chai - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetReferencedBean(ReferencedBeanType newReferencedBean, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN, newReferencedBean, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setReferencedBean(ReferencedBeanType newReferencedBean) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN, newReferencedBean); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ReferencedBeanClassType getReferencedBeanClass() { - return (ReferencedBeanClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newReferencedBeanClass - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetReferencedBeanClass(ReferencedBeanClassType newReferencedBeanClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN_CLASS, newReferencedBeanClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setReferencedBeanClass(ReferencedBeanClassType newReferencedBeanClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN_CLASS, newReferencedBeanClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ReferencedBeanNameType getReferencedBeanName() { - return (ReferencedBeanNameType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN_NAME, true); - } - - /** - * <!-- begin-user-doc --> - * @param newReferencedBeanName - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetReferencedBeanName(ReferencedBeanNameType newReferencedBeanName, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN_NAME, newReferencedBeanName, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setReferencedBeanName(ReferencedBeanNameType newReferencedBeanName) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN_NAME, newReferencedBeanName); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RendererType getRenderer() { - return (RendererType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER, true); - } - - /** - * <!-- begin-user-doc --> - * @param newRenderer - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRenderer(RendererType newRenderer, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER, newRenderer, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRenderer(RendererType newRenderer) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER, newRenderer); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RendererClassType getRendererClass() { - return (RendererClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newRendererClass - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRendererClass(RendererClassType newRendererClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_CLASS, newRendererClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRendererClass(RendererClassType newRendererClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_CLASS, newRendererClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RendererExtensionType getRendererExtension() { - return (RendererExtensionType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_EXTENSION, true); - } - - /** - * <!-- begin-user-doc --> - * @param newRendererExtension - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRendererExtension(RendererExtensionType newRendererExtension, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_EXTENSION, newRendererExtension, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRendererExtension(RendererExtensionType newRendererExtension) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_EXTENSION, newRendererExtension); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RendererTypeType getRendererType() { - return (RendererTypeType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_TYPE, true); - } - - /** - * <!-- begin-user-doc --> - * @param newRendererType - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRendererType(RendererTypeType newRendererType, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_TYPE, newRendererType, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRendererType(RendererTypeType newRendererType) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_TYPE, newRendererType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RenderKitType getRenderKit() { - return (RenderKitType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT, true); - } - - /** - * <!-- begin-user-doc --> - * @param newRenderKit - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRenderKit(RenderKitType newRenderKit, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT, newRenderKit, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRenderKit(RenderKitType newRenderKit) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT, newRenderKit); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RenderKitClassType getRenderKitClass() { - return (RenderKitClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newRenderKitClass - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRenderKitClass(RenderKitClassType newRenderKitClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_CLASS, newRenderKitClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRenderKitClass(RenderKitClassType newRenderKitClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_CLASS, newRenderKitClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RenderKitFactoryType getRenderKitFactory() { - return (RenderKitFactoryType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_FACTORY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newRenderKitFactory - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRenderKitFactory(RenderKitFactoryType newRenderKitFactory, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_FACTORY, newRenderKitFactory, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRenderKitFactory(RenderKitFactoryType newRenderKitFactory) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_FACTORY, newRenderKitFactory); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RenderKitIdType getRenderKitId() { - return (RenderKitIdType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_ID, true); - } - - /** - * <!-- begin-user-doc --> - * @param newRenderKitId - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetRenderKitId(RenderKitIdType newRenderKitId, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_ID, newRenderKitId, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setRenderKitId(RenderKitIdType newRenderKitId) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_ID, newRenderKitId); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ResourceHandlerType getResourceHandler() { - return (ResourceHandlerType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__RESOURCE_HANDLER, true); - } - - /** - * <!-- begin-user-doc --> - * @param newResourceHandler - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetResourceHandler(ResourceHandlerType newResourceHandler, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__RESOURCE_HANDLER, newResourceHandler, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setResourceHandler(ResourceHandlerType newResourceHandler) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__RESOURCE_HANDLER, newResourceHandler); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SmallIconType getSmallIcon() { - return (SmallIconType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__SMALL_ICON, true); - } - - /** - * <!-- begin-user-doc --> - * @param newSmallIcon - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSmallIcon(SmallIconType newSmallIcon, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__SMALL_ICON, newSmallIcon, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSmallIcon(SmallIconType newSmallIcon) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__SMALL_ICON, newSmallIcon); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SourceClassType getSourceClass() { - return (SourceClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__SOURCE_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newSourceClass - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSourceClass(SourceClassType newSourceClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__SOURCE_CLASS, newSourceClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSourceClass(SourceClassType newSourceClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__SOURCE_CLASS, newSourceClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public StateManagerType getStateManager() { - return (StateManagerType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__STATE_MANAGER, true); - } - - /** - * <!-- begin-user-doc --> - * @param newStateManager - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetStateManager(StateManagerType newStateManager, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__STATE_MANAGER, newStateManager, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setStateManager(StateManagerType newStateManager) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__STATE_MANAGER, newStateManager); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SuggestedValueType getSuggestedValue() { - return (SuggestedValueType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__SUGGESTED_VALUE, true); - } - - /** - * <!-- begin-user-doc --> - * @param newSuggestedValue - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSuggestedValue(SuggestedValueType newSuggestedValue, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__SUGGESTED_VALUE, newSuggestedValue, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSuggestedValue(SuggestedValueType newSuggestedValue) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__SUGGESTED_VALUE, newSuggestedValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SupportedLocaleType getSupportedLocale() { - return (SupportedLocaleType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__SUPPORTED_LOCALE, true); - } - - /** - * <!-- begin-user-doc --> - * @param newSupportedLocale - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSupportedLocale(SupportedLocaleType newSupportedLocale, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__SUPPORTED_LOCALE, newSupportedLocale, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSupportedLocale(SupportedLocaleType newSupportedLocale) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__SUPPORTED_LOCALE, newSupportedLocale); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SystemEventClassType getSystemEventClass() { - return (SystemEventClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newSystemEventClass - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSystemEventClass(SystemEventClassType newSystemEventClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_CLASS, newSystemEventClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSystemEventClass(SystemEventClassType newSystemEventClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_CLASS, newSystemEventClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SystemEventListenerType getSystemEventListener() { - return (SystemEventListenerType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER, true); - } - - /** - * <!-- begin-user-doc --> - * @param newSystemEventListener - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSystemEventListener(SystemEventListenerType newSystemEventListener, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER, newSystemEventListener, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSystemEventListener(SystemEventListenerType newSystemEventListener) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER, newSystemEventListener); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SystemEventListenerClassType getSystemEventListenerClass() { - return (SystemEventListenerClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newSystemEventListenerClass - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSystemEventListenerClass(SystemEventListenerClassType newSystemEventListenerClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER_CLASS, newSystemEventListenerClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSystemEventListenerClass(SystemEventListenerClassType newSystemEventListenerClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER_CLASS, newSystemEventListenerClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TagHandlerDelegateFactoryType getTagHandlerDelegateFactory() { - return (TagHandlerDelegateFactoryType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__TAG_HANDLER_DELEGATE_FACTORY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newTagHandlerDelegateFactory - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetTagHandlerDelegateFactory(TagHandlerDelegateFactoryType newTagHandlerDelegateFactory, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__TAG_HANDLER_DELEGATE_FACTORY, newTagHandlerDelegateFactory, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTagHandlerDelegateFactory(TagHandlerDelegateFactoryType newTagHandlerDelegateFactory) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__TAG_HANDLER_DELEGATE_FACTORY, newTagHandlerDelegateFactory); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ToViewIdType getToViewId() { - return (ToViewIdType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__TO_VIEW_ID, true); - } - - /** - * <!-- begin-user-doc --> - * @param newToViewId - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetToViewId(ToViewIdType newToViewId, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__TO_VIEW_ID, newToViewId, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setToViewId(ToViewIdType newToViewId) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__TO_VIEW_ID, newToViewId); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ValidatorType getValidator() { - return (ValidatorType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR, true); - } - - /** - * <!-- begin-user-doc --> - * @param newValidator - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetValidator(ValidatorType newValidator, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR, newValidator, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValidator(ValidatorType newValidator) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR, newValidator); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ValidatorClassType getValidatorClass() { - return (ValidatorClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newValidatorClass - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetValidatorClass(ValidatorClassType newValidatorClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR_CLASS, newValidatorClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValidatorClass(ValidatorClassType newValidatorClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR_CLASS, newValidatorClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ValidatorIdType getValidatorId() { - return (ValidatorIdType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR_ID, true); - } - - /** - * <!-- begin-user-doc --> - * @param newValidatorId - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetValidatorId(ValidatorIdType newValidatorId, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR_ID, newValidatorId, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValidatorId(ValidatorIdType newValidatorId) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR_ID, newValidatorId); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ValueType getValue() { - return (ValueType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALUE, true); - } - - /** - * <!-- begin-user-doc --> - * @param newValue - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetValue(ValueType newValue, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALUE, newValue, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(ValueType newValue) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALUE, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ValueClassType getValueClass() { - return (ValueClassType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALUE_CLASS, true); - } - - /** - * <!-- begin-user-doc --> - * @param newValueClass - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetValueClass(ValueClassType newValueClass, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALUE_CLASS, newValueClass, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValueClass(ValueClassType newValueClass) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALUE_CLASS, newValueClass); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public VariableResolverType getVariableResolver() { - return (VariableResolverType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__VARIABLE_RESOLVER, true); - } - - /** - * <!-- begin-user-doc --> - * @param newVariableResolver - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetVariableResolver(VariableResolverType newVariableResolver, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__VARIABLE_RESOLVER, newVariableResolver, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setVariableResolver(VariableResolverType newVariableResolver) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__VARIABLE_RESOLVER, newVariableResolver); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ViewDeclarationLanguageFactoryType getViewDeclarationLanguageFactory() { - return (ViewDeclarationLanguageFactoryType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__VIEW_DECLARATION_LANGUAGE_FACTORY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newViewDeclarationLanguageFactory - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetViewDeclarationLanguageFactory(ViewDeclarationLanguageFactoryType newViewDeclarationLanguageFactory, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__VIEW_DECLARATION_LANGUAGE_FACTORY, newViewDeclarationLanguageFactory, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setViewDeclarationLanguageFactory(ViewDeclarationLanguageFactoryType newViewDeclarationLanguageFactory) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__VIEW_DECLARATION_LANGUAGE_FACTORY, newViewDeclarationLanguageFactory); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ViewHandlerType getViewHandler() { - return (ViewHandlerType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__VIEW_HANDLER, true); - } - - /** - * <!-- begin-user-doc --> - * @param newViewHandler - * @param msgs - * @return the notification chain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetViewHandler(ViewHandlerType newViewHandler, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__VIEW_HANDLER, newViewHandler, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setViewHandler(ViewHandlerType newViewHandler) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__VIEW_HANDLER, newViewHandler); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public VisitContextFactoryType getVisitContextFactory() { - return (VisitContextFactoryType)getMixed().get(FacesConfigPackage.Literals.DOCUMENT_ROOT__VISIT_CONTEXT_FACTORY, true); - } - - /** - * <!-- begin-user-doc --> - * @param newVisitContextFactory - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetVisitContextFactory(VisitContextFactoryType newVisitContextFactory, NotificationChain msgs) { - return ((FeatureMap.Internal)getMixed()).basicAdd(FacesConfigPackage.Literals.DOCUMENT_ROOT__VISIT_CONTEXT_FACTORY, newVisitContextFactory, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setVisitContextFactory(VisitContextFactoryType newVisitContextFactory) { - ((FeatureMap.Internal)getMixed()).set(FacesConfigPackage.Literals.DOCUMENT_ROOT__VISIT_CONTEXT_FACTORY, newVisitContextFactory); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - 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__ABSOLUTE_ORDERING: - return basicSetAbsoluteOrdering(null, 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__BEHAVIOR: - return basicSetBehavior(null, msgs); - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_CLASS: - return basicSetBehaviorClass(null, msgs); - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_ID: - return basicSetBehaviorId(null, msgs); - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_EXTENSION: - return basicSetBehaviorExtension(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_VALIDATORS: - return basicSetDefaultValidators(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__EXCEPTION_HANDLER_FACTORY: - return basicSetExceptionHandlerFactory(null, msgs); - case FacesConfigPackage.DOCUMENT_ROOT__EXTERNAL_CONTEXT_FACTORY: - return basicSetExternalContextFactory(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__IF: - return basicSetIf(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__NAME: - return basicSetName(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__ORDERING: - return basicSetOrdering(null, msgs); - case FacesConfigPackage.DOCUMENT_ROOT__ORDERING_ORDERING: - return basicSetOrderingOrdering(null, msgs); - case FacesConfigPackage.DOCUMENT_ROOT__OTHERS: - return basicSetOthers(null, msgs); - case FacesConfigPackage.DOCUMENT_ROOT__PARTIAL_VIEW_CONTEXT_FACTORY: - return basicSetPartialViewContextFactory(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__REDIRECT_VIEW_PARAM: - return basicSetRedirectViewParam(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__RESOURCE_HANDLER: - return basicSetResourceHandler(null, msgs); - case FacesConfigPackage.DOCUMENT_ROOT__SMALL_ICON: - return basicSetSmallIcon(null, msgs); - case FacesConfigPackage.DOCUMENT_ROOT__SOURCE_CLASS: - return basicSetSourceClass(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__SYSTEM_EVENT_CLASS: - return basicSetSystemEventClass(null, msgs); - case FacesConfigPackage.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER: - return basicSetSystemEventListener(null, msgs); - case FacesConfigPackage.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER_CLASS: - return basicSetSystemEventListenerClass(null, msgs); - case FacesConfigPackage.DOCUMENT_ROOT__TAG_HANDLER_DELEGATE_FACTORY: - return basicSetTagHandlerDelegateFactory(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_DECLARATION_LANGUAGE_FACTORY: - return basicSetViewDeclarationLanguageFactory(null, msgs); - case FacesConfigPackage.DOCUMENT_ROOT__VIEW_HANDLER: - return basicSetViewHandler(null, msgs); - case FacesConfigPackage.DOCUMENT_ROOT__VISIT_CONTEXT_FACTORY: - return basicSetVisitContextFactory(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.DOCUMENT_ROOT__MIXED: - if (coreType) return getMixed(); - return ((FeatureMap.Internal)getMixed()).getWrapper(); - case FacesConfigPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: - if (coreType) return getXMLNSPrefixMap(); - else return getXMLNSPrefixMap().map(); - case FacesConfigPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: - if (coreType) return getXSISchemaLocation(); - else return getXSISchemaLocation().map(); - case FacesConfigPackage.DOCUMENT_ROOT__ABSOLUTE_ORDERING: - return getAbsoluteOrdering(); - 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__BEHAVIOR: - return getBehavior(); - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_CLASS: - return getBehaviorClass(); - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_ID: - return getBehaviorId(); - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_EXTENSION: - return getBehaviorExtension(); - 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_VALIDATORS: - return getDefaultValidators(); - 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__EXCEPTION_HANDLER_FACTORY: - return getExceptionHandlerFactory(); - case FacesConfigPackage.DOCUMENT_ROOT__EXTERNAL_CONTEXT_FACTORY: - return getExternalContextFactory(); - 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__IF: - return getIf(); - 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__NAME: - return getName(); - 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__ORDERING: - return getOrdering(); - case FacesConfigPackage.DOCUMENT_ROOT__ORDERING_ORDERING: - return getOrderingOrdering(); - case FacesConfigPackage.DOCUMENT_ROOT__OTHERS: - return getOthers(); - case FacesConfigPackage.DOCUMENT_ROOT__PARTIAL_VIEW_CONTEXT_FACTORY: - return getPartialViewContextFactory(); - 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__REDIRECT_VIEW_PARAM: - return getRedirectViewParam(); - 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__RESOURCE_HANDLER: - return getResourceHandler(); - case FacesConfigPackage.DOCUMENT_ROOT__SMALL_ICON: - return getSmallIcon(); - case FacesConfigPackage.DOCUMENT_ROOT__SOURCE_CLASS: - return getSourceClass(); - 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__SYSTEM_EVENT_CLASS: - return getSystemEventClass(); - case FacesConfigPackage.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER: - return getSystemEventListener(); - case FacesConfigPackage.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER_CLASS: - return getSystemEventListenerClass(); - case FacesConfigPackage.DOCUMENT_ROOT__TAG_HANDLER_DELEGATE_FACTORY: - return getTagHandlerDelegateFactory(); - 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_DECLARATION_LANGUAGE_FACTORY: - return getViewDeclarationLanguageFactory(); - case FacesConfigPackage.DOCUMENT_ROOT__VIEW_HANDLER: - return getViewHandler(); - case FacesConfigPackage.DOCUMENT_ROOT__VISIT_CONTEXT_FACTORY: - return getVisitContextFactory(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.DOCUMENT_ROOT__MIXED: - ((FeatureMap.Internal)getMixed()).set(newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP: - ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION: - ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__ABSOLUTE_ORDERING: - setAbsoluteOrdering((AbsoluteOrderingType)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__BEHAVIOR: - setBehavior((BehaviorType)newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_CLASS: - setBehaviorClass((BehaviorClassType)newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_ID: - setBehaviorId((BehaviorIdType)newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_EXTENSION: - setBehaviorExtension((BehaviorExtensionType)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_VALIDATORS: - setDefaultValidators((DefaultValidatorsType)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__EXCEPTION_HANDLER_FACTORY: - setExceptionHandlerFactory((ExceptionHandlerFactoryType)newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__EXTERNAL_CONTEXT_FACTORY: - setExternalContextFactory((ExternalContextFactoryType)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__IF: - setIf((IfType)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__NAME: - setName((NameType)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__ORDERING: - setOrdering((OrderingType)newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__ORDERING_ORDERING: - setOrderingOrdering((OrderingOrderingType)newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__OTHERS: - setOthers((OrderingOthersType)newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__PARTIAL_VIEW_CONTEXT_FACTORY: - setPartialViewContextFactory((PartialViewContextFactoryType)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__REDIRECT_VIEW_PARAM: - setRedirectViewParam((RedirectViewParamType)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__RESOURCE_HANDLER: - setResourceHandler((ResourceHandlerType)newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__SMALL_ICON: - setSmallIcon((SmallIconType)newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__SOURCE_CLASS: - setSourceClass((SourceClassType)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__SYSTEM_EVENT_CLASS: - setSystemEventClass((SystemEventClassType)newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER: - setSystemEventListener((SystemEventListenerType)newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER_CLASS: - setSystemEventListenerClass((SystemEventListenerClassType)newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__TAG_HANDLER_DELEGATE_FACTORY: - setTagHandlerDelegateFactory((TagHandlerDelegateFactoryType)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_DECLARATION_LANGUAGE_FACTORY: - setViewDeclarationLanguageFactory((ViewDeclarationLanguageFactoryType)newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__VIEW_HANDLER: - setViewHandler((ViewHandlerType)newValue); - return; - case FacesConfigPackage.DOCUMENT_ROOT__VISIT_CONTEXT_FACTORY: - setVisitContextFactory((VisitContextFactoryType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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__ABSOLUTE_ORDERING: - setAbsoluteOrdering((AbsoluteOrderingType)null); - 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__BEHAVIOR: - setBehavior((BehaviorType)null); - return; - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_CLASS: - setBehaviorClass((BehaviorClassType)null); - return; - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_ID: - setBehaviorId((BehaviorIdType)null); - return; - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_EXTENSION: - setBehaviorExtension((BehaviorExtensionType)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_VALIDATORS: - setDefaultValidators((DefaultValidatorsType)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__EXCEPTION_HANDLER_FACTORY: - setExceptionHandlerFactory((ExceptionHandlerFactoryType)null); - return; - case FacesConfigPackage.DOCUMENT_ROOT__EXTERNAL_CONTEXT_FACTORY: - setExternalContextFactory((ExternalContextFactoryType)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__IF: - setIf((IfType)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__NAME: - setName((NameType)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__ORDERING: - setOrdering((OrderingType)null); - return; - case FacesConfigPackage.DOCUMENT_ROOT__ORDERING_ORDERING: - setOrderingOrdering((OrderingOrderingType)null); - return; - case FacesConfigPackage.DOCUMENT_ROOT__OTHERS: - setOthers((OrderingOthersType)null); - return; - case FacesConfigPackage.DOCUMENT_ROOT__PARTIAL_VIEW_CONTEXT_FACTORY: - setPartialViewContextFactory((PartialViewContextFactoryType)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__REDIRECT_VIEW_PARAM: - setRedirectViewParam((RedirectViewParamType)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__RESOURCE_HANDLER: - setResourceHandler((ResourceHandlerType)null); - return; - case FacesConfigPackage.DOCUMENT_ROOT__SMALL_ICON: - setSmallIcon((SmallIconType)null); - return; - case FacesConfigPackage.DOCUMENT_ROOT__SOURCE_CLASS: - setSourceClass((SourceClassType)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__SYSTEM_EVENT_CLASS: - setSystemEventClass((SystemEventClassType)null); - return; - case FacesConfigPackage.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER: - setSystemEventListener((SystemEventListenerType)null); - return; - case FacesConfigPackage.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER_CLASS: - setSystemEventListenerClass((SystemEventListenerClassType)null); - return; - case FacesConfigPackage.DOCUMENT_ROOT__TAG_HANDLER_DELEGATE_FACTORY: - setTagHandlerDelegateFactory((TagHandlerDelegateFactoryType)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_DECLARATION_LANGUAGE_FACTORY: - setViewDeclarationLanguageFactory((ViewDeclarationLanguageFactoryType)null); - return; - case FacesConfigPackage.DOCUMENT_ROOT__VIEW_HANDLER: - setViewHandler((ViewHandlerType)null); - return; - case FacesConfigPackage.DOCUMENT_ROOT__VISIT_CONTEXT_FACTORY: - setVisitContextFactory((VisitContextFactoryType)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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__ABSOLUTE_ORDERING: - return getAbsoluteOrdering() != null; - 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__BEHAVIOR: - return getBehavior() != null; - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_CLASS: - return getBehaviorClass() != null; - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_ID: - return getBehaviorId() != null; - case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_EXTENSION: - return getBehaviorExtension() != 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_VALIDATORS: - return getDefaultValidators() != 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__EXCEPTION_HANDLER_FACTORY: - return getExceptionHandlerFactory() != null; - case FacesConfigPackage.DOCUMENT_ROOT__EXTERNAL_CONTEXT_FACTORY: - return getExternalContextFactory() != 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__IF: - return getIf() != 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__NAME: - return getName() != 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__ORDERING: - return getOrdering() != null; - case FacesConfigPackage.DOCUMENT_ROOT__ORDERING_ORDERING: - return getOrderingOrdering() != null; - case FacesConfigPackage.DOCUMENT_ROOT__OTHERS: - return getOthers() != null; - case FacesConfigPackage.DOCUMENT_ROOT__PARTIAL_VIEW_CONTEXT_FACTORY: - return getPartialViewContextFactory() != 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__REDIRECT_VIEW_PARAM: - return getRedirectViewParam() != 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__RESOURCE_HANDLER: - return getResourceHandler() != null; - case FacesConfigPackage.DOCUMENT_ROOT__SMALL_ICON: - return getSmallIcon() != null; - case FacesConfigPackage.DOCUMENT_ROOT__SOURCE_CLASS: - return getSourceClass() != 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__SYSTEM_EVENT_CLASS: - return getSystemEventClass() != null; - case FacesConfigPackage.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER: - return getSystemEventListener() != null; - case FacesConfigPackage.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER_CLASS: - return getSystemEventListenerClass() != null; - case FacesConfigPackage.DOCUMENT_ROOT__TAG_HANDLER_DELEGATE_FACTORY: - return getTagHandlerDelegateFactory() != 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_DECLARATION_LANGUAGE_FACTORY: - return getViewDeclarationLanguageFactory() != null; - case FacesConfigPackage.DOCUMENT_ROOT__VIEW_HANDLER: - return getViewHandler() != null; - case FacesConfigPackage.DOCUMENT_ROOT__VISIT_CONTEXT_FACTORY: - return getVisitContextFactory() != null; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (mixed: ");//$NON-NLS-1$ - 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/DynamicAttributeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DynamicAttributeImpl.java deleted file mode 100644 index 010541129..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DynamicAttributeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.DynamicAttribute; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Dynamic Attribute</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DynamicAttributeImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DynamicAttributeImpl#getValue <em>Value</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class DynamicAttributeImpl extends EObjectImpl implements DynamicAttribute { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The default value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected static final String VALUE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getValue() <em>Value</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValue() - * @generated - * @ordered - */ - protected String value = VALUE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DynamicAttributeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.DYNAMIC_ATTRIBUTE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.DYNAMIC_ATTRIBUTE__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setValue(String newValue) { - String oldValue = value; - value = newValue; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.DYNAMIC_ATTRIBUTE__VALUE, oldValue, value)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.DYNAMIC_ATTRIBUTE__NAME: - return getName(); - case FacesConfigPackage.DYNAMIC_ATTRIBUTE__VALUE: - return getValue(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.DYNAMIC_ATTRIBUTE__NAME: - setName((String)newValue); - return; - case FacesConfigPackage.DYNAMIC_ATTRIBUTE__VALUE: - setValue((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.DYNAMIC_ATTRIBUTE__NAME: - setName(NAME_EDEFAULT); - return; - case FacesConfigPackage.DYNAMIC_ATTRIBUTE__VALUE: - setValue(VALUE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.DYNAMIC_ATTRIBUTE__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case FacesConfigPackage.DYNAMIC_ATTRIBUTE__VALUE: - return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: ");//$NON-NLS-1$ - result.append(name); - result.append(", value: ");//$NON-NLS-1$ - result.append(value); - result.append(')'); - return result.toString(); - } - -} //DynamicAttributeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DynamicElementImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DynamicElementImpl.java deleted file mode 100644 index 46b6e8afd..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DynamicElementImpl.java +++ /dev/null @@ -1,314 +0,0 @@ -/*************************************************************************************************** - * 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.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.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jst.jsf.facesconfig.emf.DynamicAttribute; -import org.eclipse.jst.jsf.facesconfig.emf.DynamicElement; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Dynamic Element</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DynamicElementImpl#getChildNodes <em>Child Nodes</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DynamicElementImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DynamicElementImpl#getAttributes <em>Attributes</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.DynamicElementImpl#getTextContent <em>Text Content</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class DynamicElementImpl extends EObjectImpl implements DynamicElement { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getChildNodes() <em>Child Nodes</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getChildNodes() - * @generated - * @ordered - */ - protected EList childNodes; - - /** - * The default value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected static final String NAME_EDEFAULT = null; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected String name = NAME_EDEFAULT; - - /** - * The cached value of the '{@link #getAttributes() <em>Attributes</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAttributes() - * @generated - * @ordered - */ - protected EList attributes; - - /** - * 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; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected DynamicElementImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.DYNAMIC_ELEMENT; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getChildNodes() { - if (childNodes == null) { - childNodes = new EObjectContainmentEList(DynamicElement.class, this, FacesConfigPackage.DYNAMIC_ELEMENT__CHILD_NODES); - } - return childNodes; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getAttributes() { - if (attributes == null) { - attributes = new EObjectResolvingEList(DynamicAttribute.class, this, FacesConfigPackage.DYNAMIC_ELEMENT__ATTRIBUTES); - } - return attributes; - } - - /** - * <!-- 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.DYNAMIC_ELEMENT__TEXT_CONTENT, oldTextContent, textContent)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(String newName) { - String oldName = name; - name = newName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.DYNAMIC_ELEMENT__NAME, oldName, name)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.DYNAMIC_ELEMENT__CHILD_NODES: - return ((InternalEList)getChildNodes()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.DYNAMIC_ELEMENT__CHILD_NODES: - return getChildNodes(); - case FacesConfigPackage.DYNAMIC_ELEMENT__NAME: - return getName(); - case FacesConfigPackage.DYNAMIC_ELEMENT__ATTRIBUTES: - return getAttributes(); - case FacesConfigPackage.DYNAMIC_ELEMENT__TEXT_CONTENT: - return getTextContent(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.DYNAMIC_ELEMENT__CHILD_NODES: - getChildNodes().clear(); - getChildNodes().addAll((Collection)newValue); - return; - case FacesConfigPackage.DYNAMIC_ELEMENT__NAME: - setName((String)newValue); - return; - case FacesConfigPackage.DYNAMIC_ELEMENT__ATTRIBUTES: - getAttributes().clear(); - getAttributes().addAll((Collection)newValue); - return; - case FacesConfigPackage.DYNAMIC_ELEMENT__TEXT_CONTENT: - setTextContent((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.DYNAMIC_ELEMENT__CHILD_NODES: - getChildNodes().clear(); - return; - case FacesConfigPackage.DYNAMIC_ELEMENT__NAME: - setName(NAME_EDEFAULT); - return; - case FacesConfigPackage.DYNAMIC_ELEMENT__ATTRIBUTES: - getAttributes().clear(); - return; - case FacesConfigPackage.DYNAMIC_ELEMENT__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.DYNAMIC_ELEMENT__CHILD_NODES: - return childNodes != null && !childNodes.isEmpty(); - case FacesConfigPackage.DYNAMIC_ELEMENT__NAME: - return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); - case FacesConfigPackage.DYNAMIC_ELEMENT__ATTRIBUTES: - return attributes != null && !attributes.isEmpty(); - case FacesConfigPackage.DYNAMIC_ELEMENT__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (name: ");//$NON-NLS-1$ - result.append(name); - result.append(", textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(')'); - return result.toString(); - } - -} //DynamicElementImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ELResolverTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ELResolverTypeImpl.java deleted file mode 100644 index 60006fc69..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ELResolverTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.ELResolverType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>EL Resolver Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ELResolverTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ELResolverTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ELResolverTypeImpl extends EObjectImpl implements ELResolverType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 ELResolverTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.EL_RESOLVER_TYPE; - } - - /** - * <!-- 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.EL_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.EL_RESOLVER_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.EL_RESOLVER_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.EL_RESOLVER_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.EL_RESOLVER_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.EL_RESOLVER_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.EL_RESOLVER_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.EL_RESOLVER_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.EL_RESOLVER_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.EL_RESOLVER_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ELResolverTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ExceptionHandlerFactoryTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ExceptionHandlerFactoryTypeImpl.java deleted file mode 100644 index fa5e031c4..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ExceptionHandlerFactoryTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.ExceptionHandlerFactoryType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Exception Handler Factory Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ExceptionHandlerFactoryTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ExceptionHandlerFactoryTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ExceptionHandlerFactoryTypeImpl extends EObjectImpl implements ExceptionHandlerFactoryType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 ExceptionHandlerFactoryTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.EXCEPTION_HANDLER_FACTORY_TYPE; - } - - /** - * <!-- 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.EXCEPTION_HANDLER_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.EXCEPTION_HANDLER_FACTORY_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.EXCEPTION_HANDLER_FACTORY_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.EXCEPTION_HANDLER_FACTORY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.EXCEPTION_HANDLER_FACTORY_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.EXCEPTION_HANDLER_FACTORY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.EXCEPTION_HANDLER_FACTORY_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.EXCEPTION_HANDLER_FACTORY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.EXCEPTION_HANDLER_FACTORY_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.EXCEPTION_HANDLER_FACTORY_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ExceptionHandlerFactoryTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ExtensionTypeImpl.java deleted file mode 100644 index acecd7c7b..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ExtensionTypeImpl.java +++ /dev/null @@ -1,263 +0,0 @@ -/*************************************************************************************************** - * 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.util.EList; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.emf.ecore.util.EObjectResolvingEList; -import org.eclipse.jst.jsf.facesconfig.emf.DynamicElement; -import org.eclipse.jst.jsf.facesconfig.emf.ExtensionType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Extension Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ExtensionTypeImpl#getChildNodes <em>Child Nodes</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ExtensionTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ExtensionTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public abstract class ExtensionTypeImpl extends EObjectImpl implements ExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getChildNodes() <em>Child Nodes</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getChildNodes() - * @generated - * @ordered - */ - protected EList childNodes; - - /** - * 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 ExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.EXTENSION_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getChildNodes() { - if (childNodes == null) { - childNodes = new EObjectResolvingEList(DynamicElement.class, this, FacesConfigPackage.EXTENSION_TYPE__CHILD_NODES); - } - return childNodes; - } - - /** - * <!-- 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.EXTENSION_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.EXTENSION_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.EXTENSION_TYPE__CHILD_NODES: - return getChildNodes(); - case FacesConfigPackage.EXTENSION_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.EXTENSION_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.EXTENSION_TYPE__CHILD_NODES: - getChildNodes().clear(); - getChildNodes().addAll((Collection)newValue); - return; - case FacesConfigPackage.EXTENSION_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.EXTENSION_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.EXTENSION_TYPE__CHILD_NODES: - getChildNodes().clear(); - return; - case FacesConfigPackage.EXTENSION_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.EXTENSION_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.EXTENSION_TYPE__CHILD_NODES: - return childNodes != null && !childNodes.isEmpty(); - case FacesConfigPackage.EXTENSION_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.EXTENSION_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ExtensionTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ExternalContextFactoryTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ExternalContextFactoryTypeImpl.java deleted file mode 100644 index f9d36856a..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ExternalContextFactoryTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.ExternalContextFactoryType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>External Context Factory Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ExternalContextFactoryTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ExternalContextFactoryTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ExternalContextFactoryTypeImpl extends EObjectImpl implements ExternalContextFactoryType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 ExternalContextFactoryTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.EXTERNAL_CONTEXT_FACTORY_TYPE; - } - - /** - * <!-- 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.EXTERNAL_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.EXTERNAL_CONTEXT_FACTORY_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.EXTERNAL_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.EXTERNAL_CONTEXT_FACTORY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.EXTERNAL_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.EXTERNAL_CONTEXT_FACTORY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.EXTERNAL_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.EXTERNAL_CONTEXT_FACTORY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.EXTERNAL_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.EXTERNAL_CONTEXT_FACTORY_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: ");//$NON-NLS-1$ - result.append(textContent); - result.append(", id: ");//$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ExternalContextFactoryTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigExtensionTypeImpl.java deleted file mode 100644 index 6f08de3d9..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigExtensionTypeImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -/*************************************************************************************************** - * 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.jst.jsf.facesconfig.emf.FacesConfigExtensionType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Extension Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class FacesConfigExtensionTypeImpl extends ExtensionTypeImpl implements FacesConfigExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected FacesConfigExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.FACES_CONFIG_EXTENSION_TYPE; - } - -} //FacesConfigExtensionTypeImpl 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 deleted file mode 100644 index c3c3b57d0..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigFactoryImpl.java +++ /dev/null @@ -1,1441 +0,0 @@ -/*************************************************************************************************** - * 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.EPackage; -import org.eclipse.emf.ecore.impl.EFactoryImpl; -import org.eclipse.emf.ecore.plugin.EcorePlugin; -import org.eclipse.jst.jsf.facesconfig.emf.*; - - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -@SuppressWarnings("nls") -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"; //$NON-NLS-1$ - - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * @return the factory instance - * <!-- end-user-doc --> - * @generated NOT - */ - public static FacesConfigFactory init() { - try { - FacesConfigFactory theFacesConfigFactory = (FacesConfigFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/webtools/jsf/schema/facesconfig.xsd"); //$NON-NLS-1$ - if (theFacesConfigFactory != null) { - return theFacesConfigFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new FacesConfigFactoryImpl(); - } - - /** - * 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.ABSOLUTE_ORDERING_TYPE: return createAbsoluteOrderingType(); - case FacesConfigPackage.ACTION_LISTENER_TYPE: return createActionListenerType(); - case FacesConfigPackage.APPLICATION_FACTORY_TYPE: return createApplicationFactoryType(); - case FacesConfigPackage.APPLICATION_TYPE: return createApplicationType(); - case FacesConfigPackage.APPLICATION_EXTENSION_TYPE: return createApplicationExtensionType(); - 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.BEHAVIOR_CLASS_TYPE: return createBehaviorClassType(); - case FacesConfigPackage.BEHAVIOR_ID_TYPE: return createBehaviorIdType(); - case FacesConfigPackage.BEHAVIOR_TYPE: return createBehaviorType(); - case FacesConfigPackage.BEHAVIOR_EXTENSION_TYPE: return createBehaviorExtensionType(); - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE: return createClientBehaviorRendererClassType(); - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE: return createClientBehaviorRendererType(); - case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE: return createClientBehaviorRendererTypeType(); - 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.CONVERTER_EXTENSION_TYPE: return createConverterExtensionType(); - case FacesConfigPackage.DEFAULT_LOCALE_TYPE: return createDefaultLocaleType(); - case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE: return createDefaultRenderKitIdType(); - case FacesConfigPackage.DEFAULT_VALIDATORS_TYPE: return createDefaultValidatorsType(); - 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.DYNAMIC_ATTRIBUTE: return createDynamicAttribute(); - case FacesConfigPackage.DYNAMIC_ELEMENT: return createDynamicElement(); - case FacesConfigPackage.EL_RESOLVER_TYPE: return createELResolverType(); - case FacesConfigPackage.EXCEPTION_HANDLER_FACTORY_TYPE: return createExceptionHandlerFactoryType(); - case FacesConfigPackage.EXTERNAL_CONTEXT_FACTORY_TYPE: return createExternalContextFactoryType(); - case FacesConfigPackage.FACES_CONFIG_TYPE: return createFacesConfigType(); - case FacesConfigPackage.FACES_CONFIG_EXTENSION_TYPE: return createFacesConfigExtensionType(); - 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.FACTORY_EXTENSION_TYPE: return createFactoryExtensionType(); - 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.IF_TYPE: return createIfType(); - 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.LIFECYCLE_EXTENSION_TYPE: return createLifecycleExtensionType(); - 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_BEAN_EXTENSION_TYPE: return createManagedBeanExtensionType(); - 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.NAME_TYPE: return createNameType(); - case FacesConfigPackage.NAVIGATION_CASE_TYPE: return createNavigationCaseType(); - case FacesConfigPackage.NAVIGATION_HANDLER_TYPE: return createNavigationHandlerType(); - case FacesConfigPackage.NAVIGATION_RULE_TYPE: return createNavigationRuleType(); - case FacesConfigPackage.NAVIGATION_RULE_EXTENSION_TYPE: return createNavigationRuleExtensionType(); - case FacesConfigPackage.NULL_VALUE_TYPE: return createNullValueType(); - case FacesConfigPackage.ORDERING_TYPE: return createOrderingType(); - case FacesConfigPackage.ORDERING_ORDERING_TYPE: return createOrderingOrderingType(); - case FacesConfigPackage.ORDERING_OTHERS_TYPE: return createOrderingOthersType(); - case FacesConfigPackage.PARTIAL_VIEW_CONTEXT_FACTORY_TYPE: return createPartialViewContextFactoryType(); - 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.REDIRECT_VIEW_PARAM_TYPE: return createRedirectViewParamType(); - 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.RENDER_KIT_EXTENSION_TYPE: return createRenderKitExtensionType(); - case FacesConfigPackage.RESOURCE_HANDLER_TYPE: return createResourceHandlerType(); - case FacesConfigPackage.SMALL_ICON_TYPE: return createSmallIconType(); - case FacesConfigPackage.SOURCE_CLASS_TYPE: return createSourceClassType(); - case FacesConfigPackage.STATE_MANAGER_TYPE: return createStateManagerType(); - case FacesConfigPackage.SUGGESTED_VALUE_TYPE: return createSuggestedValueType(); - case FacesConfigPackage.SUPPORTED_LOCALE_TYPE: return createSupportedLocaleType(); - case FacesConfigPackage.SYSTEM_EVENT_CLASS_TYPE: return createSystemEventClassType(); - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_CLASS_TYPE: return createSystemEventListenerClassType(); - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE: return createSystemEventListenerType(); - case FacesConfigPackage.TAG_HANDLER_DELEGATE_FACTORY_TYPE: return createTagHandlerDelegateFactoryType(); - 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.VALIDATOR_EXTENSION_TYPE: return createValidatorExtensionType(); - 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(); - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE: return createResourceBundleType(); - case FacesConfigPackage.BASE_NAME_TYPE: return createBaseNameType(); - case FacesConfigPackage.VAR_TYPE: return createVarType(); - case FacesConfigPackage.VIEW_DECLARATION_LANGUAGE_FACTORY_TYPE: return createViewDeclarationLanguageFactoryType(); - case FacesConfigPackage.VISIT_CONTEXT_FACTORY_TYPE: return createVisitContextFactoryType(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AbsoluteOrderingType createAbsoluteOrderingType() { - AbsoluteOrderingTypeImpl absoluteOrderingType = new AbsoluteOrderingTypeImpl(); - return absoluteOrderingType; - } - - /** - * <!-- 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 BehaviorClassType createBehaviorClassType() { - BehaviorClassTypeImpl behaviorClassType = new BehaviorClassTypeImpl(); - return behaviorClassType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BehaviorIdType createBehaviorIdType() { - BehaviorIdTypeImpl behaviorIdType = new BehaviorIdTypeImpl(); - return behaviorIdType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BehaviorType createBehaviorType() { - BehaviorTypeImpl behaviorType = new BehaviorTypeImpl(); - return behaviorType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BehaviorExtensionType createBehaviorExtensionType() { - BehaviorExtensionTypeImpl behaviorExtensionType = new BehaviorExtensionTypeImpl(); - return behaviorExtensionType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ClientBehaviorRendererClassType createClientBehaviorRendererClassType() { - ClientBehaviorRendererClassTypeImpl clientBehaviorRendererClassType = new ClientBehaviorRendererClassTypeImpl(); - return clientBehaviorRendererClassType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ClientBehaviorRendererType createClientBehaviorRendererType() { - ClientBehaviorRendererTypeImpl clientBehaviorRendererType = new ClientBehaviorRendererTypeImpl(); - return clientBehaviorRendererType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ClientBehaviorRendererTypeType createClientBehaviorRendererTypeType() { - ClientBehaviorRendererTypeTypeImpl clientBehaviorRendererTypeType = new ClientBehaviorRendererTypeTypeImpl(); - return clientBehaviorRendererTypeType; - } - - /** - * <!-- 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 DefaultValidatorsType createDefaultValidatorsType() { - DefaultValidatorsTypeImpl defaultValidatorsType = new DefaultValidatorsTypeImpl(); - return defaultValidatorsType; - } - - /** - * <!-- 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 DynamicAttribute createDynamicAttribute() { - DynamicAttributeImpl dynamicAttribute = new DynamicAttributeImpl(); - return dynamicAttribute; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DynamicElement createDynamicElement() { - DynamicElementImpl dynamicElement = new DynamicElementImpl(); - return dynamicElement; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ELResolverType createELResolverType() { - ELResolverTypeImpl elResolverType = new ELResolverTypeImpl(); - return elResolverType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ExceptionHandlerFactoryType createExceptionHandlerFactoryType() { - ExceptionHandlerFactoryTypeImpl exceptionHandlerFactoryType = new ExceptionHandlerFactoryTypeImpl(); - return exceptionHandlerFactoryType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ExternalContextFactoryType createExternalContextFactoryType() { - ExternalContextFactoryTypeImpl externalContextFactoryType = new ExternalContextFactoryTypeImpl(); - return externalContextFactoryType; - } - - /** - * <!-- 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 IfType createIfType() { - IfTypeImpl ifType = new IfTypeImpl(); - return ifType; - } - - /** - * <!-- 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 NameType createNameType() { - NameTypeImpl nameType = new NameTypeImpl(); - return nameType; - } - - /** - * <!-- 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 OrderingType createOrderingType() { - OrderingTypeImpl orderingType = new OrderingTypeImpl(); - return orderingType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OrderingOrderingType createOrderingOrderingType() { - OrderingOrderingTypeImpl orderingOrderingType = new OrderingOrderingTypeImpl(); - return orderingOrderingType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OrderingOthersType createOrderingOthersType() { - OrderingOthersTypeImpl orderingOthersType = new OrderingOthersTypeImpl(); - return orderingOthersType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public PartialViewContextFactoryType createPartialViewContextFactoryType() { - PartialViewContextFactoryTypeImpl partialViewContextFactoryType = new PartialViewContextFactoryTypeImpl(); - return partialViewContextFactoryType; - } - - /** - * <!-- 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 RedirectViewParamType createRedirectViewParamType() { - RedirectViewParamTypeImpl redirectViewParamType = new RedirectViewParamTypeImpl(); - return redirectViewParamType; - } - - /** - * <!-- 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 SourceClassType createSourceClassType() { - SourceClassTypeImpl sourceClassType = new SourceClassTypeImpl(); - return sourceClassType; - } - - /** - * <!-- 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 SystemEventClassType createSystemEventClassType() { - SystemEventClassTypeImpl systemEventClassType = new SystemEventClassTypeImpl(); - return systemEventClassType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SystemEventListenerClassType createSystemEventListenerClassType() { - SystemEventListenerClassTypeImpl systemEventListenerClassType = new SystemEventListenerClassTypeImpl(); - return systemEventListenerClassType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SystemEventListenerType createSystemEventListenerType() { - SystemEventListenerTypeImpl systemEventListenerType = new SystemEventListenerTypeImpl(); - return systemEventListenerType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TagHandlerDelegateFactoryType createTagHandlerDelegateFactoryType() { - TagHandlerDelegateFactoryTypeImpl tagHandlerDelegateFactoryType = new TagHandlerDelegateFactoryTypeImpl(); - return tagHandlerDelegateFactoryType; - } - - /** - * <!-- 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 ApplicationExtensionType createApplicationExtensionType() { - ApplicationExtensionTypeImpl applicationExtensionType = new ApplicationExtensionTypeImpl(); - return applicationExtensionType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ResourceBundleType createResourceBundleType() { - ResourceBundleTypeImpl resourceBundleType = new ResourceBundleTypeImpl(); - return resourceBundleType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BaseNameType createBaseNameType() { - BaseNameTypeImpl baseNameType = new BaseNameTypeImpl(); - return baseNameType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public VarType createVarType() { - VarTypeImpl varType = new VarTypeImpl(); - return varType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ViewDeclarationLanguageFactoryType createViewDeclarationLanguageFactoryType() { - ViewDeclarationLanguageFactoryTypeImpl viewDeclarationLanguageFactoryType = new ViewDeclarationLanguageFactoryTypeImpl(); - return viewDeclarationLanguageFactoryType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public VisitContextFactoryType createVisitContextFactoryType() { - VisitContextFactoryTypeImpl visitContextFactoryType = new VisitContextFactoryTypeImpl(); - return visitContextFactoryType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public RenderKitExtensionType createRenderKitExtensionType() { - RenderKitExtensionTypeImpl renderKitExtensionType = new RenderKitExtensionTypeImpl(); - return renderKitExtensionType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ResourceHandlerType createResourceHandlerType() { - ResourceHandlerTypeImpl resourceHandlerType = new ResourceHandlerTypeImpl(); - return resourceHandlerType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NavigationRuleExtensionType createNavigationRuleExtensionType() { - NavigationRuleExtensionTypeImpl navigationRuleExtensionType = new NavigationRuleExtensionTypeImpl(); - return navigationRuleExtensionType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ValidatorExtensionType createValidatorExtensionType() { - ValidatorExtensionTypeImpl validatorExtensionType = new ValidatorExtensionTypeImpl(); - return validatorExtensionType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FacesConfigExtensionType createFacesConfigExtensionType() { - FacesConfigExtensionTypeImpl facesConfigExtensionType = new FacesConfigExtensionTypeImpl(); - return facesConfigExtensionType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FactoryExtensionType createFactoryExtensionType() { - FactoryExtensionTypeImpl factoryExtensionType = new FactoryExtensionTypeImpl(); - return factoryExtensionType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public LifecycleExtensionType createLifecycleExtensionType() { - LifecycleExtensionTypeImpl lifecycleExtensionType = new LifecycleExtensionTypeImpl(); - return lifecycleExtensionType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ManagedBeanExtensionType createManagedBeanExtensionType() { - ManagedBeanExtensionTypeImpl managedBeanExtensionType = new ManagedBeanExtensionTypeImpl(); - return managedBeanExtensionType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ConverterExtensionType createConverterExtensionType() { - ConverterExtensionTypeImpl converterExtensionType = new ConverterExtensionTypeImpl(); - return converterExtensionType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public FacesConfigPackage getFacesConfigPackage() { - return (FacesConfigPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * @return the package - * <!-- 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 deleted file mode 100644 index 3a9ae6045..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigPackageImpl.java +++ /dev/null @@ -1,12418 +0,0 @@ -/*************************************************************************************************** - * 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.jst.jsf.facesconfig.emf.*; - - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -@SuppressWarnings("nls") -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 absoluteOrderingTypeEClass = null; - - /** - * <!-- 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 behaviorClassTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass behaviorIdTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass behaviorTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass behaviorExtensionTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass clientBehaviorRendererClassTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass clientBehaviorRendererTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass clientBehaviorRendererTypeTypeEClass = 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 defaultValidatorsTypeEClass = 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 dynamicAttributeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass dynamicElementEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass elResolverTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass exceptionHandlerFactoryTypeEClass = 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 ifTypeEClass = 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 nameTypeEClass = 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 orderingTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass orderingOrderingTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass orderingOthersTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass partialViewContextFactoryTypeEClass = 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 redirectViewParamTypeEClass = 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 sourceClassTypeEClass = 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 systemEventClassTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass systemEventListenerClassTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass systemEventListenerTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass tagHandlerDelegateFactoryTypeEClass = 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; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass resourceBundleTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass baseNameTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass varTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass viewDeclarationLanguageFactoryTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass visitContextFactoryTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass renderKitExtensionTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass resourceHandlerTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass navigationRuleExtensionTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass validatorExtensionTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass facesConfigExtensionTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass factoryExtensionTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass lifecycleExtensionTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass managedBeanExtensionTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass converterExtensionTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass extensionTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass externalContextFactoryTypeEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass applicationExtensionTypeEClass = 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. - * - * <p>This method is used to initialize {@link FacesConfigPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> - * @return the package - * <!-- 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.get(eNS_URI) instanceof FacesConfigPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new FacesConfigPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - XMLTypePackage.eINSTANCE.eClass(); - - // 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(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(FacesConfigPackage.eNS_URI, theFacesConfigPackage); - return theFacesConfigPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getAbsoluteOrderingType() { - return absoluteOrderingTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getAbsoluteOrderingType_Name() { - return (EReference)absoluteOrderingTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getAbsoluteOrderingType_Others() { - return (EReference)absoluteOrderingTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- 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(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getApplicationType_VariableResolver() { - return (EReference)applicationTypeEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getApplicationType_ResourceHandler() { - return (EReference)applicationTypeEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getApplicationType_SystemEventListener() { - return (EReference)applicationTypeEClass.getEStructuralFeatures().get(10); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getApplicationType_LocaleConfig() { - return (EReference)applicationTypeEClass.getEStructuralFeatures().get(11); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getApplicationType_Id() { - return (EAttribute)applicationTypeEClass.getEStructuralFeatures().get(15); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getApplicationType_ELResolver() { - return (EReference)applicationTypeEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getApplicationType_ResourceBundle() { - return (EReference)applicationTypeEClass.getEStructuralFeatures().get(12); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getApplicationType_ApplicationExtension() { - return (EReference)applicationTypeEClass.getEStructuralFeatures().get(13); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getApplicationType_DefaultValidators() { - return (EReference)applicationTypeEClass.getEStructuralFeatures().get(14); - } - - /** - * <!-- 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 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 getBehaviorClassType() { - return behaviorClassTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getBehaviorClassType_TextContent() { - return (EAttribute)behaviorClassTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getBehaviorClassType_Id() { - return (EAttribute)behaviorClassTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getBehaviorIdType() { - return behaviorIdTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getBehaviorIdType_TextContent() { - return (EAttribute)behaviorIdTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getBehaviorIdType_Id() { - return (EAttribute)behaviorIdTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getBehaviorType() { - return behaviorTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getBehaviorType_Description() { - return (EReference)behaviorTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getBehaviorType_DisplayName() { - return (EReference)behaviorTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getBehaviorType_Icon() { - return (EReference)behaviorTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getBehaviorType_BehaviorId() { - return (EReference)behaviorTypeEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getBehaviorType_BehaviorClass() { - return (EReference)behaviorTypeEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getBehaviorType_Attribute() { - return (EReference)behaviorTypeEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getBehaviorType_Property() { - return (EReference)behaviorTypeEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getBehaviorType_BehaviorExtension() { - return (EReference)behaviorTypeEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getBehaviorExtensionType() { - return behaviorExtensionTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getClientBehaviorRendererClassType() { - return clientBehaviorRendererClassTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getClientBehaviorRendererClassType_TextContent() { - return (EAttribute)clientBehaviorRendererClassTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getClientBehaviorRendererClassType_Id() { - return (EAttribute)clientBehaviorRendererClassTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getClientBehaviorRendererType() { - return clientBehaviorRendererTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getClientBehaviorRendererType_ClientBehaviorRendererType() { - return (EReference)clientBehaviorRendererTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getClientBehaviorRendererType_ClientBehaviorRendererClass() { - return (EReference)clientBehaviorRendererTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getClientBehaviorRendererTypeType() { - return clientBehaviorRendererTypeTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getClientBehaviorRendererTypeType_TextContent() { - return (EAttribute)clientBehaviorRendererTypeTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getClientBehaviorRendererTypeType_Id() { - return (EAttribute)clientBehaviorRendererTypeTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- 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 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 EReference getConverterType_ConverterExtension() { - return (EReference)converterTypeEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getConverterType_Id() { - return (EAttribute)converterTypeEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- 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 getDefaultValidatorsType() { - return defaultValidatorsTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDefaultValidatorsType_ValidatorId() { - return (EReference)defaultValidatorsTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDefaultValidatorsType_Id() { - return (EAttribute)defaultValidatorsTypeEClass.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_AbsoluteOrdering() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ActionListener() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Application() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ApplicationFactory() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Attribute() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_AttributeClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_AttributeExtension() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_AttributeName() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(10); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Behavior() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(11); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_BehaviorClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(12); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_BehaviorId() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(13); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_BehaviorExtension() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(14); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Component() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(15); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ComponentClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(16); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ComponentExtension() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(17); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ComponentFamily() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(18); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ComponentType() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(19); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Converter() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(20); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ConverterClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(21); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ConverterForClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(22); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ConverterId() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(23); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_DefaultLocale() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(24); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_DefaultRenderKitId() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(25); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_DefaultValidators() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(26); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_DefaultValue() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(27); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Description() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(28); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_DisplayName() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(29); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ExceptionHandlerFactory() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(30); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ExternalContextFactory() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(31); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_FacesConfig() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(32); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_FacesContextFactory() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(33); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Facet() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(34); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_FacetExtension() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(35); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_FacetName() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(36); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Factory() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(37); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_FromAction() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(38); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_FromOutcome() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(39); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_FromViewId() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(40); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Icon() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(41); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_If() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(42); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Key() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(43); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_KeyClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(44); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_LargeIcon() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(45); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Lifecycle() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(46); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_LifecycleFactory() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(47); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ListEntries() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(48); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_LocaleConfig() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(49); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ManagedBean() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(50); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ManagedBeanClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(51); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ManagedBeanName() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(52); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ManagedBeanScope() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(53); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ManagedProperty() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(54); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_MapEntries() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(55); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_MapEntry() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(56); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_MessageBundle() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(57); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Name() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(58); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_NavigationCase() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(59); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_NavigationHandler() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(60); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_NavigationRule() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(61); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_NullValue() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(62); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Ordering() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(63); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_OrderingOrdering() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(64); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Others() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(65); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_PartialViewContextFactory() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(66); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_PhaseListener() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(67); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Property() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(68); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_PropertyClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(69); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_PropertyExtension() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(70); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_PropertyName() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(71); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_PropertyResolver() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(72); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Redirect() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(73); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_RedirectViewParam() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(74); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ReferencedBean() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(75); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ReferencedBeanClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(76); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ReferencedBeanName() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(77); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Renderer() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(78); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_RendererClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(79); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_RendererExtension() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(80); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_RendererType() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(81); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_RenderKit() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(82); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_RenderKitClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(83); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_RenderKitFactory() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(84); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_RenderKitId() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(85); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ResourceHandler() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(86); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_SmallIcon() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(87); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_SourceClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(88); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_StateManager() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(89); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_SuggestedValue() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(90); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_SupportedLocale() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(91); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_SystemEventClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(92); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_SystemEventListener() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(93); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_SystemEventListenerClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(94); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_TagHandlerDelegateFactory() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(95); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ToViewId() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(96); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Validator() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(97); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ValidatorClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(98); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ValidatorId() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(99); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_Value() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(100); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ValueClass() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(101); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_VariableResolver() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(102); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ViewDeclarationLanguageFactory() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(103); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_ViewHandler() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(104); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDocumentRoot_VisitContextFactory() { - return (EReference)documentRootEClass.getEStructuralFeatures().get(105); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDynamicAttribute() { - return dynamicAttributeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDynamicAttribute_Name() { - return (EAttribute)dynamicAttributeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDynamicAttribute_Value() { - return (EAttribute)dynamicAttributeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getDynamicElement() { - return dynamicElementEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDynamicElement_ChildNodes() { - return (EReference)dynamicElementEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getDynamicElement_Attributes() { - return (EReference)dynamicElementEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDynamicElement_TextContent() { - return (EAttribute)dynamicElementEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getELResolverType() { - return elResolverTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getELResolverType_TextContent() { - return (EAttribute)elResolverTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getELResolverType_Id() { - return (EAttribute)elResolverTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getExceptionHandlerFactoryType() { - return exceptionHandlerFactoryTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExceptionHandlerFactoryType_TextContent() { - return (EAttribute)exceptionHandlerFactoryTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExceptionHandlerFactoryType_Id() { - return (EAttribute)exceptionHandlerFactoryTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getDynamicElement_Name() { - return (EAttribute)dynamicElementEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- 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_Ordering() { - return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFacesConfigType_AbsoluteOrdering() { - return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFacesConfigType_Factory() { - return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFacesConfigType_Component() { - return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFacesConfigType_Converter() { - return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFacesConfigType_ManagedBean() { - return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFacesConfigType_Name() { - return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFacesConfigType_NavigationRule() { - return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFacesConfigType_ReferencedBean() { - return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFacesConfigType_RenderKit() { - return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(10); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFacesConfigType_Lifecycle() { - return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(11); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFacesConfigType_Validator() { - return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(12); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFacesConfigType_Behavior() { - return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(13); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFacesConfigType_FacesConfigExtension() { - return (EReference)facesConfigTypeEClass.getEStructuralFeatures().get(14); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getFacesConfigType_Xmlns() { - return (EAttribute)facesConfigTypeEClass.getEStructuralFeatures().get(15); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getFacesConfigType_Id() { - return (EAttribute)facesConfigTypeEClass.getEStructuralFeatures().get(16); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getFacesConfigType_MetadataComplete() { - return (EAttribute)facesConfigTypeEClass.getEStructuralFeatures().get(17); - } - - /** - * <!-- 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 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_ExceptionHandlerFactory() { - return (EReference)factoryTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFactoryType_ExternalContextFactory() { - return (EReference)factoryTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFactoryType_FacesContextFactory() { - return (EReference)factoryTypeEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFactoryType_PartialViewContextFactory() { - return (EReference)factoryTypeEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFactoryType_LifecycleFactory() { - return (EReference)factoryTypeEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFactoryType_ViewDeclarationLanguageFactory() { - return (EReference)factoryTypeEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFactoryType_TagHandlerDelegateFactory() { - return (EReference)factoryTypeEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFactoryType_RenderKitFactory() { - return (EReference)factoryTypeEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFactoryType_VisitContextFactory() { - return (EReference)factoryTypeEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getFactoryType_FactoryExtension() { - return (EReference)factoryTypeEClass.getEStructuralFeatures().get(10); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getFactoryType_Id() { - return (EAttribute)factoryTypeEClass.getEStructuralFeatures().get(11); - } - - /** - * <!-- 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 getIfType() { - return ifTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getIfType_TextContent() { - return (EAttribute)ifTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getIfType_Id() { - return (EAttribute)ifTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- 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 EReference getLifecycleType_LifecycleExtension() { - return (EReference)lifecycleTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getLifecycleType_Id() { - return (EAttribute)lifecycleTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- 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 EReference getManagedBeanType_ManagedBeanExtension() { - return (EReference)managedBeanTypeEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getManagedBeanType_Id() { - return (EAttribute)managedBeanTypeEClass.getEStructuralFeatures().get(10); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getManagedBeanType_Eager() { - return (EAttribute)managedBeanTypeEClass.getEStructuralFeatures().get(11); - } - - /** - * <!-- 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 getNameType() { - return nameTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNameType_TextContent() { - return (EAttribute)nameTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNameType_Id() { - return (EAttribute)nameTypeEClass.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_If() { - return (EReference)navigationCaseTypeEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getNavigationCaseType_ToViewId() { - return (EReference)navigationCaseTypeEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getNavigationCaseType_Redirect() { - return (EReference)navigationCaseTypeEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavigationCaseType_Id() { - return (EAttribute)navigationCaseTypeEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- 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 EReference getNavigationRuleType_NavigationRuleExtension() { - return (EReference)navigationRuleTypeEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getNavigationRuleType_Id() { - return (EAttribute)navigationRuleTypeEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- 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 getOrderingType() { - return orderingTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOrderingType_Before() { - return (EReference)orderingTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOrderingType_After() { - return (EReference)orderingTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getOrderingOrderingType() { - return orderingOrderingTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOrderingOrderingType_Name() { - return (EReference)orderingOrderingTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getOrderingOrderingType_Others() { - return (EReference)orderingOrderingTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getOrderingOthersType() { - return orderingOthersTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getOrderingOthersType_Id() { - return (EAttribute)orderingOthersTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getPartialViewContextFactoryType() { - return partialViewContextFactoryTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPartialViewContextFactoryType_TextContent() { - return (EAttribute)partialViewContextFactoryTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getPartialViewContextFactoryType_Id() { - return (EAttribute)partialViewContextFactoryTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- 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 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 EReference getRedirectType_ViewParam() { - return (EReference)redirectTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRedirectType_Id() { - return (EAttribute)redirectTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRedirectType_IncludeViewParams() { - return (EAttribute)redirectTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRedirectViewParamType() { - return redirectViewParamTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRedirectViewParamType_Name() { - return (EReference)redirectViewParamTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRedirectViewParamType_Value() { - return (EReference)redirectViewParamTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRedirectViewParamType_Id() { - return (EAttribute)redirectViewParamTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- 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 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 EReference getRenderKitType_ClientBehaviorRenderer() { - return (EReference)renderKitTypeEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getRenderKitType_RenderKitExtension() { - return (EReference)renderKitTypeEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getRenderKitType_Id() { - return (EAttribute)renderKitTypeEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- 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 getSourceClassType() { - return sourceClassTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSourceClassType_TextContent() { - return (EAttribute)sourceClassTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSourceClassType_Id() { - return (EAttribute)sourceClassTypeEClass.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 getSystemEventClassType() { - return systemEventClassTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSystemEventClassType_TextContent() { - return (EAttribute)systemEventClassTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSystemEventClassType_Id() { - return (EAttribute)systemEventClassTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getSystemEventListenerClassType() { - return systemEventListenerClassTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSystemEventListenerClassType_TextContent() { - return (EAttribute)systemEventListenerClassTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSystemEventListenerClassType_Id() { - return (EAttribute)systemEventListenerClassTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getSystemEventListenerType() { - return systemEventListenerTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getSystemEventListenerType_SystemEventListenerClass() { - return (EReference)systemEventListenerTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getSystemEventListenerType_SystemEventClass() { - return (EReference)systemEventListenerTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getSystemEventListenerType_SourceClass() { - return (EReference)systemEventListenerTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getSystemEventListenerType_Id() { - return (EAttribute)systemEventListenerTypeEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getTagHandlerDelegateFactoryType() { - return tagHandlerDelegateFactoryTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getTagHandlerDelegateFactoryType_TextContent() { - return (EAttribute)tagHandlerDelegateFactoryTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getTagHandlerDelegateFactoryType_Id() { - return (EAttribute)tagHandlerDelegateFactoryTypeEClass.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 EReference getValidatorType_ValidatorExtension() { - return (EReference)validatorTypeEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getValidatorType_Id() { - return (EAttribute)validatorTypeEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- 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 EClass getResourceBundleType() { - return resourceBundleTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getResourceBundleType_Description() { - return (EReference)resourceBundleTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getResourceBundleType_DisplayName() { - return (EReference)resourceBundleTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getResourceBundleType_Icon() { - return (EReference)resourceBundleTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getResourceBundleType_BaseName() { - return (EReference)resourceBundleTypeEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getResourceBundleType_Var() { - return (EReference)resourceBundleTypeEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceBundleType_Id() { - return (EAttribute)resourceBundleTypeEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getBaseNameType() { - return baseNameTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getBaseNameType_TextContent() { - return (EAttribute)baseNameTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getBaseNameType_Id() { - return (EAttribute)baseNameTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getVarType() { - return varTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVarType_TextContent() { - return (EAttribute)varTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVarType_Id() { - return (EAttribute)varTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getViewDeclarationLanguageFactoryType() { - return viewDeclarationLanguageFactoryTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getViewDeclarationLanguageFactoryType_TextContent() { - return (EAttribute)viewDeclarationLanguageFactoryTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getViewDeclarationLanguageFactoryType_Id() { - return (EAttribute)viewDeclarationLanguageFactoryTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getVisitContextFactoryType() { - return visitContextFactoryTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVisitContextFactoryType_TextContent() { - return (EAttribute)visitContextFactoryTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getVisitContextFactoryType_Id() { - return (EAttribute)visitContextFactoryTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getRenderKitExtensionType() { - return renderKitExtensionTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getResourceHandlerType() { - return resourceHandlerTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceHandlerType_TextContent() { - return (EAttribute)resourceHandlerTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getResourceHandlerType_Id() { - return (EAttribute)resourceHandlerTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getNavigationRuleExtensionType() { - return navigationRuleExtensionTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getValidatorExtensionType() { - return validatorExtensionTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getFacesConfigExtensionType() { - return facesConfigExtensionTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getFactoryExtensionType() { - return factoryExtensionTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getLifecycleExtensionType() { - return lifecycleExtensionTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getManagedBeanExtensionType() { - return managedBeanExtensionTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getConverterExtensionType() { - return converterExtensionTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getExtensionType() { - return extensionTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getExtensionType_ChildNodes() { - return (EReference)extensionTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExtensionType_TextContent() { - return (EAttribute)extensionTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExtensionType_Id() { - return (EAttribute)extensionTypeEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getExternalContextFactoryType() { - return externalContextFactoryTypeEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExternalContextFactoryType_TextContent() { - return (EAttribute)externalContextFactoryTypeEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getExternalContextFactoryType_Id() { - return (EAttribute)externalContextFactoryTypeEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getApplicationExtensionType() { - return applicationExtensionTypeEClass; - } - - /** - * <!-- 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 - absoluteOrderingTypeEClass = createEClass(ABSOLUTE_ORDERING_TYPE); - createEReference(absoluteOrderingTypeEClass, ABSOLUTE_ORDERING_TYPE__NAME); - createEReference(absoluteOrderingTypeEClass, ABSOLUTE_ORDERING_TYPE__OTHERS); - - 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__EL_RESOLVER); - createEReference(applicationTypeEClass, APPLICATION_TYPE__PROPERTY_RESOLVER); - createEReference(applicationTypeEClass, APPLICATION_TYPE__VARIABLE_RESOLVER); - createEReference(applicationTypeEClass, APPLICATION_TYPE__RESOURCE_HANDLER); - createEReference(applicationTypeEClass, APPLICATION_TYPE__SYSTEM_EVENT_LISTENER); - createEReference(applicationTypeEClass, APPLICATION_TYPE__LOCALE_CONFIG); - createEReference(applicationTypeEClass, APPLICATION_TYPE__RESOURCE_BUNDLE); - createEReference(applicationTypeEClass, APPLICATION_TYPE__APPLICATION_EXTENSION); - createEReference(applicationTypeEClass, APPLICATION_TYPE__DEFAULT_VALIDATORS); - createEAttribute(applicationTypeEClass, APPLICATION_TYPE__ID); - - applicationExtensionTypeEClass = createEClass(APPLICATION_EXTENSION_TYPE); - - attributeClassTypeEClass = createEClass(ATTRIBUTE_CLASS_TYPE); - createEAttribute(attributeClassTypeEClass, ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT); - createEAttribute(attributeClassTypeEClass, ATTRIBUTE_CLASS_TYPE__ID); - - attributeExtensionTypeEClass = createEClass(ATTRIBUTE_EXTENSION_TYPE); - - 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); - - behaviorClassTypeEClass = createEClass(BEHAVIOR_CLASS_TYPE); - createEAttribute(behaviorClassTypeEClass, BEHAVIOR_CLASS_TYPE__TEXT_CONTENT); - createEAttribute(behaviorClassTypeEClass, BEHAVIOR_CLASS_TYPE__ID); - - behaviorIdTypeEClass = createEClass(BEHAVIOR_ID_TYPE); - createEAttribute(behaviorIdTypeEClass, BEHAVIOR_ID_TYPE__TEXT_CONTENT); - createEAttribute(behaviorIdTypeEClass, BEHAVIOR_ID_TYPE__ID); - - behaviorTypeEClass = createEClass(BEHAVIOR_TYPE); - createEReference(behaviorTypeEClass, BEHAVIOR_TYPE__DESCRIPTION); - createEReference(behaviorTypeEClass, BEHAVIOR_TYPE__DISPLAY_NAME); - createEReference(behaviorTypeEClass, BEHAVIOR_TYPE__ICON); - createEReference(behaviorTypeEClass, BEHAVIOR_TYPE__BEHAVIOR_ID); - createEReference(behaviorTypeEClass, BEHAVIOR_TYPE__BEHAVIOR_CLASS); - createEReference(behaviorTypeEClass, BEHAVIOR_TYPE__ATTRIBUTE); - createEReference(behaviorTypeEClass, BEHAVIOR_TYPE__PROPERTY); - createEReference(behaviorTypeEClass, BEHAVIOR_TYPE__BEHAVIOR_EXTENSION); - - behaviorExtensionTypeEClass = createEClass(BEHAVIOR_EXTENSION_TYPE); - - clientBehaviorRendererClassTypeEClass = createEClass(CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE); - createEAttribute(clientBehaviorRendererClassTypeEClass, CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__TEXT_CONTENT); - createEAttribute(clientBehaviorRendererClassTypeEClass, CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__ID); - - clientBehaviorRendererTypeEClass = createEClass(CLIENT_BEHAVIOR_RENDERER_TYPE); - createEReference(clientBehaviorRendererTypeEClass, CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_TYPE); - createEReference(clientBehaviorRendererTypeEClass, CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_CLASS); - - clientBehaviorRendererTypeTypeEClass = createEClass(CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE); - createEAttribute(clientBehaviorRendererTypeTypeEClass, CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE__TEXT_CONTENT); - createEAttribute(clientBehaviorRendererTypeTypeEClass, CLIENT_BEHAVIOR_RENDERER_TYPE_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); - - 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); - createEReference(converterTypeEClass, CONVERTER_TYPE__CONVERTER_EXTENSION); - createEAttribute(converterTypeEClass, CONVERTER_TYPE__ID); - - converterExtensionTypeEClass = createEClass(CONVERTER_EXTENSION_TYPE); - - 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); - - defaultValidatorsTypeEClass = createEClass(DEFAULT_VALIDATORS_TYPE); - createEReference(defaultValidatorsTypeEClass, DEFAULT_VALIDATORS_TYPE__VALIDATOR_ID); - createEAttribute(defaultValidatorsTypeEClass, DEFAULT_VALIDATORS_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__ABSOLUTE_ORDERING); - 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__BEHAVIOR); - createEReference(documentRootEClass, DOCUMENT_ROOT__BEHAVIOR_CLASS); - createEReference(documentRootEClass, DOCUMENT_ROOT__BEHAVIOR_ID); - createEReference(documentRootEClass, DOCUMENT_ROOT__BEHAVIOR_EXTENSION); - 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_VALIDATORS); - createEReference(documentRootEClass, DOCUMENT_ROOT__DEFAULT_VALUE); - createEReference(documentRootEClass, DOCUMENT_ROOT__DESCRIPTION); - createEReference(documentRootEClass, DOCUMENT_ROOT__DISPLAY_NAME); - createEReference(documentRootEClass, DOCUMENT_ROOT__EXCEPTION_HANDLER_FACTORY); - createEReference(documentRootEClass, DOCUMENT_ROOT__EXTERNAL_CONTEXT_FACTORY); - 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__IF); - 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__NAME); - 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__ORDERING); - createEReference(documentRootEClass, DOCUMENT_ROOT__ORDERING_ORDERING); - createEReference(documentRootEClass, DOCUMENT_ROOT__OTHERS); - createEReference(documentRootEClass, DOCUMENT_ROOT__PARTIAL_VIEW_CONTEXT_FACTORY); - 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__REDIRECT_VIEW_PARAM); - 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__RESOURCE_HANDLER); - createEReference(documentRootEClass, DOCUMENT_ROOT__SMALL_ICON); - createEReference(documentRootEClass, DOCUMENT_ROOT__SOURCE_CLASS); - createEReference(documentRootEClass, DOCUMENT_ROOT__STATE_MANAGER); - createEReference(documentRootEClass, DOCUMENT_ROOT__SUGGESTED_VALUE); - createEReference(documentRootEClass, DOCUMENT_ROOT__SUPPORTED_LOCALE); - createEReference(documentRootEClass, DOCUMENT_ROOT__SYSTEM_EVENT_CLASS); - createEReference(documentRootEClass, DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER); - createEReference(documentRootEClass, DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER_CLASS); - createEReference(documentRootEClass, DOCUMENT_ROOT__TAG_HANDLER_DELEGATE_FACTORY); - 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_DECLARATION_LANGUAGE_FACTORY); - createEReference(documentRootEClass, DOCUMENT_ROOT__VIEW_HANDLER); - createEReference(documentRootEClass, DOCUMENT_ROOT__VISIT_CONTEXT_FACTORY); - - dynamicAttributeEClass = createEClass(DYNAMIC_ATTRIBUTE); - createEAttribute(dynamicAttributeEClass, DYNAMIC_ATTRIBUTE__NAME); - createEAttribute(dynamicAttributeEClass, DYNAMIC_ATTRIBUTE__VALUE); - - dynamicElementEClass = createEClass(DYNAMIC_ELEMENT); - createEReference(dynamicElementEClass, DYNAMIC_ELEMENT__CHILD_NODES); - createEAttribute(dynamicElementEClass, DYNAMIC_ELEMENT__NAME); - createEReference(dynamicElementEClass, DYNAMIC_ELEMENT__ATTRIBUTES); - createEAttribute(dynamicElementEClass, DYNAMIC_ELEMENT__TEXT_CONTENT); - - elResolverTypeEClass = createEClass(EL_RESOLVER_TYPE); - createEAttribute(elResolverTypeEClass, EL_RESOLVER_TYPE__TEXT_CONTENT); - createEAttribute(elResolverTypeEClass, EL_RESOLVER_TYPE__ID); - - exceptionHandlerFactoryTypeEClass = createEClass(EXCEPTION_HANDLER_FACTORY_TYPE); - createEAttribute(exceptionHandlerFactoryTypeEClass, EXCEPTION_HANDLER_FACTORY_TYPE__TEXT_CONTENT); - createEAttribute(exceptionHandlerFactoryTypeEClass, EXCEPTION_HANDLER_FACTORY_TYPE__ID); - - extensionTypeEClass = createEClass(EXTENSION_TYPE); - createEReference(extensionTypeEClass, EXTENSION_TYPE__CHILD_NODES); - createEAttribute(extensionTypeEClass, EXTENSION_TYPE__TEXT_CONTENT); - createEAttribute(extensionTypeEClass, EXTENSION_TYPE__ID); - - externalContextFactoryTypeEClass = createEClass(EXTERNAL_CONTEXT_FACTORY_TYPE); - createEAttribute(externalContextFactoryTypeEClass, EXTERNAL_CONTEXT_FACTORY_TYPE__TEXT_CONTENT); - createEAttribute(externalContextFactoryTypeEClass, EXTERNAL_CONTEXT_FACTORY_TYPE__ID); - - facesConfigTypeEClass = createEClass(FACES_CONFIG_TYPE); - createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__APPLICATION); - createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__ORDERING); - createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__ABSOLUTE_ORDERING); - 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__NAME); - 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); - createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__BEHAVIOR); - createEReference(facesConfigTypeEClass, FACES_CONFIG_TYPE__FACES_CONFIG_EXTENSION); - createEAttribute(facesConfigTypeEClass, FACES_CONFIG_TYPE__XMLNS); - createEAttribute(facesConfigTypeEClass, FACES_CONFIG_TYPE__ID); - createEAttribute(facesConfigTypeEClass, FACES_CONFIG_TYPE__METADATA_COMPLETE); - - facesConfigExtensionTypeEClass = createEClass(FACES_CONFIG_EXTENSION_TYPE); - - 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); - - 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__EXCEPTION_HANDLER_FACTORY); - createEReference(factoryTypeEClass, FACTORY_TYPE__EXTERNAL_CONTEXT_FACTORY); - createEReference(factoryTypeEClass, FACTORY_TYPE__FACES_CONTEXT_FACTORY); - createEReference(factoryTypeEClass, FACTORY_TYPE__PARTIAL_VIEW_CONTEXT_FACTORY); - createEReference(factoryTypeEClass, FACTORY_TYPE__LIFECYCLE_FACTORY); - createEReference(factoryTypeEClass, FACTORY_TYPE__VIEW_DECLARATION_LANGUAGE_FACTORY); - createEReference(factoryTypeEClass, FACTORY_TYPE__TAG_HANDLER_DELEGATE_FACTORY); - createEReference(factoryTypeEClass, FACTORY_TYPE__RENDER_KIT_FACTORY); - createEReference(factoryTypeEClass, FACTORY_TYPE__VISIT_CONTEXT_FACTORY); - createEReference(factoryTypeEClass, FACTORY_TYPE__FACTORY_EXTENSION); - createEAttribute(factoryTypeEClass, FACTORY_TYPE__ID); - - factoryExtensionTypeEClass = createEClass(FACTORY_EXTENSION_TYPE); - - 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); - - ifTypeEClass = createEClass(IF_TYPE); - createEAttribute(ifTypeEClass, IF_TYPE__TEXT_CONTENT); - createEAttribute(ifTypeEClass, IF_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); - createEReference(lifecycleTypeEClass, LIFECYCLE_TYPE__LIFECYCLE_EXTENSION); - createEAttribute(lifecycleTypeEClass, LIFECYCLE_TYPE__ID); - - lifecycleExtensionTypeEClass = createEClass(LIFECYCLE_EXTENSION_TYPE); - - 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); - createEReference(managedBeanTypeEClass, MANAGED_BEAN_TYPE__MANAGED_BEAN_EXTENSION); - createEAttribute(managedBeanTypeEClass, MANAGED_BEAN_TYPE__ID); - createEAttribute(managedBeanTypeEClass, MANAGED_BEAN_TYPE__EAGER); - - managedBeanExtensionTypeEClass = createEClass(MANAGED_BEAN_EXTENSION_TYPE); - - 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); - - nameTypeEClass = createEClass(NAME_TYPE); - createEAttribute(nameTypeEClass, NAME_TYPE__TEXT_CONTENT); - createEAttribute(nameTypeEClass, NAME_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__IF); - 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); - createEReference(navigationRuleTypeEClass, NAVIGATION_RULE_TYPE__NAVIGATION_RULE_EXTENSION); - createEAttribute(navigationRuleTypeEClass, NAVIGATION_RULE_TYPE__ID); - - navigationRuleExtensionTypeEClass = createEClass(NAVIGATION_RULE_EXTENSION_TYPE); - - nullValueTypeEClass = createEClass(NULL_VALUE_TYPE); - createEAttribute(nullValueTypeEClass, NULL_VALUE_TYPE__ID); - - orderingTypeEClass = createEClass(ORDERING_TYPE); - createEReference(orderingTypeEClass, ORDERING_TYPE__BEFORE); - createEReference(orderingTypeEClass, ORDERING_TYPE__AFTER); - - orderingOrderingTypeEClass = createEClass(ORDERING_ORDERING_TYPE); - createEReference(orderingOrderingTypeEClass, ORDERING_ORDERING_TYPE__NAME); - createEReference(orderingOrderingTypeEClass, ORDERING_ORDERING_TYPE__OTHERS); - - orderingOthersTypeEClass = createEClass(ORDERING_OTHERS_TYPE); - createEAttribute(orderingOthersTypeEClass, ORDERING_OTHERS_TYPE__ID); - - partialViewContextFactoryTypeEClass = createEClass(PARTIAL_VIEW_CONTEXT_FACTORY_TYPE); - createEAttribute(partialViewContextFactoryTypeEClass, PARTIAL_VIEW_CONTEXT_FACTORY_TYPE__TEXT_CONTENT); - createEAttribute(partialViewContextFactoryTypeEClass, PARTIAL_VIEW_CONTEXT_FACTORY_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); - - 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); - createEReference(redirectTypeEClass, REDIRECT_TYPE__VIEW_PARAM); - createEAttribute(redirectTypeEClass, REDIRECT_TYPE__ID); - createEAttribute(redirectTypeEClass, REDIRECT_TYPE__INCLUDE_VIEW_PARAMS); - - redirectViewParamTypeEClass = createEClass(REDIRECT_VIEW_PARAM_TYPE); - createEReference(redirectViewParamTypeEClass, REDIRECT_VIEW_PARAM_TYPE__NAME); - createEReference(redirectViewParamTypeEClass, REDIRECT_VIEW_PARAM_TYPE__VALUE); - createEAttribute(redirectViewParamTypeEClass, REDIRECT_VIEW_PARAM_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); - - 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); - createEReference(renderKitTypeEClass, RENDER_KIT_TYPE__CLIENT_BEHAVIOR_RENDERER); - createEReference(renderKitTypeEClass, RENDER_KIT_TYPE__RENDER_KIT_EXTENSION); - createEAttribute(renderKitTypeEClass, RENDER_KIT_TYPE__ID); - - renderKitExtensionTypeEClass = createEClass(RENDER_KIT_EXTENSION_TYPE); - - resourceHandlerTypeEClass = createEClass(RESOURCE_HANDLER_TYPE); - createEAttribute(resourceHandlerTypeEClass, RESOURCE_HANDLER_TYPE__TEXT_CONTENT); - createEAttribute(resourceHandlerTypeEClass, RESOURCE_HANDLER_TYPE__ID); - - smallIconTypeEClass = createEClass(SMALL_ICON_TYPE); - createEAttribute(smallIconTypeEClass, SMALL_ICON_TYPE__TEXT_CONTENT); - createEAttribute(smallIconTypeEClass, SMALL_ICON_TYPE__ID); - - sourceClassTypeEClass = createEClass(SOURCE_CLASS_TYPE); - createEAttribute(sourceClassTypeEClass, SOURCE_CLASS_TYPE__TEXT_CONTENT); - createEAttribute(sourceClassTypeEClass, SOURCE_CLASS_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); - - systemEventClassTypeEClass = createEClass(SYSTEM_EVENT_CLASS_TYPE); - createEAttribute(systemEventClassTypeEClass, SYSTEM_EVENT_CLASS_TYPE__TEXT_CONTENT); - createEAttribute(systemEventClassTypeEClass, SYSTEM_EVENT_CLASS_TYPE__ID); - - systemEventListenerClassTypeEClass = createEClass(SYSTEM_EVENT_LISTENER_CLASS_TYPE); - createEAttribute(systemEventListenerClassTypeEClass, SYSTEM_EVENT_LISTENER_CLASS_TYPE__TEXT_CONTENT); - createEAttribute(systemEventListenerClassTypeEClass, SYSTEM_EVENT_LISTENER_CLASS_TYPE__ID); - - systemEventListenerTypeEClass = createEClass(SYSTEM_EVENT_LISTENER_TYPE); - createEReference(systemEventListenerTypeEClass, SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_LISTENER_CLASS); - createEReference(systemEventListenerTypeEClass, SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_CLASS); - createEReference(systemEventListenerTypeEClass, SYSTEM_EVENT_LISTENER_TYPE__SOURCE_CLASS); - createEAttribute(systemEventListenerTypeEClass, SYSTEM_EVENT_LISTENER_TYPE__ID); - - tagHandlerDelegateFactoryTypeEClass = createEClass(TAG_HANDLER_DELEGATE_FACTORY_TYPE); - createEAttribute(tagHandlerDelegateFactoryTypeEClass, TAG_HANDLER_DELEGATE_FACTORY_TYPE__TEXT_CONTENT); - createEAttribute(tagHandlerDelegateFactoryTypeEClass, TAG_HANDLER_DELEGATE_FACTORY_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); - createEReference(validatorTypeEClass, VALIDATOR_TYPE__VALIDATOR_EXTENSION); - createEAttribute(validatorTypeEClass, VALIDATOR_TYPE__ID); - - validatorExtensionTypeEClass = createEClass(VALIDATOR_EXTENSION_TYPE); - - 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); - - resourceBundleTypeEClass = createEClass(RESOURCE_BUNDLE_TYPE); - createEReference(resourceBundleTypeEClass, RESOURCE_BUNDLE_TYPE__DESCRIPTION); - createEReference(resourceBundleTypeEClass, RESOURCE_BUNDLE_TYPE__DISPLAY_NAME); - createEReference(resourceBundleTypeEClass, RESOURCE_BUNDLE_TYPE__ICON); - createEReference(resourceBundleTypeEClass, RESOURCE_BUNDLE_TYPE__BASE_NAME); - createEReference(resourceBundleTypeEClass, RESOURCE_BUNDLE_TYPE__VAR); - createEAttribute(resourceBundleTypeEClass, RESOURCE_BUNDLE_TYPE__ID); - - baseNameTypeEClass = createEClass(BASE_NAME_TYPE); - createEAttribute(baseNameTypeEClass, BASE_NAME_TYPE__TEXT_CONTENT); - createEAttribute(baseNameTypeEClass, BASE_NAME_TYPE__ID); - - varTypeEClass = createEClass(VAR_TYPE); - createEAttribute(varTypeEClass, VAR_TYPE__TEXT_CONTENT); - createEAttribute(varTypeEClass, VAR_TYPE__ID); - - viewDeclarationLanguageFactoryTypeEClass = createEClass(VIEW_DECLARATION_LANGUAGE_FACTORY_TYPE); - createEAttribute(viewDeclarationLanguageFactoryTypeEClass, VIEW_DECLARATION_LANGUAGE_FACTORY_TYPE__TEXT_CONTENT); - createEAttribute(viewDeclarationLanguageFactoryTypeEClass, VIEW_DECLARATION_LANGUAGE_FACTORY_TYPE__ID); - - visitContextFactoryTypeEClass = createEClass(VISIT_CONTEXT_FACTORY_TYPE); - createEAttribute(visitContextFactoryTypeEClass, VISIT_CONTEXT_FACTORY_TYPE__TEXT_CONTENT); - createEAttribute(visitContextFactoryTypeEClass, VISIT_CONTEXT_FACTORY_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 - XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); - - // Add supertypes to classes - applicationExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - attributeExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - behaviorExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - componentExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - converterExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - facesConfigExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - facetExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - factoryExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - lifecycleExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - managedBeanExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - navigationRuleExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - propertyExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - rendererExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - renderKitExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - validatorExtensionTypeEClass.getESuperTypes().add(this.getExtensionType()); - - // Initialize classes and features; add operations and parameters - initEClass(absoluteOrderingTypeEClass, AbsoluteOrderingType.class, "AbsoluteOrderingType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getAbsoluteOrderingType_Name(), this.getNameType(), null, "name", null, 0, -1, AbsoluteOrderingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getAbsoluteOrderingType_Others(), this.getOrderingOthersType(), null, "others", null, 0, 1, AbsoluteOrderingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - 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_ELResolver(), this.getELResolverType(), null, "eLResolver", 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_ResourceHandler(), this.getResourceHandlerType(), null, "resourceHandler", 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_SystemEventListener(), this.getSystemEventListenerType(), null, "systemEventListener", 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); - initEReference(getApplicationType_ResourceBundle(), this.getResourceBundleType(), null, "resourceBundle", 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_ApplicationExtension(), this.getApplicationExtensionType(), null, "applicationExtension", 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_DefaultValidators(), this.getDefaultValidatorsType(), null, "defaultValidators", 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(applicationExtensionTypeEClass, ApplicationExtensionType.class, "ApplicationExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - 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); - - 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(behaviorClassTypeEClass, BehaviorClassType.class, "BehaviorClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getBehaviorClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, BehaviorClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getBehaviorClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, BehaviorClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(behaviorIdTypeEClass, BehaviorIdType.class, "BehaviorIdType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getBehaviorIdType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, BehaviorIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getBehaviorIdType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, BehaviorIdType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(behaviorTypeEClass, BehaviorType.class, "BehaviorType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getBehaviorType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, BehaviorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getBehaviorType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, BehaviorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getBehaviorType_Icon(), this.getIconType(), null, "icon", null, 0, -1, BehaviorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getBehaviorType_BehaviorId(), this.getBehaviorIdType(), null, "behaviorId", null, 1, 1, BehaviorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getBehaviorType_BehaviorClass(), this.getBehaviorClassType(), null, "behaviorClass", null, 1, 1, BehaviorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getBehaviorType_Attribute(), this.getAttributeType(), null, "attribute", null, 0, -1, BehaviorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getBehaviorType_Property(), this.getPropertyType(), null, "property", null, 0, -1, BehaviorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getBehaviorType_BehaviorExtension(), this.getBehaviorExtensionType(), null, "behaviorExtension", null, 0, -1, BehaviorType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(behaviorExtensionTypeEClass, BehaviorExtensionType.class, "BehaviorExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(clientBehaviorRendererClassTypeEClass, ClientBehaviorRendererClassType.class, "ClientBehaviorRendererClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getClientBehaviorRendererClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ClientBehaviorRendererClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getClientBehaviorRendererClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ClientBehaviorRendererClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(clientBehaviorRendererTypeEClass, ClientBehaviorRendererType.class, "ClientBehaviorRendererType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getClientBehaviorRendererType_ClientBehaviorRendererType(), this.getClientBehaviorRendererTypeType(), null, "clientBehaviorRendererType", null, 1, 1, ClientBehaviorRendererType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getClientBehaviorRendererType_ClientBehaviorRendererClass(), this.getClientBehaviorRendererClassType(), null, "clientBehaviorRendererClass", null, 1, 1, ClientBehaviorRendererType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(clientBehaviorRendererTypeTypeEClass, ClientBehaviorRendererTypeType.class, "ClientBehaviorRendererTypeType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getClientBehaviorRendererTypeType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ClientBehaviorRendererTypeType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getClientBehaviorRendererTypeType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ClientBehaviorRendererTypeType.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); - - 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); - initEReference(getConverterType_ConverterExtension(), this.getConverterExtensionType(), null, "converterExtension", 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(converterExtensionTypeEClass, ConverterExtensionType.class, "ConverterExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - 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(defaultValidatorsTypeEClass, DefaultValidatorsType.class, "DefaultValidatorsType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getDefaultValidatorsType_ValidatorId(), this.getValidatorIdType(), null, "validatorId", null, 0, -1, DefaultValidatorsType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDefaultValidatorsType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, DefaultValidatorsType.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_AbsoluteOrdering(), this.getAbsoluteOrderingType(), null, "absoluteOrdering", 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_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_Behavior(), this.getBehaviorType(), null, "behavior", 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_BehaviorClass(), this.getBehaviorClassType(), null, "behaviorClass", 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_BehaviorId(), this.getBehaviorIdType(), null, "behaviorId", 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_BehaviorExtension(), this.getBehaviorExtensionType(), null, "behaviorExtension", 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_DefaultValidators(), this.getDefaultValidatorsType(), null, "defaultValidators", 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_ExceptionHandlerFactory(), this.getExceptionHandlerFactoryType(), null, "exceptionHandlerFactory", 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_ExternalContextFactory(), this.getExternalContextFactoryType(), null, "externalContextFactory", 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_If(), this.getIfType(), null, "if", 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_Name(), this.getNameType(), null, "name", 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_Ordering(), this.getOrderingType(), null, "ordering", 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_OrderingOrdering(), this.getOrderingOrderingType(), null, "orderingOrdering", 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_Others(), this.getOrderingOthersType(), null, "others", 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_PartialViewContextFactory(), this.getPartialViewContextFactoryType(), null, "partialViewContextFactory", 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_RedirectViewParam(), this.getRedirectViewParamType(), null, "redirectViewParam", 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_ResourceHandler(), this.getResourceHandlerType(), null, "resourceHandler", 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_SourceClass(), this.getSourceClassType(), null, "sourceClass", 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_SystemEventClass(), this.getSystemEventClassType(), null, "systemEventClass", 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_SystemEventListener(), this.getSystemEventListenerType(), null, "systemEventListener", 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_SystemEventListenerClass(), this.getSystemEventListenerClassType(), null, "systemEventListenerClass", 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_TagHandlerDelegateFactory(), this.getTagHandlerDelegateFactoryType(), null, "tagHandlerDelegateFactory", 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_ViewDeclarationLanguageFactory(), this.getViewDeclarationLanguageFactoryType(), null, "viewDeclarationLanguageFactory", 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); - initEReference(getDocumentRoot_VisitContextFactory(), this.getVisitContextFactoryType(), null, "visitContextFactory", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED); - - initEClass(dynamicAttributeEClass, DynamicAttribute.class, "DynamicAttribute", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getDynamicAttribute_Name(), ecorePackage.getEString(), "name", null, 0, 1, DynamicAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDynamicAttribute_Value(), ecorePackage.getEString(), "value", null, 0, 1, DynamicAttribute.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(dynamicElementEClass, DynamicElement.class, "DynamicElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getDynamicElement_ChildNodes(), this.getDynamicElement(), null, "childNodes", null, 0, -1, DynamicElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDynamicElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, DynamicElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getDynamicElement_Attributes(), this.getDynamicAttribute(), null, "attributes", null, 0, -1, DynamicElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getDynamicElement_TextContent(), ecorePackage.getEString(), "textContent", null, 0, 1, DynamicElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(elResolverTypeEClass, ELResolverType.class, "ELResolverType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getELResolverType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ELResolverType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getELResolverType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ELResolverType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(exceptionHandlerFactoryTypeEClass, ExceptionHandlerFactoryType.class, "ExceptionHandlerFactoryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getExceptionHandlerFactoryType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ExceptionHandlerFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getExceptionHandlerFactoryType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ExceptionHandlerFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(extensionTypeEClass, ExtensionType.class, "ExtensionType", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getExtensionType_ChildNodes(), this.getDynamicElement(), null, "childNodes", null, 0, -1, ExtensionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getExtensionType_TextContent(), ecorePackage.getEString(), "textContent", null, 0, 1, ExtensionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getExtensionType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ExtensionType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(externalContextFactoryTypeEClass, ExternalContextFactoryType.class, "ExternalContextFactoryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getExternalContextFactoryType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ExternalContextFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getExternalContextFactoryType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ExternalContextFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !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_Ordering(), this.getOrderingType(), null, "ordering", 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_AbsoluteOrdering(), this.getAbsoluteOrderingType(), null, "absoluteOrdering", 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_Name(), this.getNameType(), null, "name", 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); - initEReference(getFacesConfigType_Behavior(), this.getBehaviorType(), null, "behavior", 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_FacesConfigExtension(), this.getFacesConfigExtensionType(), null, "facesConfigExtension", 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); - initEAttribute(getFacesConfigType_MetadataComplete(), theXMLTypePackage.getBoolean(), "metadataComplete", null, 0, 1, FacesConfigType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(facesConfigExtensionTypeEClass, FacesConfigExtensionType.class, "FacesConfigExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - 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); - - 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_ExceptionHandlerFactory(), this.getExceptionHandlerFactoryType(), null, "exceptionHandlerFactory", 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_ExternalContextFactory(), this.getExternalContextFactoryType(), null, "externalContextFactory", 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_PartialViewContextFactory(), this.getPartialViewContextFactoryType(), null, "partialViewContextFactory", 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_ViewDeclarationLanguageFactory(), this.getViewDeclarationLanguageFactoryType(), null, "viewDeclarationLanguageFactory", 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_TagHandlerDelegateFactory(), this.getTagHandlerDelegateFactoryType(), null, "tagHandlerDelegateFactory", 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); - initEReference(getFactoryType_VisitContextFactory(), this.getVisitContextFactoryType(), null, "visitContextFactory", 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_FactoryExtension(), this.getFactoryExtensionType(), null, "factoryExtension", 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(factoryExtensionTypeEClass, FactoryExtensionType.class, "FactoryExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - 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(ifTypeEClass, IfType.class, "IfType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getIfType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, IfType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getIfType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, IfType.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); - initEReference(getLifecycleType_LifecycleExtension(), this.getLifecycleExtensionType(), null, "lifecycleExtension", 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(lifecycleExtensionTypeEClass, LifecycleExtensionType.class, "LifecycleExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - 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); - initEReference(getManagedBeanType_ManagedBeanExtension(), this.getManagedBeanExtensionType(), null, "managedBeanExtension", 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); - initEAttribute(getManagedBeanType_Eager(), theXMLTypePackage.getBoolean(), "eager", null, 0, 1, ManagedBeanType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(managedBeanExtensionTypeEClass, ManagedBeanExtensionType.class, "ManagedBeanExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - 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(nameTypeEClass, NameType.class, "NameType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getNameType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, NameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getNameType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, NameType.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_If(), this.getIfType(), null, "if", 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); - initEReference(getNavigationRuleType_NavigationRuleExtension(), this.getNavigationRuleExtensionType(), null, "navigationRuleExtension", 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(navigationRuleExtensionTypeEClass, NavigationRuleExtensionType.class, "NavigationRuleExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - 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(orderingTypeEClass, OrderingType.class, "OrderingType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getOrderingType_Before(), this.getOrderingOrderingType(), null, "before", null, 0, 1, OrderingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getOrderingType_After(), this.getOrderingOrderingType(), null, "after", null, 0, 1, OrderingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(orderingOrderingTypeEClass, OrderingOrderingType.class, "OrderingOrderingType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getOrderingOrderingType_Name(), this.getNameType(), null, "name", null, 0, -1, OrderingOrderingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getOrderingOrderingType_Others(), this.getOrderingOthersType(), null, "others", null, 0, 1, OrderingOrderingType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(orderingOthersTypeEClass, OrderingOthersType.class, "OrderingOthersType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getOrderingOthersType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, OrderingOthersType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(partialViewContextFactoryTypeEClass, PartialViewContextFactoryType.class, "PartialViewContextFactoryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getPartialViewContextFactoryType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, PartialViewContextFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getPartialViewContextFactoryType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, PartialViewContextFactoryType.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); - - 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); - initEReference(getRedirectType_ViewParam(), this.getRedirectViewParamType(), null, "viewParam", null, 0, -1, RedirectType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - 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); - initEAttribute(getRedirectType_IncludeViewParams(), theXMLTypePackage.getBoolean(), "includeViewParams", null, 0, 1, RedirectType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(redirectViewParamTypeEClass, RedirectViewParamType.class, "RedirectViewParamType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getRedirectViewParamType_Name(), this.getNameType(), null, "name", null, 1, 1, RedirectViewParamType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getRedirectViewParamType_Value(), this.getValueType(), null, "value", null, 1, 1, RedirectViewParamType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getRedirectViewParamType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, RedirectViewParamType.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); - - 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); - initEReference(getRenderKitType_ClientBehaviorRenderer(), this.getClientBehaviorRendererType(), null, "clientBehaviorRenderer", 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_RenderKitExtension(), this.getRenderKitExtensionType(), null, "renderKitExtension", 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(renderKitExtensionTypeEClass, RenderKitExtensionType.class, "RenderKitExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(resourceHandlerTypeEClass, ResourceHandlerType.class, "ResourceHandlerType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getResourceHandlerType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ResourceHandlerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getResourceHandlerType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ResourceHandlerType.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(sourceClassTypeEClass, SourceClassType.class, "SourceClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSourceClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, SourceClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSourceClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, SourceClassType.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(systemEventClassTypeEClass, SystemEventClassType.class, "SystemEventClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSystemEventClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, SystemEventClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSystemEventClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, SystemEventClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(systemEventListenerClassTypeEClass, SystemEventListenerClassType.class, "SystemEventListenerClassType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getSystemEventListenerClassType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, SystemEventListenerClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSystemEventListenerClassType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, SystemEventListenerClassType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(systemEventListenerTypeEClass, SystemEventListenerType.class, "SystemEventListenerType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getSystemEventListenerType_SystemEventListenerClass(), this.getSystemEventListenerClassType(), null, "systemEventListenerClass", null, 1, 1, SystemEventListenerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getSystemEventListenerType_SystemEventClass(), this.getSystemEventClassType(), null, "systemEventClass", null, 1, 1, SystemEventListenerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getSystemEventListenerType_SourceClass(), this.getSourceClassType(), null, "sourceClass", null, 0, 1, SystemEventListenerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getSystemEventListenerType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, SystemEventListenerType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(tagHandlerDelegateFactoryTypeEClass, TagHandlerDelegateFactoryType.class, "TagHandlerDelegateFactoryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getTagHandlerDelegateFactoryType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, TagHandlerDelegateFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getTagHandlerDelegateFactoryType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, TagHandlerDelegateFactoryType.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); - initEReference(getValidatorType_ValidatorExtension(), this.getValidatorExtensionType(), null, "validatorExtension", 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(validatorExtensionTypeEClass, ValidatorExtensionType.class, "ValidatorExtensionType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - 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); - - initEClass(resourceBundleTypeEClass, ResourceBundleType.class, "ResourceBundleType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getResourceBundleType_Description(), this.getDescriptionType(), null, "description", null, 0, -1, ResourceBundleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getResourceBundleType_DisplayName(), this.getDisplayNameType(), null, "displayName", null, 0, -1, ResourceBundleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getResourceBundleType_Icon(), this.getIconType(), null, "icon", null, 0, -1, ResourceBundleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getResourceBundleType_BaseName(), this.getBaseNameType(), null, "baseName", null, 0, 1, ResourceBundleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEReference(getResourceBundleType_Var(), this.getVarType(), null, "var", null, 0, 1, ResourceBundleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getResourceBundleType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ResourceBundleType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(baseNameTypeEClass, BaseNameType.class, "BaseNameType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getBaseNameType_TextContent(), ecorePackage.getEString(), "textContent", null, 0, 1, BaseNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getBaseNameType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, BaseNameType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(varTypeEClass, VarType.class, "VarType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getVarType_TextContent(), ecorePackage.getEString(), "textContent", null, 0, 1, VarType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getVarType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, VarType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(viewDeclarationLanguageFactoryTypeEClass, ViewDeclarationLanguageFactoryType.class, "ViewDeclarationLanguageFactoryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getViewDeclarationLanguageFactoryType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, ViewDeclarationLanguageFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getViewDeclarationLanguageFactoryType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, ViewDeclarationLanguageFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(visitContextFactoryTypeEClass, VisitContextFactoryType.class, "VisitContextFactoryType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getVisitContextFactoryType_TextContent(), theXMLTypePackage.getString(), "textContent", null, 0, 1, VisitContextFactoryType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - initEAttribute(getVisitContextFactoryType_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, VisitContextFactoryType.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 - (absoluteOrderingTypeEClass, - source, - new String[] { - "name", "absolute-ordering_._type", - "kind", "elementOnly" - }); - addAnnotation - (getAbsoluteOrderingType_Name(), - source, - new String[] { - "kind", "element", - "name", "name", - "namespace", "##targetNamespace" - }); - addAnnotation - (getAbsoluteOrderingType_Others(), - source, - new String[] { - "kind", "element", - "name", "others", - "namespace", "##targetNamespace" - }); - 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_ELResolver(), - source, - new String[] { - "kind", "element", - "name", "el-resolver", - "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_ResourceHandler(), - source, - new String[] { - "kind", "element", - "name", "resource-handler", - "namespace", "##targetNamespace" - }); - addAnnotation - (getApplicationType_SystemEventListener(), - source, - new String[] { - "kind", "element", - "name", "system-event-listener", - "namespace", "##targetNamespace" - }); - addAnnotation - (getApplicationType_LocaleConfig(), - source, - new String[] { - "kind", "element", - "name", "locale-config", - "namespace", "##targetNamespace" - }); - addAnnotation - (getApplicationType_ResourceBundle(), - source, - new String[] { - "kind", "element", - "name", "resource-bundle", - "namespace", "##targetNamespace" - }); - addAnnotation - (getApplicationType_ApplicationExtension(), - source, - new String[] { - "kind", "element", - "name", "application-extension", - "namespace", "##targetNamespace" - }); - addAnnotation - (getApplicationType_DefaultValidators(), - source, - new String[] { - "kind", "element", - "name", "default-validators", - "namespace", "##targetNamespace" - }); - addAnnotation - (getApplicationType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (applicationExtensionTypeEClass, - source, - new String[] { - "name", "application-extension_._type" - }); - 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" - }); - 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 - (behaviorClassTypeEClass, - source, - new String[] { - "name", "behavior-class_._type", - "kind", "simple" - }); - addAnnotation - (getBehaviorClassType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getBehaviorClassType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (behaviorIdTypeEClass, - source, - new String[] { - "name", "behavior-id_._type", - "kind", "simple" - }); - addAnnotation - (getBehaviorIdType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getBehaviorIdType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (behaviorTypeEClass, - source, - new String[] { - "name", "behavior_._type", - "kind", "elementOnly" - }); - addAnnotation - (getBehaviorType_Description(), - source, - new String[] { - "kind", "element", - "name", "description", - "namespace", "##targetNamespace" - }); - addAnnotation - (getBehaviorType_DisplayName(), - source, - new String[] { - "kind", "element", - "name", "display-name", - "namespace", "##targetNamespace" - }); - addAnnotation - (getBehaviorType_Icon(), - source, - new String[] { - "kind", "element", - "name", "icon", - "namespace", "##targetNamespace" - }); - addAnnotation - (getBehaviorType_BehaviorId(), - source, - new String[] { - "kind", "element", - "name", "behavior-id", - "namespace", "##targetNamespace" - }); - addAnnotation - (getBehaviorType_BehaviorClass(), - source, - new String[] { - "kind", "element", - "name", "behavior-class", - "namespace", "##targetNamespace" - }); - addAnnotation - (getBehaviorType_Attribute(), - source, - new String[] { - "kind", "element", - "name", "attribute", - "namespace", "##targetNamespace" - }); - addAnnotation - (getBehaviorType_Property(), - source, - new String[] { - "kind", "element", - "name", "property", - "namespace", "##targetNamespace" - }); - addAnnotation - (getBehaviorType_BehaviorExtension(), - source, - new String[] { - "kind", "element", - "name", "behavior-extension", - "namespace", "##targetNamespace" - }); - addAnnotation - (behaviorExtensionTypeEClass, - source, - new String[] { - "name", "behavior-extension_._type" - }); - addAnnotation - (clientBehaviorRendererClassTypeEClass, - source, - new String[] { - "name", "client-behavior-renderer-class_._type", - "kind", "simple" - }); - addAnnotation - (getClientBehaviorRendererClassType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getClientBehaviorRendererClassType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (clientBehaviorRendererTypeEClass, - source, - new String[] { - "name", "client-behavior-renderer_._type", - "kind", "elementOnly" - }); - addAnnotation - (getClientBehaviorRendererType_ClientBehaviorRendererType(), - source, - new String[] { - "kind", "element", - "name", "client-behavior-renderer-type", - "namespace", "##targetNamespace" - }); - addAnnotation - (getClientBehaviorRendererType_ClientBehaviorRendererClass(), - source, - new String[] { - "kind", "element", - "name", "client-behavior-renderer-class", - "namespace", "##targetNamespace" - }); - addAnnotation - (clientBehaviorRendererTypeTypeEClass, - source, - new String[] { - "name", "client-behavior-renderer-type_._type", - "kind", "simple" - }); - addAnnotation - (getClientBehaviorRendererTypeType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getClientBehaviorRendererTypeType_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" - }); - 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_ConverterExtension(), - source, - new String[] { - "kind", "element", - "name", "converter-extension", - "namespace", "##targetNamespace" - }); - addAnnotation - (getConverterType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (converterExtensionTypeEClass, - source, - new String[] { - "name", "converter-extension_._type" - }); - 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 - (defaultValidatorsTypeEClass, - source, - new String[] { - "name", "default-validators_._type", - "kind", "elementOnly" - }); - addAnnotation - (getDefaultValidatorsType_ValidatorId(), - source, - new String[] { - "kind", "element", - "name", "validator-id", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDefaultValidatorsType_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_AbsoluteOrdering(), - source, - new String[] { - "kind", "element", - "name", "absolute-ordering", - "namespace", "##targetNamespace" - }); - 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_Behavior(), - source, - new String[] { - "kind", "element", - "name", "behavior", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_BehaviorClass(), - source, - new String[] { - "kind", "element", - "name", "behavior-class", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_BehaviorId(), - source, - new String[] { - "kind", "element", - "name", "behavior-id", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_BehaviorExtension(), - source, - new String[] { - "kind", "element", - "name", "behavior-extension", - "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_DefaultValidators(), - source, - new String[] { - "kind", "element", - "name", "default-validators", - "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_ExceptionHandlerFactory(), - source, - new String[] { - "kind", "element", - "name", "exception-handler-factory", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_ExternalContextFactory(), - source, - new String[] { - "kind", "element", - "name", "external-context-factory", - "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_If(), - source, - new String[] { - "kind", "element", - "name", "if", - "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_Name(), - source, - new String[] { - "kind", "element", - "name", "name", - "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_Ordering(), - source, - new String[] { - "kind", "element", - "name", "ordering", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_OrderingOrdering(), - source, - new String[] { - "kind", "element", - "name", "ordering-ordering", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_Others(), - source, - new String[] { - "kind", "element", - "name", "others", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_PartialViewContextFactory(), - source, - new String[] { - "kind", "element", - "name", "partial-view-context-factory", - "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_RedirectViewParam(), - source, - new String[] { - "kind", "element", - "name", "view-param", - "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_ResourceHandler(), - source, - new String[] { - "kind", "element", - "name", "resource-handler", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_SmallIcon(), - source, - new String[] { - "kind", "element", - "name", "small-icon", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_SourceClass(), - source, - new String[] { - "kind", "element", - "name", "source-class", - "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_SystemEventClass(), - source, - new String[] { - "kind", "element", - "name", "system-event-class", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_SystemEventListener(), - source, - new String[] { - "kind", "element", - "name", "system-event-listener", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_SystemEventListenerClass(), - source, - new String[] { - "kind", "element", - "name", "system-event-listener-class", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_TagHandlerDelegateFactory(), - source, - new String[] { - "kind", "element", - "name", "tag-handler-delegate-factory", - "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_ViewDeclarationLanguageFactory(), - source, - new String[] { - "kind", "element", - "name", "view-declaration-language-factory", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_ViewHandler(), - source, - new String[] { - "kind", "element", - "name", "view-handler", - "namespace", "##targetNamespace" - }); - addAnnotation - (getDocumentRoot_VisitContextFactory(), - source, - new String[] { - "kind", "element", - "name", "visit-context-factory", - "namespace", "##targetNamespace" - }); - addAnnotation - (elResolverTypeEClass, - source, - new String[] { - "name", "el-resolver_._type", - "kind", "simple" - }); - addAnnotation - (getELResolverType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getELResolverType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (exceptionHandlerFactoryTypeEClass, - source, - new String[] { - "name", "exception-handler-factory_._type", - "kind", "simple" - }); - addAnnotation - (getExceptionHandlerFactoryType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getExceptionHandlerFactoryType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (getExtensionType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getExtensionType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (externalContextFactoryTypeEClass, - source, - new String[] { - "name", "external-context-factory_._type", - "kind", "simple" - }); - addAnnotation - (getExternalContextFactoryType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getExternalContextFactoryType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "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_Ordering(), - source, - new String[] { - "kind", "element", - "name", "ordering", - "namespace", "##targetNamespace" - }); - addAnnotation - (getFacesConfigType_AbsoluteOrdering(), - source, - new String[] { - "kind", "element", - "name", "absolute-ordering", - "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_Name(), - source, - new String[] { - "kind", "element", - "name", "name", - "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_Behavior(), - source, - new String[] { - "kind", "element", - "name", "behavior", - "namespace", "##targetNamespace" - }); - addAnnotation - (getFacesConfigType_FacesConfigExtension(), - source, - new String[] { - "kind", "element", - "name", "faces-config-extension", - "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 - (getFacesConfigType_MetadataComplete(), - source, - new String[] { - "kind", "attribute", - "name", "metadata-complete", - "namespace", "##targetNamespace" - }); - addAnnotation - (facesConfigExtensionTypeEClass, - source, - new String[] { - "name", "faces-config-extension_._type" - }); - 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" - }); - 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_ExceptionHandlerFactory(), - source, - new String[] { - "kind", "element", - "name", "exception-handler-factory", - "namespace", "##targetNamespace" - }); - addAnnotation - (getFactoryType_ExternalContextFactory(), - source, - new String[] { - "kind", "element", - "name", "external-context-factory", - "namespace", "##targetNamespace" - }); - addAnnotation - (getFactoryType_FacesContextFactory(), - source, - new String[] { - "kind", "element", - "name", "faces-context-factory", - "namespace", "##targetNamespace" - }); - addAnnotation - (getFactoryType_PartialViewContextFactory(), - source, - new String[] { - "kind", "element", - "name", "partial-view-context-factory", - "namespace", "##targetNamespace" - }); - addAnnotation - (getFactoryType_LifecycleFactory(), - source, - new String[] { - "kind", "element", - "name", "lifecycle-factory", - "namespace", "##targetNamespace" - }); - addAnnotation - (getFactoryType_ViewDeclarationLanguageFactory(), - source, - new String[] { - "kind", "element", - "name", "view-declaration-language-factory", - "namespace", "##targetNamespace" - }); - addAnnotation - (getFactoryType_TagHandlerDelegateFactory(), - source, - new String[] { - "kind", "element", - "name", "tag-handler-delegate-factory", - "namespace", "##targetNamespace" - }); - addAnnotation - (getFactoryType_RenderKitFactory(), - source, - new String[] { - "kind", "element", - "name", "render-kit-factory", - "namespace", "##targetNamespace" - }); - addAnnotation - (getFactoryType_VisitContextFactory(), - source, - new String[] { - "kind", "element", - "name", "visit-context-factory", - "namespace", "##targetNamespace" - }); - addAnnotation - (getFactoryType_FactoryExtension(), - source, - new String[] { - "kind", "element", - "name", "factory-type", - "namespace", "##targetNamespace" - }); - addAnnotation - (getFactoryType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (factoryExtensionTypeEClass, - source, - new String[] { - "name", "factory-extension_._type" - }); - 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 - (ifTypeEClass, - source, - new String[] { - "name", "if_._type", - "kind", "simple" - }); - addAnnotation - (getIfType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getIfType_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_LifecycleExtension(), - source, - new String[] { - "kind", "element", - "name", "lifecycle-extension", - "namespace", "##targetNamespace" - }); - addAnnotation - (getLifecycleType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (lifecycleExtensionTypeEClass, - source, - new String[] { - "name", "lifecycle-extension_._type" - }); - 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_ManagedBeanExtension(), - source, - new String[] { - "kind", "element", - "name", "managed-bean-extension", - "namespace", "##targetNamespace" - }); - addAnnotation - (getManagedBeanType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (getManagedBeanType_Eager(), - source, - new String[] { - "kind", "attribute", - "name", "eager", - "namespace", "##targetNamespace" - }); - addAnnotation - (managedBeanExtensionTypeEClass, - source, - new String[] { - "name", "managed-bean-extension_._type" - }); - 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 - (nameTypeEClass, - source, - new String[] { - "name", "name_._type", - "kind", "simple" - }); - addAnnotation - (getNameType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getNameType_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_If(), - source, - new String[] { - "kind", "element", - "name", "if", - "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_NavigationRuleExtension(), - source, - new String[] { - "kind", "element", - "name", "navigation-rule-extension", - "namespace", "##targetNamespace" - }); - addAnnotation - (getNavigationRuleType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (navigationRuleExtensionTypeEClass, - source, - new String[] { - "name", "navigation-rule-extension_._type" - }); - addAnnotation - (nullValueTypeEClass, - source, - new String[] { - "name", "null-value_._type", - "kind", "empty" - }); - addAnnotation - (getNullValueType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (orderingTypeEClass, - source, - new String[] { - "name", "ordering_._type", - "kind", "elementOnly" - }); - addAnnotation - (getOrderingType_Before(), - source, - new String[] { - "kind", "element", - "name", "before", - "namespace", "##targetNamespace" - }); - addAnnotation - (getOrderingType_After(), - source, - new String[] { - "kind", "element", - "name", "after", - "namespace", "##targetNamespace" - }); - addAnnotation - (orderingOrderingTypeEClass, - source, - new String[] { - "name", "ordering-ordering_._type", - "kind", "elementOnly" - }); - addAnnotation - (getOrderingOrderingType_Name(), - source, - new String[] { - "kind", "element", - "name", "name", - "namespace", "##targetNamespace" - }); - addAnnotation - (getOrderingOrderingType_Others(), - source, - new String[] { - "kind", "element", - "name", "others", - "namespace", "##targetNamespace" - }); - addAnnotation - (orderingOthersTypeEClass, - source, - new String[] { - "name", "others_._type", - "kind", "elementOnly" - }); - addAnnotation - (getOrderingOthersType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (partialViewContextFactoryTypeEClass, - source, - new String[] { - "name", "partial-view-context-factory_._type", - "kind", "simple" - }); - addAnnotation - (getPartialViewContextFactoryType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getPartialViewContextFactoryType_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" - }); - 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_ViewParam(), - source, - new String[] { - "kind", "element", - "name", "view-param", - "namespace", "##targetNamespace" - }); - addAnnotation - (getRedirectType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (getRedirectType_IncludeViewParams(), - source, - new String[] { - "kind", "attribute", - "name", "include-view-params", - "namespace", "##targetNamespace" - }); - addAnnotation - (redirectViewParamTypeEClass, - source, - new String[] { - "name", "redirect-viewParam_._type", - "kind", "empty" - }); - addAnnotation - (getRedirectViewParamType_Name(), - source, - new String[] { - "kind", "element", - "name", "name", - "namespace", "##targetNamespace" - }); - addAnnotation - (getRedirectViewParamType_Value(), - source, - new String[] { - "kind", "element", - "name", "value", - "namespace", "##targetNamespace" - }); - addAnnotation - (getRedirectViewParamType_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" - }); - 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_ClientBehaviorRenderer(), - source, - new String[] { - "kind", "element", - "name", "client-behavior-renderer", - "namespace", "##targetNamespace" - }); - addAnnotation - (getRenderKitType_RenderKitExtension(), - source, - new String[] { - "kind", "element", - "name", "render-kit-extension", - "namespace", "##targetNamespace" - }); - addAnnotation - (getRenderKitType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (renderKitExtensionTypeEClass, - source, - new String[] { - "name", "render-kit-extension_._type" - }); - addAnnotation - (resourceHandlerTypeEClass, - source, - new String[] { - "name", "resource-handler_._type", - "kind", "simple" - }); - addAnnotation - (getResourceHandlerType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getResourceHandlerType_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 - (sourceClassTypeEClass, - source, - new String[] { - "name", "source-class_._type", - "kind", "simple" - }); - addAnnotation - (getSourceClassType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getSourceClassType_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 - (systemEventClassTypeEClass, - source, - new String[] { - "name", "system-event-class_._type", - "kind", "simple" - }); - addAnnotation - (getSystemEventClassType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getSystemEventClassType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (systemEventListenerClassTypeEClass, - source, - new String[] { - "name", "system-event-listener-class_._type", - "kind", "simple" - }); - addAnnotation - (getSystemEventListenerClassType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getSystemEventListenerClassType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (systemEventListenerTypeEClass, - source, - new String[] { - "name", "system-event-listener_._type", - "kind", "elementOnly" - }); - addAnnotation - (getSystemEventListenerType_SystemEventListenerClass(), - source, - new String[] { - "kind", "element", - "name", "system-event-listener-class", - "namespace", "##targetNamespace" - }); - addAnnotation - (getSystemEventListenerType_SystemEventClass(), - source, - new String[] { - "kind", "element", - "name", "system-event-class", - "namespace", "##targetNamespace" - }); - addAnnotation - (getSystemEventListenerType_SourceClass(), - source, - new String[] { - "kind", "element", - "name", "source-class", - "namespace", "##targetNamespace" - }); - addAnnotation - (getSystemEventListenerType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (tagHandlerDelegateFactoryTypeEClass, - source, - new String[] { - "name", "tag-handler-delegate-factory_._type", - "kind", "simple" - }); - addAnnotation - (getTagHandlerDelegateFactoryType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getTagHandlerDelegateFactoryType_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_ValidatorExtension(), - source, - new String[] { - "kind", "element", - "name", "validator-extension", - "namespace", "##targetNamespace" - }); - addAnnotation - (getValidatorType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (validatorExtensionTypeEClass, - source, - new String[] { - "name", "validator-extension_._type" - }); - 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" - }); - addAnnotation - (resourceBundleTypeEClass, - source, - new String[] { - "name", "resourceBundle_._type", - "kind", "elementOnly" - }); - addAnnotation - (getResourceBundleType_Description(), - source, - new String[] { - "kind", "element", - "name", "description", - "namespace", "##targetNamespace" - }); - addAnnotation - (getResourceBundleType_DisplayName(), - source, - new String[] { - "kind", "element", - "name", "display-name", - "namespace", "##targetNamespace" - }); - addAnnotation - (getResourceBundleType_Icon(), - source, - new String[] { - "kind", "element", - "name", "icon", - "namespace", "##targetNamespace" - }); - addAnnotation - (getResourceBundleType_BaseName(), - source, - new String[] { - "kind", "element", - "name", "base-name", - "namespace", "##targetNamespace" - }); - addAnnotation - (getResourceBundleType_Var(), - source, - new String[] { - "kind", "element", - "name", "var", - "namespace", "##targetNamespace" - }); - addAnnotation - (getResourceBundleType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (baseNameTypeEClass, - source, - new String[] { - "name", "base-name_._type", - "kind", "simple" - }); - addAnnotation - (getBaseNameType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getBaseNameType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (varTypeEClass, - source, - new String[] { - "name", "var_._type", - "kind", "simple" - }); - addAnnotation - (getVarType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getVarType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (viewDeclarationLanguageFactoryTypeEClass, - source, - new String[] { - "name", "view-declaration-language-factory_._type", - "kind", "simple" - }); - addAnnotation - (getViewDeclarationLanguageFactoryType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getViewDeclarationLanguageFactoryType_Id(), - source, - new String[] { - "kind", "attribute", - "name", "id", - "namespace", "##targetNamespace" - }); - addAnnotation - (visitContextFactoryTypeEClass, - source, - new String[] { - "name", "visit-context-factory_._type", - "kind", "simple" - }); - addAnnotation - (getVisitContextFactoryType_TextContent(), - source, - new String[] { - "name", ":0", - "kind", "simple" - }); - addAnnotation - (getVisitContextFactoryType_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 deleted file mode 100644 index e658cf1c7..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigTypeImpl.java +++ /dev/null @@ -1,951 +0,0 @@ -/*************************************************************************************************** - * 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.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.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jst.jsf.facesconfig.emf.AbsoluteOrderingType; -import org.eclipse.jst.jsf.facesconfig.emf.ApplicationType; -import org.eclipse.jst.jsf.facesconfig.emf.BehaviorType; -import org.eclipse.jst.jsf.facesconfig.emf.ComponentType; -import org.eclipse.jst.jsf.facesconfig.emf.ConverterType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigExtensionType; -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.NameType; -import org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleType; -import org.eclipse.jst.jsf.facesconfig.emf.OrderingType; -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#getOrdering <em>Ordering</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#getAbsoluteOrdering <em>Absolute Ordering</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#getName <em>Name</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#getBehavior <em>Behavior</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#getFacesConfigExtension <em>Faces Config Extension</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> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FacesConfigTypeImpl#isMetadataComplete <em>Metadata Complete</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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * The cached value of the '{@link #getOrdering() <em>Ordering</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOrdering() - * @generated - * @ordered - */ - protected EList ordering; - - /** - * The cached value of the '{@link #getAbsoluteOrdering() <em>Absolute Ordering</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAbsoluteOrdering() - * @generated - * @ordered - */ - protected AbsoluteOrderingType absoluteOrdering; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected NameType name; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * The cached value of the '{@link #getBehavior() <em>Behavior</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBehavior() - * @generated - * @ordered - */ - protected EList behavior; - - /** - * The cached value of the '{@link #getFacesConfigExtension() <em>Faces Config Extension</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFacesConfigExtension() - * @generated - * @ordered - */ - protected EList facesConfigExtension; - - /** - * 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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * The default value of the '{@link #isMetadataComplete() <em>Metadata Complete</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isMetadataComplete() - * @generated - * @ordered - */ - protected static final boolean METADATA_COMPLETE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isMetadataComplete() <em>Metadata Complete</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isMetadataComplete() - * @generated - * @ordered - */ - protected boolean metadataComplete = METADATA_COMPLETE_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected FacesConfigTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.FACES_CONFIG_TYPE; - } - - /** - * <!-- 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 getOrdering() { - if (ordering == null) { - ordering = new EObjectContainmentEList(OrderingType.class, this, FacesConfigPackage.FACES_CONFIG_TYPE__ORDERING); - } - return ordering; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public AbsoluteOrderingType getAbsoluteOrdering() { - return absoluteOrdering; - } - - /** - * <!-- begin-user-doc --> - * @param newAbsoluteOrdering - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetAbsoluteOrdering(AbsoluteOrderingType newAbsoluteOrdering, NotificationChain msgs) { - AbsoluteOrderingType oldAbsoluteOrdering = absoluteOrdering; - absoluteOrdering = newAbsoluteOrdering; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.FACES_CONFIG_TYPE__ABSOLUTE_ORDERING, oldAbsoluteOrdering, newAbsoluteOrdering); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAbsoluteOrdering(AbsoluteOrderingType newAbsoluteOrdering) { - if (newAbsoluteOrdering != absoluteOrdering) { - NotificationChain msgs = null; - if (absoluteOrdering != null) - msgs = ((InternalEObject)absoluteOrdering).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.FACES_CONFIG_TYPE__ABSOLUTE_ORDERING, null, msgs); - if (newAbsoluteOrdering != null) - msgs = ((InternalEObject)newAbsoluteOrdering).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.FACES_CONFIG_TYPE__ABSOLUTE_ORDERING, null, msgs); - msgs = basicSetAbsoluteOrdering(newAbsoluteOrdering, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.FACES_CONFIG_TYPE__ABSOLUTE_ORDERING, newAbsoluteOrdering, newAbsoluteOrdering)); - } - - /** - * <!-- 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 NameType getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * @param newName - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetName(NameType newName, NotificationChain msgs) { - NameType oldName = name; - name = newName; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.FACES_CONFIG_TYPE__NAME, oldName, newName); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(NameType newName) { - if (newName != name) { - NotificationChain msgs = null; - if (name != null) - msgs = ((InternalEObject)name).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.FACES_CONFIG_TYPE__NAME, null, msgs); - if (newName != null) - msgs = ((InternalEObject)newName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.FACES_CONFIG_TYPE__NAME, null, msgs); - msgs = basicSetName(newName, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.FACES_CONFIG_TYPE__NAME, newName, newName)); - } - - /** - * <!-- 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 EList getBehavior() { - if (behavior == null) { - behavior = new EObjectContainmentEList(BehaviorType.class, this, FacesConfigPackage.FACES_CONFIG_TYPE__BEHAVIOR); - } - return behavior; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getFacesConfigExtension() { - if (facesConfigExtension == null) { - facesConfigExtension = new EObjectResolvingEList(FacesConfigExtensionType.class, this, FacesConfigPackage.FACES_CONFIG_TYPE__FACES_CONFIG_EXTENSION); - } - return facesConfigExtension; - } - - /** - * <!-- 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 boolean isMetadataComplete() { - return metadataComplete; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setMetadataComplete(boolean newMetadataComplete) { - boolean oldMetadataComplete = metadataComplete; - metadataComplete = newMetadataComplete; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.FACES_CONFIG_TYPE__METADATA_COMPLETE, oldMetadataComplete, metadataComplete)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.FACES_CONFIG_TYPE__APPLICATION: - return ((InternalEList)getApplication()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.FACES_CONFIG_TYPE__ORDERING: - return ((InternalEList)getOrdering()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.FACES_CONFIG_TYPE__ABSOLUTE_ORDERING: - return basicSetAbsoluteOrdering(null, 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__NAME: - return basicSetName(null, 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); - case FacesConfigPackage.FACES_CONFIG_TYPE__BEHAVIOR: - return ((InternalEList)getBehavior()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.FACES_CONFIG_TYPE__APPLICATION: - return getApplication(); - case FacesConfigPackage.FACES_CONFIG_TYPE__ORDERING: - return getOrdering(); - case FacesConfigPackage.FACES_CONFIG_TYPE__ABSOLUTE_ORDERING: - return getAbsoluteOrdering(); - 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__NAME: - return getName(); - 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__BEHAVIOR: - return getBehavior(); - case FacesConfigPackage.FACES_CONFIG_TYPE__FACES_CONFIG_EXTENSION: - return getFacesConfigExtension(); - case FacesConfigPackage.FACES_CONFIG_TYPE__XMLNS: - return getXmlns(); - case FacesConfigPackage.FACES_CONFIG_TYPE__ID: - return getId(); - case FacesConfigPackage.FACES_CONFIG_TYPE__METADATA_COMPLETE: - return isMetadataComplete() ? Boolean.TRUE : Boolean.FALSE; - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.FACES_CONFIG_TYPE__APPLICATION: - getApplication().clear(); - getApplication().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACES_CONFIG_TYPE__ORDERING: - getOrdering().clear(); - getOrdering().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACES_CONFIG_TYPE__ABSOLUTE_ORDERING: - setAbsoluteOrdering((AbsoluteOrderingType)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__NAME: - setName((NameType)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__BEHAVIOR: - getBehavior().clear(); - getBehavior().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACES_CONFIG_TYPE__FACES_CONFIG_EXTENSION: - getFacesConfigExtension().clear(); - getFacesConfigExtension().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACES_CONFIG_TYPE__XMLNS: - setXmlns((String)newValue); - return; - case FacesConfigPackage.FACES_CONFIG_TYPE__ID: - setId((String)newValue); - return; - case FacesConfigPackage.FACES_CONFIG_TYPE__METADATA_COMPLETE: - setMetadataComplete(((Boolean)newValue).booleanValue()); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.FACES_CONFIG_TYPE__APPLICATION: - getApplication().clear(); - return; - case FacesConfigPackage.FACES_CONFIG_TYPE__ORDERING: - getOrdering().clear(); - return; - case FacesConfigPackage.FACES_CONFIG_TYPE__ABSOLUTE_ORDERING: - setAbsoluteOrdering((AbsoluteOrderingType)null); - 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__NAME: - setName((NameType)null); - 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__BEHAVIOR: - getBehavior().clear(); - return; - case FacesConfigPackage.FACES_CONFIG_TYPE__FACES_CONFIG_EXTENSION: - getFacesConfigExtension().clear(); - return; - case FacesConfigPackage.FACES_CONFIG_TYPE__XMLNS: - unsetXmlns(); - return; - case FacesConfigPackage.FACES_CONFIG_TYPE__ID: - setId(ID_EDEFAULT); - return; - case FacesConfigPackage.FACES_CONFIG_TYPE__METADATA_COMPLETE: - setMetadataComplete(METADATA_COMPLETE_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.FACES_CONFIG_TYPE__APPLICATION: - return application != null && !application.isEmpty(); - case FacesConfigPackage.FACES_CONFIG_TYPE__ORDERING: - return ordering != null && !ordering.isEmpty(); - case FacesConfigPackage.FACES_CONFIG_TYPE__ABSOLUTE_ORDERING: - return absoluteOrdering != null; - 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__NAME: - return name != null; - 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__BEHAVIOR: - return behavior != null && !behavior.isEmpty(); - case FacesConfigPackage.FACES_CONFIG_TYPE__FACES_CONFIG_EXTENSION: - return facesConfigExtension != null && !facesConfigExtension.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); - case FacesConfigPackage.FACES_CONFIG_TYPE__METADATA_COMPLETE: - return metadataComplete != METADATA_COMPLETE_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (xmlns: "); //$NON-NLS-1$ - if (xmlnsESet) result.append(xmlns); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(", metadataComplete: "); //$NON-NLS-1$ - result.append(metadataComplete); - 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 deleted file mode 100644 index 4ab342afc..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesContextFactoryTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.FACES_CONTEXT_FACTORY_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.FACES_CONTEXT_FACTORY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 6e99b467a..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetExtensionTypeImpl.java +++ /dev/null @@ -1,55 +0,0 @@ -/*************************************************************************************************** - * 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.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> - * </p> - * - * @generated - */ -public class FacetExtensionTypeImpl extends ExtensionTypeImpl implements FacetExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected FacetExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.FACET_EXTENSION_TYPE; - } - -} //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 deleted file mode 100644 index cab6a2471..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetNameTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.FACET_NAME_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.FACET_NAME_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.FACET_NAME_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.FACET_NAME_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.FACET_NAME_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.FACET_NAME_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.FACET_NAME_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 5d5e586bb..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetTypeImpl.java +++ /dev/null @@ -1,407 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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.Literals.FACET_TYPE; - } - - /** - * <!-- 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 --> - * @param newFacetName - * @param msgs - * @return NotificationChain - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //FacetTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FactoryExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FactoryExtensionTypeImpl.java deleted file mode 100644 index 6bec8fd60..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FactoryExtensionTypeImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -/*************************************************************************************************** - * 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.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.FactoryExtensionType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Factory Extension Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class FactoryExtensionTypeImpl extends ExtensionTypeImpl implements FactoryExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected FactoryExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.FACTORY_EXTENSION_TYPE; - } - -} //FactoryExtensionTypeImpl 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 deleted file mode 100644 index e7b00cff2..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FactoryTypeImpl.java +++ /dev/null @@ -1,595 +0,0 @@ -/*************************************************************************************************** - * 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.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.EObjectResolvingEList; -import org.eclipse.emf.ecore.util.InternalEList; -import org.eclipse.jst.jsf.facesconfig.emf.ApplicationFactoryType; -import org.eclipse.jst.jsf.facesconfig.emf.ExceptionHandlerFactoryType; -import org.eclipse.jst.jsf.facesconfig.emf.ExternalContextFactoryType; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.FacesContextFactoryType; -import org.eclipse.jst.jsf.facesconfig.emf.FactoryExtensionType; -import org.eclipse.jst.jsf.facesconfig.emf.FactoryType; -import org.eclipse.jst.jsf.facesconfig.emf.LifecycleFactoryType; -import org.eclipse.jst.jsf.facesconfig.emf.PartialViewContextFactoryType; -import org.eclipse.jst.jsf.facesconfig.emf.RenderKitFactoryType; -import org.eclipse.jst.jsf.facesconfig.emf.TagHandlerDelegateFactoryType; -import org.eclipse.jst.jsf.facesconfig.emf.ViewDeclarationLanguageFactoryType; -import org.eclipse.jst.jsf.facesconfig.emf.VisitContextFactoryType; - - -/** - * <!-- 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#getExceptionHandlerFactory <em>Exception Handler Factory</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FactoryTypeImpl#getExternalContextFactory <em>External Context 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#getPartialViewContextFactory <em>Partial View 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#getViewDeclarationLanguageFactory <em>View Declaration Language Factory</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FactoryTypeImpl#getTagHandlerDelegateFactory <em>Tag Handler Delegate 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#getVisitContextFactory <em>Visit Context Factory</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.FactoryTypeImpl#getFactoryExtension <em>Factory Extension</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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * The cached value of the '{@link #getExceptionHandlerFactory() <em>Exception Handler Factory</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExceptionHandlerFactory() - * @generated - * @ordered - */ - protected EList exceptionHandlerFactory; - - /** - * The cached value of the '{@link #getExternalContextFactory() <em>External Context Factory</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getExternalContextFactory() - * @generated - * @ordered - */ - protected EList externalContextFactory; - - /** - * 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; - - /** - * The cached value of the '{@link #getPartialViewContextFactory() <em>Partial View Context Factory</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPartialViewContextFactory() - * @generated - * @ordered - */ - protected EList partialViewContextFactory; - - /** - * 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; - - /** - * The cached value of the '{@link #getViewDeclarationLanguageFactory() <em>View Declaration Language Factory</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getViewDeclarationLanguageFactory() - * @generated - * @ordered - */ - protected EList viewDeclarationLanguageFactory; - - /** - * The cached value of the '{@link #getTagHandlerDelegateFactory() <em>Tag Handler Delegate Factory</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTagHandlerDelegateFactory() - * @generated - * @ordered - */ - protected EList tagHandlerDelegateFactory; - - /** - * 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; - - /** - * The cached value of the '{@link #getVisitContextFactory() <em>Visit Context Factory</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVisitContextFactory() - * @generated - * @ordered - */ - protected EList visitContextFactory; - - /** - * The cached value of the '{@link #getFactoryExtension() <em>Factory Extension</em>}' reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getFactoryExtension() - * @generated - * @ordered - */ - protected EList factoryExtension; - - /** - * 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.Literals.FACTORY_TYPE; - } - - /** - * <!-- 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 getExceptionHandlerFactory() { - if (exceptionHandlerFactory == null) { - exceptionHandlerFactory = new EObjectContainmentEList(ExceptionHandlerFactoryType.class, this, FacesConfigPackage.FACTORY_TYPE__EXCEPTION_HANDLER_FACTORY); - } - return exceptionHandlerFactory; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getExternalContextFactory() { - if (externalContextFactory == null) { - externalContextFactory = new EObjectContainmentEList(ExternalContextFactoryType.class, this, FacesConfigPackage.FACTORY_TYPE__EXTERNAL_CONTEXT_FACTORY); - } - return externalContextFactory; - } - - /** - * <!-- 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 getPartialViewContextFactory() { - if (partialViewContextFactory == null) { - partialViewContextFactory = new EObjectContainmentEList(PartialViewContextFactoryType.class, this, FacesConfigPackage.FACTORY_TYPE__PARTIAL_VIEW_CONTEXT_FACTORY); - } - return partialViewContextFactory; - } - - /** - * <!-- 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 getViewDeclarationLanguageFactory() { - if (viewDeclarationLanguageFactory == null) { - viewDeclarationLanguageFactory = new EObjectContainmentEList(ViewDeclarationLanguageFactoryType.class, this, FacesConfigPackage.FACTORY_TYPE__VIEW_DECLARATION_LANGUAGE_FACTORY); - } - return viewDeclarationLanguageFactory; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getTagHandlerDelegateFactory() { - if (tagHandlerDelegateFactory == null) { - tagHandlerDelegateFactory = new EObjectContainmentEList(TagHandlerDelegateFactoryType.class, this, FacesConfigPackage.FACTORY_TYPE__TAG_HANDLER_DELEGATE_FACTORY); - } - return tagHandlerDelegateFactory; - } - - /** - * <!-- 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 EList getVisitContextFactory() { - if (visitContextFactory == null) { - visitContextFactory = new EObjectContainmentEList(VisitContextFactoryType.class, this, FacesConfigPackage.FACTORY_TYPE__VISIT_CONTEXT_FACTORY); - } - return visitContextFactory; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getFactoryExtension() { - if (factoryExtension == null) { - factoryExtension = new EObjectResolvingEList(FactoryExtensionType.class, this, FacesConfigPackage.FACTORY_TYPE__FACTORY_EXTENSION); - } - return factoryExtension; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.FACTORY_TYPE__APPLICATION_FACTORY: - return ((InternalEList)getApplicationFactory()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.FACTORY_TYPE__EXCEPTION_HANDLER_FACTORY: - return ((InternalEList)getExceptionHandlerFactory()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.FACTORY_TYPE__EXTERNAL_CONTEXT_FACTORY: - return ((InternalEList)getExternalContextFactory()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.FACTORY_TYPE__FACES_CONTEXT_FACTORY: - return ((InternalEList)getFacesContextFactory()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.FACTORY_TYPE__PARTIAL_VIEW_CONTEXT_FACTORY: - return ((InternalEList)getPartialViewContextFactory()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.FACTORY_TYPE__LIFECYCLE_FACTORY: - return ((InternalEList)getLifecycleFactory()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.FACTORY_TYPE__VIEW_DECLARATION_LANGUAGE_FACTORY: - return ((InternalEList)getViewDeclarationLanguageFactory()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.FACTORY_TYPE__TAG_HANDLER_DELEGATE_FACTORY: - return ((InternalEList)getTagHandlerDelegateFactory()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.FACTORY_TYPE__RENDER_KIT_FACTORY: - return ((InternalEList)getRenderKitFactory()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.FACTORY_TYPE__VISIT_CONTEXT_FACTORY: - return ((InternalEList)getVisitContextFactory()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.FACTORY_TYPE__APPLICATION_FACTORY: - return getApplicationFactory(); - case FacesConfigPackage.FACTORY_TYPE__EXCEPTION_HANDLER_FACTORY: - return getExceptionHandlerFactory(); - case FacesConfigPackage.FACTORY_TYPE__EXTERNAL_CONTEXT_FACTORY: - return getExternalContextFactory(); - case FacesConfigPackage.FACTORY_TYPE__FACES_CONTEXT_FACTORY: - return getFacesContextFactory(); - case FacesConfigPackage.FACTORY_TYPE__PARTIAL_VIEW_CONTEXT_FACTORY: - return getPartialViewContextFactory(); - case FacesConfigPackage.FACTORY_TYPE__LIFECYCLE_FACTORY: - return getLifecycleFactory(); - case FacesConfigPackage.FACTORY_TYPE__VIEW_DECLARATION_LANGUAGE_FACTORY: - return getViewDeclarationLanguageFactory(); - case FacesConfigPackage.FACTORY_TYPE__TAG_HANDLER_DELEGATE_FACTORY: - return getTagHandlerDelegateFactory(); - case FacesConfigPackage.FACTORY_TYPE__RENDER_KIT_FACTORY: - return getRenderKitFactory(); - case FacesConfigPackage.FACTORY_TYPE__VISIT_CONTEXT_FACTORY: - return getVisitContextFactory(); - case FacesConfigPackage.FACTORY_TYPE__FACTORY_EXTENSION: - return getFactoryExtension(); - case FacesConfigPackage.FACTORY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.FACTORY_TYPE__APPLICATION_FACTORY: - getApplicationFactory().clear(); - getApplicationFactory().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACTORY_TYPE__EXCEPTION_HANDLER_FACTORY: - getExceptionHandlerFactory().clear(); - getExceptionHandlerFactory().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACTORY_TYPE__EXTERNAL_CONTEXT_FACTORY: - getExternalContextFactory().clear(); - getExternalContextFactory().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACTORY_TYPE__FACES_CONTEXT_FACTORY: - getFacesContextFactory().clear(); - getFacesContextFactory().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACTORY_TYPE__PARTIAL_VIEW_CONTEXT_FACTORY: - getPartialViewContextFactory().clear(); - getPartialViewContextFactory().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACTORY_TYPE__LIFECYCLE_FACTORY: - getLifecycleFactory().clear(); - getLifecycleFactory().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACTORY_TYPE__VIEW_DECLARATION_LANGUAGE_FACTORY: - getViewDeclarationLanguageFactory().clear(); - getViewDeclarationLanguageFactory().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACTORY_TYPE__TAG_HANDLER_DELEGATE_FACTORY: - getTagHandlerDelegateFactory().clear(); - getTagHandlerDelegateFactory().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACTORY_TYPE__RENDER_KIT_FACTORY: - getRenderKitFactory().clear(); - getRenderKitFactory().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACTORY_TYPE__VISIT_CONTEXT_FACTORY: - getVisitContextFactory().clear(); - getVisitContextFactory().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACTORY_TYPE__FACTORY_EXTENSION: - getFactoryExtension().clear(); - getFactoryExtension().addAll((Collection)newValue); - return; - case FacesConfigPackage.FACTORY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.FACTORY_TYPE__APPLICATION_FACTORY: - getApplicationFactory().clear(); - return; - case FacesConfigPackage.FACTORY_TYPE__EXCEPTION_HANDLER_FACTORY: - getExceptionHandlerFactory().clear(); - return; - case FacesConfigPackage.FACTORY_TYPE__EXTERNAL_CONTEXT_FACTORY: - getExternalContextFactory().clear(); - return; - case FacesConfigPackage.FACTORY_TYPE__FACES_CONTEXT_FACTORY: - getFacesContextFactory().clear(); - return; - case FacesConfigPackage.FACTORY_TYPE__PARTIAL_VIEW_CONTEXT_FACTORY: - getPartialViewContextFactory().clear(); - return; - case FacesConfigPackage.FACTORY_TYPE__LIFECYCLE_FACTORY: - getLifecycleFactory().clear(); - return; - case FacesConfigPackage.FACTORY_TYPE__VIEW_DECLARATION_LANGUAGE_FACTORY: - getViewDeclarationLanguageFactory().clear(); - return; - case FacesConfigPackage.FACTORY_TYPE__TAG_HANDLER_DELEGATE_FACTORY: - getTagHandlerDelegateFactory().clear(); - return; - case FacesConfigPackage.FACTORY_TYPE__RENDER_KIT_FACTORY: - getRenderKitFactory().clear(); - return; - case FacesConfigPackage.FACTORY_TYPE__VISIT_CONTEXT_FACTORY: - getVisitContextFactory().clear(); - return; - case FacesConfigPackage.FACTORY_TYPE__FACTORY_EXTENSION: - getFactoryExtension().clear(); - return; - case FacesConfigPackage.FACTORY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.FACTORY_TYPE__APPLICATION_FACTORY: - return applicationFactory != null && !applicationFactory.isEmpty(); - case FacesConfigPackage.FACTORY_TYPE__EXCEPTION_HANDLER_FACTORY: - return exceptionHandlerFactory != null && !exceptionHandlerFactory.isEmpty(); - case FacesConfigPackage.FACTORY_TYPE__EXTERNAL_CONTEXT_FACTORY: - return externalContextFactory != null && !externalContextFactory.isEmpty(); - case FacesConfigPackage.FACTORY_TYPE__FACES_CONTEXT_FACTORY: - return facesContextFactory != null && !facesContextFactory.isEmpty(); - case FacesConfigPackage.FACTORY_TYPE__PARTIAL_VIEW_CONTEXT_FACTORY: - return partialViewContextFactory != null && !partialViewContextFactory.isEmpty(); - case FacesConfigPackage.FACTORY_TYPE__LIFECYCLE_FACTORY: - return lifecycleFactory != null && !lifecycleFactory.isEmpty(); - case FacesConfigPackage.FACTORY_TYPE__VIEW_DECLARATION_LANGUAGE_FACTORY: - return viewDeclarationLanguageFactory != null && !viewDeclarationLanguageFactory.isEmpty(); - case FacesConfigPackage.FACTORY_TYPE__TAG_HANDLER_DELEGATE_FACTORY: - return tagHandlerDelegateFactory != null && !tagHandlerDelegateFactory.isEmpty(); - case FacesConfigPackage.FACTORY_TYPE__RENDER_KIT_FACTORY: - return renderKitFactory != null && !renderKitFactory.isEmpty(); - case FacesConfigPackage.FACTORY_TYPE__VISIT_CONTEXT_FACTORY: - return visitContextFactory != null && !visitContextFactory.isEmpty(); - case FacesConfigPackage.FACTORY_TYPE__FACTORY_EXTENSION: - return factoryExtension != null && !factoryExtension.isEmpty(); - case FacesConfigPackage.FACTORY_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index 92c0eca4c..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromActionTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.FROM_ACTION_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.FROM_ACTION_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.FROM_ACTION_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.FROM_ACTION_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.FROM_ACTION_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.FROM_ACTION_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.FROM_ACTION_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 85ebefb84..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromOutcomeTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.FROM_OUTCOME_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.FROM_OUTCOME_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.FROM_OUTCOME_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.FROM_OUTCOME_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.FROM_OUTCOME_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.FROM_OUTCOME_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.FROM_OUTCOME_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 6205448f5..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromViewIdTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.FROM_VIEW_ID_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.FROM_VIEW_ID_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.FROM_VIEW_ID_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.FROM_VIEW_ID_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.FROM_VIEW_ID_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.FROM_VIEW_ID_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.FROM_VIEW_ID_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index c56790182..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/IconTypeImpl.java +++ /dev/null @@ -1,378 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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.Literals.ICON_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SmallIconType getSmallIcon() { - return smallIcon; - } - - /** - * <!-- begin-user-doc --> - * @param newSmallIcon - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newLargeIcon - * @param msgs - * @return the notification chain - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.ICON_TYPE__SMALL_ICON: - return basicSetSmallIcon(null, msgs); - case FacesConfigPackage.ICON_TYPE__LARGE_ICON: - return basicSetLargeIcon(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (lang: "); //$NON-NLS-1$ - result.append(lang); - result.append(", id: "); //$NON-NLS-1$ - 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/IfTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/IfTypeImpl.java deleted file mode 100644 index 8615aa0b5..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/IfTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.IfType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>If Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.IfTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.IfTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class IfTypeImpl extends EObjectImpl implements IfType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 IfTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.IF_TYPE; - } - - /** - * <!-- 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.IF_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.IF_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.IF_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.IF_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.IF_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.IF_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.IF_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.IF_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.IF_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.IF_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //IfTypeImpl 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 deleted file mode 100644 index 943a8ef64..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/KeyClassTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.KEY_CLASS_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.KEY_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.KEY_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.KEY_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.KEY_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.KEY_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.KEY_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 3a58b50d0..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/KeyTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.KEY_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.KEY_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.KEY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.KEY_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.KEY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.KEY_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.KEY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 153fa4931..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LargeIconTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.LARGE_ICON_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.LARGE_ICON_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.LARGE_ICON_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.LARGE_ICON_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.LARGE_ICON_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.LARGE_ICON_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.LARGE_ICON_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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/LifecycleExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LifecycleExtensionTypeImpl.java deleted file mode 100644 index 19262a003..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LifecycleExtensionTypeImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -/*************************************************************************************************** - * 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.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.LifecycleExtensionType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Lifecycle Extension Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class LifecycleExtensionTypeImpl extends ExtensionTypeImpl implements LifecycleExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected LifecycleExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.LIFECYCLE_EXTENSION_TYPE; - } - -} //LifecycleExtensionTypeImpl 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 deleted file mode 100644 index 562c38c60..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LifecycleFactoryTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.LIFECYCLE_FACTORY_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.LIFECYCLE_FACTORY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index a01a5f6e7..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LifecycleTypeImpl.java +++ /dev/null @@ -1,263 +0,0 @@ -/*************************************************************************************************** - * 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.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.LifecycleExtensionType; -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#getLifecycleExtension <em>Lifecycle Extension</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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * The cached value of the '{@link #getLifecycleExtension() <em>Lifecycle Extension</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getLifecycleExtension() - * @generated - * @ordered - */ - protected EList lifecycleExtension; - - /** - * 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.Literals.LIFECYCLE_TYPE; - } - - /** - * <!-- 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 EList getLifecycleExtension() { - if (lifecycleExtension == null) { - lifecycleExtension = new EObjectContainmentEList(LifecycleExtensionType.class, this, FacesConfigPackage.LIFECYCLE_TYPE__LIFECYCLE_EXTENSION); - } - return lifecycleExtension; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.LIFECYCLE_TYPE__PHASE_LISTENER: - return ((InternalEList)getPhaseListener()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.LIFECYCLE_TYPE__LIFECYCLE_EXTENSION: - return ((InternalEList)getLifecycleExtension()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.LIFECYCLE_TYPE__PHASE_LISTENER: - return getPhaseListener(); - case FacesConfigPackage.LIFECYCLE_TYPE__LIFECYCLE_EXTENSION: - return getLifecycleExtension(); - case FacesConfigPackage.LIFECYCLE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.LIFECYCLE_TYPE__PHASE_LISTENER: - getPhaseListener().clear(); - getPhaseListener().addAll((Collection)newValue); - return; - case FacesConfigPackage.LIFECYCLE_TYPE__LIFECYCLE_EXTENSION: - getLifecycleExtension().clear(); - getLifecycleExtension().addAll((Collection)newValue); - return; - case FacesConfigPackage.LIFECYCLE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.LIFECYCLE_TYPE__PHASE_LISTENER: - getPhaseListener().clear(); - return; - case FacesConfigPackage.LIFECYCLE_TYPE__LIFECYCLE_EXTENSION: - getLifecycleExtension().clear(); - return; - case FacesConfigPackage.LIFECYCLE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.LIFECYCLE_TYPE__PHASE_LISTENER: - return phaseListener != null && !phaseListener.isEmpty(); - case FacesConfigPackage.LIFECYCLE_TYPE__LIFECYCLE_EXTENSION: - return lifecycleExtension != null && !lifecycleExtension.isEmpty(); - case FacesConfigPackage.LIFECYCLE_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index fd40f9697..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ListEntriesTypeImpl.java +++ /dev/null @@ -1,333 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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.Literals.LIST_ENTRIES_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ValueClassType getValueClass() { - return valueClass; - } - - /** - * <!-- begin-user-doc --> - * @param newValueClass - * @param msgs - * @return the notification chain - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index 9f17d1626..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LocaleConfigTypeImpl.java +++ /dev/null @@ -1,296 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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.Literals.LOCALE_CONFIG_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public DefaultLocaleType getDefaultLocale() { - return defaultLocale; - } - - /** - * <!-- begin-user-doc --> - * @param newDefaultLocale - * @param msgs - * @return the notification chain - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.LOCALE_CONFIG_TYPE__DEFAULT_LOCALE: - return basicSetDefaultLocale(null, msgs); - case FacesConfigPackage.LOCALE_CONFIG_TYPE__SUPPORTED_LOCALE: - return ((InternalEList)getSupportedLocale()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index 0e482340d..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanClassTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.MANAGED_BEAN_CLASS_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.MANAGED_BEAN_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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/ManagedBeanExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanExtensionTypeImpl.java deleted file mode 100644 index e8f3be1cf..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanExtensionTypeImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -/*************************************************************************************************** - * 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.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.ManagedBeanExtensionType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Managed Bean Extension Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class ManagedBeanExtensionTypeImpl extends ExtensionTypeImpl implements ManagedBeanExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ManagedBeanExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.MANAGED_BEAN_EXTENSION_TYPE; - } - -} //ManagedBeanExtensionTypeImpl 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 deleted file mode 100644 index 202ab740a..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanNameTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.MANAGED_BEAN_NAME_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.MANAGED_BEAN_NAME_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 3091a7712..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanScopeTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.MANAGED_BEAN_SCOPE_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.MANAGED_BEAN_SCOPE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 4a21aa8c2..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanTypeImpl.java +++ /dev/null @@ -1,778 +0,0 @@ -/*************************************************************************************************** - * 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.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.ManagedBeanExtensionType; -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#getManagedBeanExtension <em>Managed Bean Extension</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanTypeImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ManagedBeanTypeImpl#isEager <em>Eager</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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * The cached value of the '{@link #getManagedBeanExtension() <em>Managed Bean Extension</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getManagedBeanExtension() - * @generated - * @ordered - */ - protected EList managedBeanExtension; - - /** - * 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; - - /** - * The default value of the '{@link #isEager() <em>Eager</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isEager() - * @generated - * @ordered - */ - protected static final boolean EAGER_EDEFAULT = false; - - /** - * The cached value of the '{@link #isEager() <em>Eager</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isEager() - * @generated - * @ordered - */ - protected boolean eager = EAGER_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ManagedBeanTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.MANAGED_BEAN_TYPE; - } - - /** - * <!-- 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 --> - * @param newManagedBeanName - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newManagedBeanClass - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newManagedBeanScope - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newMapEntries - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newListEntries - * @param msgs - * @return the notification chain - * <!-- 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 EList getManagedBeanExtension() { - if (managedBeanExtension == null) { - managedBeanExtension = new EObjectContainmentEList(ManagedBeanExtensionType.class, this, FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_EXTENSION); - } - return managedBeanExtension; - } - - /** - * <!-- 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 boolean isEager() { - return eager; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setEager(boolean newEager) { - boolean oldEager = eager; - eager = newEager; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.MANAGED_BEAN_TYPE__EAGER, oldEager, eager)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - 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); - case FacesConfigPackage.MANAGED_BEAN_TYPE__MANAGED_BEAN_EXTENSION: - return ((InternalEList)getManagedBeanExtension()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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__MANAGED_BEAN_EXTENSION: - return getManagedBeanExtension(); - case FacesConfigPackage.MANAGED_BEAN_TYPE__ID: - return getId(); - case FacesConfigPackage.MANAGED_BEAN_TYPE__EAGER: - return isEager() ? Boolean.TRUE : Boolean.FALSE; - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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__MANAGED_BEAN_EXTENSION: - getManagedBeanExtension().clear(); - getManagedBeanExtension().addAll((Collection)newValue); - return; - case FacesConfigPackage.MANAGED_BEAN_TYPE__ID: - setId((String)newValue); - return; - case FacesConfigPackage.MANAGED_BEAN_TYPE__EAGER: - setEager(((Boolean)newValue).booleanValue()); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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__MANAGED_BEAN_EXTENSION: - getManagedBeanExtension().clear(); - return; - case FacesConfigPackage.MANAGED_BEAN_TYPE__ID: - setId(ID_EDEFAULT); - return; - case FacesConfigPackage.MANAGED_BEAN_TYPE__EAGER: - setEager(EAGER_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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__MANAGED_BEAN_EXTENSION: - return managedBeanExtension != null && !managedBeanExtension.isEmpty(); - case FacesConfigPackage.MANAGED_BEAN_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case FacesConfigPackage.MANAGED_BEAN_TYPE__EAGER: - return eager != EAGER_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(", eager: "); //$NON-NLS-1$ - result.append(eager); - 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 deleted file mode 100644 index 979e640a3..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedPropertyTypeImpl.java +++ /dev/null @@ -1,720 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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.Literals.MANAGED_PROPERTY_TYPE; - } - - /** - * <!-- 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 --> - * @param newPropertyName - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newPropertyClass - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newMapEntries - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newNullValue - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newValue - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newListEntries - * @param msgs - * @return the notification chain - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index 26efec3f0..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MapEntriesTypeImpl.java +++ /dev/null @@ -1,366 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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.Literals.MAP_ENTRIES_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public KeyClassType getKeyClass() { - return keyClass; - } - - /** - * <!-- begin-user-doc --> - * @param newKeyClass - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newValueClass - * @param msgs - * @return the notification chain - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index 74ceff09c..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MapEntryTypeImpl.java +++ /dev/null @@ -1,394 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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.Literals.MAP_ENTRY_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public KeyType getKey() { - return key; - } - - /** - * <!-- begin-user-doc --> - * @param newKey - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newNullValue - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newValue - * @param msgs - * @return the notification chain - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index 92eda01ab..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MessageBundleTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.MESSAGE_BUNDLE_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.MESSAGE_BUNDLE_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.MESSAGE_BUNDLE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.MESSAGE_BUNDLE_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.MESSAGE_BUNDLE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.MESSAGE_BUNDLE_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.MESSAGE_BUNDLE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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/NameTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NameTypeImpl.java deleted file mode 100644 index 511b347a3..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NameTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.NameType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Name Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NameTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.NameTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class NameTypeImpl extends EObjectImpl implements NameType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 NameTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.NAME_TYPE; - } - - /** - * <!-- 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.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.NAME_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.NAME_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.NAME_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.NAME_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.NAME_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.NAME_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.NAME_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.NAME_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.NAME_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //NameTypeImpl 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 deleted file mode 100644 index ce9d4612f..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationCaseTypeImpl.java +++ /dev/null @@ -1,650 +0,0 @@ -/*************************************************************************************************** - * 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.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.IfType; -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#getIf <em>If</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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * The cached value of the '{@link #getIf() <em>If</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIf() - * @generated - * @ordered - */ - protected IfType if_; - - /** - * 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; - - /** - * 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; - - /** - * 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.Literals.NAVIGATION_CASE_TYPE; - } - - /** - * <!-- 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 --> - * @param newFromAction - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newFromOutcome - * @param msgs - * @return the notification chain - * <!-- 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 IfType getIf() { - return if_; - } - - /** - * <!-- begin-user-doc --> - * @param newIf - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetIf(IfType newIf, NotificationChain msgs) { - IfType oldIf = if_; - if_ = newIf; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.NAVIGATION_CASE_TYPE__IF, oldIf, newIf); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setIf(IfType newIf) { - if (newIf != if_) { - NotificationChain msgs = null; - if (if_ != null) - msgs = ((InternalEObject)if_).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.NAVIGATION_CASE_TYPE__IF, null, msgs); - if (newIf != null) - msgs = ((InternalEObject)newIf).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.NAVIGATION_CASE_TYPE__IF, null, msgs); - msgs = basicSetIf(newIf, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.NAVIGATION_CASE_TYPE__IF, newIf, newIf)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ToViewIdType getToViewId() { - return toViewId; - } - - /** - * <!-- begin-user-doc --> - * @param newToViewId - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newRedirect - * @param msgs - * @return the notification chain - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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__IF: - return basicSetIf(null, msgs); - case FacesConfigPackage.NAVIGATION_CASE_TYPE__TO_VIEW_ID: - return basicSetToViewId(null, msgs); - case FacesConfigPackage.NAVIGATION_CASE_TYPE__REDIRECT: - return basicSetRedirect(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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__IF: - return getIf(); - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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__IF: - setIf((IfType)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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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__IF: - setIf((IfType)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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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__IF: - return if_ != 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index 814a158ca..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationHandlerTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.NAVIGATION_HANDLER_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.NAVIGATION_HANDLER_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.NAVIGATION_HANDLER_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.NAVIGATION_HANDLER_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.NAVIGATION_HANDLER_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.NAVIGATION_HANDLER_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.NAVIGATION_HANDLER_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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/NavigationRuleExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationRuleExtensionTypeImpl.java deleted file mode 100644 index b05ec7048..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationRuleExtensionTypeImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -/*************************************************************************************************** - * 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.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.NavigationRuleExtensionType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Navigation Rule Extension Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class NavigationRuleExtensionTypeImpl extends ExtensionTypeImpl implements NavigationRuleExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected NavigationRuleExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.NAVIGATION_RULE_EXTENSION_TYPE; - } - -} //NavigationRuleExtensionTypeImpl 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 deleted file mode 100644 index 3007f1612..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationRuleTypeImpl.java +++ /dev/null @@ -1,444 +0,0 @@ -/*************************************************************************************************** - * 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.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.NavigationRuleExtensionType; -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#getNavigationRuleExtension <em>Navigation Rule Extension</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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * The cached value of the '{@link #getNavigationRuleExtension() <em>Navigation Rule Extension</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getNavigationRuleExtension() - * @generated - * @ordered - */ - protected EList navigationRuleExtension; - - /** - * 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.Literals.NAVIGATION_RULE_TYPE; - } - - /** - * <!-- 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 --> - * @param newFromViewId - * @param msgs - * @return the notification chain - * <!-- 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 EList getNavigationRuleExtension() { - if (navigationRuleExtension == null) { - navigationRuleExtension = new EObjectContainmentEList(NavigationRuleExtensionType.class, this, FacesConfigPackage.NAVIGATION_RULE_TYPE__NAVIGATION_RULE_EXTENSION); - } - return navigationRuleExtension; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - case FacesConfigPackage.NAVIGATION_RULE_TYPE__NAVIGATION_RULE_EXTENSION: - return ((InternalEList)getNavigationRuleExtension()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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__NAVIGATION_RULE_EXTENSION: - return getNavigationRuleExtension(); - case FacesConfigPackage.NAVIGATION_RULE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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__NAVIGATION_RULE_EXTENSION: - getNavigationRuleExtension().clear(); - getNavigationRuleExtension().addAll((Collection)newValue); - return; - case FacesConfigPackage.NAVIGATION_RULE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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__NAVIGATION_RULE_EXTENSION: - getNavigationRuleExtension().clear(); - return; - case FacesConfigPackage.NAVIGATION_RULE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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__NAVIGATION_RULE_EXTENSION: - return navigationRuleExtension != null && !navigationRuleExtension.isEmpty(); - case FacesConfigPackage.NAVIGATION_RULE_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index e42c2b8e4..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NullValueTypeImpl.java +++ /dev/null @@ -1,171 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.NULL_VALUE_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.NULL_VALUE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.NULL_VALUE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.NULL_VALUE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.NULL_VALUE_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //NullValueTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/OrderingOrderingTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/OrderingOrderingTypeImpl.java deleted file mode 100644 index 8e118cb97..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/OrderingOrderingTypeImpl.java +++ /dev/null @@ -1,228 +0,0 @@ -/*************************************************************************************************** - * 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.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.NameType; -import org.eclipse.jst.jsf.facesconfig.emf.OrderingOrderingType; -import org.eclipse.jst.jsf.facesconfig.emf.OrderingOthersType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Ordering Ordering Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.OrderingOrderingTypeImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.OrderingOrderingTypeImpl#getOthers <em>Others</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class OrderingOrderingTypeImpl extends EObjectImpl implements OrderingOrderingType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected EList name; - - /** - * The cached value of the '{@link #getOthers() <em>Others</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getOthers() - * @generated - * @ordered - */ - protected OrderingOthersType others; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected OrderingOrderingTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.ORDERING_ORDERING_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getName() { - if (name == null) { - name = new EObjectContainmentEList(NameType.class, this, FacesConfigPackage.ORDERING_ORDERING_TYPE__NAME); - } - return name; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OrderingOthersType getOthers() { - return others; - } - - /** - * <!-- begin-user-doc --> - * @param newOthers - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetOthers(OrderingOthersType newOthers, NotificationChain msgs) { - OrderingOthersType oldOthers = others; - others = newOthers; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ORDERING_ORDERING_TYPE__OTHERS, oldOthers, newOthers); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setOthers(OrderingOthersType newOthers) { - if (newOthers != others) { - NotificationChain msgs = null; - if (others != null) - msgs = ((InternalEObject)others).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ORDERING_ORDERING_TYPE__OTHERS, null, msgs); - if (newOthers != null) - msgs = ((InternalEObject)newOthers).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ORDERING_ORDERING_TYPE__OTHERS, null, msgs); - msgs = basicSetOthers(newOthers, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ORDERING_ORDERING_TYPE__OTHERS, newOthers, newOthers)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.ORDERING_ORDERING_TYPE__NAME: - return ((InternalEList)getName()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.ORDERING_ORDERING_TYPE__OTHERS: - return basicSetOthers(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.ORDERING_ORDERING_TYPE__NAME: - return getName(); - case FacesConfigPackage.ORDERING_ORDERING_TYPE__OTHERS: - return getOthers(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.ORDERING_ORDERING_TYPE__NAME: - getName().clear(); - getName().addAll((Collection)newValue); - return; - case FacesConfigPackage.ORDERING_ORDERING_TYPE__OTHERS: - setOthers((OrderingOthersType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.ORDERING_ORDERING_TYPE__NAME: - getName().clear(); - return; - case FacesConfigPackage.ORDERING_ORDERING_TYPE__OTHERS: - setOthers((OrderingOthersType)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.ORDERING_ORDERING_TYPE__NAME: - return name != null && !name.isEmpty(); - case FacesConfigPackage.ORDERING_ORDERING_TYPE__OTHERS: - return others != null; - } - return super.eIsSet(featureID); - } - -} //OrderingOrderingTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/OrderingOthersTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/OrderingOthersTypeImpl.java deleted file mode 100644 index fe8c019a9..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/OrderingOthersTypeImpl.java +++ /dev/null @@ -1,170 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.OrderingOthersType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Ordering Others Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.OrderingOthersTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class OrderingOthersTypeImpl extends EObjectImpl implements OrderingOthersType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 OrderingOthersTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.ORDERING_OTHERS_TYPE; - } - - /** - * <!-- 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.ORDERING_OTHERS_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.ORDERING_OTHERS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.ORDERING_OTHERS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.ORDERING_OTHERS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.ORDERING_OTHERS_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //OrderingOthersTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/OrderingTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/OrderingTypeImpl.java deleted file mode 100644 index a5402e659..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/OrderingTypeImpl.java +++ /dev/null @@ -1,255 +0,0 @@ -/*************************************************************************************************** - * 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.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.OrderingOrderingType; -import org.eclipse.jst.jsf.facesconfig.emf.OrderingType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Ordering Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.OrderingTypeImpl#getBefore <em>Before</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.OrderingTypeImpl#getAfter <em>After</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class OrderingTypeImpl extends EObjectImpl implements OrderingType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getBefore() <em>Before</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBefore() - * @generated - * @ordered - */ - protected OrderingOrderingType before; - - /** - * The cached value of the '{@link #getAfter() <em>After</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getAfter() - * @generated - * @ordered - */ - protected OrderingOrderingType after; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected OrderingTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.ORDERING_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OrderingOrderingType getBefore() { - return before; - } - - /** - * <!-- begin-user-doc --> - * @param newBefore - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetBefore(OrderingOrderingType newBefore, NotificationChain msgs) { - OrderingOrderingType oldBefore = before; - before = newBefore; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ORDERING_TYPE__BEFORE, oldBefore, newBefore); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBefore(OrderingOrderingType newBefore) { - if (newBefore != before) { - NotificationChain msgs = null; - if (before != null) - msgs = ((InternalEObject)before).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ORDERING_TYPE__BEFORE, null, msgs); - if (newBefore != null) - msgs = ((InternalEObject)newBefore).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ORDERING_TYPE__BEFORE, null, msgs); - msgs = basicSetBefore(newBefore, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ORDERING_TYPE__BEFORE, newBefore, newBefore)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public OrderingOrderingType getAfter() { - return after; - } - - /** - * <!-- begin-user-doc --> - * @param newAfter - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetAfter(OrderingOrderingType newAfter, NotificationChain msgs) { - OrderingOrderingType oldAfter = after; - after = newAfter; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ORDERING_TYPE__AFTER, oldAfter, newAfter); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setAfter(OrderingOrderingType newAfter) { - if (newAfter != after) { - NotificationChain msgs = null; - if (after != null) - msgs = ((InternalEObject)after).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ORDERING_TYPE__AFTER, null, msgs); - if (newAfter != null) - msgs = ((InternalEObject)newAfter).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.ORDERING_TYPE__AFTER, null, msgs); - msgs = basicSetAfter(newAfter, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.ORDERING_TYPE__AFTER, newAfter, newAfter)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.ORDERING_TYPE__BEFORE: - return basicSetBefore(null, msgs); - case FacesConfigPackage.ORDERING_TYPE__AFTER: - return basicSetAfter(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.ORDERING_TYPE__BEFORE: - return getBefore(); - case FacesConfigPackage.ORDERING_TYPE__AFTER: - return getAfter(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.ORDERING_TYPE__BEFORE: - setBefore((OrderingOrderingType)newValue); - return; - case FacesConfigPackage.ORDERING_TYPE__AFTER: - setAfter((OrderingOrderingType)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.ORDERING_TYPE__BEFORE: - setBefore((OrderingOrderingType)null); - return; - case FacesConfigPackage.ORDERING_TYPE__AFTER: - setAfter((OrderingOrderingType)null); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.ORDERING_TYPE__BEFORE: - return before != null; - case FacesConfigPackage.ORDERING_TYPE__AFTER: - return after != null; - } - return super.eIsSet(featureID); - } - -} //OrderingTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PartialViewContextFactoryTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PartialViewContextFactoryTypeImpl.java deleted file mode 100644 index 7c77fd844..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PartialViewContextFactoryTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.PartialViewContextFactoryType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Partial View Context Factory Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PartialViewContextFactoryTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.PartialViewContextFactoryTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class PartialViewContextFactoryTypeImpl extends EObjectImpl implements PartialViewContextFactoryType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 PartialViewContextFactoryTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.PARTIAL_VIEW_CONTEXT_FACTORY_TYPE; - } - - /** - * <!-- 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.PARTIAL_VIEW_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.PARTIAL_VIEW_CONTEXT_FACTORY_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.PARTIAL_VIEW_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.PARTIAL_VIEW_CONTEXT_FACTORY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.PARTIAL_VIEW_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.PARTIAL_VIEW_CONTEXT_FACTORY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.PARTIAL_VIEW_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.PARTIAL_VIEW_CONTEXT_FACTORY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.PARTIAL_VIEW_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.PARTIAL_VIEW_CONTEXT_FACTORY_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //PartialViewContextFactoryTypeImpl 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 deleted file mode 100644 index 18fe29083..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PhaseListenerTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.PHASE_LISTENER_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.PHASE_LISTENER_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.PHASE_LISTENER_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.PHASE_LISTENER_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.PHASE_LISTENER_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.PHASE_LISTENER_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.PHASE_LISTENER_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index aa19cde67..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyClassTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.PROPERTY_CLASS_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.PROPERTY_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.PROPERTY_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.PROPERTY_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.PROPERTY_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.PROPERTY_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.PROPERTY_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 1c6d84ee4..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyExtensionTypeImpl.java +++ /dev/null @@ -1,55 +0,0 @@ -/*************************************************************************************************** - * 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.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> - * </p> - * - * @generated - */ -public class PropertyExtensionTypeImpl extends ExtensionTypeImpl implements PropertyExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected PropertyExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.PROPERTY_EXTENSION_TYPE; - } - -} //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 deleted file mode 100644 index 76ecad7d3..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyNameTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.PROPERTY_NAME_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.PROPERTY_NAME_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.PROPERTY_NAME_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.PROPERTY_NAME_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.PROPERTY_NAME_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.PROPERTY_NAME_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.PROPERTY_NAME_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 954da7dd7..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyResolverTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.PROPERTY_RESOLVER_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.PROPERTY_RESOLVER_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.PROPERTY_RESOLVER_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.PROPERTY_RESOLVER_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.PROPERTY_RESOLVER_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.PROPERTY_RESOLVER_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.PROPERTY_RESOLVER_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index a1ace9c9d..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyTypeImpl.java +++ /dev/null @@ -1,617 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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.Literals.PROPERTY_TYPE; - } - - /** - * <!-- 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 --> - * @param newPropertyName - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newPropertyClass - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newDefaultValue - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newSuggestedValue - * @param msgs - * @return the notification chain - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index dc35c6f8d..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RedirectTypeImpl.java +++ /dev/null @@ -1,280 +0,0 @@ -/*************************************************************************************************** - * 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.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.RedirectType; -import org.eclipse.jst.jsf.facesconfig.emf.RedirectViewParamType; - - -/** - * <!-- 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#getViewParam <em>View Param</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RedirectTypeImpl#getId <em>Id</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RedirectTypeImpl#isIncludeViewParams <em>Include View Params</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"; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getViewParam() <em>View Param</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getViewParam() - * @generated - * @ordered - */ - protected EList viewParam; - - /** - * 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; - - /** - * The default value of the '{@link #isIncludeViewParams() <em>Include View Params</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isIncludeViewParams() - * @generated - * @ordered - */ - protected static final boolean INCLUDE_VIEW_PARAMS_EDEFAULT = false; - - /** - * The cached value of the '{@link #isIncludeViewParams() <em>Include View Params</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isIncludeViewParams() - * @generated - * @ordered - */ - protected boolean includeViewParams = INCLUDE_VIEW_PARAMS_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RedirectTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.REDIRECT_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getViewParam() { - if (viewParam == null) { - viewParam = new EObjectContainmentEList(RedirectViewParamType.class, this, FacesConfigPackage.REDIRECT_TYPE__VIEW_PARAM); - } - return viewParam; - } - - /** - * <!-- 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 boolean isIncludeViewParams() { - return includeViewParams; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setIncludeViewParams(boolean newIncludeViewParams) { - boolean oldIncludeViewParams = includeViewParams; - includeViewParams = newIncludeViewParams; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.REDIRECT_TYPE__INCLUDE_VIEW_PARAMS, oldIncludeViewParams, includeViewParams)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.REDIRECT_TYPE__VIEW_PARAM: - return ((InternalEList)getViewParam()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.REDIRECT_TYPE__VIEW_PARAM: - return getViewParam(); - case FacesConfigPackage.REDIRECT_TYPE__ID: - return getId(); - case FacesConfigPackage.REDIRECT_TYPE__INCLUDE_VIEW_PARAMS: - return isIncludeViewParams() ? Boolean.TRUE : Boolean.FALSE; - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.REDIRECT_TYPE__VIEW_PARAM: - getViewParam().clear(); - getViewParam().addAll((Collection)newValue); - return; - case FacesConfigPackage.REDIRECT_TYPE__ID: - setId((String)newValue); - return; - case FacesConfigPackage.REDIRECT_TYPE__INCLUDE_VIEW_PARAMS: - setIncludeViewParams(((Boolean)newValue).booleanValue()); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.REDIRECT_TYPE__VIEW_PARAM: - getViewParam().clear(); - return; - case FacesConfigPackage.REDIRECT_TYPE__ID: - setId(ID_EDEFAULT); - return; - case FacesConfigPackage.REDIRECT_TYPE__INCLUDE_VIEW_PARAMS: - setIncludeViewParams(INCLUDE_VIEW_PARAMS_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.REDIRECT_TYPE__VIEW_PARAM: - return viewParam != null && !viewParam.isEmpty(); - case FacesConfigPackage.REDIRECT_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - case FacesConfigPackage.REDIRECT_TYPE__INCLUDE_VIEW_PARAMS: - return includeViewParams != INCLUDE_VIEW_PARAMS_EDEFAULT; - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(", includeViewParams: "); //$NON-NLS-1$ - result.append(includeViewParams); - result.append(')'); - return result.toString(); - } - -} //RedirectTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RedirectViewParamTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RedirectViewParamTypeImpl.java deleted file mode 100644 index ac34d5776..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RedirectViewParamTypeImpl.java +++ /dev/null @@ -1,323 +0,0 @@ -/*************************************************************************************************** - * 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.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.NameType; -import org.eclipse.jst.jsf.facesconfig.emf.RedirectViewParamType; -import org.eclipse.jst.jsf.facesconfig.emf.ValueType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Redirect View Param Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RedirectViewParamTypeImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RedirectViewParamTypeImpl#getValue <em>Value</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RedirectViewParamTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class RedirectViewParamTypeImpl extends EObjectImpl implements RedirectViewParamType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getName() <em>Name</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getName() - * @generated - * @ordered - */ - protected NameType name; - - /** - * 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; - - /** - * 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 RedirectViewParamTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.REDIRECT_VIEW_PARAM_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NameType getName() { - return name; - } - - /** - * <!-- begin-user-doc --> - * @param newName - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetName(NameType newName, NotificationChain msgs) { - NameType oldName = name; - name = newName; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__NAME, oldName, newName); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setName(NameType newName) { - if (newName != name) { - NotificationChain msgs = null; - if (name != null) - msgs = ((InternalEObject)name).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__NAME, null, msgs); - if (newName != null) - msgs = ((InternalEObject)newName).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__NAME, null, msgs); - msgs = basicSetName(newName, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__NAME, newName, newName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public ValueType getValue() { - return value; - } - - /** - * <!-- begin-user-doc --> - * @param newValue - * @param msgs - * @return NotificationChain - * <!-- 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.REDIRECT_VIEW_PARAM_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.REDIRECT_VIEW_PARAM_TYPE__VALUE, null, msgs); - if (newValue != null) - msgs = ((InternalEObject)newValue).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__VALUE, null, msgs); - msgs = basicSetValue(newValue, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.REDIRECT_VIEW_PARAM_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.REDIRECT_VIEW_PARAM_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__NAME: - return basicSetName(null, msgs); - case FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__VALUE: - return basicSetValue(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__NAME: - return getName(); - case FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__VALUE: - return getValue(); - case FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__NAME: - setName((NameType)newValue); - return; - case FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__VALUE: - setValue((ValueType)newValue); - return; - case FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__NAME: - setName((NameType)null); - return; - case FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__VALUE: - setValue((ValueType)null); - return; - case FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__NAME: - return name != null; - case FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__VALUE: - return value != null; - case FacesConfigPackage.REDIRECT_VIEW_PARAM_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //RedirectViewParamTypeImpl 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 deleted file mode 100644 index 8689119cb..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanClassTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.REFERENCED_BEAN_CLASS_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.REFERENCED_BEAN_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index d0b191189..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanNameTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.REFERENCED_BEAN_NAME_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.REFERENCED_BEAN_NAME_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index cb35f5096..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanTypeImpl.java +++ /dev/null @@ -1,440 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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.Literals.REFERENCED_BEAN_TYPE; - } - - /** - * <!-- 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 --> - * @param newReferencedBeanName - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newReferencedBeanClass - * @param msgs - * @return the notification chain - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index d908748de..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitClassTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.RENDER_KIT_CLASS_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.RENDER_KIT_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.RENDER_KIT_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.RENDER_KIT_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.RENDER_KIT_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.RENDER_KIT_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.RENDER_KIT_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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/RenderKitExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitExtensionTypeImpl.java deleted file mode 100644 index e0fcbc3f1..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitExtensionTypeImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -/*************************************************************************************************** - * 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.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.RenderKitExtensionType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Render Kit Extension Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class RenderKitExtensionTypeImpl extends ExtensionTypeImpl implements RenderKitExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RenderKitExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.RENDER_KIT_EXTENSION_TYPE; - } - -} //RenderKitExtensionTypeImpl 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 deleted file mode 100644 index d2a280474..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitFactoryTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.RENDER_KIT_FACTORY_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.RENDER_KIT_FACTORY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 5f9c6cd8f..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitIdTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.RENDER_KIT_ID_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.RENDER_KIT_ID_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.RENDER_KIT_ID_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.RENDER_KIT_ID_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.RENDER_KIT_ID_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.RENDER_KIT_ID_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.RENDER_KIT_ID_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 55d5742ac..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitTypeImpl.java +++ /dev/null @@ -1,551 +0,0 @@ -/*************************************************************************************************** - * 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.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.ClientBehaviorRendererType; -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.RenderKitExtensionType; -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#getClientBehaviorRenderer <em>Client Behavior Renderer</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.RenderKitTypeImpl#getRenderKitExtension <em>Render Kit Extension</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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * The cached value of the '{@link #getClientBehaviorRenderer() <em>Client Behavior Renderer</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getClientBehaviorRenderer() - * @generated - * @ordered - */ - protected EList clientBehaviorRenderer; - - /** - * The cached value of the '{@link #getRenderKitExtension() <em>Render Kit Extension</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getRenderKitExtension() - * @generated - * @ordered - */ - protected EList renderKitExtension; - - /** - * 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.Literals.RENDER_KIT_TYPE; - } - - /** - * <!-- 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 --> - * @param newRenderKitId - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newRenderKitClass - * @param msgs - * @return the notification chain - * <!-- 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 EList getClientBehaviorRenderer() { - if (clientBehaviorRenderer == null) { - clientBehaviorRenderer = new EObjectContainmentEList(ClientBehaviorRendererType.class, this, FacesConfigPackage.RENDER_KIT_TYPE__CLIENT_BEHAVIOR_RENDERER); - } - return clientBehaviorRenderer; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getRenderKitExtension() { - if (renderKitExtension == null) { - renderKitExtension = new EObjectContainmentEList(RenderKitExtensionType.class, this, FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_EXTENSION); - } - return renderKitExtension; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - case FacesConfigPackage.RENDER_KIT_TYPE__CLIENT_BEHAVIOR_RENDERER: - return ((InternalEList)getClientBehaviorRenderer()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_EXTENSION: - return ((InternalEList)getRenderKitExtension()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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__CLIENT_BEHAVIOR_RENDERER: - return getClientBehaviorRenderer(); - case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_EXTENSION: - return getRenderKitExtension(); - case FacesConfigPackage.RENDER_KIT_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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__CLIENT_BEHAVIOR_RENDERER: - getClientBehaviorRenderer().clear(); - getClientBehaviorRenderer().addAll((Collection)newValue); - return; - case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_EXTENSION: - getRenderKitExtension().clear(); - getRenderKitExtension().addAll((Collection)newValue); - return; - case FacesConfigPackage.RENDER_KIT_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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__CLIENT_BEHAVIOR_RENDERER: - getClientBehaviorRenderer().clear(); - return; - case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_EXTENSION: - getRenderKitExtension().clear(); - return; - case FacesConfigPackage.RENDER_KIT_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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__CLIENT_BEHAVIOR_RENDERER: - return clientBehaviorRenderer != null && !clientBehaviorRenderer.isEmpty(); - case FacesConfigPackage.RENDER_KIT_TYPE__RENDER_KIT_EXTENSION: - return renderKitExtension != null && !renderKitExtension.isEmpty(); - case FacesConfigPackage.RENDER_KIT_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index 817f53d3b..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererClassTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.RENDERER_CLASS_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.RENDERER_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.RENDERER_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.RENDERER_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.RENDERER_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.RENDERER_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.RENDERER_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index f62d4edc0..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererExtensionTypeImpl.java +++ /dev/null @@ -1,55 +0,0 @@ -/*************************************************************************************************** - * 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.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> - * </p> - * - * @generated - */ -public class RendererExtensionTypeImpl extends ExtensionTypeImpl implements RendererExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected RendererExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.RENDERER_EXTENSION_TYPE; - } - -} //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 deleted file mode 100644 index 60662d261..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererTypeImpl.java +++ /dev/null @@ -1,621 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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.Literals.RENDERER_TYPE; - } - - /** - * <!-- 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 --> - * @param newComponentFamily - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newRendererType - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newRendererClass - * @param msgs - * @return the notification chain - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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 super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index 115a16631..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererTypeTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.RENDERER_TYPE_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.RENDERER_TYPE_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.RENDERER_TYPE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.RENDERER_TYPE_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.RENDERER_TYPE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.RENDERER_TYPE_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.RENDERER_TYPE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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/ResourceBundleTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ResourceBundleTypeImpl.java deleted file mode 100644 index 78418e06f..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ResourceBundleTypeImpl.java +++ /dev/null @@ -1,423 +0,0 @@ -/*************************************************************************************************** - * 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.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.BaseNameType; -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.ResourceBundleType; -import org.eclipse.jst.jsf.facesconfig.emf.VarType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Resource Bundle Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ResourceBundleTypeImpl#getDescription <em>Description</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ResourceBundleTypeImpl#getDisplayName <em>Display Name</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ResourceBundleTypeImpl#getIcon <em>Icon</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ResourceBundleTypeImpl#getBaseName <em>Base Name</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ResourceBundleTypeImpl#getVar <em>Var</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ResourceBundleTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ResourceBundleTypeImpl extends EObjectImpl implements ResourceBundleType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * The cached value of the '{@link #getBaseName() <em>Base Name</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBaseName() - * @generated - * @ordered - */ - protected BaseNameType baseName; - - /** - * The cached value of the '{@link #getVar() <em>Var</em>}' reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getVar() - * @generated - * @ordered - */ - protected VarType var; - - /** - * 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 ResourceBundleTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.RESOURCE_BUNDLE_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getDescription() { - if (description == null) { - description = new EObjectContainmentEList(DescriptionType.class, this, FacesConfigPackage.RESOURCE_BUNDLE_TYPE__DESCRIPTION); - } - return description; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EList getDisplayName() { - if (displayName == null) { - displayName = new EObjectContainmentEList(DisplayNameType.class, this, FacesConfigPackage.RESOURCE_BUNDLE_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.RESOURCE_BUNDLE_TYPE__ICON); - } - return icon; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public BaseNameType getBaseName() { - if (baseName != null && baseName.eIsProxy()) { - InternalEObject oldBaseName = (InternalEObject)baseName; - baseName = (BaseNameType)eResolveProxy(oldBaseName); - if (baseName != oldBaseName) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, FacesConfigPackage.RESOURCE_BUNDLE_TYPE__BASE_NAME, oldBaseName, baseName)); - } - } - return baseName; - } - - /** - * <!-- begin-user-doc --> - * @return the base name - * <!-- end-user-doc --> - * @generated - */ - public BaseNameType basicGetBaseName() { - return baseName; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBaseName(BaseNameType newBaseName) { - BaseNameType oldBaseName = baseName; - baseName = newBaseName; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RESOURCE_BUNDLE_TYPE__BASE_NAME, oldBaseName, baseName)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public VarType getVar() { - if (var != null && var.eIsProxy()) { - InternalEObject oldVar = (InternalEObject)var; - var = (VarType)eResolveProxy(oldVar); - if (var != oldVar) { - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, FacesConfigPackage.RESOURCE_BUNDLE_TYPE__VAR, oldVar, var)); - } - } - return var; - } - - /** - * <!-- begin-user-doc --> - * @return the variable - * <!-- end-user-doc --> - * @generated - */ - public VarType basicGetVar() { - return var; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setVar(VarType newVar) { - VarType oldVar = var; - var = newVar; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.RESOURCE_BUNDLE_TYPE__VAR, oldVar, var)); - } - - /** - * <!-- 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.RESOURCE_BUNDLE_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__DESCRIPTION: - return ((InternalEList)getDescription()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__DISPLAY_NAME: - return ((InternalEList)getDisplayName()).basicRemove(otherEnd, msgs); - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__ICON: - return ((InternalEList)getIcon()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__DESCRIPTION: - return getDescription(); - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__DISPLAY_NAME: - return getDisplayName(); - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__ICON: - return getIcon(); - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__BASE_NAME: - if (resolve) return getBaseName(); - return basicGetBaseName(); - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__VAR: - if (resolve) return getVar(); - return basicGetVar(); - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__DESCRIPTION: - getDescription().clear(); - getDescription().addAll((Collection)newValue); - return; - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__DISPLAY_NAME: - getDisplayName().clear(); - getDisplayName().addAll((Collection)newValue); - return; - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__ICON: - getIcon().clear(); - getIcon().addAll((Collection)newValue); - return; - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__BASE_NAME: - setBaseName((BaseNameType)newValue); - return; - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__VAR: - setVar((VarType)newValue); - return; - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__DESCRIPTION: - getDescription().clear(); - return; - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__DISPLAY_NAME: - getDisplayName().clear(); - return; - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__ICON: - getIcon().clear(); - return; - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__BASE_NAME: - setBaseName((BaseNameType)null); - return; - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__VAR: - setVar((VarType)null); - return; - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__DESCRIPTION: - return description != null && !description.isEmpty(); - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__DISPLAY_NAME: - return displayName != null && !displayName.isEmpty(); - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__ICON: - return icon != null && !icon.isEmpty(); - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__BASE_NAME: - return baseName != null; - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__VAR: - return var != null; - case FacesConfigPackage.RESOURCE_BUNDLE_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ResourceBundleTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ResourceHandlerTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ResourceHandlerTypeImpl.java deleted file mode 100644 index 19ea0f2cd..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ResourceHandlerTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.ResourceHandlerType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Resource Handler Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ResourceHandlerTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ResourceHandlerTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ResourceHandlerTypeImpl extends EObjectImpl implements ResourceHandlerType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 ResourceHandlerTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.RESOURCE_HANDLER_TYPE; - } - - /** - * <!-- 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.RESOURCE_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.RESOURCE_HANDLER_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.RESOURCE_HANDLER_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.RESOURCE_HANDLER_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.RESOURCE_HANDLER_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.RESOURCE_HANDLER_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.RESOURCE_HANDLER_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.RESOURCE_HANDLER_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.RESOURCE_HANDLER_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.RESOURCE_HANDLER_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ResourceHandlerTypeImpl 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 deleted file mode 100644 index 8f3582ffe..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SmallIconTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.SMALL_ICON_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.SMALL_ICON_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.SMALL_ICON_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.SMALL_ICON_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.SMALL_ICON_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.SMALL_ICON_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.SMALL_ICON_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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/SourceClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SourceClassTypeImpl.java deleted file mode 100644 index d10ce02f8..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SourceClassTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.SourceClassType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Source Class Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SourceClassTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SourceClassTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class SourceClassTypeImpl extends EObjectImpl implements SourceClassType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 SourceClassTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.SOURCE_CLASS_TYPE; - } - - /** - * <!-- 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.SOURCE_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.SOURCE_CLASS_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.SOURCE_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.SOURCE_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.SOURCE_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.SOURCE_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.SOURCE_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.SOURCE_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.SOURCE_CLASS_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.SOURCE_CLASS_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //SourceClassTypeImpl 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 deleted file mode 100644 index fed3b97c7..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/StateManagerTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.STATE_MANAGER_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.STATE_MANAGER_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.STATE_MANAGER_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.STATE_MANAGER_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.STATE_MANAGER_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.STATE_MANAGER_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.STATE_MANAGER_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 662fa42bd..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SuggestedValueTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.SUGGESTED_VALUE_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.SUGGESTED_VALUE_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.SUGGESTED_VALUE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.SUGGESTED_VALUE_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.SUGGESTED_VALUE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.SUGGESTED_VALUE_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.SUGGESTED_VALUE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 4ae4aed4b..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SupportedLocaleTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.SUPPORTED_LOCALE_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.SUPPORTED_LOCALE_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.SUPPORTED_LOCALE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.SUPPORTED_LOCALE_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.SUPPORTED_LOCALE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.SUPPORTED_LOCALE_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.SUPPORTED_LOCALE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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/SystemEventClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SystemEventClassTypeImpl.java deleted file mode 100644 index a32b0c140..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SystemEventClassTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.SystemEventClassType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>System Event Class Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SystemEventClassTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SystemEventClassTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class SystemEventClassTypeImpl extends EObjectImpl implements SystemEventClassType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 SystemEventClassTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.SYSTEM_EVENT_CLASS_TYPE; - } - - /** - * <!-- 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.SYSTEM_EVENT_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.SYSTEM_EVENT_CLASS_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.SYSTEM_EVENT_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.SYSTEM_EVENT_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.SYSTEM_EVENT_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.SYSTEM_EVENT_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.SYSTEM_EVENT_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.SYSTEM_EVENT_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.SYSTEM_EVENT_CLASS_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.SYSTEM_EVENT_CLASS_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //SystemEventClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SystemEventListenerClassTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SystemEventListenerClassTypeImpl.java deleted file mode 100644 index bfe4c2afb..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SystemEventListenerClassTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.SystemEventListenerClassType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>System Event Listener Class Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SystemEventListenerClassTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SystemEventListenerClassTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class SystemEventListenerClassTypeImpl extends EObjectImpl implements SystemEventListenerClassType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 SystemEventListenerClassTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.SYSTEM_EVENT_LISTENER_CLASS_TYPE; - } - - /** - * <!-- 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.SYSTEM_EVENT_LISTENER_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.SYSTEM_EVENT_LISTENER_CLASS_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_CLASS_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_CLASS_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //SystemEventListenerClassTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SystemEventListenerTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SystemEventListenerTypeImpl.java deleted file mode 100644 index 26d8c6c16..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SystemEventListenerTypeImpl.java +++ /dev/null @@ -1,393 +0,0 @@ -/*************************************************************************************************** - * 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.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.SourceClassType; -import org.eclipse.jst.jsf.facesconfig.emf.SystemEventClassType; -import org.eclipse.jst.jsf.facesconfig.emf.SystemEventListenerClassType; -import org.eclipse.jst.jsf.facesconfig.emf.SystemEventListenerType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>System Event Listener Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SystemEventListenerTypeImpl#getSystemEventListenerClass <em>System Event Listener Class</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SystemEventListenerTypeImpl#getSystemEventClass <em>System Event Class</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SystemEventListenerTypeImpl#getSourceClass <em>Source Class</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.SystemEventListenerTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class SystemEventListenerTypeImpl extends EObjectImpl implements SystemEventListenerType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * The cached value of the '{@link #getSystemEventListenerClass() <em>System Event Listener Class</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSystemEventListenerClass() - * @generated - * @ordered - */ - protected SystemEventListenerClassType systemEventListenerClass; - - /** - * The cached value of the '{@link #getSystemEventClass() <em>System Event Class</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSystemEventClass() - * @generated - * @ordered - */ - protected SystemEventClassType systemEventClass; - - /** - * The cached value of the '{@link #getSourceClass() <em>Source Class</em>}' containment reference. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getSourceClass() - * @generated - * @ordered - */ - protected SourceClassType sourceClass; - - /** - * 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 SystemEventListenerTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.SYSTEM_EVENT_LISTENER_TYPE; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SystemEventListenerClassType getSystemEventListenerClass() { - return systemEventListenerClass; - } - - /** - * <!-- begin-user-doc --> - * @param newSystemEventListenerClass - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSystemEventListenerClass(SystemEventListenerClassType newSystemEventListenerClass, NotificationChain msgs) { - SystemEventListenerClassType oldSystemEventListenerClass = systemEventListenerClass; - systemEventListenerClass = newSystemEventListenerClass; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_LISTENER_CLASS, oldSystemEventListenerClass, newSystemEventListenerClass); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSystemEventListenerClass(SystemEventListenerClassType newSystemEventListenerClass) { - if (newSystemEventListenerClass != systemEventListenerClass) { - NotificationChain msgs = null; - if (systemEventListenerClass != null) - msgs = ((InternalEObject)systemEventListenerClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_LISTENER_CLASS, null, msgs); - if (newSystemEventListenerClass != null) - msgs = ((InternalEObject)newSystemEventListenerClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_LISTENER_CLASS, null, msgs); - msgs = basicSetSystemEventListenerClass(newSystemEventListenerClass, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_LISTENER_CLASS, newSystemEventListenerClass, newSystemEventListenerClass)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SystemEventClassType getSystemEventClass() { - return systemEventClass; - } - - /** - * <!-- begin-user-doc --> - * @param newSystemEventClass - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSystemEventClass(SystemEventClassType newSystemEventClass, NotificationChain msgs) { - SystemEventClassType oldSystemEventClass = systemEventClass; - systemEventClass = newSystemEventClass; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_CLASS, oldSystemEventClass, newSystemEventClass); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSystemEventClass(SystemEventClassType newSystemEventClass) { - if (newSystemEventClass != systemEventClass) { - NotificationChain msgs = null; - if (systemEventClass != null) - msgs = ((InternalEObject)systemEventClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_CLASS, null, msgs); - if (newSystemEventClass != null) - msgs = ((InternalEObject)newSystemEventClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_CLASS, null, msgs); - msgs = basicSetSystemEventClass(newSystemEventClass, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_CLASS, newSystemEventClass, newSystemEventClass)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public SourceClassType getSourceClass() { - return sourceClass; - } - - /** - * <!-- begin-user-doc --> - * @param newSourceClass - * @param msgs - * @return NotificationChain - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain basicSetSourceClass(SourceClassType newSourceClass, NotificationChain msgs) { - SourceClassType oldSourceClass = sourceClass; - sourceClass = newSourceClass; - if (eNotificationRequired()) { - ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SOURCE_CLASS, oldSourceClass, newSourceClass); - if (msgs == null) msgs = notification; else msgs.add(notification); - } - return msgs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setSourceClass(SourceClassType newSourceClass) { - if (newSourceClass != sourceClass) { - NotificationChain msgs = null; - if (sourceClass != null) - msgs = ((InternalEObject)sourceClass).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SOURCE_CLASS, null, msgs); - if (newSourceClass != null) - msgs = ((InternalEObject)newSourceClass).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SOURCE_CLASS, null, msgs); - msgs = basicSetSourceClass(newSourceClass, msgs); - if (msgs != null) msgs.dispatch(); - } - else if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SOURCE_CLASS, newSourceClass, newSourceClass)); - } - - /** - * <!-- 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.SYSTEM_EVENT_LISTENER_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_LISTENER_CLASS: - return basicSetSystemEventListenerClass(null, msgs); - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_CLASS: - return basicSetSystemEventClass(null, msgs); - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SOURCE_CLASS: - return basicSetSourceClass(null, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_LISTENER_CLASS: - return getSystemEventListenerClass(); - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_CLASS: - return getSystemEventClass(); - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SOURCE_CLASS: - return getSourceClass(); - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_LISTENER_CLASS: - setSystemEventListenerClass((SystemEventListenerClassType)newValue); - return; - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_CLASS: - setSystemEventClass((SystemEventClassType)newValue); - return; - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SOURCE_CLASS: - setSourceClass((SourceClassType)newValue); - return; - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_LISTENER_CLASS: - setSystemEventListenerClass((SystemEventListenerClassType)null); - return; - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_CLASS: - setSystemEventClass((SystemEventClassType)null); - return; - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SOURCE_CLASS: - setSourceClass((SourceClassType)null); - return; - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_LISTENER_CLASS: - return systemEventListenerClass != null; - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SYSTEM_EVENT_CLASS: - return systemEventClass != null; - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__SOURCE_CLASS: - return sourceClass != null; - case FacesConfigPackage.SYSTEM_EVENT_LISTENER_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //SystemEventListenerTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/TagHandlerDelegateFactoryTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/TagHandlerDelegateFactoryTypeImpl.java deleted file mode 100644 index b5a9c4fa9..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/TagHandlerDelegateFactoryTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.TagHandlerDelegateFactoryType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Tag Handler Delegate Factory Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.TagHandlerDelegateFactoryTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.TagHandlerDelegateFactoryTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class TagHandlerDelegateFactoryTypeImpl extends EObjectImpl implements TagHandlerDelegateFactoryType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 TagHandlerDelegateFactoryTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.TAG_HANDLER_DELEGATE_FACTORY_TYPE; - } - - /** - * <!-- 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.TAG_HANDLER_DELEGATE_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.TAG_HANDLER_DELEGATE_FACTORY_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.TAG_HANDLER_DELEGATE_FACTORY_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.TAG_HANDLER_DELEGATE_FACTORY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.TAG_HANDLER_DELEGATE_FACTORY_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.TAG_HANDLER_DELEGATE_FACTORY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.TAG_HANDLER_DELEGATE_FACTORY_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.TAG_HANDLER_DELEGATE_FACTORY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.TAG_HANDLER_DELEGATE_FACTORY_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.TAG_HANDLER_DELEGATE_FACTORY_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //TagHandlerDelegateFactoryTypeImpl 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 deleted file mode 100644 index 891286adc..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ToViewIdTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.TO_VIEW_ID_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.TO_VIEW_ID_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.TO_VIEW_ID_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.TO_VIEW_ID_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.TO_VIEW_ID_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.TO_VIEW_ID_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.TO_VIEW_ID_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 7e7263f4a..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorClassTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.VALIDATOR_CLASS_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.VALIDATOR_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.VALIDATOR_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.VALIDATOR_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.VALIDATOR_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.VALIDATOR_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.VALIDATOR_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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/ValidatorExtensionTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorExtensionTypeImpl.java deleted file mode 100644 index b3eede872..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorExtensionTypeImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -/*************************************************************************************************** - * 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.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.ValidatorExtensionType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Validator Extension Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * </p> - * - * @generated - */ -public class ValidatorExtensionTypeImpl extends ExtensionTypeImpl implements ValidatorExtensionType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("hiding") - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected ValidatorExtensionTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.VALIDATOR_EXTENSION_TYPE; - } - -} //ValidatorExtensionTypeImpl 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 deleted file mode 100644 index e5f443184..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorIdTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.VALIDATOR_ID_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.VALIDATOR_ID_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.VALIDATOR_ID_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.VALIDATOR_ID_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.VALIDATOR_ID_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.VALIDATOR_ID_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.VALIDATOR_ID_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index 7a266c737..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorTypeImpl.java +++ /dev/null @@ -1,551 +0,0 @@ -/*************************************************************************************************** - * 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.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.ValidatorExtensionType; -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#getValidatorExtension <em>Validator Extension</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"; //$NON-NLS-1$ - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * 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; - - /** - * The cached value of the '{@link #getValidatorExtension() <em>Validator Extension</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getValidatorExtension() - * @generated - * @ordered - */ - protected EList validatorExtension; - - /** - * 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.Literals.VALIDATOR_TYPE; - } - - /** - * <!-- 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 --> - * @param newValidatorId - * @param msgs - * @return the notification chain - * <!-- 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 --> - * @param newValidatorClass - * @param msgs - * @return the notification chain - * <!-- 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 EList getValidatorExtension() { - if (validatorExtension == null) { - validatorExtension = new EObjectContainmentEList(ValidatorExtensionType.class, this, FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_EXTENSION); - } - return validatorExtension; - } - - /** - * <!-- 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, NotificationChain msgs) { - switch (featureID) { - 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); - case FacesConfigPackage.VALIDATOR_TYPE__VALIDATOR_EXTENSION: - return ((InternalEList)getValidatorExtension()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - 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__VALIDATOR_EXTENSION: - return getValidatorExtension(); - case FacesConfigPackage.VALIDATOR_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - 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__VALIDATOR_EXTENSION: - getValidatorExtension().clear(); - getValidatorExtension().addAll((Collection)newValue); - return; - case FacesConfigPackage.VALIDATOR_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - 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__VALIDATOR_EXTENSION: - getValidatorExtension().clear(); - return; - case FacesConfigPackage.VALIDATOR_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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__VALIDATOR_EXTENSION: - return validatorExtension != null && !validatorExtension.isEmpty(); - case FacesConfigPackage.VALIDATOR_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //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 deleted file mode 100644 index 451f90a14..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValueClassTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.VALUE_CLASS_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.VALUE_CLASS_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.VALUE_CLASS_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.VALUE_CLASS_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.VALUE_CLASS_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.VALUE_CLASS_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.VALUE_CLASS_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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 deleted file mode 100644 index ebd907ba9..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValueTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.VALUE_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.VALUE_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.VALUE_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.VALUE_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.VALUE_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.VALUE_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.VALUE_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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/VarTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/VarTypeImpl.java deleted file mode 100644 index fe14763c8..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/VarTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.VarType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Var Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.VarTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.VarTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class VarTypeImpl extends EObjectImpl implements VarType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 VarTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.VAR_TYPE; - } - - /** - * <!-- 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.VAR_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.VAR_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.VAR_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.VAR_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.VAR_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.VAR_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.VAR_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.VAR_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.VAR_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.VAR_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //VarTypeImpl 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 deleted file mode 100644 index 80ce3c2e4..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/VariableResolverTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.VARIABLE_RESOLVER_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.VARIABLE_RESOLVER_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.VARIABLE_RESOLVER_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.VARIABLE_RESOLVER_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.VARIABLE_RESOLVER_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.VARIABLE_RESOLVER_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.VARIABLE_RESOLVER_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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/ViewDeclarationLanguageFactoryTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ViewDeclarationLanguageFactoryTypeImpl.java deleted file mode 100644 index 561c7fc5c..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ViewDeclarationLanguageFactoryTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.ViewDeclarationLanguageFactoryType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>View Declaration Language Factory Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ViewDeclarationLanguageFactoryTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.ViewDeclarationLanguageFactoryTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class ViewDeclarationLanguageFactoryTypeImpl extends EObjectImpl implements ViewDeclarationLanguageFactoryType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 ViewDeclarationLanguageFactoryTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.VIEW_DECLARATION_LANGUAGE_FACTORY_TYPE; - } - - /** - * <!-- 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_DECLARATION_LANGUAGE_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.VIEW_DECLARATION_LANGUAGE_FACTORY_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.VIEW_DECLARATION_LANGUAGE_FACTORY_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.VIEW_DECLARATION_LANGUAGE_FACTORY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.VIEW_DECLARATION_LANGUAGE_FACTORY_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.VIEW_DECLARATION_LANGUAGE_FACTORY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.VIEW_DECLARATION_LANGUAGE_FACTORY_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.VIEW_DECLARATION_LANGUAGE_FACTORY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.VIEW_DECLARATION_LANGUAGE_FACTORY_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.VIEW_DECLARATION_LANGUAGE_FACTORY_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //ViewDeclarationLanguageFactoryTypeImpl 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 deleted file mode 100644 index e6f116365..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ViewHandlerTypeImpl.java +++ /dev/null @@ -1,225 +0,0 @@ -/*************************************************************************************************** - * 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.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"; //$NON-NLS-1$ - - /** - * 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.Literals.VIEW_HANDLER_TYPE; - } - - /** - * <!-- 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(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.VIEW_HANDLER_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.VIEW_HANDLER_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.VIEW_HANDLER_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.VIEW_HANDLER_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.VIEW_HANDLER_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.VIEW_HANDLER_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - 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 super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - 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/impl/VisitContextFactoryTypeImpl.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/VisitContextFactoryTypeImpl.java deleted file mode 100644 index db7a358f4..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/VisitContextFactoryTypeImpl.java +++ /dev/null @@ -1,224 +0,0 @@ -/*************************************************************************************************** - * 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.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; -import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage; -import org.eclipse.jst.jsf.facesconfig.emf.VisitContextFactoryType; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Visit Context Factory Type</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.VisitContextFactoryTypeImpl#getTextContent <em>Text Content</em>}</li> - * <li>{@link org.eclipse.jst.jsf.facesconfig.emf.impl.VisitContextFactoryTypeImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class VisitContextFactoryTypeImpl extends EObjectImpl implements VisitContextFactoryType { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$ - - /** - * 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 VisitContextFactoryTypeImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected EClass eStaticClass() { - return FacesConfigPackage.Literals.VISIT_CONTEXT_FACTORY_TYPE; - } - - /** - * <!-- 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.VISIT_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.VISIT_CONTEXT_FACTORY_TYPE__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case FacesConfigPackage.VISIT_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - return getTextContent(); - case FacesConfigPackage.VISIT_CONTEXT_FACTORY_TYPE__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case FacesConfigPackage.VISIT_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - setTextContent((String)newValue); - return; - case FacesConfigPackage.VISIT_CONTEXT_FACTORY_TYPE__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void eUnset(int featureID) { - switch (featureID) { - case FacesConfigPackage.VISIT_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - setTextContent(TEXT_CONTENT_EDEFAULT); - return; - case FacesConfigPackage.VISIT_CONTEXT_FACTORY_TYPE__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean eIsSet(int featureID) { - switch (featureID) { - case FacesConfigPackage.VISIT_CONTEXT_FACTORY_TYPE__TEXT_CONTENT: - return TEXT_CONTENT_EDEFAULT == null ? textContent != null : !TEXT_CONTENT_EDEFAULT.equals(textContent); - case FacesConfigPackage.VISIT_CONTEXT_FACTORY_TYPE__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated NOT - */ - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (textContent: "); //$NON-NLS-1$ - result.append(textContent); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //VisitContextFactoryTypeImpl diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/package-info.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/package-info.java deleted file mode 100644 index 13588b725..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/package-info.java +++ /dev/null @@ -1,19 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008 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: - * Oracle - initial API and implementation - * - ********************************************************************************/ - -/** - * EMF model implementations for JSF application configuration files (deprecated). - * <p> - * Deprecated - should use interfaces in the org.eclipse.jst.jsf.facesconfig.emf package - * This package will be removed from the MANIFEST.MF as public API in a future release. - */ -package org.eclipse.jst.jsf.facesconfig.emf.impl; |