|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.unece.cefact.namespaces.standardbusinessdocumentheader.Manifest
public class Manifest
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 |
|---|
protected BigInteger numberOfItems
protected List<ManifestItem> manifestItems
| Constructor Detail |
|---|
public Manifest()
public Manifest(BigInteger numberOfItems,
List<ManifestItem> manifestItems)
| Method Detail |
|---|
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 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 Manifest withNumberOfItems(BigInteger value)
public Manifest withManifestItems(ManifestItem... values)
public Manifest withManifestItems(Collection<ManifestItem> values)
public Manifest withManifestItems(List<ManifestItem> value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||