de.cesr.lara.components.environment.impl
Class LEnvironmentalListOfStringProperty
java.lang.Object
de.cesr.lara.components.LaraProperty<LAbstractEnvironmentalProperty<V>,V>
de.cesr.lara.components.environment.impl.LAbstractEnvironmentalProperty<List<String>>
de.cesr.lara.components.environment.impl.LEnvironmentalListOfStringProperty
public class LEnvironmentalListOfStringProperty
- extends LAbstractEnvironmentalProperty<List<String>>
listOfString
protected List<String> listOfString
- value
LEnvironmentalListOfStringProperty
public LEnvironmentalListOfStringProperty(String key,
List<String> value,
LaraEnvironment env)
- Parameters:
key
- value
- env
-
getModifiedProperty
public LEnvironmentalListOfStringProperty getModifiedProperty(List<String> value)
- Specified by:
getModifiedProperty
in class LaraProperty<LAbstractEnvironmentalProperty<List<String>>,List<String>>
- Returns:
- a new property with new value and key and current time stamp
- See Also:
LaraProperty.getModifiedProperty(java.lang.Object)
getValue
public List<String> getValue()
- Description copied from class:
LaraProperty
- NOTE: Since
LaraProperty
s are meant to be immutable we avoid a
member in this class which is not private (members other than private
allow implementing a subclass that hurts the immutability). However,
implementing the getValue() method requires a non-private member because
subclasses need the ability to override getValues() and access value in
case they need to return and create a deep copy of value in order to
prevent external changes in the value (which is true for most
non-primitive data types).
- Specified by:
getValue
in class LaraProperty<LAbstractEnvironmentalProperty<List<String>>,List<String>>
- Returns:
- the value