Ruddi™ UDDI Client API
1.0

inspireit.uddi
Class TModel

java.lang.Object
  |
  +--inspireit.uddi.TModel
All Implemented Interfaces:
java.io.Serializable, inspireit.uddi.util.visitors.UDDIElement

public class TModel
extends java.lang.Object
implements java.io.Serializable, inspireit.uddi.util.visitors.UDDIElement

TModel represents keyed metadata (data about data) used for various purposes in UDDI. In a general sense, the purpose of a TModel within a UDDI registry is to provide a reference system based on abstraction.

Author:
Bertrand Fontaine, INSPIRE IT $Revision: 1.2 $
See Also:
Serialized Form

Field Summary
protected  AuthorizedName authorizedName
          Name of the individual that published the TModel.
protected  CategoryBag categoryBag
          TModel taxonomy information.
protected  boolean deleted
          Whether the TModel is actually deleted.
protected  Descriptions descriptions
          One or more language-qualified descriptions.
static TModel DNB_COM_D_U_N_S
          Dun & Bradstreet D-U-N-S(r) Number TModel.
protected  IdentifierBag identifierBag
          TModel identification numbers.
protected  Name name
          Name of the TModel.
static TModel NTIS_GOV_NAICS_1997
          Business Taxonomy: NAICS (1997 Release) TModel.
protected  Operator operator
          Certified name of the UDDI registry site operator that manages the master copy of the TModel.
protected  OverviewDoc overviewDoc
          References to remote descriptive or instructions related to the TModel.
static TModel THOMASREGISTER_COM_SUPPLIERID
          Thomas Registry Suppliers TModel.
protected  TModelKey tModelKey
          TModel unique identifier.
static TModel UDDI_ORG_FAX
          Fax based Web service TModel.
static TModel UDDI_ORG_FTP
          File transfer protocol (ftp) base Web service TModel.
static TModel UDDI_ORG_GENERAL_KEYWORDS
          Other Taxonomy TModel.
static TModel UDDI_ORG_HOMEPAGE
          HTTP Web Home Page URL TModel.
static TModel UDDI_ORG_HTTP
          An http or Web browser based Web service.
static TModel UDDI_ORG_INQUIRY
          UDDI Inquiry API TModel.
static TModel UDDI_ORG_ISO_CH_3166_1999
          UDDI Geographic Taxonomy TModel.
static TModel UDDI_ORG_MISC_TAXONOMY
          Other Taxonomy TModel.
static TModel UDDI_ORG_OPERATORS
          Identifier system for identifying operators of a registry.
static TModel UDDI_ORG_OWNINGBUSINESS
          A pointer to a businessEntity that owns the categorized data.
static TModel UDDI_ORG_PUBLICATION
          UDDI Publication API TModel.
static TModel UDDI_ORG_RELATIONSHIPS
          UDDI businessEntity relationship descriptions TModel.
static TModel UDDI_ORG_SMTP
          E-mail based Web service TModel.
static TModel UDDI_ORG_TAXONOMY
          UDDI Taxonomy API TModel.
static TModel UDDI_ORG_TELEPHONE
          Telephone based Web service TModel.
static TModel UDDI_ORG_TYPES
          UDDI Type Taxonomy TModel.
static TModel UNSPSC_ORG_UNSPSC
          Product Taxonomy: UNSPSC (Version 7) TModel (replaces UNSPSC_ORG_UNSPSC_3_1 in UDDI V2.0).
static TModel UNSPSC_ORG_UNSPSC_3_1
          Product Taxonomy: UNSPSC (Version 3.1) TModel (deprecated in UDDI V2.0).
 
Constructor Summary
TModel(Name name)
          TModel constructor.
TModel(TModelKey tModelKey, Name name)
          TModel constructor.
 
