blob: 2bb2ec427c8efe3f60ad6a09268971ecbf466af7 (
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
/**
* <copyright>
*
* Copyright (c) 2005, 2006, 2007, 2008 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 - Initial API and implementation
*
* </copyright>
*
* $Id: Constants.java,v 1.13 2009/11/10 10:06:04 mtaal Exp $
*/
package org.eclipse.emf.teneo;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
/**
* AnnotationUtil used when reading a property file is also used by resources.
*
* @author <a href="mailto:mtaal@elver.org">Martin Taal</a>
* @version $Revision: 1.13 $
*/
public class Constants {
/** StructuralFeatures for TEXT content (part of a mixed complex type) */
public static final EStructuralFeature TEXT = XMLTypePackage.eINSTANCE
.getXMLTypeDocumentRoot_Text();
/** StructuralFeatures for CDATA content (part of a mixed complex type) */
public static final EStructuralFeature CDATA = XMLTypePackage.eINSTANCE
.getXMLTypeDocumentRoot_CDATA();
/** StructuralFeatures for COMMENT content (part of a mixed complex type) */
public static final EStructuralFeature COMMENT = XMLTypePackage.eINSTANCE
.getXMLTypeDocumentRoot_Comment();
/**
* The name under which this connection (PersistenceManagerFactory) is registered
*/
public static final String PROP_NAME = "name";
/** The extension used to find the default editor */
public static final String PROP_EDITOR_EXTENSTION = "editorextension";
/** The id used to find the default editor */
public static final String PROP_EDITOR_ID = "editorid";
/**
* The NS URI of the epackage handled by this database (can be more than one, then should be a
* comma delimited list)
*/
public static final String PROP_EPACKAGE_NSURI = "nsuri";
/** The epackage property */
public static final String PROP_EPACKAGE = "epackage";
/** The database name property */
public static final String PROP_DB_NAME = "dbname";
/** The database user property */
public static final String PROP_DB_USER = "dbuser";
/** The database password property */
public static final String PROP_DB_PWD = "dbpassword";
/** The database driver property */
public static final String PROP_DB_DRIVER = "dbdriver";
/** The database url property */
public static final String PROP_DB_URL = "dburl";
/** The database dialect property */
public static final String PROP_DB_DIALECT = "dbdialect";
/** Denotes the start range from which Elver notifications are derived */
public static final int NOTIFICATION_START_EVENT_TYPE_COUNT = Notification.EVENT_TYPE_COUNT + 1000;
/** Nofitication Used by elver to notify an elist load */
public static final int ELIST_LOAD_NOTIFICATION = NOTIFICATION_START_EVENT_TYPE_COUNT + 1;
public static final String EAV_EOBJECT_ENTITY_NAME = "EAV_EObject";
public static final String EAV_EOBJECT_VALUES = "values";
public final static String COLUMN_ECONTAINER_CLASS = "econtainer_class";
public final static String COLUMN_ECONTAINER = "e_container";
public final static String COLUMN_ECONTAINER_FEATURE_NAME = "e_container_feature_name";
public final static String ANNOTATION_SOURCE_TENEO_JPA = "teneo.jpa";
public final static String ANNOTATION_SOURCE_TENEO_MAPPING = "teneo.mapping";
public final static String ANNOTATION_SOURCE_AUDITING = "teneo.auditing";
public final static String ANNOTATION_KEY_ENTITY_NAME = "teneo.entity.name";
public final static String ANNOTATION_KEY_VALUE = "value";
public final static String ANNOTATION_KEY_APPINFO = "appinfo";
public final static String ANNOTATION_AUDITING_MODELELEMENT = "teneo.auditing.modelelement";
public final static String ANNOTATION_AUDITING_MODELELEMENT_AUDITING = "teneo.auditing.modelelement.auditing";
public final static String ANNOTATION_AUDITING_NOT = "@NoAuditing";
public final static String ANNOTATION_SOURCE_TENEO_JPA_AUDITING = "teneo.jpa.auditing";
}
|