KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > jdo > api > persistence > model > jdo > PersistenceElementProperties


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  * PersistenceElementProperties.java
26  *
27  * Created on March 2, 2000, 12:54 PM
28  */

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

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

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

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

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

48     /** Name of {@link PersistenceClassElement#getObjectIdentityType identity}
49      * property for {@link PersistenceClassElement class elements}.
50      */

51     public static final String JavaDoc PROP_IDENTITY = "identity"; // NOI18N
52

53     /** Name of {@link PersistenceClassElement#getKeyClass key class}
54      * property for {@link PersistenceClassElement class elements}.
55      */

56     public static final String JavaDoc PROP_KEY_CLASS = "keyClass"; // NOI18N
57

58     /** Name of {@link PersistenceClassElement#getFields fields}
59      * property for {@link PersistenceClassElement class elements}.
60      */

61     public static final String JavaDoc PROP_FIELDS = "fields"; // NOI18N
62

63     /** Name of {@link PersistenceClassElement#getConcurrencyGroups concurrency
64      * groups} property for {@link PersistenceClassElement class elements}.
65      */

66     public static final String JavaDoc PROP_GROUPS = "groups"; // NOI18N
67

68     /** Name of {@link PersistenceFieldElement#getPersistenceType persistence}
69      * property for {@link PersistenceFieldElement field elements}.
70      */

71     public static final String JavaDoc PROP_PERSISTENCE = "persistence"; // NOI18N
72

73     /** Name of {@link PersistenceFieldElement#isReadSensitive read sensitivity}
74      * and {@link PersistenceFieldElement#isWriteSensitive write sensitivity}
75      * property for {@link PersistenceFieldElement field elements}.
76      */

77     public static final String JavaDoc PROP_SENSITIVITY = "sensitivity"; // NOI18N
78

79     /** Name of {@link PersistenceFieldElement#isKey key field}
80      * property for {@link PersistenceFieldElement field elements}.
81      */

82     public static final String JavaDoc PROP_KEY_FIELD = "keyField"; // NOI18N
83

84     /** Name of {@link RelationshipElement#getUpdateAction update action}
85      * property for {@link RelationshipElement relationship elements}.
86      */

87     public static final String JavaDoc PROP_UPDATE_ACTION = "updateAction"; // NOI18N
88

89     /** Name of {@link RelationshipElement#getDeleteAction delete action}
90      * property for {@link RelationshipElement relationship elements}.
91      */

92     public static final String JavaDoc PROP_DELETE_ACTION = "deleteAction"; // NOI18N
93

94     /** Name of {@link RelationshipElement#isPrefetch prefetch}
95      * property for {@link RelationshipElement relationship elements}.
96      */

97     public static final String JavaDoc PROP_PREFETCH = "prefetch"; // NOI18N
98

99     /** Name of {@link RelationshipElement#getLowerBound lower bound}
100      * and {@link RelationshipElement#getUpperBound upper bound}
101      * property for {@link RelationshipElement relationship elements}.
102      */

103     public static final String JavaDoc PROP_CARDINALITY = "cardinality"; // NOI18N
104

105     /** Name of {@link RelationshipElement#getCollectionClass collection class}
106      * property for {@link RelationshipElement relationship elements}.
107      */

108     public static final String JavaDoc PROP_COLLECTION_CLASS =
109         "collectionClass"; // NOI18N
110

111     /** Name of {@link RelationshipElement#getElementClass element class}
112      * property for {@link RelationshipElement relationship elements}.
113      */

114     public static final String JavaDoc PROP_ELEMENT_CLASS = "elementClass"; // NOI18N
115

116     /** Name of {@link RelationshipElement#getInverseRelationshipName inverse
117      * relationship name} property for {@link RelationshipElement relationship
118      * elements}.
119      */

120     public static final String JavaDoc PROP_INVERSE_FIELD = "relatedField"; // NOI18N
121
}
122
Popular Tags