Package org.camunda.bpm.engine.impl.juel
Class Bindings
- java.lang.Object
 - 
- org.camunda.bpm.engine.impl.juel.Bindings
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable,TypeConverter
public class Bindings extends java.lang.Object implements TypeConverter
Bindings, usually created by aTree.- Author:
 - Christoph Beck
 - See Also:
 - Serialized Form
 
 
- 
- 
Field Summary
- 
Fields inherited from interface org.camunda.bpm.engine.impl.juel.TypeConverter
DEFAULT 
 - 
 
- 
Constructor Summary
Constructors Constructor Description Bindings(java.lang.reflect.Method[] functions, ValueExpression[] variables)Constructor.Bindings(java.lang.reflect.Method[] functions, ValueExpression[] variables, TypeConverter converter)Constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tconvert(java.lang.Object value, java.lang.Class<T> type)Apply type conversion.booleanequals(java.lang.Object obj)java.lang.reflect.MethodgetFunction(int index)Get function by index.ValueExpressiongetVariable(int index)Get variable by index.inthashCode()booleanisFunctionBound(int index)Test if given index is bound to a function.booleanisVariableBound(int index)Test if given index is bound to a variable. 
 - 
 
- 
- 
Constructor Detail
- 
Bindings
public Bindings(java.lang.reflect.Method[] functions, ValueExpression[] variables)Constructor. 
- 
Bindings
public Bindings(java.lang.reflect.Method[] functions, ValueExpression[] variables, TypeConverter converter)Constructor. 
 - 
 
- 
Method Detail
- 
getFunction
public java.lang.reflect.Method getFunction(int index)
Get function by index.- Parameters:
 index- function index- Returns:
 - method
 
 
- 
isFunctionBound
public boolean isFunctionBound(int index)
Test if given index is bound to a function. This method performs an index check.- Parameters:
 index- identifier index- Returns:
 trueif the given index is bound to a function
 
- 
getVariable
public ValueExpression getVariable(int index)
Get variable by index.- Parameters:
 index- identifier index- Returns:
 - value expression
 
 
- 
isVariableBound
public boolean isVariableBound(int index)
Test if given index is bound to a variable. This method performs an index check.- Parameters:
 index- identifier index- Returns:
 trueif the given index is bound to a variable
 
- 
convert
public <T> T convert(java.lang.Object value, java.lang.Class<T> type)Apply type conversion.- Specified by:
 convertin interfaceTypeConverter- Parameters:
 value- value to converttype- target type- Returns:
 - converted value
 - Throws:
 ELException
 
- 
equals
public boolean equals(java.lang.Object obj)
- Overrides:
 equalsin classjava.lang.Object
 
- 
hashCode
public int hashCode()
- Overrides:
 hashCodein classjava.lang.Object
 
 - 
 
 -