org.csapi.jr.se.mmm
Class MessageTreatment

java.lang.Object
  extended byorg.csapi.jr.se.mmm.MessageTreatment
All Implemented Interfaces:
java.io.Serializable

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

Defines the specific message treatment which an application requests of the messaging system when sending a message.

See Also:
Serialized Form

Constructor Summary
MessageTreatment()
          Creates a new MessageTreatment.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String getBillingID()
          This method returns a BillingID
 int getDeliveryReport()
          This method returns a DeliveryReport
 DeliveryTime getDeliveryTime()
          This method returns a DeliveryTime
 MessageTreatmentType getDiscriminator()
          This method returns the discriminator.
 java.lang.String getValidityTime()
          This method returns a ValidityTime
 int hashCode()
          Returns a hashcode value for the object.
 void setBillingID(java.lang.String value)
          This method sets a BillingID
 void setDeliveryReport(int value)
          This method sets a DeliveryReport
 void setDeliveryTime(DeliveryTime value)
          This method sets a DeliveryTime
 void setUndefined(MessageTreatmentType discriminator)
          This method will receive the discriminator as a parameter and will set _object to null
 void setValidityTime(java.lang.String value)
          This method sets a ValidityTime
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageTreatment

public MessageTreatment()
Creates a new MessageTreatment. Tagged choice of data elements always have empty constructors

Method Detail

getDiscriminator

public MessageTreatmentType getDiscriminator()
                                      throws InvalidUnionAccessorException
This method returns the discriminator.

Returns:
a MessageTreatmentType value
Throws:
InvalidUnionAccessorException - if an error occurs

getDeliveryReport

public int getDeliveryReport()
                      throws InvalidUnionAccessorException
This method returns a DeliveryReport

Returns:
a int value
Throws:
InvalidUnionAccessorException - if an error occurs

setDeliveryReport

public void setDeliveryReport(int value)
This method sets a DeliveryReport

Parameters:
value - a int value

getBillingID

public java.lang.String getBillingID()
                              throws InvalidUnionAccessorException
This method returns a BillingID

Returns:
a java.lang.String value
Throws:
InvalidUnionAccessorException - if an error occurs

setBillingID

public void setBillingID(java.lang.String value)
This method sets a BillingID

Parameters:
value - a java.lang.String value

getDeliveryTime

public DeliveryTime getDeliveryTime()
                             throws InvalidUnionAccessorException
This method returns a DeliveryTime

Returns:
a org.csapi.jr.se.mmm.DeliveryTime value
Throws:
InvalidUnionAccessorException - if an error occurs

setDeliveryTime

public void setDeliveryTime(DeliveryTime value)
This method sets a DeliveryTime

Parameters:
value - a org.csapi.jr.se.mmm.DeliveryTime value

getValidityTime

public java.lang.String getValidityTime()
                                 throws InvalidUnionAccessorException
This method returns a ValidityTime

Returns:
a java.lang.String value
Throws:
InvalidUnionAccessorException - if an error occurs

setValidityTime

public void setValidityTime(java.lang.String value)
This method sets a ValidityTime

Parameters:
value - a java.lang.String value

setUndefined

public void setUndefined(MessageTreatmentType discriminator)
This method will receive the discriminator as a parameter and will set _object to null

Parameters:
discriminator - a MessageTreatmentType value

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.