Class SignalMessage
- java.lang.Object
-
- org.oasis_open.docs.ebxml_msg.ebms.v3_0.ns.core._200704.SignalMessage
-
public class SignalMessage extends Object
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
Fields Modifier and Type Field Description protected List<Object>anyprotected List<Error>errorprotected MessageInfomessageInfoprotected PullRequestpullRequestprotected Receiptreceipt
-
Constructor Summary
Constructors Constructor Description SignalMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getAny()Gets the value of the any property.List<Error>getError()Gets the value of the error property.MessageInfogetMessageInfo()Gets the value of the messageInfo property.PullRequestgetPullRequest()Gets the value of the pullRequest property.ReceiptgetReceipt()Gets the value of the receipt property.voidsetMessageInfo(MessageInfo value)Sets the value of the messageInfo property.voidsetPullRequest(PullRequest value)Sets the value of the pullRequest property.voidsetReceipt(Receipt value)Sets the value of the receipt property.
-
-
-
Field Detail
-
messageInfo
protected MessageInfo messageInfo
-
pullRequest
protected PullRequest pullRequest
-
receipt
protected Receipt receipt
-
-
Method Detail
-
getMessageInfo
public MessageInfo getMessageInfo()
Gets the value of the messageInfo property.- Returns:
- possible object is
MessageInfo
-
setMessageInfo
public void setMessageInfo(MessageInfo value)
Sets the value of the messageInfo property.- Parameters:
value- allowed object isMessageInfo
-
getPullRequest
public PullRequest getPullRequest()
Gets the value of the pullRequest property.- Returns:
- possible object is
PullRequest
-
setPullRequest
public void setPullRequest(PullRequest value)
Sets the value of the pullRequest property.- Parameters:
value- allowed object isPullRequest
-
getReceipt
public Receipt getReceipt()
Gets the value of the receipt property.- Returns:
- possible object is
Receipt
-
setReceipt
public void setReceipt(Receipt value)
Sets the value of the receipt property.- Parameters:
value- allowed object isReceipt
-
getError
public List<Error> getError()
Gets the value of the error 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
setmethod for the error property.For example, to add a new item, do as follows:
getError().add(newItem);
Objects of the following type(s) are allowed in the list
Error- Returns:
- The value of the error property.
-
getAny
public List<Object> getAny()
Gets the value of the any 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
setmethod for the any property.For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
ObjectElement- Returns:
- The value of the any property.
-
-