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

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

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

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

messageInfo

protected MessageInfo messageInfo

pullRequest

protected PullRequest pullRequest

receipt

protected Receipt receipt

errors

protected List<Error> errors

anies

protected List<Object> anies
Constructor Detail

SignalMessage

public SignalMessage()
Default no-arg constructor


SignalMessage

public SignalMessage(MessageInfo messageInfo,
                     PullRequest pullRequest,
                     Receipt receipt,
                     List<Error> errors,
                     List<Object> anies)
Fully-initialising value constructor

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 is MessageInfo

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 is PullRequest

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 is Receipt

getErrors

public List<Error> getErrors()
Gets the value of the errors 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 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


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


setErrors

public void setErrors(List<Error> 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

withMessageInfo

public SignalMessage withMessageInfo(MessageInfo value)

withPullRequest

public SignalMessage withPullRequest(PullRequest value)

withReceipt

public SignalMessage withReceipt(Receipt value)

withErrors

public SignalMessage withErrors(Error... values)

withErrors

public SignalMessage withErrors(Collection<Error> values)

withAnies

public SignalMessage withAnies(Object... values)

withAnies

public SignalMessage withAnies(Collection<Object> values)

withErrors

public SignalMessage withErrors(List<Error> value)

withAnies

public SignalMessage withAnies(List<Object> value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.