| /******************************************************************************* |
| * Copyright (c) 2008, 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.eclipselink.core.internal.v1_1.context.orm; |
| |
| import org.eclipse.jpt.core.context.orm.OrmPersistentType; |
| import org.eclipse.jpt.core.resource.orm.XmlTypeMapping; |
| import org.eclipse.jpt.eclipselink.core.internal.context.orm.EclipseLinkEntityMappingsImpl; |
| import org.eclipse.jpt.eclipselink.core.internal.v1_1.EclipseLink1_1JpaFactory; |
| import org.eclipse.jpt.eclipselink.core.v1_1.resource.orm.XmlEntityMappings; |
| |
| public class EclipseLinkEntityMappings1_1 |
| extends EclipseLinkEntityMappingsImpl |
| { |
| |
| public EclipseLinkEntityMappings1_1(EclipseLinkOrmXml1_1 parent, XmlEntityMappings xmlEntityMapping) { |
| super(parent, xmlEntityMapping); |
| } |
| |
| @Override |
| protected OrmPersistentType buildPersistentType(XmlTypeMapping resourceMapping) { |
| return getJpaFactory().buildOrmEclipseLinkPersistentType1_1(this, resourceMapping); |
| } |
| |
| // **************** JpaNode impl ******************************************* |
| |
| @Override |
| protected EclipseLink1_1JpaFactory getJpaFactory() { |
| return (EclipseLink1_1JpaFactory) super.getJpaFactory(); |
| } |
| |
| @Override |
| public EclipseLinkOrmXml1_1 getParent() { |
| return (EclipseLinkOrmXml1_1) super.getParent(); |
| } |
| |
| |
| } |