| /******************************************************************************* |
| * 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.eclipselink1_1.core.internal.resource.orm.translators; |
| |
| import org.eclipse.emf.ecore.EStructuralFeature; |
| import org.eclipse.wst.common.internal.emf.resource.Translator; |
| |
| public class EclipseLinkEmbeddableTranslator extends org.eclipse.jpt.eclipselink.core.internal.resource.orm.translators.EclipseLinkEmbeddableTranslator |
| implements EclipseLink1_1OrmXmlMapper |
| { |
| public EclipseLinkEmbeddableTranslator(String domNameAndPath, EStructuralFeature aFeature) { |
| super(domNameAndPath, aFeature); |
| } |
| |
| @Override |
| protected Translator createAttributesTranslator() { |
| return new EclipseLinkAttributesTranslator(ATTRIBUTES, ORM_PKG.getXmlTypeMapping_Attributes()); |
| } |
| } |