public class Message extends MessagingObject
Java class for message complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="message"> <complexContent> <extension base="{http://xmlns.oracle.com/ucs/messaging/types}messagingObject"> <sequence> <element name="senders" type="{http://xmlns.oracle.com/ucs/messaging/types}address" maxOccurs="unbounded" minOccurs="0"/> <element name="recipients" type="{http://xmlns.oracle.com/ucs/messaging/types}address" maxOccurs="unbounded" minOccurs="0"/> <element name="replyTos" type="{http://xmlns.oracle.com/ucs/messaging/types}address" maxOccurs="unbounded" minOccurs="0"/> <element name="subject" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="headers" type="{http://xmlns.oracle.com/ucs/messaging/types}mimeHeader" maxOccurs="unbounded" minOccurs="0"/> <element name="content" type="{http://ws-i.org/profiles/basic/1.1/xsd}swaRef"/> <element name="messageInfo" type="{http://xmlns.oracle.com/ucs/messaging/types}messageInfo" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
MessagingObject.Metadata
Modifier and Type | Field and Description |
---|---|
protected DataHandler |
content |
protected List<MimeHeader> |
headers |
protected MessageInfo |
messageInfo |
protected List<Address> |
recipients |
protected List<Address> |
replyTos |
protected List<Address> |
senders |
protected String |
subject |
metadata
Constructor and Description |
---|
Message() |
Modifier and Type | Method and Description |
---|---|
DataHandler |
getContent()
Gets the value of the content property.
|
List<MimeHeader> |
getHeaders()
Gets the value of the headers property.
|
MessageInfo |
getMessageInfo()
Gets the value of the messageInfo property.
|
List<Address> |
getRecipients()
Gets the value of the recipients property.
|
List<Address> |
getReplyTos()
Gets the value of the replyTos property.
|
List<Address> |
getSenders()
Gets the value of the senders property.
|
String |
getSubject()
Gets the value of the subject property.
|
void |
setContent(DataHandler value)
Sets the value of the content property.
|
void |
setMessageInfo(MessageInfo value)
Sets the value of the messageInfo property.
|
void |
setSubject(String value)
Sets the value of the subject property.
|
getMetadata, setMetadata
protected String subject
protected List<MimeHeader> headers
protected DataHandler content
protected MessageInfo messageInfo
public List<Address> getSenders()
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 senders property.
For example, to add a new item, do as follows:
getSenders().add(newItem);
Objects of the following type(s) are allowed in the list
Address
public List<Address> getRecipients()
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 recipients property.
For example, to add a new item, do as follows:
getRecipients().add(newItem);
Objects of the following type(s) are allowed in the list
Address
public List<Address> getReplyTos()
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 replyTos property.
For example, to add a new item, do as follows:
getReplyTos().add(newItem);
Objects of the following type(s) are allowed in the list
Address
public String getSubject()
String
public void setSubject(String value)
value
- allowed object is
String
public List<MimeHeader> getHeaders()
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 headers property.
For example, to add a new item, do as follows:
getHeaders().add(newItem);
Objects of the following type(s) are allowed in the list
MimeHeader
public DataHandler getContent()
String
public void setContent(DataHandler value)
value
- allowed object is
String
public MessageInfo getMessageInfo()
MessageInfo
public void setMessageInfo(MessageInfo value)
value
- allowed object is
MessageInfo
Copyright © 2006, 2017 Oracle and/or its affiliates. All rights reserved.