org.apache.commons.ognl.enhance
Class LocalReferenceImpl

java.lang.Object
  extended by org.apache.commons.ognl.enhance.LocalReferenceImpl
All Implemented Interfaces:
LocalReference

public class LocalReferenceImpl
extends Object
implements LocalReference

Implementation of LocalReference.


Constructor Summary
LocalReferenceImpl(String name, String expression, Class<?> type)
           
 
Method Summary
 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()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalReferenceImpl

public LocalReferenceImpl(String name,
                          String expression,
                          Class<?> type)
Method Detail

getName

public String getName()
The name of the assigned variable reference.

Specified by:
getName in interface LocalReference
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 interface LocalReference
Returns:
The setting expression.

getType

public Class<?> getType()
The type of reference.

Specified by:
getType in interface LocalReference
Returns:
The type.

equals

public boolean equals(Object o)

Overrides:
equals in class Object

hashCode

public int hashCode()

Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object


Copyright © 1997-2013 The Apache Software Foundation. All Rights Reserved.