org.ehcache.config.xml.model
Class PersistableResourceType

java.lang.Object
  extended by org.ehcache.config.xml.model.ResourceType
      extended by org.ehcache.config.xml.model.PersistableResourceType

public class PersistableResourceType
extends ResourceType

Java class for persistable-resource-type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="persistable-resource-type">
   <complexContent>
     <extension base="{http://www.ehcache.org/v3}resource-type">
       <attribute name="persistent" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.Boolean persistent
           
 
Fields inherited from class org.ehcache.config.xml.model.ResourceType
size, unit
 
Constructor Summary
PersistableResourceType()
           
 
Method Summary
 boolean isPersistent()
          Gets the value of the persistent property.
 void setPersistent(java.lang.Boolean value)
          Sets the value of the persistent property.
 
Methods inherited from class org.ehcache.config.xml.model.ResourceType
getSize, getUnit, setSize, setUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

persistent

protected java.lang.Boolean persistent
Constructor Detail

PersistableResourceType

public PersistableResourceType()
Method Detail

isPersistent

public boolean isPersistent()
Gets the value of the persistent property.

Returns:
possible object is Boolean

setPersistent

public void setPersistent(java.lang.Boolean value)
Sets the value of the persistent property.

Parameters:
value - allowed object is Boolean