de.cesr.lara.components.postprocessor.impl
Class LSelectedBoProperty<BO extends LaraBehaviouralOption<?,?>>

java.lang.Object
  extended by de.cesr.lara.components.LaraProperty<LSelectedBoProperty<BO>,BO>
      extended by de.cesr.lara.components.postprocessor.impl.LSelectedBoProperty<BO>

public class LSelectedBoProperty<BO extends LaraBehaviouralOption<?,?>>
extends LaraProperty<LSelectedBoProperty<BO>,BO>


Field Summary
protected  BO bo
           
protected  LaraDecisionConfiguration dConfig
           
 
Constructor Summary
LSelectedBoProperty(LaraDecisionConfiguration dConfig, BO bo)
           
 
Method Summary
 LaraDecisionConfiguration getDConfig()
           
 LSelectedBoProperty<BO> getModifiedProperty(BO value)
           
 BO getValue()
          NOTE: Since LaraPropertys 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).
 
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
 

Field Detail

bo

protected BO extends LaraBehaviouralOption<?,?> bo

dConfig

protected LaraDecisionConfiguration dConfig
Constructor Detail

LSelectedBoProperty

public LSelectedBoProperty(LaraDecisionConfiguration dConfig,
                           BO bo)
Parameters:
dConfig -
bo -
Method Detail

getDConfig

public LaraDecisionConfiguration getDConfig()
Returns:
decision configuration of this selected BO property

getModifiedProperty

public LSelectedBoProperty<BO> getModifiedProperty(BO value)
Specified by:
getModifiedProperty in class LaraProperty<LSelectedBoProperty<BO extends LaraBehaviouralOption<?,?>>,BO extends LaraBehaviouralOption<?,?>>
Returns:
a new property with new value and key and current time stamp
See Also:
LaraProperty.getModifiedProperty(java.lang.Object)

getValue

public BO getValue()
Description copied from class: LaraProperty
NOTE: Since LaraPropertys 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<LSelectedBoProperty<BO extends LaraBehaviouralOption<?,?>>,BO extends LaraBehaviouralOption<?,?>>
Returns:
the property's value
See Also:
LaraProperty.getValue()