Ruddi™ UDDI Client API
1.0

inspireit.uddi
Class BusinessService

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

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

BusinessService represents a logical service classification. Each BusinessService element contains descriptive information in business terms outlining the type of technical services provided.

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

Field Summary
protected  BindingTemplates bindingTemplates
          Technical service description information.
protected  BusinessKey businessKey
          Parent BusinessEneity unique identifier.
protected  CategoryBag categoryBag
          BusinessService taxonomy information used to facilitate searching.
protected  Descriptions description
          Descriptions of the logical service family.
protected  Names names
          BusinessService names.
protected  ServiceKey serviceKey
          BusinessService unique identifier.
 
Constructor Summary
BusinessService()
          BusinessService constructor.
BusinessService(ServiceKey serviceKey, BusinessKey businessKey, Names names, BindingTemplates bindingTemplates)
          BusinessService constructor.
 
Method Summary
 void addBindingTemplate(BindingTemplate bindingTemplate)
          Adds a BindingTemplate holding technical service description information related to this BusinessService.
 void addDescription(Description description)
          Adds a Description of the logical service family.
 void addName(Name name)
          Adds a name.
 boolean equals(java.lang.Object o)
          Checks whether an object is equal to this BusinessService.
 BindingTemplates getBindingTemplates()
          Gets all technical service description information.
 BusinessKey getBusinessKey()
          Gets the unique identifier of the parent BusinessEntity.
 CategoryBag getCategoryBag()
          Gets the CategoryBag used to tag BusinessService with specific taxonomy information (e.g. industry, product, ...) that can be used during search via find_service.
 Descriptions getDescriptions()
          Gets all Descriptions of the logical service family.
 Names getNames()
          Gets the human readable Names for this service family.
 ServiceKey getServiceKey()
          Gets the unique identifier of this BusinessService.
 void removeBindingTemplate(BindingTemplate bindingTemplate)
          Removes a BindingTemplate holding technical service description information related to this BusinessService.
 void removeDescription(Description description)
          Removes a Description of the logical service family.
 void removeName(Name name)
          Removes a name.
 void setBusinessKey(BusinessKey businessKey)
          Sets the unique identifier of the parent BusinessEntity.
 void setCategoryBag(CategoryBag categoryBag)
          Sets the CategoryBag used to tag BusinessService with specific taxonomy information (e.g. industry, product, ...) that can be used during search via find_service.
 void setServiceKey(ServiceKey serviceKey)
          Sets the unique identifier of this BusinessService.
 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

businessKey

protected BusinessKey businessKey
Parent BusinessEneity unique identifier.


serviceKey

protected ServiceKey serviceKey
BusinessService unique identifier.


names

protected Names names
BusinessService names.


description

protected Descriptions description
Descriptions of the logical service family.


bindingTemplates

protected BindingTemplates bindingTemplates
Technical service description information.


categoryBag

protected CategoryBag categoryBag
BusinessService taxonomy information used to facilitate searching.

Constructor Detail

BusinessService

public BusinessService(ServiceKey serviceKey,
                       BusinessKey businessKey,
                       Names names,
                       BindingTemplates bindingTemplates)
BusinessService constructor.

Parameters:
serviceKey - BusinessService unique identifier.
businessKey - Parent BusinessEntity unique identifier.
names - BusinessService Names.
bindingTemplates - Technical service description information.

BusinessService

public BusinessService()
BusinessService constructor.

Since:
UDDI V3.0
Method Detail

getBusinessKey

public BusinessKey getBusinessKey()
Gets the unique identifier of the parent BusinessEntity. This may be null if the BusinessService is contained within a fully expressed BusinessEntity that already contains a BusinessKey value.

Returns:
the unique identifier of the parent BusinessEntity

setBusinessKey

public void setBusinessKey(BusinessKey businessKey)
Sets the unique identifier of the parent BusinessEntity.

Parameters:
businessKey - The unique identifier of the parent BusinessEntity.

getServiceKey

public ServiceKey getServiceKey()
Gets the unique identifier of this BusinessService.

Returns:
the unique identifier of this BusinessService

setServiceKey

public void setServiceKey(ServiceKey serviceKey)
Sets the unique identifier of this BusinessService.

Parameters:
serviceKey - The unique identifier of this BusinessService.

getNames

public Names getNames()
Gets the human readable Names for this service family.

Returns:
the human readable Names for this service family

addName

public void addName(Name name)
Adds a name.

Parameters:
name - The Name to add.

removeName

public void removeName(Name name)
Removes a name.

Parameters:
name - The Name to remove.

getDescriptions

public Descriptions getDescriptions()
Gets all Descriptions of the logical service family.

Returns:
all Descriptions

addDescription

public void addDescription(Description description)
Adds a Description of the logical service family.

Parameters:
description - A Description of the logical service family.

removeDescription

public void removeDescription(Description description)
Removes a Description of the logical service family.

Parameters:
description - A Description of the logical service family.

getBindingTemplates

public BindingTemplates getBindingTemplates()
Gets all technical service description information.

Returns:
all technical service description information

addBindingTemplate

public void addBindingTemplate(BindingTemplate bindingTemplate)
Adds a BindingTemplate holding technical service description information related to this BusinessService.

Parameters:
bindingTemplate - The BindingTemplate technical service description information to add.

removeBindingTemplate

public void removeBindingTemplate(BindingTemplate bindingTemplate)
Removes a BindingTemplate holding technical service description information related to this BusinessService.

Parameters:
bindingTemplate - The BindingTemplate technical service description information to remove.

getCategoryBag

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

Returns:
the CategoryBag information.

setCategoryBag

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

Parameters:
categoryBag - The CategoryBag information.

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 BusinessService.

Overrides:
equals in class java.lang.Object
Parameters:
o - The object to test for equality.
Returns:
true if the object is equal to this BusinessService; 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.