| /*******************************************************************************
|
| * Copyright (c) 2012, 2013 Oracle. All rights reserved.
|
| * This program and the accompanying materials are made available under the
|
| * terms of the Eclipse Public License 2.0, which accompanies this distribution
|
| * and is available at https://www.eclipse.org/legal/epl-2.0/
|
| *
|
| * SPDX-License-Identifier: EPL-2.0
|
| *
|
| * Contributors:
|
| * Oracle - initial API and implementation
|
| *******************************************************************************/ |
| package org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm;
|
|
|
| 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.util.EObjectContainmentEList;
|
| import org.eclipse.emf.ecore.util.InternalEList;
|
| import org.eclipse.emf.ecore.EObject;
|
| import org.eclipse.emf.ecore.EStructuralFeature;
|
| import org.eclipse.wst.common.internal.emf.resource.Translator;
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * A representation of the model object '<em><b>EXml Transformation</b></em>'.
|
| * <!-- end-user-doc -->
|
| *
|
| * <p>
|
| * The following features are supported:
|
| * <ul>
|
| * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#isOptional <em>Optional</em>}</li>
|
| * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#getXmlReadTransformer <em>Xml Read Transformer</em>}</li>
|
| * <li>{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#getXmlWriteTransformers <em>Xml Write Transformers</em>}</li>
|
| * </ul>
|
| * </p>
|
| *
|
| * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlTransformation()
|
| * @model kind="class"
|
| * @generated
|
| */
|
| public class EXmlTransformation extends EJavaAttribute implements EAccessibleJavaAttribute, EPropertyHolder
|
| {
|
| /**
|
| * The cached value of the '{@link #getXmlAccessMethods() <em>Xml Access Methods</em>}' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @see #getXmlAccessMethods()
|
| * @generated
|
| * @ordered
|
| */
|
| protected EXmlAccessMethods xmlAccessMethods;
|
| /**
|
| * The cached value of the '{@link #getXmlProperties() <em>Xml Properties</em>}' containment reference list.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @see #getXmlProperties()
|
| * @generated
|
| * @ordered
|
| */
|
| protected EList<EXmlProperty> xmlProperties;
|
| /**
|
| * The default value of the '{@link #isOptional() <em>Optional</em>}' attribute.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @see #isOptional()
|
| * @generated
|
| * @ordered
|
| */
|
| protected static final boolean OPTIONAL_EDEFAULT = false;
|
| /**
|
| * The cached value of the '{@link #isOptional() <em>Optional</em>}' attribute.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @see #isOptional()
|
| * @generated
|
| * @ordered
|
| */
|
| protected boolean optional = OPTIONAL_EDEFAULT;
|
| /**
|
| * The cached value of the '{@link #getXmlReadTransformer() <em>Xml Read Transformer</em>}' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @see #getXmlReadTransformer()
|
| * @generated
|
| * @ordered
|
| */
|
| protected EXmlReadTransformer xmlReadTransformer;
|
| /**
|
| * The cached value of the '{@link #getXmlWriteTransformers() <em>Xml Write Transformers</em>}' containment reference list.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @see #getXmlWriteTransformers()
|
| * @generated
|
| * @ordered
|
| */
|
| protected EList<EXmlWriteTransformer> xmlWriteTransformers;
|
|
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @generated
|
| */
|
| protected EXmlTransformation()
|
| {
|
| super();
|
| }
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @generated
|
| */
|
| @Override
|
| protected EClass eStaticClass()
|
| {
|
| return OxmPackage.Literals.EXML_TRANSFORMATION;
|
| }
|
|
|
|
|
| /**
|
| * Returns the value of the '<em><b>Xml Access Methods</b></em>' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Xml Access Methods</em>' containment reference isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Xml Access Methods</em>' containment reference.
|
| * @see #setXmlAccessMethods(EXmlAccessMethods)
|
| * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEAccessibleJavaAttribute_XmlAccessMethods()
|
| * @model containment="true"
|
| * @generated
|
| */
|
| public EXmlAccessMethods getXmlAccessMethods()
|
| {
|
| return xmlAccessMethods;
|
| }
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @generated
|
| */
|
| public NotificationChain basicSetXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods, NotificationChain msgs)
|
| {
|
| EXmlAccessMethods oldXmlAccessMethods = xmlAccessMethods;
|
| xmlAccessMethods = newXmlAccessMethods;
|
| if (eNotificationRequired())
|
| {
|
| ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS, oldXmlAccessMethods, newXmlAccessMethods);
|
| if (msgs == null) msgs = notification; else msgs.add(notification);
|
| }
|
| return msgs;
|
| }
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#getXmlAccessMethods <em>Xml Access Methods</em>}' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Xml Access Methods</em>' containment reference.
|
| * @see #getXmlAccessMethods()
|
| * @generated
|
| */
|
| public void setXmlAccessMethods(EXmlAccessMethods newXmlAccessMethods)
|
| {
|
| if (newXmlAccessMethods != xmlAccessMethods)
|
| {
|
| NotificationChain msgs = null;
|
| if (xmlAccessMethods != null)
|
| msgs = ((InternalEObject)xmlAccessMethods).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS, null, msgs);
|
| if (newXmlAccessMethods != null)
|
| msgs = ((InternalEObject)newXmlAccessMethods).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS, null, msgs);
|
| msgs = basicSetXmlAccessMethods(newXmlAccessMethods, msgs);
|
| if (msgs != null) msgs.dispatch();
|
| }
|
| else if (eNotificationRequired())
|
| eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS, newXmlAccessMethods, newXmlAccessMethods));
|
| }
|
|
|
| /**
|
| * Returns the value of the '<em><b>Xml Properties</b></em>' containment reference list.
|
| * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlProperty}.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Xml Properties</em>' containment reference list isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Xml Properties</em>' containment reference list.
|
| * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEPropertyHolder_XmlProperties()
|
| * @model containment="true"
|
| * @generated
|
| */
|
| public EList<EXmlProperty> getXmlProperties()
|
| {
|
| if (xmlProperties == null)
|
| {
|
| xmlProperties = new EObjectContainmentEList<EXmlProperty>(EXmlProperty.class, this, OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES);
|
| }
|
| return xmlProperties;
|
| }
|
|
|
| /**
|
| * Returns the value of the '<em><b>Optional</b></em>' attribute.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Optional</em>' attribute isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Optional</em>' attribute.
|
| * @see #setOptional(boolean)
|
| * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlTransformation_Optional()
|
| * @model
|
| * @generated
|
| */
|
| public boolean isOptional()
|
| {
|
| return optional;
|
| }
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#isOptional <em>Optional</em>}' attribute.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Optional</em>' attribute.
|
| * @see #isOptional()
|
| * @generated
|
| */
|
| public void setOptional(boolean newOptional)
|
| {
|
| boolean oldOptional = optional;
|
| optional = newOptional;
|
| if (eNotificationRequired())
|
| eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TRANSFORMATION__OPTIONAL, oldOptional, optional));
|
| }
|
|
|
| /**
|
| * Returns the value of the '<em><b>Xml Read Transformer</b></em>' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Xml Read Transformer</em>' containment reference isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Xml Read Transformer</em>' containment reference.
|
| * @see #setXmlReadTransformer(EXmlReadTransformer)
|
| * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlTransformation_XmlReadTransformer()
|
| * @model containment="true"
|
| * @generated
|
| */
|
| public EXmlReadTransformer getXmlReadTransformer()
|
| {
|
| return xmlReadTransformer;
|
| }
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @generated
|
| */
|
| public NotificationChain basicSetXmlReadTransformer(EXmlReadTransformer newXmlReadTransformer, NotificationChain msgs)
|
| {
|
| EXmlReadTransformer oldXmlReadTransformer = xmlReadTransformer;
|
| xmlReadTransformer = newXmlReadTransformer;
|
| if (eNotificationRequired())
|
| {
|
| ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER, oldXmlReadTransformer, newXmlReadTransformer);
|
| if (msgs == null) msgs = notification; else msgs.add(notification);
|
| }
|
| return msgs;
|
| }
|
|
|
| /**
|
| * Sets the value of the '{@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlTransformation#getXmlReadTransformer <em>Xml Read Transformer</em>}' containment reference.
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @param value the new value of the '<em>Xml Read Transformer</em>' containment reference.
|
| * @see #getXmlReadTransformer()
|
| * @generated
|
| */
|
| public void setXmlReadTransformer(EXmlReadTransformer newXmlReadTransformer)
|
| {
|
| if (newXmlReadTransformer != xmlReadTransformer)
|
| {
|
| NotificationChain msgs = null;
|
| if (xmlReadTransformer != null)
|
| msgs = ((InternalEObject)xmlReadTransformer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER, null, msgs);
|
| if (newXmlReadTransformer != null)
|
| msgs = ((InternalEObject)newXmlReadTransformer).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER, null, msgs);
|
| msgs = basicSetXmlReadTransformer(newXmlReadTransformer, msgs);
|
| if (msgs != null) msgs.dispatch();
|
| }
|
| else if (eNotificationRequired())
|
| eNotify(new ENotificationImpl(this, Notification.SET, OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER, newXmlReadTransformer, newXmlReadTransformer));
|
| }
|
|
|
| /**
|
| * Returns the value of the '<em><b>Xml Write Transformers</b></em>' containment reference list.
|
| * The list contents are of type {@link org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.EXmlWriteTransformer}.
|
| * <!-- begin-user-doc -->
|
| * <p>
|
| * If the meaning of the '<em>Xml Write Transformers</em>' containment reference list isn't clear,
|
| * there really should be more of a description here...
|
| * </p>
|
| * <!-- end-user-doc -->
|
| * @return the value of the '<em>Xml Write Transformers</em>' containment reference list.
|
| * @see org.eclipse.jpt.jaxb.eclipselink.core.resource.oxm.OxmPackage#getEXmlTransformation_XmlWriteTransformers()
|
| * @model containment="true"
|
| * @generated
|
| */
|
| public EList<EXmlWriteTransformer> getXmlWriteTransformers()
|
| {
|
| if (xmlWriteTransformers == null)
|
| {
|
| xmlWriteTransformers = new EObjectContainmentEList<EXmlWriteTransformer>(EXmlWriteTransformer.class, this, OxmPackage.EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS);
|
| }
|
| return xmlWriteTransformers;
|
| }
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @generated
|
| */
|
| @Override
|
| public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
|
| {
|
| switch (featureID)
|
| {
|
| case OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS:
|
| return basicSetXmlAccessMethods(null, msgs);
|
| case OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES:
|
| return ((InternalEList<?>)getXmlProperties()).basicRemove(otherEnd, msgs);
|
| case OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER:
|
| return basicSetXmlReadTransformer(null, msgs);
|
| case OxmPackage.EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS:
|
| return ((InternalEList<?>)getXmlWriteTransformers()).basicRemove(otherEnd, msgs);
|
| }
|
| return super.eInverseRemove(otherEnd, featureID, msgs);
|
| }
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @generated
|
| */
|
| @Override
|
| public Object eGet(int featureID, boolean resolve, boolean coreType)
|
| {
|
| switch (featureID)
|
| {
|
| case OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS:
|
| return getXmlAccessMethods();
|
| case OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES:
|
| return getXmlProperties();
|
| case OxmPackage.EXML_TRANSFORMATION__OPTIONAL:
|
| return isOptional();
|
| case OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER:
|
| return getXmlReadTransformer();
|
| case OxmPackage.EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS:
|
| return getXmlWriteTransformers();
|
| }
|
| return super.eGet(featureID, resolve, coreType);
|
| }
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @generated
|
| */
|
| @SuppressWarnings("unchecked")
|
| @Override
|
| public void eSet(int featureID, Object newValue)
|
| {
|
| switch (featureID)
|
| {
|
| case OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS:
|
| setXmlAccessMethods((EXmlAccessMethods)newValue);
|
| return;
|
| case OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES:
|
| getXmlProperties().clear();
|
| getXmlProperties().addAll((Collection<? extends EXmlProperty>)newValue);
|
| return;
|
| case OxmPackage.EXML_TRANSFORMATION__OPTIONAL:
|
| setOptional((Boolean)newValue);
|
| return;
|
| case OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER:
|
| setXmlReadTransformer((EXmlReadTransformer)newValue);
|
| return;
|
| case OxmPackage.EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS:
|
| getXmlWriteTransformers().clear();
|
| getXmlWriteTransformers().addAll((Collection<? extends EXmlWriteTransformer>)newValue);
|
| return;
|
| }
|
| super.eSet(featureID, newValue);
|
| }
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @generated
|
| */
|
| @Override
|
| public void eUnset(int featureID)
|
| {
|
| switch (featureID)
|
| {
|
| case OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS:
|
| setXmlAccessMethods((EXmlAccessMethods)null);
|
| return;
|
| case OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES:
|
| getXmlProperties().clear();
|
| return;
|
| case OxmPackage.EXML_TRANSFORMATION__OPTIONAL:
|
| setOptional(OPTIONAL_EDEFAULT);
|
| return;
|
| case OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER:
|
| setXmlReadTransformer((EXmlReadTransformer)null);
|
| return;
|
| case OxmPackage.EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS:
|
| getXmlWriteTransformers().clear();
|
| return;
|
| }
|
| super.eUnset(featureID);
|
| }
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @generated
|
| */
|
| @Override
|
| public boolean eIsSet(int featureID)
|
| {
|
| switch (featureID)
|
| {
|
| case OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS:
|
| return xmlAccessMethods != null;
|
| case OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES:
|
| return xmlProperties != null && !xmlProperties.isEmpty();
|
| case OxmPackage.EXML_TRANSFORMATION__OPTIONAL:
|
| return optional != OPTIONAL_EDEFAULT;
|
| case OxmPackage.EXML_TRANSFORMATION__XML_READ_TRANSFORMER:
|
| return xmlReadTransformer != null;
|
| case OxmPackage.EXML_TRANSFORMATION__XML_WRITE_TRANSFORMERS:
|
| return xmlWriteTransformers != null && !xmlWriteTransformers.isEmpty();
|
| }
|
| return super.eIsSet(featureID);
|
| }
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @generated
|
| */
|
| @Override
|
| public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
|
| {
|
| if (baseClass == EAccessibleJavaAttribute.class)
|
| {
|
| switch (derivedFeatureID)
|
| {
|
| case OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS: return OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS;
|
| default: return -1;
|
| }
|
| }
|
| if (baseClass == EPropertyHolder.class)
|
| {
|
| switch (derivedFeatureID)
|
| {
|
| case OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES: return OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES;
|
| default: return -1;
|
| }
|
| }
|
| return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
|
| }
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @generated
|
| */
|
| @Override
|
| public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
|
| {
|
| if (baseClass == EAccessibleJavaAttribute.class)
|
| {
|
| switch (baseFeatureID)
|
| {
|
| case OxmPackage.EACCESSIBLE_JAVA_ATTRIBUTE__XML_ACCESS_METHODS: return OxmPackage.EXML_TRANSFORMATION__XML_ACCESS_METHODS;
|
| default: return -1;
|
| }
|
| }
|
| if (baseClass == EPropertyHolder.class)
|
| {
|
| switch (baseFeatureID)
|
| {
|
| case OxmPackage.EPROPERTY_HOLDER__XML_PROPERTIES: return OxmPackage.EXML_TRANSFORMATION__XML_PROPERTIES;
|
| default: return -1;
|
| }
|
| }
|
| return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
|
| }
|
|
|
| /**
|
| * <!-- begin-user-doc -->
|
| * <!-- end-user-doc -->
|
| * @generated
|
| */
|
| @Override
|
| public String toString()
|
| {
|
| if (eIsProxy()) return super.toString();
|
|
|
| StringBuffer result = new StringBuffer(super.toString());
|
| result.append(" (optional: ");
|
| result.append(optional);
|
| result.append(')');
|
| return result.toString();
|
| }
|
|
|
|
|
| // ***** misc *****
|
|
|
| @Override
|
| public String getElementName() {
|
| return Oxm.XML_TRANSFORMATION;
|
| }
|
|
|
|
|
| // ***** translators *****
|
|
|
| static class XmlTransformationTranslator
|
| extends AbstractJavaAttributeTranslator {
|
|
|
| XmlTransformationTranslator(String domPathAndName, EStructuralFeature eStructuralFeature) {
|
| super(domPathAndName, eStructuralFeature, buildTranslatorChildren());
|
| }
|
|
|
| private static Translator[] buildTranslatorChildren() {
|
| return new Translator[] {
|
| buildJavaAttributeTranslator(),
|
| buildXmlAccessorTypeTranslator()
|
| };
|
| }
|
|
|
| @Override
|
| public EObject createEMFObject(String nodeName, String readAheadName) {
|
| return OxmFactory.eINSTANCE.createEXmlTransformation();
|
| }
|
| }
|
| }
|