Interface Instance

  • All Known Implementing Classes:
    InstanceImpl

    public interface Instance
    Author:
    jwells
    • Method Detail

      • getBean

        Object getBean()
        Gets the bean (or bean-like-map) associated with this instance
        Returns:
        The non-null bean or bean-like map
      • getMetadata

        Object getMetadata()
        Gets information about this instance. Can be used to describe the bean in some useful way
        Returns:
        The possibly null metadata associated with this instance
      • setMetadata

        void setMetadata​(Object metadata)
        Sets an object containing information about this instance. Can be used to describe the bean in some useful way
        Parameters:
        metadata - The possibly null metadata to be associated with this instance