org.unece.cefact.namespaces.standardbusinessdocumentheader
Class StandardBusinessDocumentHeader

java.lang.Object
  extended by org.unece.cefact.namespaces.standardbusinessdocumentheader.StandardBusinessDocumentHeader
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class StandardBusinessDocumentHeader
extends Object
implements 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>
 


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
 
Method Summary
 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)
           
 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.
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

headerVersion

protected String headerVersion

senders

protected List<Partner> senders

receivers

protected List<Partner> receivers

documentIdentification

protected DocumentIdentification documentIdentification

manifest

protected Manifest manifest

businessScope

protected BusinessScope businessScope
Constructor Detail

StandardBusinessDocumentHeader

public StandardBusinessDocumentHeader()
Default no-arg constructor


StandardBusinessDocumentHeader

public StandardBusinessDocumentHeader(String headerVersion,
                                      List<Partner> senders,
                                      List<Partner> receivers,
                                      DocumentIdentification documentIdentification,
                                      Manifest manifest,
                                      BusinessScope businessScope)
Fully-initialising value constructor

Method Detail

getHeaderVersion

public String getHeaderVersion()
Gets the value of the headerVersion property.

Returns:
possible object is String

setHeaderVersion

public void setHeaderVersion(String value)
Sets the value of the headerVersion property.

Parameters:
value - allowed object is String

getSenders

public List<Partner> getSenders()
Gets the value of the senders property.

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


getReceivers

public List<Partner> getReceivers()
Gets the value of the receivers property.

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


getDocumentIdentification

public DocumentIdentification getDocumentIdentification()
Gets the value of the documentIdentification property.

Returns:
possible object is DocumentIdentification

setDocumentIdentification

public void setDocumentIdentification(DocumentIdentification value)
Sets the value of the documentIdentification property.

Parameters:
value - allowed object is DocumentIdentification

getManifest

public Manifest getManifest()
Gets the value of the manifest property.

Returns:
possible object is Manifest

setManifest

public void setManifest(Manifest value)
Sets the value of the manifest property.

Parameters:
value - allowed object is Manifest

getBusinessScope

public BusinessScope getBusinessScope()
Gets the value of the businessScope property.

Returns:
possible object is BusinessScope

setBusinessScope

public void setBusinessScope(BusinessScope value)
Sets the value of the businessScope property.

Parameters:
value - allowed object is BusinessScope

setSenders

public void setSenders(List<Partner> value)

setReceivers

public void setReceivers(List<Partner> value)

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withHeaderVersion

public StandardBusinessDocumentHeader withHeaderVersion(String value)

withSenders

public StandardBusinessDocumentHeader withSenders(Partner... values)

withSenders

public StandardBusinessDocumentHeader withSenders(Collection<Partner> values)

withReceivers

public StandardBusinessDocumentHeader withReceivers(Partner... values)

withReceivers

public StandardBusinessDocumentHeader withReceivers(Collection<Partner> values)

withDocumentIdentification

public StandardBusinessDocumentHeader withDocumentIdentification(DocumentIdentification value)

withManifest

public StandardBusinessDocumentHeader withManifest(Manifest value)

withBusinessScope

public StandardBusinessDocumentHeader withBusinessScope(BusinessScope value)

withSenders

public StandardBusinessDocumentHeader withSenders(List<Partner> value)

withReceivers

public StandardBusinessDocumentHeader withReceivers(List<Partner> value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.