KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > versant > core > metadata > parser > JdoExtensionKeys


1
2 /*
3  * Copyright (c) 1998 - 2005 Versant Corporation
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * which accompanies this distribution, and is available at
7  * http://www.eclipse.org/legal/epl-v10.html
8  *
9  * Contributors:
10  * Versant Corporation - initial API and implementation
11  */

12 package com.versant.core.metadata.parser;
13
14 /**
15  * <p>These are all the possible keys allowed for vendor extensions. The
16  * text for each key is the constant name converted to lowercase with
17  * underscores changed to hyphens. MetaDataParser uses reflection to
18  * automatically derive the valid keys from this interface.</p>
19  * <p/>
20  * <p>The constant values are used to classify extensions. Constants 100 to 199
21  * are jdbc extensions.</p>
22  *
23  * @see JdoExtension
24  * @see JdoExtension#isJdbc
25  * @see MetaDataParser
26  */

27 public interface JdoExtensionKeys {
28
29     // some values are copied into ConfigBuilder.cs - change at both locations!
30
public static final int DATASTORE = 1;
31     public static final int ORDERED = 2;
32     public static final int READ_ONLY = 3;
33     public static final int PROPERTY = 4;
34     public static final int FIELD_NAME = 5;
35     public static final int FETCH_GROUP = 6;
36     public static final int NEXT_FETCH_GROUP = 7;
37     public static final int NEXT_KEY_FETCH_GROUP = 8;
38     public static final int DEPENDENT = 9;
39     public static final int KEYS_DEPENDENT = 10;
40     public static final int AUTOSET = 11;
41     public static final int CACHE_STRATEGY = 12;
42     public static final int OIDS_IN_DEFAULT_FETCH_GROUP = 13;
43     public static final int CREATE_OID_AT_MAKE_PERSISTENT = 14;
44     public static final int ORDERING = 15;
45     public static final int DELETE_ORPHANS = 16;
46     public static final int NULL_IF_NOT_FOUND = 17;
47     public static final int VALID_CLASS = 18;
48     public static final int INTERFACE = 19;
49     public static final int PERSIST_AFTER = 20;
50     public static final int CLASS = 21;
51     public static final int MANAGED = 22;
52     public static final int RANDOM_ACCESS = 23;
53     public static final int COUNT_STAR_ON_SIZE = 24;
54     public static final int MAX_ROWS = 25;
55     public static final int FETCH_SIZE = 26;
56     public static final int BOUNDED = 27;
57     public static final int EVICTION_CLASSES = 28;
58     public static final int OPTIMISTIC = 29;
59     public static final int QUERY_PARAM_VALUES = 30;
60     public static final int VALUE = 31;
61     public static final int SCO_FACTORY = 32;
62     public static final int EXTERNALIZER = 33;
63
64     public static final int ALIAS = 34;
65     public static final int CACHEABLE = 35;
66
67     public static final int NULL_INDICATOR = 36;
68     public static final int FIELD = 37;
69     public static final int NULL_VALUE = 38;
70     public static final int DEFAULT_FETCH_GROUP = 39;
71     public static final int EMBEDDED = 40;
72     public static final int COLLECTION = 41;
73     public static final int MAP = 42;
74     public static final int ARRAY = 43;
75     public static final int KEY_TYPE = 44;
76     public static final int VALUE_TYPE = 45;
77     public static final int ELEMENT_TYPE = 46;
78
79
80     public static final int JDBC_COLUMN = 104;
81     public static final int JDBC_COLUMN_NAME = 105;
82     public static final int JDBC_CONSTRAINT = 106;
83     public static final int JDBC_PRIMARY_KEY = 108;
84     public static final int JDBC_REF = 110;
85     public static final int JDBC_INDEX = 111;
86     public static final int JDBC_CONVERTER = 112;
87     public static final int JDBC_JAVA_TYPE = 113;
88     public static final int JDBC_KEY_GENERATOR = 115;
89     public static final int JDBC_LENGTH = 117;
90     public static final int JDBC_LINK_FOREIGN_KEY = 118;
91     public static final int JDBC_LINK_TABLE = 119;
92     public static final int JDBC_OPTIMISTIC_LOCKING = 120;
93     public static final int JDBC_TABLE_NAME = 126;
94     public static final int JDBC_TYPE = 127;
95     public static final int JDBC_USE_JOIN = 128;
96     public static final int JDBC_USE_SUBCLASS_JOIN = 129;
97     public static final int JDBC_UNIQUE = 133;
98     public static final int JDBC_CLUSTERED = 134;
99     public static final int JDBC_CLASS_ID = 135;
100     public static final int JDBC_SCALE = 136;
101     public static final int JDBC_NULLS = 137;
102     public static final int JDBC_USE_KEY_JOIN = 138;
103     public static final int JDBC_INHERITANCE = 139;
104     public static final int JDBC_PK_FK_CONSTRAINT_NAME = 140;
105     public static final int JDBC_DO_NOT_CREATE_TABLE = 141;
106     public static final int JDBC_SQL_TYPE = 142;
107     public static final int JDBC_FIELD_NAME = 143;
108     public static final int JDBC_DATABASE = 144;
109     public static final int JDBC_OWNER_REF = 145;
110     public static final int JDBC_SEQUENCE = 146;
111     public static final int JDBC_KEY = 147;
112     public static final int JDBC_VALUE = 148;
113     public static final int INVERSE = 149;
114     public static final int JDBC_SHARED = 150;
115 }
116
Popular Tags