Package com.helger.phase4.ebms3header
Class Ebms3Messaging
java.lang.Object
com.helger.phase4.ebms3header.Ebms3Messaging
- All Implemented Interfaces:
com.helger.commons.lang.IExplicitlyCloneable,Serializable,Cloneable
@CodingStyleguideUnaware
public class Ebms3Messaging
extends Object
implements Serializable, com.helger.commons.lang.IExplicitlyCloneable
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).
<p>Java class for Messaging complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre>
<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>
</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-extensionvoidCreated by ph-jaxb22-plugin -Xph-list-extensionvoidCreated by ph-jaxb22-plugin -Xph-list-extensionclone()Created by ph-jaxb22-plugin -Xph-cloneable2voidcloneTo(Ebms3Messaging ret) This 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-extensiongetId()Gets the value of the id property.Gets a map that contains attributes that aren't bound to any typed property on this class.Gets the value of the signalMessage property.getSignalMessageAtIndex(int index) Created by ph-jaxb22-plugin -Xph-list-extensionintCreated by ph-jaxb22-plugin -Xph-list-extensionGets the value of the userMessage property.getUserMessageAtIndex(int index) Created by ph-jaxb22-plugin -Xph-list-extensionintCreated 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-extensionbooleanCreated by ph-jaxb22-plugin -Xph-list-extensionbooleanCreated by ph-jaxb22-plugin -Xph-list-extensionbooleanCreated by ph-jaxb22-plugin -Xph-list-extensionif SOAP 1.1 is being used, this attribute is requiredbooleanif SOAP 1.2 is being used, this attribute is requiredvoidCreated by ph-jaxb22-plugin -Xph-list-extensionvoidSets the value of the id property.voidsetS11MustUnderstand(Boolean value) Sets the value of the s11MustUnderstand property.voidsetS12MustUnderstand(Boolean value) Sets the value of the s12MustUnderstand property.voidsetSignalMessage(List<Ebms3SignalMessage> aList) Created by ph-jaxb22-plugin -Xph-list-extensionvoidsetUserMessage(List<Ebms3UserMessage> aList) Created by ph-jaxb22-plugin -Xph-list-extensiontoString()Created by ph-jaxb22-plugin -Xph-tostring
-
Constructor Details
-
Ebms3Messaging
public Ebms3Messaging()Default constructor<br> Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
-
-
Method Details
-
getSignalMessage
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<Ebms3SignalMessage> getSignalMessage()Gets the value of the signalMessage 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 signalMessage property. <p> For example, to add a new item, do as follows: <pre> getSignalMessage().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listEbms3SignalMessage -
getUserMessage
@Nonnull @ReturnsMutableObject("JAXB implementation style") public List<Ebms3UserMessage> getUserMessage()Gets the value of the userMessage 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 userMessage property. <p> For example, to add a new item, do as follows: <pre> getUserMessage().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listEbms3UserMessage -
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 -
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
isS11MustUnderstand
if SOAP 1.1 is being used, this attribute is required- Returns:
- possible object is
String
-
setS11MustUnderstand
Sets the value of the s11MustUnderstand property.- Parameters:
value- allowed object isString
-
isS12MustUnderstand
public boolean isS12MustUnderstand()if SOAP 1.2 is being used, this attribute is required- Returns:
- possible object is
Boolean
-
setS12MustUnderstand
Sets the value of the s12MustUnderstand property.- Parameters:
value- allowed object isBoolean
-
getOtherAttributes
Gets a map that contains attributes that aren't bound to any typed property on this class. <p> 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.- Returns:
- always non-null
-
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 -
setSignalMessage
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
aList- The new list member to set. May be <code>null</code>.
-
setUserMessage
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>.
-
hasSignalMessageEntries
public boolean hasSignalMessageEntries()Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- <code>true</code> if at least one item is contained, <code>false</code> otherwise.
-
hasNoSignalMessageEntries
public boolean hasNoSignalMessageEntries()Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- <code>true</code> if no item is contained, <code>false</code> otherwise.
-
getSignalMessageCount
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getSignalMessageAtIndex
@Nullable public Ebms3SignalMessage getSignalMessageAtIndex(@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!
-
addSignalMessage
Created by ph-jaxb22-plugin -Xph-list-extension- Parameters:
elem- The element to be added. May not be <code>null</code>.
-
hasUserMessageEntries
public boolean hasUserMessageEntries()Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- <code>true</code> if at least one item is contained, <code>false</code> otherwise.
-
hasNoUserMessageEntries
public boolean hasNoUserMessageEntries()Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- <code>true</code> if no item is contained, <code>false</code> otherwise.
-
getUserMessageCount
Created by ph-jaxb22-plugin -Xph-list-extension- Returns:
- The number of contained elements. Always ≥ 0.
-
getUserMessageAtIndex
@Nullable public Ebms3UserMessage getUserMessageAtIndex(@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!
-
addUserMessage
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
-