org.csapi.jr.se.fw
Class Service

java.lang.Object
  |
  +--org.csapi.jr.se.fw.Service
All Implemented Interfaces:
java.io.Serializable

public final class Service
extends java.lang.Object
implements java.io.Serializable

This data type is a Sequence of Data Elements which describes a registered SCFs. It is a structured type which consists of ServiceID and ServiceDescription.

See Also:
Serialized Form

Constructor Summary
Service()
          Creates a new Service instance.
Service(java.lang.String _serviceID, org.csapi.jr.se.fw.ServiceDescription _serviceDescription)
          Creates a new Service instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.fw.ServiceDescription getServiceDescription()
          This method returns a serviceDescription.
 java.lang.String getServiceID()
          This method returns a serviceID.
 int hashCode()
          Returns a hashcode value for the object.
 void setServiceDescription(org.csapi.jr.se.fw.ServiceDescription serviceDescription)
          This method sets a serviceDescription.
 void setServiceID(java.lang.String serviceID)
          This method sets a serviceID.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Service

public Service()
Creates a new Service instance.


Service

public Service(java.lang.String _serviceID,
               org.csapi.jr.se.fw.ServiceDescription _serviceDescription)
Creates a new Service instance.

Parameters:
_serviceID -
_serviceDescription - This field contains the description of the service
Method Detail

getServiceID

public java.lang.String getServiceID()
This method returns a serviceID.

Returns:
a String value

getServiceDescription

public org.csapi.jr.se.fw.ServiceDescription getServiceDescription()
This method returns a serviceDescription.

Returns:
a org.csapi.jr.se.fw.ServiceDescription value

setServiceID

public void setServiceID(java.lang.String serviceID)
This method sets a serviceID.


setServiceDescription

public void setServiceDescription(org.csapi.jr.se.fw.ServiceDescription serviceDescription)
This method sets a serviceDescription.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object