|
||||||||||
| 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.SignalMessage
public class SignalMessage
In the core part of ebMS-3 specification, an eb:Signal Message is allowed to contain eb:MessageInfo and at most one Receipt Signal, at most one eb:PullRequest element, and/or a series of eb:Error elements. In part 2 of the ebMS-3 specification, new signals may be introduced, and for this reason, an extensibility point is added here to the eb:SignalMessage element to allow it to contain any elements.
Java class for SignalMessage complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SignalMessage">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="MessageInfo" type="{http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/}MessageInfo"/>
<element name="PullRequest" type="{http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/}PullRequest" minOccurs="0"/>
<element name="Receipt" type="{http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/}Receipt" minOccurs="0"/>
<element name="Error" type="{http://docs.oasis-open.org/ebxml-msg/ebms/v3.0/ns/core/200704/}Error" maxOccurs="unbounded" minOccurs="0"/>
<any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<Object> |
anies
|
protected List<Error> |
errors
|
protected MessageInfo |
messageInfo
|
protected PullRequest |
pullRequest
|
protected Receipt |
receipt
|
| Constructor Summary | |
|---|---|
SignalMessage()
Default no-arg constructor |
|
SignalMessage(MessageInfo messageInfo,
PullRequest pullRequest,
Receipt receipt,
List<Error> errors,
List<Object> anies)
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. |
List<Error> |
getErrors()
Gets the value of the errors property. |
MessageInfo |
getMessageInfo()
Gets the value of the messageInfo property. |
PullRequest |
getPullRequest()
Gets the value of the pullRequest property. |
Receipt |
getReceipt()
Gets the value of the receipt property. |
void |
setAnies(List<Object> value)
|
void |
setErrors(List<Error> value)
|
void |
setMessageInfo(MessageInfo value)
Sets the value of the messageInfo property. |
void |
setPullRequest(PullRequest value)
Sets the value of the pullRequest property. |
void |
setReceipt(Receipt value)
Sets the value of the receipt property. |
String |
toString()
|
SignalMessage |
withAnies(Collection<Object> values)
|
SignalMessage |
withAnies(List<Object> value)
|
SignalMessage |
withAnies(Object... values)
|
SignalMessage |
withErrors(Collection<Error> values)
|
SignalMessage |
withErrors(Error... values)
|
SignalMessage |
withErrors(List<Error> value)
|
SignalMessage |
withMessageInfo(MessageInfo value)
|
SignalMessage |
withPullRequest(PullRequest value)
|
SignalMessage |
withReceipt(Receipt value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected MessageInfo messageInfo
protected PullRequest pullRequest
protected Receipt receipt
protected List<Error> errors
protected List<Object> anies
| Constructor Detail |
|---|
public SignalMessage()
public SignalMessage(MessageInfo messageInfo,
PullRequest pullRequest,
Receipt receipt,
List<Error> errors,
List<Object> anies)
| Method Detail |
|---|
public MessageInfo getMessageInfo()
MessageInfopublic void setMessageInfo(MessageInfo value)
value - allowed object is
MessageInfopublic PullRequest getPullRequest()
PullRequestpublic void setPullRequest(PullRequest value)
value - allowed object is
PullRequestpublic Receipt getReceipt()
Receiptpublic void setReceipt(Receipt value)
value - allowed object is
Receiptpublic List<Error> getErrors()
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 errors property.
For example, to add a new item, do as follows:
getErrors().add(newItem);
Objects of the following type(s) are allowed in the list
Error
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 void setErrors(List<Error> 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 SignalMessage withMessageInfo(MessageInfo value)
public SignalMessage withPullRequest(PullRequest value)
public SignalMessage withReceipt(Receipt value)
public SignalMessage withErrors(Error... values)
public SignalMessage withErrors(Collection<Error> values)
public SignalMessage withAnies(Object... values)
public SignalMessage withAnies(Collection<Object> values)
public SignalMessage withErrors(List<Error> value)
public SignalMessage withAnies(List<Object> value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||