public class ResourceTypeWithPropSubst
extends java.lang.Object
Java class for resource-type-with-prop-subst complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="resource-type-with-prop-subst">
<simpleContent>
<extension base="<http://www.ehcache.org/v3>propertyOrPositiveInteger">
<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 |
|---|
ResourceTypeWithPropSubst() |
| 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.
|
ResourceTypeWithPropSubst |
withUnit(ResourceUnit value) |
ResourceTypeWithPropSubst |
withValue(java.math.BigInteger value) |
protected java.math.BigInteger value
protected ResourceUnit unit
public java.math.BigInteger getValue()
Stringpublic void setValue(java.math.BigInteger value)
value - allowed object is
Stringpublic ResourceUnit getUnit()
ResourceUnitpublic void setUnit(ResourceUnit value)
value - allowed object is
ResourceUnitpublic ResourceTypeWithPropSubst withValue(java.math.BigInteger value)
public ResourceTypeWithPropSubst withUnit(ResourceUnit value)