Method Summary
 void addDescription(Description description)
          Adds a TModel Description.
 boolean equals(java.lang.Object o)
          Checks whether an object is equal to this TModel.
 AuthorizedName getAuthorizedName()
          Deprecated. as of UDDI V3.0
 CategoryBag getCategoryBag()
          Gets the CategoryBag used to tag TModel with specific taxonomy information (e.g. industry, product, ...) that can be used during search via find_tModel.
 Descriptions getDescriptions()
          Gets all TModel Descriptions.
 IdentifierBag getIdentifierBag()
          Gets the IdentifierBag used to record identification numbers for a TModel that can be used during search via find_tModel.
 Name getName()
          Gets the TModel Name.
 Operator getOperator()
          Deprecated. as of UDDI V3.0
 OverviewDoc getOverviewDoc()
          Gets references to remote descriptive or instructions related to the TModel.
 TModelKey getTModelKey()
          Gets the TModel unique identifier.
 boolean isDeleted()
          Checks whether the TModel is deleted.
 void removeDescription(Description description)
          Removes a TModel Description.
 void setAuthorizedName(AuthorizedName authorizedName)
          Deprecated. as of UDDI V3.0
 void setCategoryBag(CategoryBag categoryBag)
          Sets the CategoryBag used to tag TModel with specific taxonomy information (e.g. industry, product, ...) that can be used during search via find_tModel.
 void setDeleted(boolean deleted)
          Sets the TModel in the deleted/undeleted state.
 void setIdentifierBag(IdentifierBag identifierBag)
          Sets the IdentifierBag used to record identification numbers for a TModel that can be used during search via find_tModel.
 void setName(Name name)
          Sets the TModel Name.
 void setOperator(Operator operator)
          Deprecated. as of UDDI V3.0
 void setOverviewDoc(OverviewDoc overviewDoc)
          Sets references to remote descriptive or instructions related to the TModel.
 void setTModelKey(TModelKey tModelKey)
          Sets the TModel unique identifier.
 java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UDDI_ORG_TYPES

public static final TModel UDDI_ORG_TYPES
UDDI Type Taxonomy TModel.


UDDI_ORG_INQUIRY

public static final TModel UDDI_ORG_INQUIRY
UDDI Inquiry API TModel.


UDDI_ORG_PUBLICATION

public static final TModel UDDI_ORG_PUBLICATION
UDDI Publication API TModel.


UDDI_ORG_TAXONOMY

public static final TModel UDDI_ORG_TAXONOMY
UDDI Taxonomy API TModel.


NTIS_GOV_NAICS_1997

public static final TModel NTIS_GOV_NAICS_1997
Business Taxonomy: NAICS (1997 Release) TModel.


UNSPSC_ORG_UNSPSC_3_1

public static final TModel UNSPSC_ORG_UNSPSC_3_1
Product Taxonomy: UNSPSC (Version 3.1) TModel (deprecated in UDDI V2.0).


UNSPSC_ORG_UNSPSC

public static final TModel UNSPSC_ORG_UNSPSC
Product Taxonomy: UNSPSC (Version 7) TModel (replaces UNSPSC_ORG_UNSPSC_3_1 in UDDI V2.0).


UDDI_ORG_MISC_TAXONOMY

public static final TModel UDDI_ORG_MISC_TAXONOMY
Other Taxonomy TModel.


DNB_COM_D_U_N_S

public static final TModel DNB_COM_D_U_N_S
Dun & Bradstreet D-U-N-S(r) Number TModel.


THOMASREGISTER_COM_SUPPLIERID

public static final TModel THOMASREGISTER_COM_SUPPLIERID
Thomas Registry Suppliers TModel.


UDDI_ORG_SMTP

public static final TModel UDDI_ORG_SMTP
E-mail based Web service TModel.


UDDI_ORG_FAX

public static final TModel UDDI_ORG_FAX
Fax based Web service TModel.


UDDI_ORG_FTP

public static final TModel UDDI_ORG_FTP
File transfer protocol (ftp) base Web service TModel.


UDDI_ORG_TELEPHONE

public static final TModel UDDI_ORG_TELEPHONE
Telephone based Web service TModel.


UDDI_ORG_HTTP

public static final TModel UDDI_ORG_HTTP
An http or Web browser based Web service.


UDDI_ORG_ISO_CH_3166_1999

public static final TModel UDDI_ORG_ISO_CH_3166_1999
UDDI Geographic Taxonomy TModel.


UDDI_ORG_GENERAL_KEYWORDS

public static final TModel UDDI_ORG_GENERAL_KEYWORDS
Other Taxonomy TModel.


UDDI_ORG_OWNINGBUSINESS

public static final TModel UDDI_ORG_OWNINGBUSINESS
A pointer to a businessEntity that owns the categorized data.


UDDI_ORG_RELATIONSHIPS

public static final TModel UDDI_ORG_RELATIONSHIPS
UDDI businessEntity relationship descriptions TModel.


UDDI_ORG_OPERATORS

public static final TModel UDDI_ORG_OPERATORS
Identifier system for identifying operators of a registry.


UDDI_ORG_HOMEPAGE

public static final TModel UDDI_ORG_HOMEPAGE
HTTP Web Home Page URL TModel.


tModelKey

protected TModelKey tModelKey
TModel unique identifier.


authorizedName

protected AuthorizedName authorizedName
Name of the individual that published the TModel.


deleted

protected boolean deleted
Whether the TModel is actually deleted.


operator

protected Operator operator
Certified name of the UDDI registry site operator that manages the master copy of the TModel.


name

protected Name name
Name of the TModel.


descriptions

