Creating a Taxonomic e-Science

org.cateproject.view.flow
Class BeanWrapperExpression

java.lang.Object
  extended by org.cateproject.view.flow.BeanWrapperExpression
All Implemented Interfaces:
org.springframework.binding.expression.Expression

public class BeanWrapperExpression
extends Object
implements org.springframework.binding.expression.Expression


Constructor Summary
BeanWrapperExpression(String expression, org.springframework.binding.convert.service.GenericConversionService conversionService)
          Creates a new bean wrapper expression.
 
Method Summary
 boolean equals(Object o)
           
 String getExpressionString()
           
 Object getValue(Object context)
           
 Class getValueType(Object context)
           
 int hashCode()
           
 void setValue(Object context, Object value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BeanWrapperExpression

public BeanWrapperExpression(String expression,
                             org.springframework.binding.convert.service.GenericConversionService conversionService)
Creates a new bean wrapper expression.

Parameters:
expression - the property expression string
conversionService - the conversion service containing converters to use as PropertyEditors for type conversion
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getValue

public Object getValue(Object context)
                throws org.springframework.binding.expression.EvaluationException
Specified by:
getValue in interface org.springframework.binding.expression.Expression
Throws:
org.springframework.binding.expression.EvaluationException

setValue

public void setValue(Object context,
                     Object value)
Specified by:
setValue in interface org.springframework.binding.expression.Expression

getValueType

public Class getValueType(Object context)
Specified by:
getValueType in interface org.springframework.binding.expression.Expression

getExpressionString

public String getExpressionString()
Specified by:
getExpressionString in interface org.springframework.binding.expression.Expression

toString

public String toString()
Overrides:
toString in class Object

Creating a Taxonomic e-Science

Copyright © 2010. All Rights Reserved.