public class TimeType
extends java.lang.Object
Java class for time-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="time-type">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
<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 |
|---|
TimeType() |
| 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.
|
TimeType |
withUnit(TimeUnit value) |
TimeType |
withValue(java.math.BigInteger value) |
protected java.math.BigInteger value
protected TimeUnit unit
public java.math.BigInteger getValue()
BigIntegerpublic void setValue(java.math.BigInteger value)
value - allowed object is
BigIntegerpublic TimeUnit getUnit()
TimeUnitpublic void setUnit(TimeUnit value)
value - allowed object is
TimeUnitpublic TimeType withValue(java.math.BigInteger value)