org.csapi.jr.se.mmm
Class BodyPartDescription

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

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

Defines a sequence of data elements that specify the properties of a body part.

See Also:
Serialized Form

Constructor Summary
BodyPartDescription()
          Creates a new BodyPartDescription instance.
BodyPartDescription(java.lang.String _contentDescription, int _contentSize, java.lang.String _contentType, java.lang.String _contentTransferEncoding, java.lang.String _contentID, java.lang.String _contentDisposition, java.lang.String _partID, int _nestingLevel)
          Creates a new BodyPartDescription instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String getContentDescription()
          This method returns a contentDescription.
 java.lang.String getContentDisposition()
          This method returns a contentDisposition.
 java.lang.String getContentID()
          This method returns a contentID.
 int getContentSize()
          This method returns a contentSize.
 java.lang.String getContentTransferEncoding()
          This method returns a contentTransferEncoding.
 java.lang.String getContentType()
          This method returns a contentType.
 int getNestingLevel()
          This method returns a nestingLevel.
 java.lang.String getPartID()
          This method returns a partID.
 int hashCode()
          Returns a hashcode value for the object.
 void setContentDescription(java.lang.String contentDescription)
          This method sets a contentDescription.
 void setContentDisposition(java.lang.String contentDisposition)
          This method sets a contentDisposition.
 void setContentID(java.lang.String contentID)
          This method sets a contentID.
 void setContentSize(int contentSize)
          This method sets a contentSize.
 void setContentTransferEncoding(java.lang.String contentTransferEncoding)
          This method sets a contentTransferEncoding.
 void setContentType(java.lang.String contentType)
          This method sets a contentType.
 void setNestingLevel(int nestingLevel)
          This method sets a nestingLevel.
 void setPartID(java.lang.String partID)
          This method sets a partID.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BodyPartDescription

public BodyPartDescription()
Creates a new BodyPartDescription instance.


BodyPartDescription

public BodyPartDescription(java.lang.String _contentDescription,
                           int _contentSize,
                           java.lang.String _contentType,
                           java.lang.String _contentTransferEncoding,
                           java.lang.String _contentID,
                           java.lang.String _contentDisposition,
                           java.lang.String _partID,
                           int _nestingLevel)
Creates a new BodyPartDescription instance.

Parameters:
_contentDescription - The contents of the field shall be interpreted as the RFC 2045 Content-Description field body.
_contentSize - This field specifies the length of the body part content in bytes.
_contentType - The contents of the field shall be interpreted as the RFC 2045 Content-Type field body.
_contentTransferEncoding - The contents of the field shall be interpreted as the RFC 2045 Content-Transfer-Encoding field body.
_contentID - The contents of the field shall be interpreted as the RFC 2045 Content-ID field body.
_contentDisposition - The contents of the field shall be interpreted as the RFC 2183 Content-Disposition field body.
_partID - Identifies the body part uniquely within the message. This identifier is created by the System and shall always be the same for the same message, whether a structure was listed with a nesting level of n or n+1 should not make a difference.
_nestingLevel - Specifies how deep the part is nested within the structure.
Method Detail

getContentDescription

public java.lang.String getContentDescription()
This method returns a contentDescription.

Returns:
a String value

getContentSize

public int getContentSize()
This method returns a contentSize.

Returns:
a int value

getContentType

public java.lang.String getContentType()
This method returns a contentType.

Returns:
a String value

getContentTransferEncoding

public java.lang.String getContentTransferEncoding()
This method returns a contentTransferEncoding.

Returns:
a String value

getContentID

public java.lang.String getContentID()
This method returns a contentID.

Returns:
a String value

getContentDisposition

public java.lang.String getContentDisposition()
This method returns a contentDisposition.

Returns:
a String value

getPartID

public java.lang.String getPartID()
This method returns a partID.

Returns:
a String value

getNestingLevel

public int getNestingLevel()
This method returns a nestingLevel.

Returns:
a int value

setContentDescription

public void setContentDescription(java.lang.String contentDescription)
This method sets a contentDescription.


setContentSize

public void setContentSize(int contentSize)
This method sets a contentSize.


setContentType

public void setContentType(java.lang.String contentType)
This method sets a contentType.


setContentTransferEncoding

public void setContentTransferEncoding(java.lang.String contentTransferEncoding)
This method sets a contentTransferEncoding.


setContentID

public void setContentID(java.lang.String contentID)
This method sets a contentID.


setContentDisposition

public void setContentDisposition(java.lang.String contentDisposition)
This method sets a contentDisposition.


setPartID

public void setPartID(java.lang.String partID)
This method sets a partID.


setNestingLevel

public void setNestingLevel(int nestingLevel)
This method sets a nestingLevel.


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.