public class MemoryTypeWithPropSubst
extends java.lang.Object
Java class for memory-type-with-prop-subst complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="memory-type-with-prop-subst">
<simpleContent>
<extension base="<http://www.ehcache.org/v3>propertyOrPositiveInteger">
<attGroup ref="{http://www.ehcache.org/v3}memory-unit-attributes"/>
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected MemoryUnit |
unit |
protected java.math.BigInteger |
value |
| Constructor and Description |
|---|
MemoryTypeWithPropSubst() |
| Modifier and Type | Method and Description |
|---|---|
MemoryUnit |
getUnit()
Gets the value of the unit property.
|
java.math.BigInteger |
getValue()
Gets the value of the value property.
|
void |
setUnit(MemoryUnit value)
Sets the value of the unit property.
|
void |
setValue(java.math.BigInteger value)
Sets the value of the value property.
|
MemoryTypeWithPropSubst |
withUnit(MemoryUnit value) |
MemoryTypeWithPropSubst |
withValue(java.math.BigInteger value) |
protected java.math.BigInteger value
protected MemoryUnit unit
public java.math.BigInteger getValue()
Stringpublic void setValue(java.math.BigInteger value)
value - allowed object is
Stringpublic MemoryUnit getUnit()
MemoryUnitpublic void setUnit(MemoryUnit value)
value - allowed object is
MemoryUnitpublic MemoryTypeWithPropSubst withValue(java.math.BigInteger value)
public MemoryTypeWithPropSubst withUnit(MemoryUnit value)