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 boolean
equals(Object o)
String
getExpression()
The expression that sets the value, ie the part after
.refName = String
getName()
The name of the assigned variable reference.Class<?>
getType()
The type of reference.int
hashCode()
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
The name of the assigned variable reference.- Specified by:
getName
in 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:
getExpression
in interfaceLocalReference
- Returns:
- The setting expression.
-
getType
public Class<?> getType()
The type of reference.- Specified by:
getType
in interfaceLocalReference
- Returns:
- The type.
-
-