Class Attachment

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

public class Attachment extends Object

Java class for Attachment complex type.

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

<complexType name="Attachment">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="Body" type="{http://soap.incamail.ch/3.0/types}MimePart"/>
        <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
      </sequence>
    </restriction>
  </complexContent>
</complexType>
  • Field Details

  • Constructor Details

    • Attachment

      public Attachment()
  • Method Details

    • getBody

      public MimePart getBody()
      Gets the value of the body property.
      Returns:
      possible object is MimePart
    • setBody

      public void setBody(MimePart value)
      Sets the value of the body property.
      Parameters:
      value - allowed object is MimePart
    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

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