|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ehcache.config.xml.model.ConfigType
public class ConfigType
Java class for config-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="config-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="service" type="{http://www.ehcache.org/v3}service-type" maxOccurs="unbounded" minOccurs="0"/>
<choice maxOccurs="unbounded" minOccurs="0">
<element name="cache" type="{http://www.ehcache.org/v3}cache-type"/>
<element name="cache-template" type="{http://www.ehcache.org/v3}cacheTemplate-type"/>
</choice>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.util.List<BaseCacheType> |
cacheOrCacheTemplate
|
protected java.util.List<ServiceType> |
service
|
| Constructor Summary | |
|---|---|
ConfigType()
|
|
| Method Summary | |
|---|---|
java.util.List<BaseCacheType> |
getCacheOrCacheTemplate()
Gets the value of the cacheOrCacheTemplate property. |
java.util.List<ServiceType> |
getService()
Gets the value of the service property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<ServiceType> service
protected java.util.List<BaseCacheType> cacheOrCacheTemplate
| Constructor Detail |
|---|
public ConfigType()
| Method Detail |
|---|
public java.util.List<ServiceType> getService()
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 service property.
For example, to add a new item, do as follows:
getService().add(newItem);
Objects of the following type(s) are allowed in the list
ServiceType
public java.util.List<BaseCacheType> getCacheOrCacheTemplate()
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 cacheOrCacheTemplate property.
For example, to add a new item, do as follows:
getCacheOrCacheTemplate().add(newItem);
Objects of the following type(s) are allowed in the list
CacheType
CacheTemplateType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||