org.springframework.binding.expression
Class SetValueAttempt

java.lang.Object
  extended by org.springframework.binding.expression.EvaluationAttempt
      extended by org.springframework.binding.expression.SetValueAttempt

public class SetValueAttempt
extends EvaluationAttempt

Records an attempt to set an expression value.

Author:
Keith Donald

Constructor Summary
SetValueAttempt(SettableExpression expression, java.lang.Object target, java.lang.Object value, EvaluationContext context)
          Creates a new set attempt.
 
Method Summary
protected  org.springframework.core.style.ToStringCreator createToString(org.springframework.core.style.ToStringCreator creator)
           
 java.lang.Object getValue()
          Returns the value that was attempted to be set.
 
Methods inherited from class org.springframework.binding.expression.EvaluationAttempt
getContext, getExpression, getTarget, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SetValueAttempt

public SetValueAttempt(SettableExpression expression,
                       java.lang.Object target,
                       java.lang.Object value,
                       EvaluationContext context)
Creates a new set attempt.

Parameters:
expression - the settable expression
target - the target of the expression
value - the value that was attempted to be set
context - context attributes that may have influenced the evaluation and set process
Method Detail

getValue

public java.lang.Object getValue()
Returns the value that was attempted to be set.


createToString

protected org.springframework.core.style.ToStringCreator createToString(org.springframework.core.style.ToStringCreator creator)
Overrides:
createToString in class EvaluationAttempt


Copyright � 2004-2007. All Rights Reserved.