public class StandardBusinessDocumentHeader
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for StandardBusinessDocumentHeader complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="StandardBusinessDocumentHeader">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="HeaderVersion" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="Sender" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}Partner" maxOccurs="unbounded"/>
<element name="Receiver" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}Partner" maxOccurs="unbounded"/>
<element name="DocumentIdentification" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}DocumentIdentification"/>
<element name="Manifest" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}Manifest" minOccurs="0"/>
<element name="BusinessScope" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}BusinessScope" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BusinessScope |
businessScope |
protected DocumentIdentification |
documentIdentification |
protected java.lang.String |
headerVersion |
protected Manifest |
manifest |
protected java.util.List<Partner> |
receivers |
protected java.util.List<Partner> |
senders |
| Constructor and Description |
|---|
StandardBusinessDocumentHeader()
Default no-arg constructor
|
StandardBusinessDocumentHeader(java.lang.String headerVersion,
java.util.List<Partner> senders,
java.util.List<Partner> receivers,
DocumentIdentification documentIdentification,
Manifest manifest,
BusinessScope businessScope)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
BusinessScope |
getBusinessScope()
Gets the value of the businessScope property.
|
DocumentIdentification |
getDocumentIdentification()
Gets the value of the documentIdentification property.
|
java.lang.String |
getHeaderVersion()
Gets the value of the headerVersion property.
|
Manifest |
getManifest()
Gets the value of the manifest property.
|
java.util.List<Partner> |
getReceivers()
Gets the value of the receivers property.
|
java.util.List<Partner> |
getSenders()
Gets the value of the senders property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setBusinessScope(BusinessScope value)
Sets the value of the businessScope property.
|
void |
setDocumentIdentification(DocumentIdentification value)
Sets the value of the documentIdentification property.
|
void |
setHeaderVersion(java.lang.String value)
Sets the value of the headerVersion property.
|
void |
setManifest(Manifest value)
Sets the value of the manifest property.
|
void |
setReceivers(java.util.List<Partner> value) |
void |
setSenders(java.util.List<Partner> value) |
java.lang.String |
toString() |
StandardBusinessDocumentHeader |
withBusinessScope(BusinessScope value) |
StandardBusinessDocumentHeader |
withDocumentIdentification(DocumentIdentification value) |
StandardBusinessDocumentHeader |
withHeaderVersion(java.lang.String value) |
StandardBusinessDocumentHeader |
withManifest(Manifest value) |
StandardBusinessDocumentHeader |
withReceivers(java.util.Collection<Partner> values) |
StandardBusinessDocumentHeader |
withReceivers(java.util.List<Partner> value) |
StandardBusinessDocumentHeader |
withReceivers(Partner... values) |
StandardBusinessDocumentHeader |
withSenders(java.util.Collection<Partner> values) |
StandardBusinessDocumentHeader |
withSenders(java.util.List<Partner> value) |
StandardBusinessDocumentHeader |
withSenders(Partner... values) |
protected java.lang.String headerVersion
protected java.util.List<Partner> senders
protected java.util.List<Partner> receivers
protected DocumentIdentification documentIdentification
protected Manifest manifest
protected BusinessScope businessScope
public StandardBusinessDocumentHeader()
public StandardBusinessDocumentHeader(java.lang.String headerVersion,
java.util.List<Partner> senders,
java.util.List<Partner> receivers,
DocumentIdentification documentIdentification,
Manifest manifest,
BusinessScope businessScope)
public java.lang.String getHeaderVersion()
Stringpublic void setHeaderVersion(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<Partner> getSenders()
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 senders property.
For example, to add a new item, do as follows:
getSenders().add(newItem);
Objects of the following type(s) are allowed in the list
Partner
public java.util.List<Partner> getReceivers()
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 receivers property.
For example, to add a new item, do as follows:
getReceivers().add(newItem);
Objects of the following type(s) are allowed in the list
Partner
public DocumentIdentification getDocumentIdentification()
DocumentIdentificationpublic void setDocumentIdentification(DocumentIdentification value)
value - allowed object is
DocumentIdentificationpublic Manifest getManifest()
Manifestpublic void setManifest(Manifest value)
value - allowed object is
Manifestpublic BusinessScope getBusinessScope()
BusinessScopepublic void setBusinessScope(BusinessScope value)
value - allowed object is
BusinessScopepublic void setSenders(java.util.List<Partner> value)
public void setReceivers(java.util.List<Partner> value)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class java.lang.Objectpublic StandardBusinessDocumentHeader withHeaderVersion(java.lang.String value)
public StandardBusinessDocumentHeader withSenders(Partner... values)
public StandardBusinessDocumentHeader withSenders(java.util.Collection<Partner> values)
public StandardBusinessDocumentHeader withReceivers(Partner... values)
public StandardBusinessDocumentHeader withReceivers(java.util.Collection<Partner> values)
public StandardBusinessDocumentHeader withDocumentIdentification(DocumentIdentification value)
public StandardBusinessDocumentHeader withManifest(Manifest value)
public StandardBusinessDocumentHeader withBusinessScope(BusinessScope value)
public StandardBusinessDocumentHeader withSenders(java.util.List<Partner> value)
public StandardBusinessDocumentHeader withReceivers(java.util.List<Partner> value)
Copyright © 2014 Digipost Open Source. All Rights Reserved.