public class PersistableMemoryTypeWithPropSubst extends MemoryTypeWithPropSubst
Java class for persistable-memory-type-with-prop-subst complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="persistable-memory-type-with-prop-subst">
<simpleContent>
<extension base="<http://www.ehcache.org/v3>memory-type-with-prop-subst">
<attribute name="persistent" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
persistent |
unit, value| Constructor and Description |
|---|
PersistableMemoryTypeWithPropSubst() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPersistent()
Gets the value of the persistent property.
|
void |
setPersistent(java.lang.Boolean value)
Sets the value of the persistent property.
|
PersistableMemoryTypeWithPropSubst |
withPersistent(java.lang.Boolean value) |
PersistableMemoryTypeWithPropSubst |
withUnit(MemoryUnit value) |
PersistableMemoryTypeWithPropSubst |
withValue(java.math.BigInteger value) |
getUnit, getValue, setUnit, setValuepublic boolean isPersistent()
Booleanpublic void setPersistent(java.lang.Boolean value)
value - allowed object is
Booleanpublic PersistableMemoryTypeWithPropSubst withPersistent(java.lang.Boolean value)
public PersistableMemoryTypeWithPropSubst withValue(java.math.BigInteger value)
withValue in class MemoryTypeWithPropSubstpublic PersistableMemoryTypeWithPropSubst withUnit(MemoryUnit value)
withUnit in class MemoryTypeWithPropSubst