org.csapi.jr.se.fw
Class ServiceContract

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

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

This data type is a Sequence of Data Elements which represents a service contract. It is a structured data type which consists of ServiceContractID and ServiceContractDescription.

See Also:
Serialized Form

Constructor Summary
ServiceContract()
          Creates a new ServiceContract instance.
ServiceContract(java.lang.String _serviceContractID, org.csapi.jr.se.fw.ServiceContractDescription _serviceContractDescription)
          Creates a new ServiceContract instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 org.csapi.jr.se.fw.ServiceContractDescription getServiceContractDescription()
          This method returns a serviceContractDescription.
 java.lang.String getServiceContractID()
          This method returns a serviceContractID.
 int hashCode()
          Returns a hashcode value for the object.
 void setServiceContractDescription(org.csapi.jr.se.fw.ServiceContractDescription serviceContractDescription)
          This method sets a serviceContractDescription.
 void setServiceContractID(java.lang.String serviceContractID)
          This method sets a serviceContractID.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceContract

public ServiceContract()
Creates a new ServiceContract instance.


ServiceContract

public ServiceContract(java.lang.String _serviceContractID,
                       org.csapi.jr.se.fw.ServiceContractDescription _serviceContractDescription)
Creates a new ServiceContract instance.

Parameters:
_serviceContractID -
_serviceContractDescription -
Method Detail

getServiceContractID

public java.lang.String getServiceContractID()
This method returns a serviceContractID.

Returns:
a String value

getServiceContractDescription

public org.csapi.jr.se.fw.ServiceContractDescription getServiceContractDescription()
This method returns a serviceContractDescription.

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

setServiceContractID

public void setServiceContractID(java.lang.String serviceContractID)
This method sets a serviceContractID.


setServiceContractDescription

public void setServiceContractDescription(org.csapi.jr.se.fw.ServiceContractDescription serviceContractDescription)
This method sets a serviceContractDescription.


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