public class MemoryType
extends java.lang.Object
Java class for memory-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="memory-type">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
<attribute name="unit" type="{http://www.ehcache.org/v3}memory-unit" default="B" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected MemoryUnit |
unit |
protected java.math.BigInteger |
value |
| Constructor and Description |
|---|
MemoryType() |
| 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.
|
MemoryType |
withUnit(MemoryUnit value) |
MemoryType |
withValue(java.math.BigInteger value) |
protected java.math.BigInteger value
protected MemoryUnit unit
public java.math.BigInteger getValue()
BigIntegerpublic void setValue(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic MemoryUnit getUnit()
MemoryUnitpublic void setUnit(MemoryUnit value)
value - allowed object is
MemoryUnitpublic MemoryType withValue(java.math.BigInteger value)
public MemoryType withUnit(MemoryUnit value)