public class OtifResourceListType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for OtifResourceListType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OtifResourceListType">
<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="resource" type="{http://xml.vidispine.com/schema/vidispine}OtifResourceType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected BigInteger |
hits |
protected List<OtifResourceType> |
resource |
| Constructor and Description |
|---|
OtifResourceListType() |
| 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() |
BigInteger |
getHits()
Gets the value of the hits property.
|
List<OtifResourceType> |
getResource()
Gets the value of the resource property.
|
boolean |
isSetHits() |
boolean |
isSetResource() |
void |
setHits(BigInteger value)
Sets the value of the hits property.
|
void |
unsetResource() |
OtifResourceListType |
withHits(BigInteger value) |
OtifResourceListType |
withResource(Collection<OtifResourceType> values) |
OtifResourceListType |
withResource(OtifResourceType... values) |
protected BigInteger hits
protected List<OtifResourceType> resource
public BigInteger getHits()
BigIntegerpublic void setHits(BigInteger value)
value - allowed object is
BigIntegerpublic boolean isSetHits()
public List<OtifResourceType> getResource()
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 resource property.
For example, to add a new item, do as follows:
getResource().add(newItem);
Objects of the following type(s) are allowed in the list
OtifResourceType
public boolean isSetResource()
public void unsetResource()
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 OtifResourceListType withHits(BigInteger value)
public OtifResourceListType withResource(OtifResourceType... values)
public OtifResourceListType withResource(Collection<OtifResourceType> values)
Copyright © 2015. All rights reserved.