org.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704
Class Messaging

java.lang.Object
  extended by org.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704.Messaging
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class Messaging
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

The eb:Messaging element is the top element of ebMS-3 headers, and it is placed within the SOAP Header element (either SOAP 1.1 or SOAP 1.2). The eb:Messaging element may contain several instances of eb:SignalMessage and eb:UserMessage elements. However in the core part of the ebMS-3 specification, only one instance of either eb:UserMessage or eb:SignalMessage must be present. The second part of ebMS-3 specification may need to include multiple instances of either eb:SignalMessage, eb:UserMessage or both. Therefore, this schema is allowing multiple instances of eb:SignalMessage and eb:UserMessage elements for part 2 of the ebMS-3 specification. Note that the eb:Messaging element cannot be empty (at least one of eb:SignalMessage or eb:UserMessage element must present).

Java class for Messaging complex type.

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

 <complexType name="Messaging">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="SignalMessage" type="{http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/}SignalMessage" maxOccurs="unbounded" minOccurs="0"/>
         <element name="UserMessage" type="{http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/}UserMessage" maxOccurs="unbounded" minOccurs="0"/>
         <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attGroup ref="{http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/}headerExtension"/>
       <anyAttribute processContents='lax' namespace='##other'/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> anies
           
protected  String id
           
protected  Boolean mustUnderstand
           
protected  Boolean mustUnderstand12
           
protected  List<SignalMessage> signalMessages
           
protected  List<UserMessage> userMessages
           
 
Constructor Summary
Messaging()
          Default no-arg constructor
Messaging(List<SignalMessage> signalMessages, List<UserMessage> userMessages, List<Object> anies, String id, Boolean mustUnderstand, Boolean mustUnderstand12, Map<QName,String> otherAttributes)
          Fully-initialising value constructor
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 List<Object> getAnies()
          Gets the value of the anies property.
 String getId()
          Gets the value of the id property.
 Boolean getMustUnderstand()
          if SOAP 1.1 is being used, this attribute is required
 Boolean getMustUnderstand12()
          if SOAP 1.2 is being used, this attribute is required
 Map<QName,String> getOtherAttributes()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 List<SignalMessage> getSignalMessages()
          Gets the value of the signalMessages property.
 List<UserMessage> getUserMessages()
          Gets the value of the userMessages property.
 void setAnies(List<Object> value)
           
 void setId(String value)
          Sets the value of the id property.
 void setMustUnderstand(Boolean value)
          Sets the value of the mustUnderstand property.
 void setMustUnderstand12(Boolean value)
          Sets the value of the mustUnderstand12 property.
 void setSignalMessages(List<SignalMessage> value)
           
 void setUserMessages(List<UserMessage> value)
           
 String toString()
           
 Messaging withAnies(Collection<Object> values)
           
 Messaging withAnies(List<Object> value)
           
 Messaging withAnies(Object... values)
           
 Messaging withId(String value)
           
 Messaging withMustUnderstand(Boolean value)
           
 Messaging withMustUnderstand12(Boolean value)
           
 Messaging withSignalMessages(Collection<SignalMessage> values)
           
 Messaging withSignalMessages(List<SignalMessage> value)
           
 Messaging withSignalMessages(SignalMessage... values)
           
 Messaging withUserMessages(Collection<UserMessage> values)
           
 Messaging withUserMessages(List<UserMessage> value)
           
 Messaging withUserMessages(UserMessage... values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

signalMessages

protected List<SignalMessage> signalMessages

userMessages

protected List<UserMessage> userMessages

anies

protected List<Object> anies

id

protected String id

mustUnderstand

protected Boolean mustUnderstand

mustUnderstand12

protected Boolean mustUnderstand12
Constructor Detail

Messaging

public Messaging()
Default no-arg constructor


Messaging

public Messaging(List<SignalMessage> signalMessages,
                 List<UserMessage> userMessages,
                 List<Object> anies,
                 String id,
                 Boolean mustUnderstand,
                 Boolean mustUnderstand12,
                 Map<QName,String> otherAttributes)
Fully-initialising value constructor

Method Detail

getSignalMessages

public List<SignalMessage> getSignalMessages()
Gets the value of the signalMessages 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 signalMessages property.

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

    getSignalMessages().add(newItem);
 

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


getUserMessages

public List<UserMessage> getUserMessages()
Gets the value of the userMessages 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 userMessages property.

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

    getUserMessages().add(newItem);
 

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


getAnies

public List<Object> getAnies()
Gets the value of the anies 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 anies property.

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

    getAnies().add(newItem);
 

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


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getMustUnderstand

public Boolean getMustUnderstand()
if SOAP 1.1 is being used, this attribute is required

Returns:
possible object is String

setMustUnderstand

public void setMustUnderstand(Boolean value)
Sets the value of the mustUnderstand property.

Parameters:
value - allowed object is String

getMustUnderstand12

public Boolean getMustUnderstand12()
if SOAP 1.2 is being used, this attribute is required

Returns:
possible object is Boolean

setMustUnderstand12

public void setMustUnderstand12(Boolean value)
Sets the value of the mustUnderstand12 property.

Parameters:
value - allowed object is Boolean

getOtherAttributes

public Map<QName,String> getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

Returns:
always non-null

setSignalMessages

public void setSignalMessages(List<SignalMessage> value)

setUserMessages

public void setUserMessages(List<UserMessage> value)

setAnies

public void setAnies(List<Object> value)

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withSignalMessages

public Messaging withSignalMessages(SignalMessage... values)

withSignalMessages

public Messaging withSignalMessages(Collection<SignalMessage> values)

withUserMessages

public Messaging withUserMessages(UserMessage... values)

withUserMessages

public Messaging withUserMessages(Collection<UserMessage> values)

withAnies

public Messaging withAnies(Object... values)

withAnies

public Messaging withAnies(Collection<Object> values)

withId

public Messaging withId(String value)

withMustUnderstand

public Messaging withMustUnderstand(Boolean value)

withMustUnderstand12

public Messaging withMustUnderstand12(Boolean value)

withSignalMessages

public Messaging withSignalMessages(List<SignalMessage> value)

withUserMessages

public Messaging withUserMessages(List<UserMessage> value)

withAnies

public Messaging withAnies(List<Object> value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.