public class StandardBusinessDocumentHeader extends 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 String |
headerVersion |
protected Manifest |
manifest |
protected List<Partner> |
receivers |
protected List<Partner> |
senders |
| Constructor and Description |
|---|
StandardBusinessDocumentHeader()
Default no-arg constructor
|
StandardBusinessDocumentHeader(String headerVersion,
List<Partner> senders,
List<Partner> receivers,
DocumentIdentification documentIdentification,
Manifest manifest,
BusinessScope businessScope)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
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) |
boolean |
equals(Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
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.
|
String |
getHeaderVersion()
Gets the value of the headerVersion property.
|
Manifest |
getManifest()
Gets the value of the manifest property.
|
List<Partner> |
getReceivers()
Gets the value of the receivers property.
|
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(String value)
Sets the value of the headerVersion property.
|
void |
setManifest(Manifest value)
Sets the value of the manifest property.
|
void |
setReceivers(List<Partner> value) |
void |
setSenders(List<Partner> value) |
String |
toString() |
StandardBusinessDocumentHeader |
withBusinessScope(BusinessScope value) |
StandardBusinessDocumentHeader |
withDocumentIdentification(DocumentIdentification value) |
StandardBusinessDocumentHeader |
withHeaderVersion(String value) |
StandardBusinessDocumentHeader |
withManifest(Manifest value) |
StandardBusinessDocumentHeader |
withReceivers(Collection<Partner> values) |
StandardBusinessDocumentHeader |
withReceivers(List<Partner> value) |
StandardBusinessDocumentHeader |
withReceivers(Partner... values) |
StandardBusinessDocumentHeader |
withSenders(Collection<Partner> values) |
StandardBusinessDocumentHeader |
withSenders(List<Partner> value) |
StandardBusinessDocumentHeader |
withSenders(Partner... values) |
protected String headerVersion
protected DocumentIdentification documentIdentification
protected Manifest manifest
protected BusinessScope businessScope
public StandardBusinessDocumentHeader()
public StandardBusinessDocumentHeader(String headerVersion, List<Partner> senders, List<Partner> receivers, DocumentIdentification documentIdentification, Manifest manifest, BusinessScope businessScope)
public String getHeaderVersion()
Stringpublic void setHeaderVersion(String value)
value - allowed object is
Stringpublic 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 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 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, 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,
Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic 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 StandardBusinessDocumentHeader withHeaderVersion(String value)
public StandardBusinessDocumentHeader withSenders(Partner... values)
public StandardBusinessDocumentHeader withSenders(Collection<Partner> values)
public StandardBusinessDocumentHeader withReceivers(Partner... values)
public StandardBusinessDocumentHeader withReceivers(Collection<Partner> values)
public StandardBusinessDocumentHeader withDocumentIdentification(DocumentIdentification value)
public StandardBusinessDocumentHeader withManifest(Manifest value)
public StandardBusinessDocumentHeader withBusinessScope(BusinessScope value)
public StandardBusinessDocumentHeader withSenders(List<Partner> value)
public StandardBusinessDocumentHeader withReceivers(List<Partner> value)
Copyright © 2014 Digipost Open Source. All Rights Reserved.