001: /*
002: * Copyright 2001-2004 The Apache Software Foundation.
003: *
004: * Licensed under the Apache License, Version 2.0 (the "License");
005: * you may not use this file except in compliance with the License.
006: * You may obtain a copy of the License at
007: *
008: * http://www.apache.org/licenses/LICENSE-2.0
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS,
012: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013: * See the License for the specific language governing permissions and
014: * limitations under the License.
015: */
016: package org.apache.ws.scout.registry;
017:
018: /**
019: * This class contains constants borrowed from files in the jUDDI project.
020: *
021: * All constants are just UUID's. In theory, even if jUDDI changes their
022: * values, it shouldn't affect scout.
023: *
024: * Naming convention is [classname in capitals]_[Var name]
025: *
026: * e.g TModel.TYPES_TMODEL_KEY from jUDDI would become:
027: *
028: * TMODEL_TYPES_TMODEL_KEY
029: *
030: * @author <mailto:dbhole@redhat.com>Deepak Bhole
031: *
032: */
033:
034: public class Constants {
035:
036: public static final String COMPLETION_STATUS_COMPLETE = "status:complete";
037:
038: public static final String COMPLETION_STATUS_TOKEY_INCOMPLETE = "status:toKey_incomplete";
039:
040: public static final String COMPLETION_STATUS_FROMKEY_INCOMPLETE = "status:fromKey_incomplete";
041:
042: /**
043: * UDDI Type Taxonomy [uddi-org:types] This taxonomy assists in general
044: * categorization of the tModels themselves.
045: */
046: public static final String TMODEL_TYPES_TMODEL_KEY = "UUID:C1ACF26D-9672-4404-9D70-39B756E62AB4";
047:
048: /**
049: * Business Taxonomy: NAICS (1997 Release) [ntis-gov:naics:1997] This tModel
050: * defines the NAICS (North American Industry Classification System) 1997
051: * Release industry taxonomy.
052: */
053: public static final String TMODEL_NAICS_TMODEL_KEY = "UUID:C0B9FE13-179F-413D-8A5B-5004DB8E5BB2";
054:
055: /**
056: * Product Taxonomy: UNSPSC (Version 3.1) [unspsc-org:unspsc:3-1] This
057: * tModel defines the UNSPSC (United Nations Standard Products and Services
058: * Code System) version 3.1 product taxonomy. <B>This taxonomy has been
059: * superceeded by the Universal Standard Products and Services
060: * Classification (see {@link #UNSPSC_73_TMODEL_KEY}) taxonomy.
061: */
062: public static final String TMODEL_UNSPSC_TMODEL_KEY = "UUID:DB77450D-9FA8-45D4-A7BC-04411D14E384";
063:
064: /**
065: * Product and Services Taxonomy:UNSPSC (Version 7.3) [unspsc-org:unspsc]
066: * This tModel defines the UNSPSC (Universal Standard Products and Services
067: * Classification) version 7.3 product and services taxonomy.
068: */
069: public static final String TMODEL_UNSPSC_73_TMODEL_KEY = "UUID:CD153257-086A-4237-B336-6BDCBDCC6634";
070:
071: /**
072: * ISO 3166 Geographic Taxonomy [uddi-org:iso-ch:3166-1999] This tModel
073: * defines the ISO 3166 geographic classification taxonomy.
074: */
075: public static final String TMODEL_ISO_CH_TMODEL_KEY = "UUID:4E49A8D6-D5A2-4FC2-93A0-0411D8D19E88";
076:
077: /**
078: * UDDI Other Taxonomy [uddi-org:misc-taxomony] This tModel defines an
079: * unidentified taxonomy.
080: */
081: public static final String TMODEL_GENERAL_KEYWORDS_TMODEL_KEY = "UUID:A035A07C-F362-44dd-8F95-E2B134BF43B4";
082:
083: /**
084: * UDDI Owning Business [uddi-org:owningBusiness] This tModel identifies the
085: * businessEntity that published or owns the tagged information. Used with
086: * tModels to establish an 'owned' relationship with a registered
087: * businessEntity.
088: */
089: public static final String TMODEL_OWNING_BUSINESS_TMODEL_KEY = "UUID:4064C064-6D14-4F35-8953-9652106476A9";
090:
091: /**
092: * UDDI businessEntity relationship [uddi-org:relationships] This tModel is
093: * used to describe business relationships. Used in the publisher assertion
094: * messages.
095: */
096: public static final String TMODEL_RELATIONSHIPS_TMODEL_KEY = "UUID:807A2C6A-EE22-470D-ADC7-E0424A337C03";
097:
098: /**
099: * UDDI Operators [uddi-org:operators] This checked value set is used to
100: * identify UDDI operators.
101: */
102: public static final String TMODEL_OPERATORS_TMODEL_KEY = "UUID:327A56F0-3299-4461-BC23-5CD513E95C55";
103:
104: /**
105: * D-U-N-S� Number Identifier System [dnb-com:D-U-N-S] This tModel is used
106: * for the Dun & Bradstreet D-U-N-S� Number identifier.
107: */
108: public static final String TMODEL_D_U_N_S_TMODEL_KEY = "UUID:8609C81E-EE1F-4D5A-B202-3EB13AD01823";
109:
110: /**
111: * Thomas Register Supplier Identifier Code System
112: * [thomasregister-com:supplierID] This tModel is used for the Thomas
113: * Register supplier identifier codes.
114: */
115: public static final String TMODEL_THOMAS_REGISTER_TMODEL_KEY = "UUID:B1B1BAF5-2329-43E6-AE13-BA8E97195039";
116:
117: /**
118: * UDDI IsReplacedBy [uddi-org:isReplacedBy] An identifier system used to
119: * point (using UDDI keys) to the tModel (or businessEntity) that is the
120: * logical replacement for the one in which isReplacedBy is used.
121: */
122: public static final String TMODEL_IS_REPLACED_BY_TMODEL_KEY = "UUID:E59AE320-77A5-11D5-B898-0004AC49CC1E";
123:
124: /**
125: * Email based web service [uddi-org:smtp] This tModel is used to describe a
126: * web service that is invoked through SMTP email transmissions. These
127: * transmissions may be between people or applications.
128: */
129: public static final String TMODEL_SMTP_TMODEL_KEY = "UUID:93335D49-3EFB-48A0-ACEA-EA102B60DDC6";
130:
131: /**
132: * Fax based web service [uddi-org:fax] This tModel is used to describe a
133: * web service that is invoked through fax transmissions. These
134: * transmissions may be between people or applications.
135: */
136: public static final String TMODEL_FAX_TMODEL_KEY = "UUID:1A2B00BE-6E2C-42F5-875B-56F32686E0E7";
137:
138: /**
139: * FTP based web service [uddi-org:ftp] This tModel is used to describe a
140: * web service that is invoked through file transfers via the ftp protocol.
141: */
142: public static final String TMODEL_FTP_TMODEL_KEY = "UUID:5FCF5CD0-629A-4C50-8B16-F94E9CF2A674";
143:
144: /**
145: * Telephone based web service [uddi-org:telephone] This tModel is used to
146: * describe a web service that is invoked through a telephone call and
147: * interaction by voice and/or touch-tone.
148: */
149: public static final String TMODEL_TELEPHONE_TMODEL_KEY = "UUID:38E12427-5536-4260-A6F9-B5B530E63A07";
150:
151: /**
152: * Web browser or HTTP based web service [uddi-org:http] This tModel is used
153: * to describe a web service that is invoked through a web browser and/or
154: * the HTTP protocol.
155: */
156: public static final String TMODEL_HTTP_TMODEL_KEY = "UUID:68DE9E80-AD09-469D-8A37-088422BFBC36";
157:
158: /**
159: * HTTP Web Home Page URL [uddi-org:homepage] This tModel is used as the
160: * bindingTemplate fingerprint for a web home page reference.
161: */
162: public static final String TMODEL_HOMEPAGE_TMODEL_KEY = "UUID:4CEC1CEF-1F68-4B23-8CB7-8BAA763AEB89";
163:
164: }
|