KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xdoclet > modules > ojb > XDocletModulesOjbMessages


1 package xdoclet.modules.ojb;
2
3 /* Copyright 2003-2005 The Apache Software Foundation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17
18 /**
19  * Contains messages for the ojb xdoclet task.
20  *
21  * @author <a HREF="mailto:tomdz@users.sourceforge.net">Thomas Dudziak (tomdz@users.sourceforge.net)</a>
22  * @created March 22, 2003
23  */

24 public final class XDocletModulesOjbMessages
25 {
26     /**
27      * @msg.bundle msg="The databaseName is required for the torque schema."
28      */

29     public final static String JavaDoc DATABASENAME_IS_REQUIRED = "DATABASENAME_IS_REQUIRED";
30
31     /**
32      * @msg.bundle msg="Incompatible redefinition for column {0} encountered."
33      */

34     public final static String JavaDoc INCOMPATIBLE_COLUMN_REDEFINITION = "INCOMPATIBLE_COLUMN_REDEFINITION";
35
36     /**
37      * @msg.bundle msg="The parameter {0} is required."
38      */

39     public final static String JavaDoc PARAMETER_IS_REQUIRED = "PARAMETER_IS_REQUIRED";
40
41     /**
42      * @msg.bundle msg="The attribute {0} must be provided."
43      */

44     public final static String JavaDoc ATTRIBUTE_IS_REQUIRED = "ATTRIBUTE_IS_REQUIRED";
45
46     /**
47      * @msg.bundle msg="The attribute {0} is not defined."
48      */

49     public final static String JavaDoc ATTRIBUTE_UNDEFINED = "ATTRIBUTE_UNDEFINED";
50
51     /**
52      * @msg.bundle msg="Could not determine type of member {0}"
53      */

54     public final static String JavaDoc COULD_NOT_DETERMINE_TYPE_OF_MEMBER = "COULD_NOT_DETERMINE_TYPE_OF_MEMBER";
55
56     /**
57      * @msg.bundle msg="The member {0} of type {1} cannot be a OJB reference."
58      */

59     public final static String JavaDoc MEMBER_CANNOT_BE_A_REFERENCE = "MEMBER_CANNOT_BE_A_REFERENCE";
60
61     /**
62      * @msg.bundle msg="Could not find type {0}."
63      */

64     public final static String JavaDoc COULD_NOT_FIND_TYPE = "COULD_NOT_FIND_TYPE";
65
66     /**
67      * @msg.bundle msg="Could not find type {0} of member {1} in type {2}."
68      */

69     public final static String JavaDoc COULD_NOT_FIND_MEMBER_TYPE = "COULD_NOT_FIND_MEMBER_TYPE";
70
71     /**
72      * @msg.bundle msg="Could not find foreign key field {0} in type {1} (used in member {1} in type {2})."
73      */

74     public final static String JavaDoc COULD_NOT_FIND_FOREIGN_KEY_FIELD = "COULD_NOT_FIND_FOREIGN_KEY_FIELD";
75
76     /**
77      * @msg.bundle msg="Collection element type {0} was not found or has no members implementing the association."
78      */

79     public final static String JavaDoc COLLECTION_ELEMENT_NOT_FOUND = "COLLECTION_ELEMENT_NOT_FOUND";
80
81     /**
82      * @msg.bundle msg="No foreign keys specified for {0} in type {1}."
83      */

84     public final static String JavaDoc NO_FOREIGNKEYS = "NO_FOREIGNKEYS";
85
86     /**
87      * @msg.bundle msg="The number of local foreign keys does not match the number of remote foreign keys for reference {0} in type {1}."
88      */

89     public final static String JavaDoc LOCAL_DOESNT_MATCH_REMOTE = "LOCAL_DOESNT_MATCH_REMOTE";
90
91     /**
92      * @msg.bundle msg="The referenced type {0} does not have primary keys matching the foreign keys of reference {1} in type {2}."
93      */

94     public final static String JavaDoc NO_MATCHING_PRIMARYKEYS = "NO_MATCHING_PRIMARYKEYS";
95
96     /**
97      * @msg.bundle msg="Could not find a primary key in type {0} that matches the foreignkey {1} used in the collection {2} in type {3}."
98      */

99     public final static String JavaDoc NO_PRIMARYKEY_FOR_FOREIGNKEY = "NO_PRIMARYKEY_FOR_FOREIGNKEY";
100
101     /**
102      * @msg.bundle msg="The locking property can only be set for fields whose column is of type TIMESTAMP or INTEGER (field {1} in type {2})."
103      */

104     public final static String JavaDoc LOCKING_NOT_ALLOWED_HERE = "LOCKING_NOT_ALLOWED_HERE";
105
106     /**
107      * @msg.bundle msg="The update-lock property can only be set for fields whose column is of type TIMESTAMP or INTEGER (field {1} in type {2})."
108      */

109     public final static String JavaDoc UPDATE_LOCK_NOT_ALLOWED_HERE = "UPDATE_LOCK_NOT_ALLOWED_HERE";
110
111     /**
112      * @msg.bundle msg="The index defined via ojb.index in type {0} must have a non-empty name."
113      */

114     public final static String JavaDoc INDEX_NAME_MISSING = "INDEX_NAME_MISSING";
115
116     /**
117      * @msg.bundle msg="The index field {0} for index {1} could not be found in type {2}."
118      */

119     public final static String JavaDoc INDEX_FIELD_MISSING = "INDEX_FIELD_MISSING";
120
121     /**
122      * @msg.bundle msg="Could not find the class {0}. Perhaps it is not in the classpath ?"
123      */

124     public final static String JavaDoc CLASS_NOT_ON_CLASSPATH = "CLASS_NOT_ON_CLASSPATH";
125
126     /**
127      * @msg.bundle msg="Only 'ASC' and 'DESC' are allowed as the sort order, not the specified value '{0}' for collection {1} in type {2}."
128      */

129     public final static String JavaDoc UNKNOWN_SORT_ORDER = "UNKNOWN_SORT_ORDER";
130
131     /**
132      * @msg.bundle msg="The member {0} of type {1} cannot be a nested object."
133      */

134     public final static String JavaDoc MEMBER_CANNOT_BE_NESTED = "MEMBER_CANNOT_BE_NESTED";
135 }
136
Popular Tags