public static class Configurations.Configuration
extends java.lang.Object
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">
<choice>
<element ref="{http://www.ehcache.org/v3}config"/>
<element name="variant" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.ehcache.org/v3}config"/>
</sequence>
<attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</choice>
<attribute name="identity" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
Configurations.Configuration.Variant
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected org.w3c.dom.Element |
config |
protected java.lang.String |
identity |
protected java.util.List<Configurations.Configuration.Variant> |
variant |
| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Element |
getConfig()
Gets the value of the config property.
|
java.lang.String |
getIdentity()
Gets the value of the identity property.
|
java.util.List<Configurations.Configuration.Variant> |
getVariant()
Gets the value of the variant property.
|
void |
setConfig(org.w3c.dom.Element value)
Sets the value of the config property.
|
void |
setIdentity(java.lang.String value)
Sets the value of the identity property.
|
Configurations.Configuration |
withConfig(org.w3c.dom.Element value) |
Configurations.Configuration |
withIdentity(java.lang.String value) |
Configurations.Configuration |
withVariant(java.util.Collection<Configurations.Configuration.Variant> values) |
Configurations.Configuration |
withVariant(Configurations.Configuration.Variant... values) |
protected org.w3c.dom.Element config
protected java.util.List<Configurations.Configuration.Variant> variant
protected java.lang.String identity
public org.w3c.dom.Element getConfig()
Elementpublic void setConfig(org.w3c.dom.Element value)
value - allowed object is
Elementpublic java.util.List<Configurations.Configuration.Variant> getVariant()
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 variant property.
For example, to add a new item, do as follows:
getVariant().add(newItem);
Objects of the following type(s) are allowed in the list
Configurations.Configuration.Variant
public java.lang.String getIdentity()
Stringpublic void setIdentity(java.lang.String value)
value - allowed object is
Stringpublic Configurations.Configuration withConfig(org.w3c.dom.Element value)
public Configurations.Configuration withVariant(Configurations.Configuration.Variant... values)
public Configurations.Configuration withVariant(java.util.Collection<Configurations.Configuration.Variant> values)
public Configurations.Configuration withIdentity(java.lang.String value)