📄 tmodel.java
字号:
/*
* The source code contained herein is licensed under the IBM Public License
* Version 1.0, which has been approved by the Open Source Initiative.
* Copyright (C) 2001, International Business Machines Corporation
* Copyright (C) 2001, Hewlett-Packard Company
* All Rights Reserved.
*
*/
package org.uddi4j.datatype.tmodel;
import java.util.Vector;
import org.uddi4j.UDDIElement;
import org.uddi4j.UDDIException;
import org.uddi4j.datatype.Description;
import org.uddi4j.datatype.Name;
import org.uddi4j.datatype.OverviewDoc;
import org.uddi4j.util.CategoryBag;
import org.uddi4j.util.IdentifierBag;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
/**
* Represents the tModel element within the UDDI version 2.0 schema.
* This class contains the following types of methods:
*
* <ul>
* <li>Constructor passing required fields.
* <li>Constructor that will instantiate the object from an appropriate XML
* DOM element.
* <li>Get/set methods for each attribute that this element can contain.
* <li>A get/setVector method is provided for sets of attributes.
* <li>SaveToXML method. Serializes this class within a passed in element.
* </ul>
*
* Typically, this class is used to construct parameters for, or interpret
* responses from, methods in the UDDIProxy class.<BR>
* In addition, this class contains the tModel keys for the UDDI core tModels.
* See <a href="http://www.uddi.org/taxonomies/Core_Taxonomy_OverviewDoc.htm">
* http://www.uddi.org/taxonomies/Core_Taxonomy_OverviewDoc.htm</a> for a
* complete list of these core tModels.
*
* <p><b>Element description:</b><p>
* This structure defines metadata about a technology, specification
* or namespace qualified list (e.g., taxonomy, organizaton, etc.)
*
* @author David Melgar (dmelgar@us.ibm.com)
* @author Ravi Trivedi (ravi_trivedi@hp.com)
* @author Vivek Chopra (vivek_chopra2@non.hp.com)
*/
public class TModel extends UDDIElement {
public static final String UDDI_TAG = "tModel";
//UDDI Core tModels - built-in taxonomies, identifier systems, and relationships
/**
* UDDI Type Taxonomy [uddi-org:types]<BR>
* This taxonomy assists in general categorization of the tModels themselves.
*/
public static final String TYPES_TMODEL_KEY = "UUID:C1ACF26D-9672-4404-9D70-39B756E62AB4";
/**
* Business Taxonomy: NAICS (1997 Release) [ntis-gov:naics:1997]<BR>
* This tModel defines the NAICS (North American Industry Classification
* System) 1997 Release industry taxonomy.
*
*/
public static final String NAICS_TMODEL_KEY = "UUID:C0B9FE13-179F-413D-8A5B-5004DB8E5BB2";
/**
* Product Taxonomy: UNSPSC (Version 3.1) [unspsc-org:unspsc:3-1]<BR>
* This tModel defines the UNSPSC (United Nations Standard Products and
* Services Code System) version 3.1 product taxonomy.
* <P><B>This taxonomy has been superceeded by the Universal Standard Products
* and Services Classification (see {@link #UNSPSC_73_TMODEL_KEY}) taxonomy.</B>
*/
public static final String UNSPSC_TMODEL_KEY = "UUID:DB77450D-9FA8-45D4-A7BC-04411D14E384";
/**
* Product and Services Taxonomy:UNSPSC (Version 7.3) [unspsc-org:unspsc]<BR>
* This tModel defines the UNSPSC (Universal Standard Products and Services
* Classification) version 7.3 product and services taxonomy.
*/
public static final String UNSPSC_73_TMODEL_KEY = "UUID:CD153257-086A-4237-B336-6BDCBDCC6634";
/**
* ISO 3166 Geographic Taxonomy [uddi-org:iso-ch:3166-1999]<BR>
* This tModel defines the ISO 3166 geographic classification taxonomy.
*/
public static final String ISO_CH_TMODEL_KEY = "UUID:4E49A8D6-D5A2-4FC2-93A0-0411D8D19E88";
/**
* UDDI Other Taxonomy [uddi-org:misc-taxomony]<BR>
* This tModel defines an unidentified taxonomy.
*/
public static final String GENERAL_KEYWORDS_TMODEL_KEY = "UUID:A035A07C-F362-44dd-8F95-E2B134BF43B4";
/**
* UDDI Owning Business [uddi-org:owningBusiness]<BR>
* This tModel identifies the businessEntity that published or owns the
* tagged information. Used with tModels to establish an 'owned'
* relationship with a registered businessEntity.
*/
public static final String OWNING_BUSINESS_TMODEL_KEY = "UUID:4064C064-6D14-4F35-8953-9652106476A9";
/**
* UDDI businessEntity relationship [uddi-org:relationships]<BR>
* This tModel is used to describe business relationships. Used in the
* publisher assertion messages.
*/
public static final String RELATIONSHIPS_TMODEL_KEY = "UUID:807A2C6A-EE22-470D-ADC7-E0424A337C03";
/**
* UDDI Operators [uddi-org:operators]<BR>
* This checked value set is used to identify UDDI operators.
*/
public static final String OPERATORS_TMODEL_KEY = "UUID:327A56F0-3299-4461-BC23-5CD513E95C55";
/**
* D-U-N-S
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -