Class MimePart

java.lang.Object
ch.tocco.nice2.optional.incamail.impl.soap.MimePart

public class MimePart extends Object

Java class for MimePart complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="MimePart">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="Content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
        <element name="ContentType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
      </sequence>
    </restriction>
  </complexContent>
</complexType>
  • Field Details

    • content

      protected byte[] content
    • contentType

      protected String contentType
  • Constructor Details

    • MimePart

      public MimePart()
  • Method Details

    • getContent

      public byte[] getContent()
      Gets the value of the content property.
      Returns:
      possible object is byte[]
    • setContent

      public void setContent(byte[] value)
      Sets the value of the content property.
      Parameters:
      value - allowed object is byte[]
    • getContentType

      public String getContentType()
      Gets the value of the contentType property.
      Returns:
      possible object is String
    • setContentType

      public void setContentType(String value)
      Sets the value of the contentType property.
      Parameters:
      value - allowed object is String