org.ehcache.config.xml.model
Class ExpiryType

java.lang.Object
  extended by org.ehcache.config.xml.model.ExpiryType

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>
 


Nested Class Summary
static class ExpiryType.None
          Java class for anonymous complex type.
 
Field Summary
protected  java.lang.String clazz
           
protected  ExpiryType.None none
           
protected  TimeType tti
           
protected  TimeType ttl
           
 
Constructor Summary
ExpiryType()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clazz

protected java.lang.String clazz

tti

protected TimeType tti

ttl

protected TimeType ttl

none

protected ExpiryType.None none
Constructor Detail

ExpiryType

public ExpiryType()
Method Detail

getClazz

public java.lang.String getClazz()
Gets the value of the clazz property.

Returns:
possible object is String

setClazz

public void setClazz(java.lang.String value)
Sets the value of the clazz property.

Parameters:
value - allowed object is String

getTti

public TimeType getTti()
Gets the value of the tti property.

Returns:
possible object is TimeType

setTti

public void setTti(TimeType value)
Sets the value of the tti property.

Parameters:
value - allowed object is TimeType

getTtl

public TimeType getTtl()
Gets the value of the ttl property.

Returns:
possible object is TimeType

setTtl

public void setTtl(TimeType value)
Sets the value of the ttl property.

Parameters:
value - allowed object is TimeType

getNone

public ExpiryType.None getNone()
Gets the value of the none property.

Returns:
possible object is ExpiryType.None

setNone

public void setNone(ExpiryType.None value)
Sets the value of the none property.

Parameters:
value - allowed object is ExpiryType.None