Oracle Fusion Middleware User Messaging Service 11.1.1.6.0 Java API Reference
E14011-04

oracle.ucs.messaging.ws.types
Class Message

java.lang.Object
  extended by oracle.ucs.messaging.ws.types.MessagingObject
      extended by oracle.ucs.messaging.ws.types.Message

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>
 


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.ucs.messaging.ws.types.MessagingObject
MessagingObject.Metadata
 
Constructor Summary
Message()
           
 
Method Summary
 javax.activation.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.
 java.lang.String getSubject()
          Gets the value of the subject property.
 void setContent(javax.activation.DataHandler value)
          Sets the value of the content property.
 void setMessageInfo(MessageInfo value)
          Sets the value of the messageInfo property.
 void setSubject(java.lang.String value)
          Sets the value of the subject property.
 
Methods inherited from class oracle.ucs.messaging.ws.types.MessagingObject
getMetadata, setMetadata
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Message

public Message()
Method Detail

getContent

public javax.activation.DataHandler getContent()
Gets the value of the content property.

Returns:
possible object is String

getHeaders

public List<MimeHeader> getHeaders()
Gets the value of the headers 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 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


getMessageInfo

public MessageInfo getMessageInfo()
Gets the value of the messageInfo property.

Returns:
possible object is MessageInfo

getRecipients

public List<Address> getRecipients()
Gets the value of the recipients 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 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


getReplyTos

public List<Address> getReplyTos()
Gets the value of the replyTos 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 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


getSenders

public List<Address> getSenders()
Gets the value of the senders 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 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


getSubject

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

Returns:
possible object is String

setContent

public void setContent(javax.activation.DataHandler value)
Sets the value of the content property.

Parameters:
value - allowed object is String

setMessageInfo

public void setMessageInfo(MessageInfo value)
Sets the value of the messageInfo property.

Parameters:
value - allowed object is MessageInfo

setSubject

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

Parameters:
value - allowed object is String

Oracle Fusion Middleware User Messaging Service 11.1.1.6.0 Java API Reference
E14011-04

Copyright © 2009, 2011 Oracle and/or its affiliates. All rights reserved.