public class Index
extends org.apache.geode.cache.configuration.CacheElement
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="field" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="analyzer" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="serializer" type="{http://geode.apache.org/schema/cache}declarable-type" minOccurs="0"/>
</sequence>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Index.Field
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Index.Field> |
field |
protected java.lang.String |
name |
protected org.apache.geode.cache.configuration.DeclarableType |
serializer |
| Constructor and Description |
|---|
Index() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Index.Field> |
getField()
Gets the value of the field property.
|
java.lang.String |
getId() |
java.lang.String |
getName()
Gets the value of the name property.
|
org.apache.geode.cache.configuration.DeclarableType |
getSerializer()
Gets the value of the serializer property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setSerializer(org.apache.geode.cache.configuration.DeclarableType value)
Sets the value of the serializer property.
|
protected java.util.List<Index.Field> field
protected org.apache.geode.cache.configuration.DeclarableType serializer
protected java.lang.String name
public java.util.List<Index.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
Index.Field
public org.apache.geode.cache.configuration.DeclarableType getSerializer()
DeclarableTypepublic void setSerializer(org.apache.geode.cache.configuration.DeclarableType value)
DeclarableTypepublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
Stringpublic java.lang.String getId()