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 maxOccurs="unbounded" minOccurs="0">
<element ref="{http://www.ehcache.org/v3}config"/>
<sequence>
<element name="variant">
<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>
</sequence>
</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 java.util.List<java.lang.Object> |
configOrVariant |
protected java.lang.String |
identity |
| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Object> |
getConfigOrVariant()
Gets the value of the configOrVariant property.
|
java.lang.String |
getIdentity()
Gets the value of the identity property.
|
void |
setIdentity(java.lang.String value)
Sets the value of the identity property.
|
Configurations.Configuration |
withConfigOrVariant(java.util.Collection<java.lang.Object> values) |
Configurations.Configuration |
withConfigOrVariant(java.lang.Object... values) |
Configurations.Configuration |
withIdentity(java.lang.String value) |
protected java.util.List<java.lang.Object> configOrVariant
protected java.lang.String identity
public java.util.List<java.lang.Object> getConfigOrVariant()
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 configOrVariant property.
For example, to add a new item, do as follows:
getConfigOrVariant().add(newItem);
Objects of the following type(s) are allowed in the list
JAXBElement<Configurations.Configuration.Variant>
Element
public java.lang.String getIdentity()
Stringpublic void setIdentity(java.lang.String value)
value - allowed object is
Stringpublic Configurations.Configuration withConfigOrVariant(java.lang.Object... values)
public Configurations.Configuration withConfigOrVariant(java.util.Collection<java.lang.Object> values)
public Configurations.Configuration withIdentity(java.lang.String value)