Package com.helger.phase4.ebms3header
Class Ebms3SignalMessage
java.lang.Object
com.helger.phase4.ebms3header.Ebms3SignalMessage
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Serializable,Cloneable
@CodingStyleguideUnaware
public class Ebms3SignalMessage
extends Object
implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
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.
<p>Java class for SignalMessage complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre>
<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>
</pre>
<p>This class was annotated by ph-jaxb22-plugin -Xph-annotate</p>
<p>This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode</p>
<p>This class contains methods created by ph-jaxb22-plugin -Xph-tostring</p>
<p>This class contains methods created by ph-jaxb22-plugin -Xph-list-extension</p>
<p>This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2</p>
<p>This class contains methods created by ph-jaxb22-plugin -Xph-value-extender</p>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor<br> Note: automatically created by ph-jaxb22-plugin -Xph-value-extender -
Method Summary
Modifier and TypeMethodDescriptionvoidCreated by ph-jaxb22-plugin -Xph-list-extensionvoidaddError(Ebms3Error elem) Created by ph-jaxb22-plugin -Xph-list-extensionclone()Created by ph-jaxb22-plugin -Xph-cloneable2voidThis method clones all values from <code>this</code> to the passed object.booleanCreated by ph-jaxb22-plugin -Xph-equalshashcodegetAny()Gets the value of the any property.getAnyAtIndex(int index) Created by ph-jaxb22-plugin -Xph-list-extensionintCreated by ph-jaxb22-plugin -Xph-list-extensiongetError()Gets the value of the error property.getErrorAtIndex(int index) Created by ph-jaxb22-plugin -Xph-list-extensionintCreated by ph-jaxb22-plugin -Xph-list-extensionGets the value of the messageInfo property.Gets the value of the pullRequest property.Gets the value of the receipt property.booleanCreated by ph-jaxb22-plugin -Xph-list-extensionbooleanCreated by ph-jaxb22-plugin -Xph-list-extensioninthashCode()Created by ph-jaxb22-plugin -Xph-equalshashcodebooleanCreated by ph-jaxb22-plugin -Xph-list-extensionbooleanCreated by ph-jaxb22-plugin -Xph-list-extensionvoidCreated by ph-jaxb22-plugin -Xph-list-extensionvoidsetError(List<Ebms3Error> aList) Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetMessageInfo(Ebms3MessageInfo value) Sets the value of the messageInfo property.voidsetPullRequest(Ebms3PullRequest value) Sets the value of the pullRequest property.voidsetReceipt(Ebms3Receipt value) Sets the value of the receipt property.toString()Created by ph-jaxb22-plugin -Xph-tostring
-
Constructor Details
-
Ebms3SignalMessage
public Ebms3SignalMessage()Default constructor<br> Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
-
-
Method Details
-
getMessageInfo
Gets the value of the messageInfo property.- Returns:
- possible object is
Ebms3MessageInfo
-
setMessageInfo
Sets the value of the messageInfo property.- Parameters:
value- allowed object isEbms3MessageInfo
-
getPullRequest
Gets the value of the pullRequest property.- Returns:
- possible object is
Ebms3PullRequest
-
setPullRequest
Sets the value of the pullRequest property.- Parameters:
value- allowed object isEbms3PullRequest
-
getReceipt
Gets the value of the receipt property.- Returns:
- possible object is
Ebms3Receipt
-
setReceipt
Sets the value of the receipt property.- Parameters:
value- allowed object isEbms3Receipt
-
getError
Gets the value of the error property. <p> 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 <CODE>set</CODE> method for the error property. <p> For example, to add a new item, do as follows: <pre> getError().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listEbms3Error -
getAny
Gets the value of the any property. <p> 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 <CODE>set</CODE> method for the any property. <p> For example, to add a new item, do as follows: <pre> getAny().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listElementObject -
equals
Created by ph-jaxb22-plugin -Xph-equalshashcode -
hashCode
public int hashCode()Created by ph-jaxb22-plugin -Xph-equalshashcode -
toString
Created by ph-jaxb22-plugin -Xph-tostring -
setError
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May be <code>null</code>.
-
setAny
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May be <code>null</code>.
-
hasErrorEntries
public boolean hasErrorEntries()Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- <code>true</code> if at least one item is contained, <code>false</code> otherwise.
-
hasNoErrorEntries
public boolean hasNoErrorEntries()Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- <code>true</code> if no item is contained, <code>false</code> otherwise.
-
getErrorCount
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getErrorAtIndex
@Nullable public Ebms3Error getErrorAtIndex(@Nonnegative int index) throws IndexOutOfBoundsException Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
index- The index to retrieve- Returns:
- The element at the specified index. May be <code>null</code>
- Throws:
IndexOutOfBoundsException- if the index is invalid!
-
addError
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not be <code>null</code>.
-
hasAnyEntries
public boolean hasAnyEntries()Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- <code>true</code> if at least one item is contained, <code>false</code> otherwise.
-
hasNoAnyEntries
public boolean hasNoAnyEntries()Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- <code>true</code> if no item is contained, <code>false</code> otherwise.
-
getAnyCount
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getAnyAtIndex
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
index- The index to retrieve- Returns:
- The element at the specified index. May be <code>null</code>
- Throws:
IndexOutOfBoundsException- if the index is invalid!
-
addAny
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not be <code>null</code>.
-
cloneTo
This method clones all values from <code>this</code> to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2- Parameters:
ret- The target object to clone to. May not be <code>null</code>.
-
clone
Created by ph-jaxb22-plugin -Xph-cloneable2
-