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
ConstructorDescriptionObjectValueExpression
(TypeConverter converter, Object object, Class<?> type) Wrap an object into a value expression. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Two 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.int
hashCode()
boolean
Answerfalse
.boolean
isReadOnly
(jakarta.el.ELContext context) Answertrue
.void
Throw 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:
equals
in classjakarta.el.Expression
-
hashCode
public int hashCode()- Specified by:
hashCode
in classjakarta.el.Expression
-
getValue
Answer the wrapped object, coerced to the expected type.- Specified by:
getValue
in classjakarta.el.ValueExpression
-
getExpressionString
Answernull
.- Specified by:
getExpressionString
in classjakarta.el.Expression
-
isLiteralText
public boolean isLiteralText()Answerfalse
.- Specified by:
isLiteralText
in classjakarta.el.Expression
-
getType
Answernull
.- Specified by:
getType
in classjakarta.el.ValueExpression
-
isReadOnly
public boolean isReadOnly(jakarta.el.ELContext context) Answertrue
.- Specified by:
isReadOnly
in classjakarta.el.ValueExpression
-
setValue
Throw an exception.- Specified by:
setValue
in classjakarta.el.ValueExpression
-
toString
-
getExpectedType
- Specified by:
getExpectedType
in classjakarta.el.ValueExpression
-