org.springframework.binding.expression
Class SetValueAttempt
java.lang.Object
org.springframework.binding.expression.EvaluationAttempt
org.springframework.binding.expression.SetValueAttempt
public class SetValueAttempt
- extends EvaluationAttempt
Records an attempt to set an expression value.
- Author:
- Keith Donald
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SetValueAttempt
public SetValueAttempt(SettableExpression expression,
java.lang.Object target,
java.lang.Object value,
EvaluationContext context)
- Creates a new set attempt.
- Parameters:
expression
- the settable expressiontarget
- the target of the expressionvalue
- the value that was attempted to be setcontext
- context attributes that may have influenced the evaluation and set process
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.