org.ehcache.xml.model
Class ResourcesType

java.lang.Object
  extended by org.ehcache.xml.model.ResourcesType

public class ResourcesType
extends java.lang.Object

Java class for resources-type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="resources-type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="heap" type="{http://www.ehcache.org/v3}resource-type" minOccurs="0"/>
         <element name="offheap" type="{http://www.ehcache.org/v3}memory-type" minOccurs="0"/>
         <element name="disk" type="{http://www.ehcache.org/v3}persistable-memory-type" minOccurs="0"/>
         <any namespace='##other' minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.Object any
           
protected  PersistableMemoryType disk
           
protected  ResourceType heap
           
protected  MemoryType offheap
           
 
Constructor Summary
ResourcesType()
           
 
Method Summary
 java.lang.Object getAny()
          Gets the value of the any property.
 PersistableMemoryType getDisk()
          Gets the value of the disk property.
 ResourceType getHeap()
          Gets the value of the heap property.
 MemoryType getOffheap()
          Gets the value of the offheap property.
 void setAny(java.lang.Object value)
          Sets the value of the any property.
 void setDisk(PersistableMemoryType value)
          Sets the value of the disk property.
 void setHeap(ResourceType value)
          Sets the value of the heap property.
 void setOffheap(MemoryType value)
          Sets the value of the offheap property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

heap

protected ResourceType heap

offheap

protected MemoryType offheap

disk

protected PersistableMemoryType disk

any

protected java.lang.Object any
Constructor Detail

ResourcesType

public ResourcesType()
Method Detail

getHeap

public ResourceType getHeap()
Gets the value of the heap property.

Returns:
possible object is ResourceType

setHeap

public void setHeap(ResourceType value)
Sets the value of the heap property.

Parameters:
value - allowed object is ResourceType

getOffheap

public MemoryType getOffheap()
Gets the value of the offheap property.

Returns:
possible object is MemoryType

setOffheap

public void setOffheap(MemoryType value)
Sets the value of the offheap property.

Parameters:
value - allowed object is MemoryType

getDisk

public PersistableMemoryType getDisk()
Gets the value of the disk property.

Returns:
possible object is PersistableMemoryType

setDisk

public void setDisk(PersistableMemoryType value)
Sets the value of the disk property.

Parameters:
value - allowed object is PersistableMemoryType

getAny

public java.lang.Object getAny()
Gets the value of the any property.

Returns:
possible object is Object

setAny

public void setAny(java.lang.Object value)
Sets the value of the any property.

Parameters:
value - allowed object is Object