/******************************************************************************* * Copyright (c) 2009 Oracle. * All rights reserved. This program and the accompanying materials are * made available under the terms 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 *******************************************************************************/ package org.eclipse.jpt.core.resource.orm; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EStructuralFeature; import org.eclipse.jpt.core.internal.utility.translators.SimpleTranslator; import org.eclipse.jpt.core.resource.orm.v2_0.XmlCollectionTable_2_0; import org.eclipse.wst.common.internal.emf.resource.Translator; /** * * A representation of the model object 'Xml Collection Table'. * * * * @see org.eclipse.jpt.core.resource.orm.OrmPackage#getXmlCollectionTable() * @model kind="class" * @generated */ public class XmlCollectionTable extends AbstractXmlReferenceTable implements XmlCollectionTable_2_0 { /** * * * @generated */ protected XmlCollectionTable() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return OrmPackage.Literals.XML_COLLECTION_TABLE; } // ********** translators ********** public static Translator buildTranslator(String elementName, EStructuralFeature structuralFeature) { return new SimpleTranslator(elementName, structuralFeature, buildTranslatorChildren()); } private static Translator[] buildTranslatorChildren() { return new Translator[] { buildNameTranslator(), buildCatalogTranslator(), buildSchemaTranslator(), buildJoinColumnTranslator(), buildUniqueConstraintTranslator() }; } }