protected Descriptions descriptions
One or more language-qualified descriptions.


overviewDoc

protected OverviewDoc overviewDoc
References to remote descriptive or instructions related to the TModel.


identifierBag

protected IdentifierBag identifierBag
TModel identification numbers.


categoryBag

protected CategoryBag categoryBag
TModel taxonomy information.

Constructor Detail

TModel

public TModel(TModelKey tModelKey,
              Name name)
TModel constructor.

Parameters:
tModelKey - TModel unique identifier.
name - TModel Name.

TModel

public TModel(Name name)
TModel constructor.

Parameters:
name - TModel Name.
Since:
UDDI V3.0
Method Detail

getTModelKey

public TModelKey getTModelKey()
Gets the TModel unique identifier.

Returns:
the TModel unique identifier

setTModelKey

public void setTModelKey(TModelKey tModelKey)
Sets the TModel unique identifier.

Parameters:
tModelKey - The TModel unique identifier

getName

public Name getName()
Gets the TModel Name.

Returns:
the TModel Name

setName

public void setName(Name name)
Sets the TModel Name.

Parameters:
name - The TModel Name.

getAuthorizedName

public AuthorizedName getAuthorizedName()
Deprecated. as of UDDI V3.0

Gets the name of the individual that published the TModel.

Returns:
the name of the individual that published the TModel

setAuthorizedName

public void setAuthorizedName(AuthorizedName authorizedName)
Deprecated. as of UDDI V3.0

Sets the name of the individual that published the TModel.

Parameters:
authorizedName - The name of the individual that published the TModel.

getOperator

public Operator getOperator()
Deprecated. as of UDDI V3.0

Gets the certified name of the UDDI registry site operator that manages the master copy of the TModel.

Returns:
the certified name of the UDDI registry site operator

setOperator

public void setOperator(Operator operator)
Deprecated. as of UDDI V3.0

Sets the certified name of the UDDI registry site operator that manages the master copy of the TModel.

Parameters:
operator - The certified name of the UDDI registry site operator.

addDescription

public void addDescription(Description description)
Adds a TModel Description.

Parameters:
description - The TModel Description to add.

removeDescription

public void removeDescription(Description description)
Removes a TModel Description.

Parameters:
description - The TModel Description to remove.

getDescriptions

public Descriptions getDescriptions()
Gets all TModel Descriptions.

Returns:
all TModel Descriptions

getOverviewDoc

public OverviewDoc getOverviewDoc()
Gets references to remote descriptive or instructions related to the TModel.

Returns:
references to remote descriptive or instructions related to the TModel

setOverviewDoc

public void setOverviewDoc(OverviewDoc overviewDoc)
Sets references to remote descriptive or instructions related to the TModel.

Parameters:
overviewDoc - References to remote descriptive or instructions related to the TModel

getIdentifierBag

public IdentifierBag getIdentifierBag()
Gets the IdentifierBag used to record identification numbers for a TModel that can be used during search via find_tModel.

Returns:
the IdentifierBag information

setIdentifierBag

public void setIdentifierBag(IdentifierBag identifierBag)
Sets the IdentifierBag used to record identification numbers for a TModel that can be used during search via find_tModel.

Parameters:
identifierBag - The IdentifierBag information.

getCategoryBag

public CategoryBag getCategoryBag()
Gets the CategoryBag used to tag TModel with specific taxonomy information (e.g. industry, product, ...) that can be used during search via find_tModel.

Returns:
the CategoryBag information

setCategoryBag

public void setCategoryBag(CategoryBag categoryBag)
Sets the CategoryBag used to tag TModel with specific taxonomy information (e.g. industry, product, ...) that can be used during search via find_tModel.

Parameters:
categoryBag - The CategoryBag information.

setDeleted

public void setDeleted(boolean deleted)
Sets the TModel in the deleted/undeleted state.

Parameters:
deleted - Whether the TModel is deleted
Since:
UDDI V3.0

isDeleted

public boolean isDeleted()
Checks whether the TModel is deleted.

Returns:
true if the TModel is deleted; false otherwise
Since:
UDDI V3.0

visit

public java.lang.Object visit(inspireit.uddi.util.visitors.UDDIVisitor visitor)
Specified by:
visit in interface inspireit.uddi.util.visitors.UDDIElement

equals

public boolean equals(java.lang.Object o)
Checks whether an object is equal to this TModel.

Overrides:
equals in class java.lang.Object
Parameters:
o - The object to test for equality.
Returns:
true if the object is equal to this TModel; false otherwise

Ruddi™ UDDI Client API
1.0

Download now! | Submit a bug or feature
(c) 2003 INSPIRE IT
Bld Brand Whitlock 109
1200 Brussels, Belgium
All Rights Reserved.