|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704.Messaging
public class Messaging
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 |
|---|
protected List<SignalMessage> signalMessages
protected List<UserMessage> userMessages
protected List<Object> anies
protected String id
protected Boolean mustUnderstand
protected Boolean mustUnderstand12
| Constructor Detail |
|---|
public Messaging()
public Messaging(List<SignalMessage> signalMessages,
List<UserMessage> userMessages,
List<Object> anies,
String id,
Boolean mustUnderstand,
Boolean mustUnderstand12,
Map<QName,String> otherAttributes)
| Method Detail |
|---|
public List<SignalMessage> getSignalMessages()
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
public List<UserMessage> getUserMessages()
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
public List<Object> getAnies()
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
public String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic Boolean getMustUnderstand()
Stringpublic void setMustUnderstand(Boolean value)
value - allowed object is
Stringpublic Boolean getMustUnderstand12()
Booleanpublic void setMustUnderstand12(Boolean value)
value - allowed object is
Booleanpublic Map<QName,String> getOtherAttributes()
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.
public void setSignalMessages(List<SignalMessage> value)
public void setUserMessages(List<UserMessage> value)
public void setAnies(List<Object> value)
public String toString()
toString in class Object
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic Messaging withSignalMessages(SignalMessage... values)
public Messaging withSignalMessages(Collection<SignalMessage> values)
public Messaging withUserMessages(UserMessage... values)
public Messaging withUserMessages(Collection<UserMessage> values)
public Messaging withAnies(Object... values)
public Messaging withAnies(Collection<Object> values)
public Messaging withId(String value)
public Messaging withMustUnderstand(Boolean value)
public Messaging withMustUnderstand12(Boolean value)
public Messaging withSignalMessages(List<SignalMessage> value)
public Messaging withUserMessages(List<UserMessage> value)
public Messaging withAnies(List<Object> value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||