Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e35d5032bba11ab434fd1d0719e4c2d772317fa6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*******************************************************************************
 * Copyright (c) 2006 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.content.persistence.resource;

public interface PersistenceXMLMapper
{
	String XML_NS = "xmlns";  //$NON-NLS-1$
	String XML_NS_XSI = "xmlns:xsi";  //$NON-NLS-1$
	String XSI_SCHEMA_LOCATION = "xsi:schemaLocation";  //$NON-NLS-1$
	String XSI_NS_URL = "http://www.w3.org/2001/XMLSchema-instance";  //$NON-NLS-1$
	String PERSISTENCE_NS_URL = "http://java.sun.com/xml/ns/persistence";  //$NON-NLS-1$
	String PERSISTENCE_SCHEMA_LOC_1_0 = "http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";  //$NON-NLS-1$
	
	
	String PERSISTENCE = "persistence";  //$NON-NLS-1$
	String PERSISTENCE_VERSION = "version";  //$NON-NLS-1$
	String PERSISTENCE_UNIT = "persistence-unit";  //$NON-NLS-1$
	String PERSISTENCE_UNIT_NAME = "name";  //$NON-NLS-1$
	String PERSISTENCE_UNIT_DESCRIPTION = "description";  //$NON-NLS-1$
	String PERSISTENCE_UNIT_PROVIDER = "provider";  //$NON-NLS-1$
	String JTA_DATA_SOURCE = "jta-data-source";  //$NON-NLS-1$
	String NON_JTA_DATA_SOURCE = "non-jta-data-source";  //$NON-NLS-1$
	String MAPPING_FILE = "mapping-file";  //$NON-NLS-1$
	String JAR_FILE = "jar-file";  //$NON-NLS-1$
	String CLASS = "class";  //$NON-NLS-1$
	String EXCLUDE_UNLISTED_CLASSES = "exclude-unlisted-classes";  //$NON-NLS-1$
	String PROPERTIES = "properties";  //$NON-NLS-1$
	String PROPERTY = "property";  //$NON-NLS-1$
	String PROPERTY_NAME = "name";  //$NON-NLS-1$
	String PROPERTY_VALUE = "value";  //$NON-NLS-1$
	String TRANSACTION_TYPE = "transaction-type";  //$NON-NLS-1$
}

Back to the top