01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: */
19: package org.apache.openjpa.persistence;
20:
21: /////////////////////////////////////////////////////////
22: // NOTE: when adding a new type, make sure to update the
23: // table in PersistenceMetaDataParser
24: /////////////////////////////////////////////////////////
25:
26: /**
27: * Set of metadata tags used in JPA.
28: *
29: * @author Abe White
30: * @nojavadoc
31: */
32: public enum MetaDataTag {
33: // sorted by XML order
34: MAPPED_SUPERCLASS, ENTITY, EMBEDDABLE, ENTITY_LISTENERS, FLUSH_MODE, GENERATED_VALUE, ID, EMBEDDED_ID, EXCLUDE_DEFAULT_LISTENERS, EXCLUDE_SUPERCLASS_LISTENERS, ID_CLASS, LOB, MAP_KEY, NATIVE_QUERIES, NATIVE_QUERY, QUERY_STRING, ORDER_BY, QUERIES, QUERY, QUERY_HINT, POST_LOAD, POST_PERSIST, POST_REMOVE, POST_UPDATE, PRE_PERSIST, PRE_REMOVE, PRE_UPDATE, SEQ_GENERATOR, VERSION,
35: // openjpa extensions
36: DATA_CACHE, DATASTORE_ID, DEPENDENT, DETACHED_STATE, ELEM_DEPENDENT, ELEM_TYPE, EXTERNAL_VALS, EXTERNALIZER, FACTORY, FETCH_GROUP, FETCH_GROUPS, INVERSE_LOGICAL, KEY_DEPENDENT, KEY_TYPE, LOAD_FETCH_GROUP, LRS, MANAGED_INTERFACE, READ_ONLY, TYPE,
37: }
|