public class ExpiryType
extends java.lang.Object
Java class for expiry-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="expiry-type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="class" type="{http://www.ehcache.org/v3}fqcn-type"/>
<element name="tti" type="{http://www.ehcache.org/v3}time-type"/>
<element name="ttl" type="{http://www.ehcache.org/v3}time-type"/>
<element name="none">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
ExpiryType.None
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
clazz |
protected ExpiryType.None |
none |
protected TimeType |
tti |
protected TimeType |
ttl |
| Constructor and Description |
|---|
ExpiryType() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClazz()
Gets the value of the clazz property.
|
ExpiryType.None |
getNone()
Gets the value of the none property.
|
TimeType |
getTti()
Gets the value of the tti property.
|
TimeType |
getTtl()
Gets the value of the ttl property.
|
void |
setClazz(java.lang.String value)
Sets the value of the clazz property.
|
void |
setNone(ExpiryType.None value)
Sets the value of the none property.
|
void |
setTti(TimeType value)
Sets the value of the tti property.
|
void |
setTtl(TimeType value)
Sets the value of the ttl property.
|
ExpiryType |
withClazz(java.lang.String value) |
ExpiryType |
withNone(ExpiryType.None value) |
ExpiryType |
withTti(TimeType value) |
ExpiryType |
withTtl(TimeType value) |
protected java.lang.String clazz
protected TimeType tti
protected TimeType ttl
protected ExpiryType.None none
public java.lang.String getClazz()
Stringpublic void setClazz(java.lang.String value)
value - allowed object is
Stringpublic TimeType getTti()
TimeTypepublic void setTti(TimeType value)
value - allowed object is
TimeTypepublic TimeType getTtl()
TimeTypepublic void setTtl(TimeType value)
value - allowed object is
TimeTypepublic ExpiryType.None getNone()
ExpiryType.Nonepublic void setNone(ExpiryType.None value)
value - allowed object is
ExpiryType.Nonepublic ExpiryType withClazz(java.lang.String value)
public ExpiryType withTti(TimeType value)
public ExpiryType withTtl(TimeType value)
public ExpiryType withNone(ExpiryType.None value)