001: package xdoclet.modules.ojb;
002:
003: /* Copyright 2003-2005 The Apache Software Foundation
004: *
005: * Licensed under the Apache License, Version 2.0 (the "License");
006: * you may not use this file except in compliance with the License.
007: * You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017:
018: /**
019: * Contains messages for the ojb xdoclet task.
020: *
021: * @author <a href="mailto:tomdz@users.sourceforge.net">Thomas Dudziak (tomdz@users.sourceforge.net)</a>
022: * @created March 22, 2003
023: */
024: public final class XDocletModulesOjbMessages {
025: /**
026: * @msg.bundle msg="The databaseName is required for the torque schema."
027: */
028: public final static String DATABASENAME_IS_REQUIRED = "DATABASENAME_IS_REQUIRED";
029:
030: /**
031: * @msg.bundle msg="Incompatible redefinition for column {0} encountered."
032: */
033: public final static String INCOMPATIBLE_COLUMN_REDEFINITION = "INCOMPATIBLE_COLUMN_REDEFINITION";
034:
035: /**
036: * @msg.bundle msg="The parameter {0} is required."
037: */
038: public final static String PARAMETER_IS_REQUIRED = "PARAMETER_IS_REQUIRED";
039:
040: /**
041: * @msg.bundle msg="The attribute {0} must be provided."
042: */
043: public final static String ATTRIBUTE_IS_REQUIRED = "ATTRIBUTE_IS_REQUIRED";
044:
045: /**
046: * @msg.bundle msg="The attribute {0} is not defined."
047: */
048: public final static String ATTRIBUTE_UNDEFINED = "ATTRIBUTE_UNDEFINED";
049:
050: /**
051: * @msg.bundle msg="Could not determine type of member {0}"
052: */
053: public final static String COULD_NOT_DETERMINE_TYPE_OF_MEMBER = "COULD_NOT_DETERMINE_TYPE_OF_MEMBER";
054:
055: /**
056: * @msg.bundle msg="The member {0} of type {1} cannot be a OJB reference."
057: */
058: public final static String MEMBER_CANNOT_BE_A_REFERENCE = "MEMBER_CANNOT_BE_A_REFERENCE";
059:
060: /**
061: * @msg.bundle msg="Could not find type {0}."
062: */
063: public final static String COULD_NOT_FIND_TYPE = "COULD_NOT_FIND_TYPE";
064:
065: /**
066: * @msg.bundle msg="Could not find type {0} of member {1} in type {2}."
067: */
068: public final static String COULD_NOT_FIND_MEMBER_TYPE = "COULD_NOT_FIND_MEMBER_TYPE";
069:
070: /**
071: * @msg.bundle msg="Could not find foreign key field {0} in type {1} (used in member {1} in type {2})."
072: */
073: public final static String COULD_NOT_FIND_FOREIGN_KEY_FIELD = "COULD_NOT_FIND_FOREIGN_KEY_FIELD";
074:
075: /**
076: * @msg.bundle msg="Collection element type {0} was not found or has no members implementing the association."
077: */
078: public final static String COLLECTION_ELEMENT_NOT_FOUND = "COLLECTION_ELEMENT_NOT_FOUND";
079:
080: /**
081: * @msg.bundle msg="No foreign keys specified for {0} in type {1}."
082: */
083: public final static String NO_FOREIGNKEYS = "NO_FOREIGNKEYS";
084:
085: /**
086: * @msg.bundle msg="The number of local foreign keys does not match the number of remote foreign keys for reference {0} in type {1}."
087: */
088: public final static String LOCAL_DOESNT_MATCH_REMOTE = "LOCAL_DOESNT_MATCH_REMOTE";
089:
090: /**
091: * @msg.bundle msg="The referenced type {0} does not have primary keys matching the foreign keys of reference {1} in type {2}."
092: */
093: public final static String NO_MATCHING_PRIMARYKEYS = "NO_MATCHING_PRIMARYKEYS";
094:
095: /**
096: * @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}."
097: */
098: public final static String NO_PRIMARYKEY_FOR_FOREIGNKEY = "NO_PRIMARYKEY_FOR_FOREIGNKEY";
099:
100: /**
101: * @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})."
102: */
103: public final static String LOCKING_NOT_ALLOWED_HERE = "LOCKING_NOT_ALLOWED_HERE";
104:
105: /**
106: * @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})."
107: */
108: public final static String UPDATE_LOCK_NOT_ALLOWED_HERE = "UPDATE_LOCK_NOT_ALLOWED_HERE";
109:
110: /**
111: * @msg.bundle msg="The index defined via ojb.index in type {0} must have a non-empty name."
112: */
113: public final static String INDEX_NAME_MISSING = "INDEX_NAME_MISSING";
114:
115: /**
116: * @msg.bundle msg="The index field {0} for index {1} could not be found in type {2}."
117: */
118: public final static String INDEX_FIELD_MISSING = "INDEX_FIELD_MISSING";
119:
120: /**
121: * @msg.bundle msg="Could not find the class {0}. Perhaps it is not in the classpath ?"
122: */
123: public final static String CLASS_NOT_ON_CLASSPATH = "CLASS_NOT_ON_CLASSPATH";
124:
125: /**
126: * @msg.bundle msg="Only 'ASC' and 'DESC' are allowed as the sort order, not the specified value '{0}' for collection {1} in type {2}."
127: */
128: public final static String UNKNOWN_SORT_ORDER = "UNKNOWN_SORT_ORDER";
129:
130: /**
131: * @msg.bundle msg="The member {0} of type {1} cannot be a nested object."
132: */
133: public final static String MEMBER_CANNOT_BE_NESTED = "MEMBER_CANNOT_BE_NESTED";
134: }
|