1/*2 * Copyright 2013 The Apache Software Foundation.3 *4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 *8 * http://www.apache.org/licenses/LICENSE-2.09 *10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 */16package org.apache.juddi.validation;
1718/**19 * Validation constants for various items, such as maximum string lengths20 *21 * @author <a href="mailto:alexoree@apache.org">Alex O'Ree</a>22 */23publicclassValidationConstants {
2425publicstaticfinalint MAX_accessPoint = 4096;
26publicstaticfinalint MAX_addressLine = 80;
27publicstaticfinalint MAX_authInfo = 4096;
28publicstaticfinalint MAX_Key = 255;
29publicstaticfinalint MAX_description = 255;
30publicstaticfinalint MAX_discoveryURL = 4096;
31publicstaticfinalint MAX_email = 255;
32publicstaticfinalint MAX_instanceParms = 8192;
33publicstaticfinalint MAX_keyName = 255;
34publicstaticfinalint MAX_keyValue = 255;
35publicstaticfinalint MAX_name = 255;
36publicstaticfinalint MAX_operator = 255;
37publicstaticfinalint MAX_overviewURL = 4096;
38publicstaticfinalint MAX_personName = 255;
39publicstaticfinalint MAX_phone = 50;
40publicstaticfinalint MAX_sortCode = 10;
41publicstaticfinalint MAX_useType = 255;
42publicstaticfinalint MAX_completionStatus = 32;
43publicstaticfinalint MAX_xml_lang = 26;
44//2.3.2 Subscription API45publicstaticfinalint MAX_subscriptionKey = 255;
46//2.3.3 Replication API47publicstaticfinalint MAX_nodeId = 255;
48publicstaticfinalint MAX_notifyingNode = 255;
49publicstaticfinalint MAX_operatorNodeID = 255;
50publicstaticfinalint MAX_requestingNode = 255;
51 }