blob: b9d61dabb197da7c1f78305b56a0d42fb873e7e4 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006, 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.internal.facet;
import org.eclipse.wst.common.frameworks.datamodel.IDataModelProperties;
public interface IJpaFacetDataModelProperties extends IDataModelProperties
{
/**
* Required, type String, identifies Jpa Platform
*/
public static final String PLATFORM_ID = "IJpaFacetDataModelProperties.PLATFORM_ID";
/**
* Not required, type String, identifies database connection
*/
public static final String CONNECTION = "IJpaFacetDataModelProperties.CONNECTION";
/**
* Internal, type IRuntime, identifies runtime associated with project
* Used only in conjunction with validation of other properties, because this information
* is otherwise inaccessible to this data model
*/
public static final String RUNTIME = "IJpaFacetDataModelProperties.RUNTIME";
/**
* Required, type boolean, identifies whether server runtime provides
* JPA implementation
* If this is true, then the property JPA_LIBRARY is not used
*/
public static final String USE_SERVER_JPA_IMPLEMENTATION = "IJpaFacetDataModelProperties.USE_SERVER_JPA_IMPLEMENTATION";
/**
* Not required, type String, identifies JPA implementation library.
* Only used if the property USE_SERVER_JPA_IMPLEMENTATION is false.
*/
public static final String JPA_LIBRARY = "IJpaFacetDataModelProperties.JPA_LIBRARY";
/**
* Required, type boolean, identifies whether all annotated classes are to be automatically
* included as part of all persistence units
*/
public static final String DISCOVER_ANNOTATED_CLASSES = "IJpaFacetDataModelProperties.DISCOVER_ANNOTATED_CLASSES";
/**
* Required, type boolean, details whether orm.xml should be created
*/
public static final String CREATE_ORM_XML = "IJpaFacetDataModelProperties.CREATE_ORM_XML";
}