public class Manifest extends Object implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, 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>
| Modifier and Type | Field and Description |
|---|---|
protected List<ManifestItem> |
manifestItems |
protected BigInteger |
numberOfItems |
| Constructor and Description |
|---|
Manifest()
Default no-arg constructor
|
Manifest(BigInteger numberOfItems,
List<ManifestItem> manifestItems)
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) |
List<ManifestItem> |
getManifestItems()
Gets the value of the manifestItems property.
|
BigInteger |
getNumberOfItems()
Gets the value of the numberOfItems property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
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) |
protected BigInteger numberOfItems
protected List<ManifestItem> manifestItems
public Manifest()
public Manifest(BigInteger numberOfItems, List<ManifestItem> manifestItems)
public BigInteger getNumberOfItems()
BigIntegerpublic void setNumberOfItems(BigInteger value)
value - allowed object is
BigIntegerpublic List<ManifestItem> getManifestItems()
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
public void setManifestItems(List<ManifestItem> value)
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.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 Manifest withNumberOfItems(BigInteger value)
public Manifest withManifestItems(ManifestItem... values)
public Manifest withManifestItems(Collection<ManifestItem> values)
public Manifest withManifestItems(List<ManifestItem> value)
Copyright © 2014 Digipost Open Source. All Rights Reserved.