org.ehcache.xml.model
Class PersistableMemoryType

java.lang.Object
  extended by org.ehcache.xml.model.MemoryType
      extended by org.ehcache.xml.model.PersistableMemoryType

public class PersistableMemoryType
extends MemoryType

Java class for persistable-memory-type complex type.

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

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


Field Summary
protected  java.lang.Boolean persistent
           
 
Fields inherited from class org.ehcache.xml.model.MemoryType
unit, value
 
Constructor Summary
PersistableMemoryType()
           
 
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.xml.model.MemoryType
getUnit, getValue, setUnit, setValue
 
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

PersistableMemoryType

public PersistableMemoryType()
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