Class SendMessage

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

public class SendMessage extends Object

Java class for SendMessage complex type.

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

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

  • Constructor Details

    • SendMessage

      public SendMessage()
  • Method Details

    • getAttachment

      public List<Attachment> getAttachment()
      Gets the value of the attachment property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the attachment property.

      For example, to add a new item, do as follows:

          getAttachment().add(newItem);
       

      Objects of the following type(s) are allowed in the list Attachment

    • getAttributes

      public MessageAttributes getAttributes()
      Gets the value of the attributes property.
      Returns:
      possible object is MessageAttributes
    • setAttributes

      public void setAttributes(MessageAttributes value)
      Sets the value of the attributes property.
      Parameters:
      value - allowed object is MessageAttributes
    • getBody

      public List<MimePart> getBody()
      Gets the value of the body property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the body property.

      For example, to add a new item, do as follows:

          getBody().add(newItem);
       

      Objects of the following type(s) are allowed in the list MimePart

    • getHeader

      public MessageHeader getHeader()
      Gets the value of the header property.
      Returns:
      possible object is MessageHeader
    • setHeader

      public void setHeader(MessageHeader value)
      Sets the value of the header property.
      Parameters:
      value - allowed object is MessageHeader