Skip to main content
summaryrefslogtreecommitdiffstats
blob: b3dd7358b329de7e9decb9a46cb110bf16da0693 (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/**
 * <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
 *   Davide Marchignoli
 * </copyright>
 *
 * $Id: HbMapperConstants.java,v 1.4 2007/02/01 12:35:55 mtaal Exp $
 */

package org.eclipse.emf.teneo.hibernate.mapper;

/**
 * Constants used by the hibernate mapper
 * 
 * @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
 * @version $Revision: 1.4 $
 */
public class HbMapperConstants {
	/** The expected parameter name which contains the enum class name */
	public static final String ENUM_CLASS_PARAM = "enumClass";

	/** The expected parameter name which contains the enum class name */
	public static final String EPACKAGE_PARAM = "epackage";

	public static final String ECLASSIFIER_PARAM = "eclassifier";

	/**
	 * Name of the Hibernate type param that holds the name of the EMF attribute for the EMF custom data type.
	 */
	public static final String EDATATYPE_PARAM = "edatatype";

	/** Name used for the feature property in the featuremap entry */
	public static final String PROPERTY_FEATURE = "fme_feature";

	/** Name used for the text property in a mixed featuremap entry */
	public static final String PROPERTY_MIXED_TEXT = "fme_mixed_text";

	/** Name used for the text property in a mixed featuremap entry */
	public static final String PROPERTY_MIXED_COMMENT = "fme_mixed_comment";

	/** Name used for the text property in a mixed featuremap entry */
	public static final String PROPERTY_MIXED_CDATA = "fme_mixed_cdata";

	/**
	 * Name used for the eclass meta data
	 * 
	 * @deprecated replaced by FEATUREMAP_META
	 */
	public static final String ECLASS_META = "eclass";

	/** Used to tag an entity as a featuremap */
	public static final String FEATUREMAP_META = "featureMap";

	/** Name used for the eclass meta data */
	public static final String ECLASS_NAME_META = "eclassName";

	/** Name used for the epackage meta data */
	public static final String EPACKAGE_META = "epackage";

	/** The meta attribute for a synthetic id */
	public static final String ID_META = "syntheticId";

	/** The meta attribute for a synthetic version */
	public static final String VERSION_META = "syntheticVersion";
}

Back to the top