Interface Resourceful


public interface Resourceful
An interface to identify Resourceful objects - objects that support setting and getting a Resource.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the current Resource for the object.
    void
    Set the current Resource for the object.
  • Method Details

    • getResource

      Resource getResource()
      Get the current Resource for the object.
      Returns:
      The Resource for the object.
    • setResource

      void setResource(Resource resource)
      Set the current Resource for the object.
      Parameters:
      resource - The Resource for the object.