Package net.sf.ehcache.statistics.beans
Class StringBeanProxy
- java.lang.Object
-
- net.sf.ehcache.statistics.beans.AttributeProxy<java.lang.String>
-
- net.sf.ehcache.statistics.beans.StringBeanProxy
-
public class StringBeanProxy extends AttributeProxy<java.lang.String>
An impl of a String attribute proxy.- Author:
- cschanck
-
-
Constructor Summary
Constructors Constructor Description StringBeanProxy(java.lang.String name, java.lang.String descr, boolean isRead, boolean isWrite)Instantiates a new string bean proxy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringget(java.lang.String name)Gets the value.voidset(java.lang.String name, java.lang.String t)Sets the value.-
Methods inherited from class net.sf.ehcache.statistics.beans.AttributeProxy
getDescription, getName, getTypeClass, isRead, isWrite
-
-
-
-
Method Detail
-
get
public java.lang.String get(java.lang.String name)
Description copied from class:AttributeProxyGets the value.- Overrides:
getin classAttributeProxy<java.lang.String>- Parameters:
name- the name- Returns:
- the value
-
set
public void set(java.lang.String name, java.lang.String t)Description copied from class:AttributeProxySets the value.- Overrides:
setin classAttributeProxy<java.lang.String>- Parameters:
name- the namet- the value
-
-