Package org.apache.commons.ognl.enhance
Class LocalReferenceImpl
- java.lang.Object
-
- org.apache.commons.ognl.enhance.LocalReferenceImpl
-
- All Implemented Interfaces:
LocalReference
public class LocalReferenceImpl extends Object implements LocalReference
Implementation ofLocalReference.
-
-
Constructor Summary
Constructors Constructor Description LocalReferenceImpl(String name, String expression, Class<?> type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetExpression()The expression that sets the value, ie the part after.refName = StringgetName()The name of the assigned variable reference.Class<?>getType()The type of reference.inthashCode()StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
The name of the assigned variable reference.- Specified by:
getNamein interfaceLocalReference- Returns:
- The name of the reference as it will be when compiled.
-
getExpression
public String getExpression()
The expression that sets the value, ie the part after.refName = - Specified by:
getExpressionin interfaceLocalReference- Returns:
- The setting expression.
-
getType
public Class<?> getType()
The type of reference.- Specified by:
getTypein interfaceLocalReference- Returns:
- The type.
-
-