Package ognl.enhance

Class LocalReferenceImpl

java.lang.Object
ognl.enhance.LocalReferenceImpl
All Implemented Interfaces:
LocalReference

public class LocalReferenceImpl extends Object implements LocalReference
Implementation of LocalReference.
  • Constructor Details

    • LocalReferenceImpl

      public LocalReferenceImpl(String name, String expression, Class type)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: LocalReference
      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()
      Description copied from interface: LocalReference
      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()
      Description copied from interface: LocalReference
      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