Interface Instance

All Known Implementing Classes:
InstanceImpl

public interface Instance
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the bean (or bean-like-map) associated with this instance
    Gets information about this instance.
    void
    setMetadata(Object metadata)
    Sets an object containing information about this instance.
  • Method Details

    • 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