|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.config.xml.model.ResourceType
public class ResourceType
Java class for resource-type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="resource-type"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="unit" type="{http://www.ehcache.org/v3}resource-unit" default="entries" /> <attribute name="size" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected java.math.BigInteger |
size
|
protected ResourceUnit |
unit
|
Constructor Summary | |
---|---|
ResourceType()
|
Method Summary | |
---|---|
java.math.BigInteger |
getSize()
Gets the value of the size property. |
ResourceUnit |
getUnit()
Gets the value of the unit property. |
void |
setSize(java.math.BigInteger value)
Sets the value of the size property. |
void |
setUnit(ResourceUnit value)
Sets the value of the unit property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ResourceUnit unit
protected java.math.BigInteger size
Constructor Detail |
---|
public ResourceType()
Method Detail |
---|
public ResourceUnit getUnit()
ResourceUnit
public void setUnit(ResourceUnit value)
value
- allowed object is
ResourceUnit
public java.math.BigInteger getSize()
BigInteger
public void setSize(java.math.BigInteger value)
value
- allowed object is
BigInteger
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |