public class DocumentListType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for DocumentListType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DocumentListType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="document" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="uri" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
DocumentListType.Document
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<DocumentListType.Document> |
document |
| Constructor and Description |
|---|
DocumentListType() |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
Object |
copyTo(Object target) |
Object |
copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
Object target,
org.jvnet.jaxb2_commons.lang.CopyStrategy strategy) |
Object |
createNewInstance() |
List<DocumentListType.Document> |
getDocument()
Gets the value of the document property.
|
boolean |
isSetDocument() |
void |
unsetDocument() |
DocumentListType |
withDocument(Collection<DocumentListType.Document> values) |
DocumentListType |
withDocument(DocumentListType.Document... values) |
protected List<DocumentListType.Document> document
public List<DocumentListType.Document> getDocument()
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 document property.
For example, to add a new item, do as follows:
getDocument().add(newItem);
Objects of the following type(s) are allowed in the list
DocumentListType.Document
public boolean isSetDocument()
public void unsetDocument()
public Object copyTo(Object target)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTopublic Object createNewInstance()
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTopublic DocumentListType withDocument(DocumentListType.Document... values)
public DocumentListType withDocument(Collection<DocumentListType.Document> values)
Copyright © 2015. All rights reserved.