KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > jdo > api > persistence > model > mapping > MappingElementProperties


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 in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
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 Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24 /*
25  * MappingElementProperties.java
26  *
27  * Created on April 28, 2000, 6:24 PM
28  */

29
30 package com.sun.jdo.api.persistence.model.mapping;
31
32 /**
33  *
34  * @author raccah
35  * @version %I%
36  */

37 public interface MappingElementProperties
38 {
39     /** Name of {@link MappingElement#getName name} property.
40      */

41     public static final String JavaDoc PROP_NAME = "name"; // NOI18N
42

43     /** Name of {@link MappingClassElement#isModified modified}
44      * flag for {@link MappingClassElement class elements}.
45      */

46     public static final String JavaDoc PROP_MODIFIED = "modified"; // NOI18N
47

48     /** Name of {@link MappingClassElement#getConsistencyLevel consistencyLevel}
49      * property for {@link MappingClassElement class elements}.
50      */

51     public static final String JavaDoc PROP_CONSISTENCY = "consistencyLevel"; // NOI18N
52

53     /** Name of {@link MappingClassElement#setDatabaseRoot root}
54      * property for {@link MappingClassElement class elements}.
55      */

56     public static final String JavaDoc PROP_DATABASE_ROOT = "schema"; // NOI18N
57

58     /** Name of {@link MappingClassElement#getTables tables}
59      * property for {@link MappingClassElement class elements}.
60      */

61     public static final String JavaDoc PROP_TABLES = "tables"; // NOI18N
62

63     /** Name of {@link MappingClassElement#getFields fields}
64      * property for {@link MappingClassElement class elements}.
65      */

66     public static final String JavaDoc PROP_FIELDS = "fields"; // NOI18N
67

68     /** Name of {@link MappingClassElement#isNavigable navigable}
69      * property for {@link MappingClassElement class elements}.
70      */

71     public static final String JavaDoc PROP_NAVIGABLE = "navigable"; // NOI18N
72

73     /** Name of {@link MappingFieldElement#isReadOnly read only}
74      * property for {@link MappingFieldElement field elements}.
75      */

76     public static final String JavaDoc PROP_READ_ONLY = "readOnly"; // NOI18N
77

78     /** Name of {@link MappingFieldElement#isInConcurrencyCheck in concurrency
79      * check} property for {@link MappingFieldElement field elements}.
80      */

81     public static final String JavaDoc PROP_IN_CONCURRENCY_CHECK =
82         "inConcurrencyCheck"; // NOI18N
83

84     /** Name of {@link MappingFieldElement#isVersion version field}
85      * property for {@link MappingFieldElement field elements}.
86      */

87     public static final String JavaDoc PROP_VERSION_FIELD = "versionField"; // NOI18N
88

89     /** Name of {@link MappingFieldElement#getFetchGroup fetch group}
90      * property for {@link MappingFieldElement field elements}.
91      */

92     public static final String JavaDoc PROP_FETCH_GROUP = "fetchGroup"; // NOI18N
93

94     /** Name of {@link MappingFieldElement#getColumns columns}
95      * property for {@link MappingFieldElement field elements}.
96      */

97     public static final String JavaDoc PROP_COLUMNS = "columns"; // NOI18N
98

99     /** Name of {@link MappingReferenceKeyElement#getTable table} and
100      * {@link MappingTableElement#getTable table} property for
101      * {@link MappingReferenceKeyElement reference key elements} and
102      * {@link MappingTableElement mapping table elements}.
103      */

104     public static final String JavaDoc PROP_TABLE = "table"; // NOI18N
105

106     /** Name of {@link MappingReferenceKeyElement#getReferencingKey key columns}
107      * and {@link MappingTableElement#getKey key columns} property for
108      * {@link MappingReferenceKeyElement reference key elements} and
109      * {@link MappingTableElement mapping table elements}.
110      */

111     public static final String JavaDoc PROP_KEY_COLUMNS = "keyColumns"; // NOI18N
112

113     /** Name of {@link MappingRelationshipElement#getAssociatedColumns
114      * associated columns} property for {@link MappingRelationshipElement
115      * relationship elements}.
116      */

117     public static final String JavaDoc PROP_ASSOCIATED_COLUMNS =
118         "associatedColumns"; // NOI18N
119

120     /** Name of {@link MappingTableElement#getReferencingKeys referencing
121      * keys} property for {@link MappingTableElement mapping table elements}.
122      */

123     public static final String JavaDoc PROP_REFERENCING_KEYS =
124         "referencingKeys"; // NOI18N
125
}
126
Popular Tags