| java.lang.Object org.cougaar.servicediscovery.description.ServiceInfo
ServiceInfo | public class ServiceInfo (Code) | | Contains Service information returned from a registry query.
|
ServiceInfo | public ServiceInfo()(Code) | | |
ServiceInfo | public ServiceInfo(String serviceName, String serviceId, Collection serviceClassifications, Collection serviceBindings, String providerName, Collection businessClassifications)(Code) | | Constructs a ServiceInfo object.
Parameters: serviceName - name of this service Parameters: serviceId - unique indentifier of this service Parameters: serviceClassifications - all classifications of this service Parameters: serviceBindings - all service bindings for this service Parameters: providerName - provider of this service Parameters: businessClassifications - all classifications of the provider |
equals | public boolean equals(Object obj)(Code) | | Compares with other ServiceInfo object.
ServiceInfo objects are considered to be equal if the provider name
and serviceId are the same.
|
getBusinessClassifications | public Collection getBusinessClassifications()(Code) | | Returns all BusinessClassifications of this service.
Collection of BusinessClassifications, empty if none exist. |
getServiceBindings | public Collection getServiceBindings()(Code) | | Returns all ServiceBindings of this service.
Collection of ServiceBindings, null if none exist. |
getServiceClassifications | public Collection getServiceClassifications()(Code) | | Returns all ServiceClassifications of this service.
Collection of ServiceClassifications, null if none exist. |
getServiceName | public String getServiceName()(Code) | | Return the name of this service.
String name of this service |
setBusinessClassifications | public void setBusinessClassifications(Collection businessClassifications)(Code) | | Sets all BusinessClassifications of this service.
Parameters: businessClassifications - Collection of BusinessClassifications. |
setProviderName | public void setProviderName(String providerName)(Code) | | |
setServiceBindings | public void setServiceBindings(Collection serviceBindings)(Code) | | Set the service bindings for this service.
Parameters: serviceBindings - Collection of ServiceBindings. |
setServiceClassifications | public void setServiceClassifications(Collection serviceClassifications)(Code) | | Sets all ServiceClassifications of this service.
Parameters: serviceClassifications - Collection of ServiceClassifications. |
setServiceId | public void setServiceId(String serviceId)(Code) | | |
setServiceName | public void setServiceName(String serviceName)(Code) | | Sets the name of this service.
Parameters: serviceName - name of this service |
|
|