public class ResourceType
extends java.lang.Object
Java class for resource-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="resource-type">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
<attribute name="unit" type="{http://www.ehcache.org/v3}resource-unit" default="entries" />
</extension>
</simpleContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ResourceUnit |
unit |
protected java.math.BigInteger |
value |
| Constructor and Description |
|---|
ResourceType() |
| Modifier and Type | Method and Description |
|---|---|
ResourceUnit |
getUnit()
Gets the value of the unit property.
|
java.math.BigInteger |
getValue()
Gets the value of the value property.
|
void |
setUnit(ResourceUnit value)
Sets the value of the unit property.
|
void |
setValue(java.math.BigInteger value)
Sets the value of the value property.
|
ResourceType |
withUnit(ResourceUnit value) |
ResourceType |
withValue(java.math.BigInteger value) |
protected java.math.BigInteger value
protected ResourceUnit unit
public java.math.BigInteger getValue()
BigIntegerpublic void setValue(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic ResourceUnit getUnit()
ResourceUnitpublic void setUnit(ResourceUnit value)
value - allowed object is
ResourceUnitpublic ResourceType withValue(java.math.BigInteger value)
public ResourceType withUnit(ResourceUnit value)