org.ehcache.xml.model
Class ResourceType

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

public class ResourceType
extends java.lang.Object

Java class for resource-type complex type.

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

 <complexType name="resource-type">
   <simpleContent>
     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
       <attribute name="unit" type="{http://www.ehcache.org/v3}resource-unit" default="entries" />
     </extension>
   </simpleContent>
 </complexType>
 


Field Summary
protected  ResourceUnit unit
           
protected  java.math.BigInteger value
           
 
Constructor Summary
ResourceType()
           
 
Method Summary
 ResourceUnit getUnit()
          Gets the value of the unit property.
 java.math.BigInteger getValue()
          Gets the value of the value property.
 void setUnit(ResourceUnit value)
          Sets the value of the unit property.
 void setValue(java.math.BigInteger value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected java.math.BigInteger value

unit

protected ResourceUnit unit
Constructor Detail

ResourceType

public ResourceType()
Method Detail

getValue

public java.math.BigInteger getValue()
Gets the value of the value property.

Returns:
possible object is BigInteger

setValue

public void setValue(java.math.BigInteger value)
Sets the value of the value property.

Parameters:
value - allowed object is BigInteger

getUnit

public ResourceUnit getUnit()
Gets the value of the unit property.

Returns:
possible object is ResourceUnit

setUnit

public void setUnit(ResourceUnit value)
Sets the value of the unit property.

Parameters:
value - allowed object is ResourceUnit