Class GosuVarPropertyInfo.VarPropertyAccessor

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private VarPropertyAccessor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getValue​(java.lang.Object ctx)
      Returns the value for a property given a "this" object
      void setValue​(java.lang.Object ctx, java.lang.Object value)
      Sets the property to the given value for the ctx object
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VarPropertyAccessor

        private VarPropertyAccessor()
    • Method Detail

      • getValue

        public java.lang.Object getValue​(java.lang.Object ctx)
        Description copied from interface: IPropertyAccessor
        Returns the value for a property given a "this" object
        Specified by:
        getValue in interface IPropertyAccessor
        Parameters:
        ctx - the "this" pointer.
        Returns:
        the value of the property for the ctx object
      • setValue

        public void setValue​(java.lang.Object ctx,
                             java.lang.Object value)
        Description copied from interface: IPropertyAccessor
        Sets the property to the given value for the ctx object
        Specified by:
        setValue in interface IPropertyAccessor
        Parameters:
        ctx - the "this" pointer
        value - the new value