com.opencloud.slee.resources.mm7
Class ReplaceRequestParameters

java.lang.Object
  extended by com.opencloud.slee.resources.mm7.ReplaceRequestParameters

public final class ReplaceRequestParameters
extends java.lang.Object

Container for all optional parameters related to a Replace Request.


Constructor Summary
ReplaceRequestParameters()
          Construct a new object with no optional parameters set
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compare this object to another ReplaceRequestParameters object.
 boolean getAllowContentAdaptation()
          Get the allow-content-adaptation flag.
 java.lang.String getApplicID()
          Get the application id of destination application.
 java.lang.String getAuxApplicInfo()
          Get the auxiliary application addressing information.
 javax.mail.internet.MimeBodyPart getContent()
          Get the optional attached content parameter.
 ContentClass getContentClass()
          Get the content class.
 java.lang.Boolean getDistributionIndication()
          Get the optional distribution-indication flag.
 java.lang.Boolean getDRMContent()
          Get the DRM content - indication flag.
 MM7RelativeOrAbsoluteDate getEarliestDelivery()
          Get the optional earliest-delivery timestamp parameter.
 java.lang.Boolean getReadReplyReporting()
          Get the optional read-reply-reporting-requested flag.
 java.lang.String getReplyApplicID()
          Get the reply application id of an application to which reply-MMs, delivery reports and read-reply reports are addressed.
 java.lang.String getServiceCode()
          Get the optional service code parameter.
 java.util.Date getTimestamp()
          Get the optional timestamp parameter.
 int hashCode()
           
 void setApplicID(java.lang.String applicID)
          Set the application id of destination application.
 void setAuxApplicInfo(java.lang.String auxApplicInfo)
          Set the auxiliary application addressing information.application id of destination application.
 void setContent(javax.mail.internet.MimeBodyPart content, boolean allowContentAdaptation)
          Set the attached content parameter.
 void setContentClass(ContentClass contentClass)
          Set the content class.
 void setDistributionIndication(java.lang.Boolean onOff)
          Set the optional distribution-indicator flag.
 void setDRMContent(java.lang.Boolean drmContent)
          Set the DRM content - indicator flag.
 void setEarliestDelivery(MM7RelativeOrAbsoluteDate earliest)
          Set the optional earliest-delivery timestamp parameter.
 void setReadReplyReporting(java.lang.Boolean onOff)
          Set the optional read-reply-reporting-requested flag.
 void setReplyApplicID(java.lang.String replyApplicID)
          Set the reply application id of an application to which reply-MMs, delivery reports and read-reply reports are addressed.
 void setServiceCode(java.lang.String serviceCode)
          Set the optional service code parameter.
 void setTimestamp(java.util.Date timestamp)
          Set the optional timestamp parameter.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplaceRequestParameters

public ReplaceRequestParameters()
Construct a new object with no optional parameters set

Method Detail

setServiceCode

public void setServiceCode(java.lang.String serviceCode)
Set the optional service code parameter.

Parameters:
serviceCode - the new service code, or null to clear the service code

getServiceCode

public java.lang.String getServiceCode()
Get the optional service code parameter.

Returns:
the service code, or null if not present

setReadReplyReporting

public void setReadReplyReporting(java.lang.Boolean onOff)
Set the optional read-reply-reporting-requested flag.

Parameters:
onOff - the new value of the flag, or null if not present

getReadReplyReporting

public java.lang.Boolean getReadReplyReporting()
Get the optional read-reply-reporting-requested flag.

Returns:
the value of the flag, or null if not present

setTimestamp

public void setTimestamp(java.util.Date timestamp)
Set the optional timestamp parameter.

Parameters:
timestamp - the new timestamp, or null to clear the timestamp

getTimestamp

public java.util.Date getTimestamp()
Get the optional timestamp parameter.

Returns:
the timestamp, or null if not present

setEarliestDelivery

public void setEarliestDelivery(MM7RelativeOrAbsoluteDate earliest)
Set the optional earliest-delivery timestamp parameter.

Parameters:
earliest - the new earliest-delivery timestamp, or null to clear the earliest-delivery timestamp

getEarliestDelivery

public MM7RelativeOrAbsoluteDate getEarliestDelivery()
Get the optional earliest-delivery timestamp parameter.

Returns:
the earliest-delivery timestamp, or null if not present

setDistributionIndication

public void setDistributionIndication(java.lang.Boolean onOff)
Set the optional distribution-indicator flag.

Parameters:
onOff - the new value of the flag, or null if not present

getDistributionIndication

public java.lang.Boolean getDistributionIndication()
Get the optional distribution-indication flag.

Returns:
the value of the flag, or null if not present

setContentClass

public void setContentClass(ContentClass contentClass)
Set the content class.

Parameters:
contentClass - the content class value, or null to clear
Since:
MM7 v.6.8.0

getContentClass

public ContentClass getContentClass()
Get the content class.

Returns:
content class, or null if not set
Since:
MM7 v.6.8.0

setDRMContent

public void setDRMContent(java.lang.Boolean drmContent)
Set the DRM content - indicator flag.

Parameters:
drmContent - the new value of the flag, or null if not set
Since:
MM7 v.6.8.0

getDRMContent

public java.lang.Boolean getDRMContent()
Get the DRM content - indication flag.

Returns:
the value of the flag, or null if not set
Since:
MM7 v.6.8.0

setApplicID

public void setApplicID(java.lang.String applicID)
Set the application id of destination application.

Parameters:
applicID - the new application id value, or null to clear
Since:
MM7 v.6.8.0

getApplicID

public java.lang.String getApplicID()
Get the application id of destination application.

Returns:
application id, or null if not set
Since:
MM7 v.6.8.0

setReplyApplicID

public void setReplyApplicID(java.lang.String replyApplicID)
Set the reply application id of an application to which reply-MMs, delivery reports and read-reply reports are addressed.

Parameters:
replyApplicID - the new reply application id value, or null to clear
Since:
MM7 v.6.8.0

getReplyApplicID

public java.lang.String getReplyApplicID()
Get the reply application id of an application to which reply-MMs, delivery reports and read-reply reports are addressed.

Returns:
reply application id, or null if not set
Since:
MM7 v.6.8.0

setAuxApplicInfo

public void setAuxApplicInfo(java.lang.String auxApplicInfo)
Set the auxiliary application addressing information.application id of destination application.

Parameters:
auxApplicInfo - the new auxiliary application information value, or null to clear
Since:
MM7 v.6.8.0

getAuxApplicInfo

public java.lang.String getAuxApplicInfo()
Get the auxiliary application addressing information.

Returns:
auxiliary application information, or null if not set
Since:
MM7 v.6.8.0

setContent

public void setContent(javax.mail.internet.MimeBodyPart content,
                       boolean allowContentAdaptation)
Set the attached content parameter.

Parameters:
content - the new content, or null to clear the content
allowContentAdaptation - if true, allow content adaptation

getContent

public javax.mail.internet.MimeBodyPart getContent()
Get the optional attached content parameter.

Returns:
the attached content, or null if not present

getAllowContentAdaptation

public boolean getAllowContentAdaptation()
Get the allow-content-adaptation flag.

Returns:
the value of the flag

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Compare this object to another ReplaceRequestParameters object. Content is compared based on content IDs only.

Overrides:
equals in class java.lang.Object
Returns:
true if the two objects are equal
See Also:
Object.equals(java.lang.Object)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object