public class MetadataFieldResultType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for MetadataFieldResultType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MetadataFieldResultType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="hits" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="group" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="value" type="{http://xml.vidispine.com/schema/vidispine}MetadataGroupValueType" minOccurs="0"/>
<element name="definition" type="{http://xml.vidispine.com/schema/vidispine}MetadataFieldGroupType" minOccurs="0"/>
<element name="source" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="loc" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="uuid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="start" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="end" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
MetadataFieldResultType.Group
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<MetadataFieldResultType.Group> |
group |
protected int |
hits |
| Constructor and Description |
|---|
MetadataFieldResultType() |
| 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<MetadataFieldResultType.Group> |
getGroup()
Gets the value of the group property.
|
int |
getHits()
Gets the value of the hits property.
|
boolean |
isSetGroup() |
boolean |
isSetHits() |
void |
setHits(int value)
Sets the value of the hits property.
|
void |
unsetGroup() |
MetadataFieldResultType |
withGroup(Collection<MetadataFieldResultType.Group> values) |
MetadataFieldResultType |
withGroup(MetadataFieldResultType.Group... values) |
MetadataFieldResultType |
withHits(int value) |
protected int hits
protected List<MetadataFieldResultType.Group> group
public int getHits()
public void setHits(int value)
public boolean isSetHits()
public List<MetadataFieldResultType.Group> getGroup()
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 group property.
For example, to add a new item, do as follows:
getGroup().add(newItem);
Objects of the following type(s) are allowed in the list
MetadataFieldResultType.Group
public boolean isSetGroup()
public void unsetGroup()
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 MetadataFieldResultType withHits(int value)
public MetadataFieldResultType withGroup(MetadataFieldResultType.Group... values)
public MetadataFieldResultType withGroup(Collection<MetadataFieldResultType.Group> values)
Copyright © 2015. All rights reserved.