Package org.camunda.bpm.impl.juel
Class ObjectValueExpression
java.lang.Object
jakarta.el.Expression
jakarta.el.ValueExpression
org.camunda.bpm.impl.juel.ObjectValueExpression
- All Implemented Interfaces:
Serializable
public final class ObjectValueExpression
extends jakarta.el.ValueExpression
Object wrapper expression.
- Author:
- Christoph Beck
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionObjectValueExpression(TypeConverter converter, Object object, Class<?> type) Wrap an object into a value expression. -
Method Summary
Modifier and TypeMethodDescriptionbooleanTwo object value expressions are equal if and only if their wrapped objects are equal.Class<?>Answernull.Class<?>getType(jakarta.el.ELContext context) Answernull.getValue(jakarta.el.ELContext context) Answer the wrapped object, coerced to the expected type.inthashCode()booleanAnswerfalse.booleanisReadOnly(jakarta.el.ELContext context) Answertrue.voidThrow an exception.toString()Methods inherited from class jakarta.el.ValueExpression
getValueReference
-
Constructor Details
-
ObjectValueExpression
Wrap an object into a value expression.- Parameters:
converter- type converterobject- the object to wraptype- the expected type this object will be coerced ingetValue(ELContext).
-
-
Method Details
-
equals
Two object value expressions are equal if and only if their wrapped objects are equal.- Specified by:
equalsin classjakarta.el.Expression
-
hashCode
public int hashCode()- Specified by:
hashCodein classjakarta.el.Expression
-
getValue
Answer the wrapped object, coerced to the expected type.- Specified by:
getValuein classjakarta.el.ValueExpression
-
getExpressionString
Answernull.- Specified by:
getExpressionStringin classjakarta.el.Expression
-
isLiteralText
public boolean isLiteralText()Answerfalse.- Specified by:
isLiteralTextin classjakarta.el.Expression
-
getType
Answernull.- Specified by:
getTypein classjakarta.el.ValueExpression
-
isReadOnly
public boolean isReadOnly(jakarta.el.ELContext context) Answertrue.- Specified by:
isReadOnlyin classjakarta.el.ValueExpression
-
setValue
Throw an exception.- Specified by:
setValuein classjakarta.el.ValueExpression
-
toString
-
getExpectedType
- Specified by:
getExpectedTypein classjakarta.el.ValueExpression
-