de.cesr.lara.template
Class MyMemoryProperty

java.lang.Object
  extended by de.cesr.lara.components.LaraProperty<MyMemoryProperty,String>
      extended by de.cesr.lara.template.MyMemoryProperty

public class MyMemoryProperty
extends LaraProperty<MyMemoryProperty,String>

used to store a key value pair (Strings) in memory


Constructor Summary
MyMemoryProperty(String key, String value)
          constructor
 
Method Summary
 MyMemoryProperty getModifiedProperty(String value)
           
 String getValue()
          returns the value of the property as String
 
Methods inherited from class de.cesr.lara.components.LaraProperty
equals, getKey, getRefreshedProperty, getTimestamp, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MyMemoryProperty

public MyMemoryProperty(String key,
                        String value)
constructor

Parameters:
key -
value -
Method Detail

getModifiedProperty

public MyMemoryProperty getModifiedProperty(String value)
Specified by:
getModifiedProperty in class LaraProperty<MyMemoryProperty,String>
Returns:
a new property with new value and key and current time stamp

getValue

public String getValue()
returns the value of the property as String

Specified by:
getValue in class LaraProperty<MyMemoryProperty,String>
Returns:
the property's value
See Also:
LaraProperty.getValue()