KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > oracle > toplink > essentials > internal > ejb > cmp3 > xml > XMLConstants


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the "License"). You may not use this file except
5  * in compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * glassfish/bootstrap/legal/CDDLv1.0.txt or
9  * https://glassfish.dev.java.net/public/CDDLv1.0.html.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * HEADER in each file and include the License file at
15  * glassfish/bootstrap/legal/CDDLv1.0.txt. If applicable,
16  * add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your
18  * own identifying information: Portions Copyright [yyyy]
19  * [name of copyright owner]
20  */

21 // Copyright (c) 1998, 2006, Oracle. All rights reserved.
22
package oracle.toplink.essentials.internal.ejb.cmp3.xml;
23
24 /**
25  * INTERNAL:
26  * Static values for XML processing.
27  */

28 public class XMLConstants {
29     // miscellaneous values
30
public static final String JavaDoc FIELD = "FIELD";
31     public static final String JavaDoc JAXP_SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
32     public static final String JavaDoc ORM_SCHEMA_NAME = "orm_1_0.xsd";
33     public static final String JavaDoc PERSISTENCE_SCHEMA_NAME = "persistence_1_0.xsd";
34     public static final String JavaDoc SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
35     public static final String JavaDoc VALIDATING = "http://xml.org/sax/features/validation";
36     public static final String JavaDoc XML_SCHEMA = "http://www.w3.org/2001/XMLSchema";
37     public static final String JavaDoc ALL = "ALL";
38     public static final String JavaDoc ALL_CHILDREN = "child::*";
39     public static final String JavaDoc CALLBACK_METHODS = "CALLBACK_METHODS";
40     public static final String JavaDoc DEFAULT_TEMPORAL = "TIMESTAMP";
41     public static final String JavaDoc ENTITIES_TO_DEFAULT = "entitiesToDefault";
42     public static final String JavaDoc ENTITIES_TO_PROCESS = "entitiesToProcess";
43     public static final String JavaDoc ORDINAL = "ORDINAL";
44     public static final String JavaDoc PROPERTY = "PROPERTY";
45     public static final String JavaDoc SET = "set";
46     public static final String JavaDoc SINGLE_TABLE = "SINGLE_TABLE";
47     public static final String JavaDoc TABLE_PER_CLASS = "TABLE_PER_CLASS";
48     public static final String JavaDoc TEXT = "text()";
49     
50     // attribute values
51
public static final String JavaDoc ATT_ACCESS = "@access";
52     public static final String JavaDoc ATT_ALLOCATION_SIZE = "@allocation-size";
53     public static final String JavaDoc ATT_CATALOG = "@catalog";
54     public static final String JavaDoc ATT_CLASS = "@class";
55     public static final String JavaDoc ATT_COLUMN = "@column";
56     public static final String JavaDoc ATT_COLUMN_DEFINITION = "@column-definition";
57     public static final String JavaDoc ATT_DISCRIMINATOR_COLUMN = "@discriminator-column";
58     public static final String JavaDoc ATT_DISCRIMINATOR_TYPE = "@discriminator-type";
59     public static final String JavaDoc ATT_ENTITY_CLASS = "@entity-class";
60     public static final String JavaDoc ATT_FETCH = "@fetch";
61     public static final String JavaDoc ATT_GENERATOR = "@generator";
62     public static final String JavaDoc ATT_INITIAL_VALUE = "@initial-value";
63     public static final String JavaDoc ATT_INSERTABLE = "@insertable";
64     public static final String JavaDoc ATT_LENGTH = "@length";
65     public static final String JavaDoc ATT_MAPPED_BY = "@mapped-by";
66     public static final String JavaDoc ATT_METADATA_COMPLETE = "@metadata-complete";
67     public static final String JavaDoc ATT_METHOD_NAME = "@method-name";
68     public static final String JavaDoc ATT_NAME = "@name";
69     public static final String JavaDoc ATT_NULLABLE = "@nullable";
70     public static final String JavaDoc ATT_OPTIONAL = "@optional";
71     public static final String JavaDoc ATT_PK_COLUMN_NAME = "@pk-column-name";
72     public static final String JavaDoc ATT_PK_COLUMN_VALUE = "@pk-column-value";
73     public static final String JavaDoc ATT_PRECISION = "@precision";
74     public static final String JavaDoc ATT_REFERENCED_COLUMN_NAME = "@referenced-column-name";
75     public static final String JavaDoc ATT_RESULT_CLASS = "@result-class";
76     public static final String JavaDoc ATT_RESULT_SET_MAPPING = "@result-set-mapping";
77     public static final String JavaDoc ATT_SCALE = "@scale";
78     public static final String JavaDoc ATT_SCHEMA = "@schema";
79     public static final String JavaDoc ATT_SECONDARY_TABLE = "@secondary-table";
80     public static final String JavaDoc ATT_TABLE = "@table";
81     public static final String JavaDoc ATT_SEQUENCE_NAME = "@sequence-name";
82     public static final String JavaDoc ATT_STRATEGY = "@strategy";
83     public static final String JavaDoc ATT_TARGET_ENTITY = "@target-entity";
84     public static final String JavaDoc ATT_UNIQUE = "@unique";
85     public static final String JavaDoc ATT_UPDATABLE = "@updatable";
86     public static final String JavaDoc ATT_VALUE = "@value";
87     public static final String JavaDoc ATT_VALUE_COLUMN_NAME = "@value-column-name";
88     public static final String JavaDoc ATT_VERSION = "@version";
89
90     // element/complex-type values
91
public static final String JavaDoc ACCESS = "access";
92     public static final String JavaDoc ATTRIBUTES = "attributes";
93     public static final String JavaDoc ASSOCIATION_OVERRIDE = "association-override";
94     public static final String JavaDoc ATTRIBUTE_OVERRIDE = "attribute-override";
95     public static final String JavaDoc BASIC = "basic";
96     public static final String JavaDoc CASCADE = "cascade";
97     public static final String JavaDoc CASCADE_PERSIST = "cascade-persist";
98     public static final String JavaDoc CATALOG = "catalog";
99     public static final String JavaDoc COLUMN = "column";
100     public static final String JavaDoc COLUMN_NAME = "column-name";
101     public static final String JavaDoc COLUMN_RESULT = "column-result";
102     public static final String JavaDoc DEFAULT_ENTITY_LISTENERS = "default-entity-listeners";
103     public static final String JavaDoc DESCRIPTION = "description";
104     public static final String JavaDoc DISCRIMINATOR_COLUMN = "discriminator-column";
105     public static final String JavaDoc DISCRIMINATOR_VALUE = "discriminator-value";
106     public static final String JavaDoc EMBEDDED = "embedded";
107     public static final String JavaDoc EMBEDDED_ID = "embedded-id";
108     public static final String JavaDoc EMBEDDABLE = "embeddable";
109     public static final String JavaDoc EMBEDDABLE_ATTRIBUTE = "embeddable-attribute";
110     public static final String JavaDoc ENTITY = "entity";
111     public static final String JavaDoc ENTITY_LISTENER = "entity-listener";
112     public static final String JavaDoc ENTITY_LISTENERS = "entity-listeners";
113     public static final String JavaDoc ENTITY_MAPPINGS = "entity-mappings";
114     public static final String JavaDoc ENTITY_RESULT = "entity-result";
115     public static final String JavaDoc ENUMERATED = "enumerated";
116     public static final String JavaDoc EXCLUDE_DEFAULT_LISTENERS = "exclude-default-listeners";
117     public static final String JavaDoc EXCLUDE_SUPERCLASS_LISTENERS = "exclude-superclass-listeners";
118     public static final String JavaDoc FIELD_RESULT = "field-result";
119     public static final String JavaDoc FLUSH_MODE = "flush-mode";
120     public static final String JavaDoc GENERATED_VALUE = "generated-value";
121     public static final String JavaDoc ID = "id";
122     public static final String JavaDoc ID_CLASS = "id-class";
123     public static final String JavaDoc INHERITANCE = "inheritance";
124     public static final String JavaDoc INVERSE_JOIN_COLUMN = "inverse-join-column";
125     public static final String JavaDoc JOIN_COLUMN = "join-column";
126     public static final String JavaDoc JOIN_TABLE = "join-table";
127     public static final String JavaDoc LOB = "lob";
128     public static final String JavaDoc MANY_TO_MANY = "many-to-many";
129     public static final String JavaDoc MANY_TO_ONE = "many-to-one";
130     public static final String JavaDoc MAPKEY = "map-key";
131     public static final String JavaDoc MAPPED_SUPERCLASS = "mapped-superclass";
132     public static final String JavaDoc METADATA_COMPLETE = "xml-mapping-metadata-complete";
133     public static final String JavaDoc NAMED_NATIVE_QUERY = "named-native-query";
134     public static final String JavaDoc NAMED_QUERY = "named-query";
135     public static final String JavaDoc ONE_TO_MANY = "one-to-many";
136     public static final String JavaDoc ONE_TO_ONE = "one-to-one";
137     public static final String JavaDoc ORDER_BY = "order-by";
138     public static final String JavaDoc PACKAGE = "package";
139     public static final String JavaDoc PK_JOIN_COLUMN = "primary-key-join-column";
140     public static final String JavaDoc POST_LOAD = "post-load";
141     public static final String JavaDoc POST_PERSIST = "post-persist";
142     public static final String JavaDoc POST_REMOVE = "post-remove";
143     public static final String JavaDoc POST_UPDATE = "post-update";
144     public static final String JavaDoc PRE_PERSIST = "pre-persist";
145     public static final String JavaDoc PRE_REMOVE = "pre-remove";
146     public static final String JavaDoc PRE_UPDATE = "pre-update";
147     public static final String JavaDoc PU_DEFAULTS = "persistence-unit-defaults";
148     public static final String JavaDoc PU_METADATA = "persistence-unit-metadata";
149     public static final String JavaDoc QUERY = "query";
150     public static final String JavaDoc QUERY_HINT = "hint";
151     public static final String JavaDoc SCHEMA = "schema";
152     public static final String JavaDoc SECONDARY_TABLE = "secondary-table";
153     public static final String JavaDoc SEQUENCE_GENERATOR = "sequence-generator";
154     public static final String JavaDoc SQL_RESULT_SET_MAPPING = "sql-result-set-mapping";
155     public static final String JavaDoc TABLE = "table";
156     public static final String JavaDoc TABLE_GENERATOR = "table-generator";
157     public static final String JavaDoc TEMPORAL = "temporal";
158     public static final String JavaDoc TRANSIENT = "transient";
159     public static final String JavaDoc UNIQUE_CONSTRAINTS = "unique-constraint";
160     public static final String JavaDoc VERSION = "version";
161 }
162
Popular Tags