de.cesr.lara.houseplant
Class MemoryProperty

java.lang.Object
  extended by de.cesr.lara.components.LaraProperty<MemoryProperty,String>
      extended by de.cesr.lara.houseplant.MemoryProperty

public class MemoryProperty
extends LaraProperty<MemoryProperty,String>

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


Constructor Summary
MemoryProperty(String key, String value)
          constructor
 
Method Summary
 MemoryProperty 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

MemoryProperty

public MemoryProperty(String key,
                      String value)
constructor

Parameters:
key -
value -
Method Detail

getModifiedProperty

public MemoryProperty getModifiedProperty(String value)
Specified by:
getModifiedProperty in class LaraProperty<MemoryProperty,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<MemoryProperty,String>
Returns:
the property's value
See Also:
LaraProperty.getValue()