Package ognl.enhance

Class LocalReferenceImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      LocalReferenceImpl​(java.lang.String name, java.lang.String expression, java.lang.Class type)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getExpression()
      The expression that sets the value, ie the part after refName = .
      java.lang.String getName()
      The name of the assigned variable reference.
      java.lang.Class getType()
      The type of reference.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • LocalReferenceImpl

        public LocalReferenceImpl​(java.lang.String name,
                                  java.lang.String expression,
                                  java.lang.Class type)
    • Method Detail

      • getName

        public java.lang.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 java.lang.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 java.lang.Class getType()
        Description copied from interface: LocalReference
        The type of reference.
        Specified by:
        getType in interface LocalReference
        Returns:
        The type.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object