org.unece.cefact.namespaces.standardbusinessdocumentheader
Class Manifest

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

public class Manifest
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

Java class for Manifest complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Manifest">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="NumberOfItems" type="{http://www.w3.org/2001/XMLSchema}integer"/>
         <element name="ManifestItem" type="{http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader}ManifestItem" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<ManifestItem> manifestItems
           
protected  BigInteger numberOfItems
           
 
Constructor Summary
Manifest()
          Default no-arg constructor
Manifest(BigInteger numberOfItems, List<ManifestItem> manifestItems)
          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)
           
 List<ManifestItem> getManifestItems()
          Gets the value of the manifestItems property.
 BigInteger getNumberOfItems()
          Gets the value of the numberOfItems property.
 void setManifestItems(List<ManifestItem> value)
           
 void setNumberOfItems(BigInteger value)
          Sets the value of the numberOfItems property.
 String toString()
           
 Manifest withManifestItems(Collection<ManifestItem> values)
           
 Manifest withManifestItems(List<ManifestItem> value)
           
 Manifest withManifestItems(ManifestItem... values)
           
 Manifest withNumberOfItems(BigInteger value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

numberOfItems

protected BigInteger numberOfItems

manifestItems

protected List<ManifestItem> manifestItems
Constructor Detail

Manifest

public Manifest()
Default no-arg constructor


Manifest

public Manifest(BigInteger numberOfItems,
                List<ManifestItem> manifestItems)
Fully-initialising value constructor

Method Detail

getNumberOfItems

public BigInteger getNumberOfItems()
Gets the value of the numberOfItems property.

Returns:
possible object is BigInteger

setNumberOfItems

public void setNumberOfItems(BigInteger value)
Sets the value of the numberOfItems property.

Parameters:
value - allowed object is BigInteger

getManifestItems

public List<ManifestItem> getManifestItems()
Gets the value of the manifestItems 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 manifestItems property.

For example, to add a new item, do as follows:

    getManifestItems().add(newItem);
 

Objects of the following type(s) are allowed in the list ManifestItem


setManifestItems

public void setManifestItems(List<ManifestItem> 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

withNumberOfItems

public Manifest withNumberOfItems(BigInteger value)

withManifestItems

public Manifest withManifestItems(ManifestItem... values)

withManifestItems

public Manifest withManifestItems(Collection<ManifestItem> values)

withManifestItems

public Manifest withManifestItems(List<ManifestItem> value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.