org.csapi.jr.se.fw
Class ServiceContract

java.lang.Object
  extended byorg.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, 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.
 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(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
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceContract

public ServiceContract()
Creates a new ServiceContract instance.


ServiceContract

public ServiceContract(java.lang.String _serviceContractID,
                       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 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(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.


hashCode

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