Skip to main content
summaryrefslogtreecommitdiffstats
blob: fffc81c068b23ef9ff8efd4a3e267dee2d79da9b (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/**
 * <copyright>
 *
 * Copyright (c) 2005, 2006, 2007 Springsite BV (The Netherlands) and others
 * 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:
 *   Martin Taal
 * </copyright>
 *
 * $Id: JpoxConstants.java,v 1.2 2007/02/01 12:36:36 mtaal Exp $
 */

package org.eclipse.emf.teneo.jpox;

/**
 * Contains different constants.
 * 
 * @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
 * @version $Revision: 1.2 $ $Date: 2007/02/01 12:36:36 $
 */

public class JpoxConstants {
	/** Extension of the ejdo property file */
	public static final String EJDO_EXTENSION = "ejdo";

	/** Default name of the jdo file */
	public static final String DEFAULT_JDO_FILENAME = "package.jdo";

	/** The ex/import format from and to xml */
	public final static int EXCHANGE_FORMAT_XML = 0;

	/** The ex/import format from and to xmi */
	public final static int EXCHANGE_FORMAT_XMI = 1;

	/**
	 * The additional suffix added to a datastore name to get the extension for which the JPOXResourceDAOFActory is
	 * registered.
	 */
	public static final String DAO_SUFFIX = "dao";

	/** Separator between package and the extension */
	public static final char EXTENSION_SEPARATOR = '.';

	/** The prefix is package */
	public static final String PREFIX_PACKAGE = "package";

	/** An option which can be used to pass a package.jdo file location to the pmf creation */
	public static final String PACKAGE_JDO_LOCATION = "org.eclipse.emf.teneo.jpox.jdolocation";
}

Back to the top