blob: ca91184ad4b49567d639403ee28a80697d1a05a3 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 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.context;
import org.eclipse.jpt.core.JpaNode;
import org.eclipse.jpt.core.context.orm.EntityMappings;
import org.eclipse.jpt.core.context.orm.OrmPersistentType;
import org.eclipse.jpt.core.context.persistence.PersistenceUnit;
public interface JpaContextNode extends JpaNode
{
PersistenceUnit persistenceUnit();
/**
* Return the EntityMappings if this contextNode is within an orm.xml context
* Return null otherwise.
*/
EntityMappings entityMappings();
OrmPersistentType ormPersistentType();
}