public class SolrDocumentType extends Object implements Serializable, Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo
Java class for SolrDocumentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SolrDocumentType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="field" maxOccurs="unbounded" minOccurs="0">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</extension>
</simpleContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
SolrDocumentType.Field
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<SolrDocumentType.Field> |
field |
| Constructor and Description |
|---|
SolrDocumentType() |
| 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<SolrDocumentType.Field> |
getField()
Gets the value of the field property.
|
boolean |
isSetField() |
void |
unsetField() |
SolrDocumentType |
withField(Collection<SolrDocumentType.Field> values) |
SolrDocumentType |
withField(SolrDocumentType.Field... values) |
protected List<SolrDocumentType.Field> field
public List<SolrDocumentType.Field> getField()
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 field property.
For example, to add a new item, do as follows:
getField().add(newItem);
Objects of the following type(s) are allowed in the list
SolrDocumentType.Field
public boolean isSetField()
public void unsetField()
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 SolrDocumentType withField(SolrDocumentType.Field... values)
public SolrDocumentType withField(Collection<SolrDocumentType.Field> values)
Copyright © 2015. All rights reserved.