Interface PropertiesEntity

All Known Implementing Classes:
BwCalendar, BwCalendarNewWrapper, BwPreferences, BwSystem, CalendarWrapper

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

    • setProperties

      void setProperties(Set<BwProperty> val)
      Parameters:
      val -
    • getProperties

      Set<BwProperty> getProperties()
      Returns:
      properties
    • getProperties

      Set<BwProperty> getProperties(String name)
      Parameters:
      name -
      Returns:
      properties with given name
    • removeProperties

      void removeProperties(String name)
      Remove all with given name
      Parameters:
      name -
    • getNumProperties

      int getNumProperties()
      Returns:
      int
    • findProperty

      BwProperty findProperty(String name)
      Parameters:
      name -
      Returns:
      property or null
    • addProperty

      void addProperty(BwProperty val)
      Parameters:
      val -
    • removeProperty

      boolean removeProperty(BwProperty val)
      Parameters:
      val -
      Returns:
      boolean
    • copyProperties

      Set<BwProperty> copyProperties()
      Returns:
      BwProperty
    • cloneProperties

      Set<BwProperty> cloneProperties()
      Returns:
      BwProperty