Package ognl.enhance

Class OgnlLocalReference

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Class<?> clazzType  
      private java.lang.String expression  
      private java.lang.String name  
    • Constructor Summary

      Constructors 
      Constructor Description
      OgnlLocalReference​(java.lang.String name, java.lang.String expression, java.lang.Class<?> clazzType)  
    • 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 <class type> refName = <expression>.
      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
    • Field Detail

      • name

        private final java.lang.String name
      • clazzType

        private final java.lang.Class<?> clazzType
      • expression

        private final java.lang.String expression
    • Constructor Detail

      • OgnlLocalReference

        public OgnlLocalReference​(java.lang.String name,
                                  java.lang.String expression,
                                  java.lang.Class<?> clazzType)
    • 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 <class type> refName = <expression>.
        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