public class DocumentListType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals
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="hits" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/> <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.
|
static class |
DocumentListType.PropInfo |
Modifier and Type | Field and Description |
---|---|
protected List<DocumentListType.Document> |
document |
protected BigInteger |
hits |
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() |
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<DocumentListType.Document> |
getDocument()
Gets the value of the document property.
|
BigInteger |
getHits()
Gets the value of the hits property.
|
boolean |
isSetDocument() |
boolean |
isSetHits() |
void |
setHits(BigInteger value)
Sets the value of the hits property.
|
void |
unsetDocument() |
DocumentListType |
visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) |
DocumentListType |
withDocument(Collection<DocumentListType.Document> values) |
DocumentListType |
withDocument(DocumentListType.Document... values) |
DocumentListType |
withHits(BigInteger value) |
protected BigInteger hits
protected List<DocumentListType.Document> document
public BigInteger getHits()
BigInteger
public void setHits(BigInteger value)
value
- allowed object is
BigInteger
public boolean isSetHits()
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.CopyTo
public 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.CopyTo
public Object createNewInstance()
createNewInstance
in interface org.jvnet.jaxb2_commons.lang.CopyTo
public DocumentListType withHits(BigInteger value)
public DocumentListType withDocument(DocumentListType.Document... values)
public DocumentListType withDocument(Collection<DocumentListType.Document> values)
public 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.Equals
public DocumentListType visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
Copyright © 2018. All rights reserved.