public class DefaultValueExpression extends ValueExpression
Accepts a null original value expression in case default value should be resolved even if no mapping should be done.
| Constructor and Description |
|---|
DefaultValueExpression(ValueExpression originalExpression,
ValueExpression defaultExpression) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Class<?> |
getExpectedType() |
String |
getExpressionString() |
Class<?> |
getType(ELContext arg0) |
Object |
getValue(ELContext arg0) |
int |
hashCode() |
boolean |
isLiteralText() |
boolean |
isReadOnly(ELContext arg0) |
void |
setValue(ELContext arg0,
Object arg1) |
getValueReferencepublic DefaultValueExpression(ValueExpression originalExpression, ValueExpression defaultExpression)
public Class<?> getExpectedType()
getExpectedType in class ValueExpressionpublic Class<?> getType(ELContext arg0) throws PropertyNotFoundException
getType in class ValueExpressionPropertyNotFoundExceptionpublic Object getValue(ELContext arg0) throws PropertyNotFoundException
getValue in class ValueExpressionPropertyNotFoundExceptionpublic boolean isReadOnly(ELContext arg0) throws PropertyNotFoundException
isReadOnly in class ValueExpressionPropertyNotFoundExceptionpublic void setValue(ELContext arg0, Object arg1) throws PropertyNotFoundException
setValue in class ValueExpressionPropertyNotFoundExceptionpublic boolean equals(Object obj)
equals in class Expressionpublic String getExpressionString()
getExpressionString in class Expressionpublic int hashCode()
hashCode in class Expressionpublic boolean isLiteralText()
isLiteralText in class ExpressionCopyright © 2014 Nuxeo SA. All Rights Reserved.