Interface ResourcedEntity

All Known Subinterfaces:
EventEntity
All Known Implementing Classes:
BwEvent, BwEventAnnotation, BwEventNewWrapper, BwEventObj, BwEventProxy

public interface ResourcedEntity
An entity that can have one or more resources will implement this interface.
Author:
douglm
  • Method Details

    • setResources

      void setResources(Set<BwString> val)
      Set the resources Set
      Parameters:
      val - Set of (BwString)resources
    • getResources

      Set<BwString> getResources()
      Get the resources
      Returns:
      Set resources set
    • getNumResources

      int getNumResources()
      Returns:
      int number of resources.
    • addResource

      void addResource(String lang, String val)
      Parameters:
      lang -
      val -
    • addResource

      void addResource(BwString val)
      Parameters:
      val -
    • removeResource

      boolean removeResource(BwString val)
      Parameters:
      val -
      Returns:
      boolean true if removed.