com.quartzdesk.service.msgrecv.v5_0
Class Message

java.lang.Object
  extended by com.quartzdesk.service.msgrecv.v5_0.Message

public class Message
extends Object

Java class for Message complex type.

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

 <complexType name="Message">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="subject" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="body" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="createdAt" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
         <element name="createdBy" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="attachments" type="{http://service.quartzdesk.com/msgrecv/v5_0}MessageAttachment" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<MessageAttachment> attachments
           
protected  String body
           
protected  Calendar createdAt
           
protected  String createdBy
           
protected  String subject
           
 
Constructor Summary
Message()
           
 
Method Summary
 List<MessageAttachment> getAttachments()
          Gets the value of the attachments property.
 String getBody()
          Gets the value of the body property.
 Calendar getCreatedAt()
          Gets the value of the createdAt property.
 String getCreatedBy()
          Gets the value of the createdBy property.
 String getSubject()
          Gets the value of the subject property.
 void setAttachments(List<MessageAttachment> attachments)
          Sets the value of the attachments property.
 void setBody(String value)
          Sets the value of the body property.
 void setCreatedAt(Calendar value)
          Sets the value of the createdAt property.
 void setCreatedBy(String value)
          Sets the value of the createdBy property.
 void setSubject(String value)
          Sets the value of the subject property.
 Message withAttachments(Collection<MessageAttachment> values)
           
 Message withAttachments(MessageAttachment... values)
           
 Message withBody(String value)
           
 Message withCreatedAt(Calendar value)
           
 Message withCreatedBy(String value)
           
 Message withSubject(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subject

protected String subject

body

protected String body

createdAt

protected Calendar createdAt

createdBy

protected String createdBy

attachments

protected List<MessageAttachment> attachments
Constructor Detail

Message

public Message()
Method Detail

getSubject

public String getSubject()
Gets the value of the subject property.

Returns:
possible object is String

setSubject

public void setSubject(String value)
Sets the value of the subject property.

Parameters:
value - allowed object is String

getBody

public String getBody()
Gets the value of the body property.

Returns:
possible object is String

setBody

public void setBody(String value)
Sets the value of the body property.

Parameters:
value - allowed object is String

getCreatedAt

public Calendar getCreatedAt()
Gets the value of the createdAt property.

Returns:
possible object is String

setCreatedAt

public void setCreatedAt(Calendar value)
Sets the value of the createdAt property.

Parameters:
value - allowed object is String

getCreatedBy

public String getCreatedBy()
Gets the value of the createdBy property.

Returns:
possible object is String

setCreatedBy

public void setCreatedBy(String value)
Sets the value of the createdBy property.

Parameters:
value - allowed object is String

getAttachments

public List<MessageAttachment> getAttachments()
Gets the value of the attachments 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 attachments property.

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

    getAttachments().add(newItem);
 

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


withSubject

public Message withSubject(String value)

withBody

public Message withBody(String value)

withCreatedAt

public Message withCreatedAt(Calendar value)

withCreatedBy

public Message withCreatedBy(String value)

withAttachments

public Message withAttachments(MessageAttachment... values)

withAttachments

public Message withAttachments(Collection<MessageAttachment> values)

setAttachments

public void setAttachments(List<MessageAttachment> attachments)
Sets the value of the attachments property.

Parameters:
attachments - allowed object is MessageAttachment


Copyright © 2013–2017 QuartzDesk.com. All rights reserved.