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