|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.unece.cefact.namespaces.standardbusinessdocumentheader.StandardBusinessDocumentHeader
public class StandardBusinessDocumentHeader
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>
| Field Summary | |
|---|---|
protected BusinessScope |
businessScope
|
protected DocumentIdentification |
documentIdentification
|
protected String |
headerVersion
|
protected Manifest |
manifest
|
protected List<Partner> |
receivers
|
protected List<Partner> |
senders
|
| Constructor Summary | |
|---|---|
StandardBusinessDocumentHeader()
Default no-arg constructor |
|
StandardBusinessDocumentHeader(String headerVersion,
List<Partner> senders,
List<Partner> receivers,
DocumentIdentification documentIdentification,
Manifest manifest,
BusinessScope businessScope)
Fully-initialising value constructor |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String headerVersion
protected List<Partner> senders
protected List<Partner> receivers
protected DocumentIdentification documentIdentification
protected Manifest manifest
protected BusinessScope businessScope
| Constructor Detail |
|---|
public StandardBusinessDocumentHeader()
public StandardBusinessDocumentHeader(String headerVersion,
List<Partner> senders,
List<Partner> receivers,
DocumentIdentification documentIdentification,
Manifest manifest,
BusinessScope businessScope)
| Method Detail |
|---|
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 void setSenders(List<Partner> value)
public void setReceivers(List<Partner> value)
public String toString()
toString in class Object
public 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.ToString
public 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 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||