Interface CTypeI.FieldAccessor<T2>

  • Type Parameters:
    T2 - the field type
    All Superinterfaces:
    ToString
    Enclosing interface:
    CTypeI<T>

    public static interface CTypeI.FieldAccessor<T2>
    extends ToString
    Interface for field access operations.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T2 get​(java.lang.Object owner)
      Gets the field value from the specified owner object.
      void set​(java.lang.Object owner, T2 value)
      Sets the field value on the specified owner object.
    • Method Detail

      • get

        T2 get​(java.lang.Object owner)
        Gets the field value from the specified owner object.
        Parameters:
        owner - the owner object
        Returns:
        the field value
      • set

        void set​(java.lang.Object owner,
                 T2 value)
        Sets the field value on the specified owner object.
        Parameters:
        owner - the owner object
        value - the new field value