Class BwView

All Implemented Interfaces:
Serializable, Comparable<BwView>, org.bedework.util.logging.Logged

public class BwView extends BwDbentity<BwView>
A view in Bedework. This is a named collection of collections used to provide different views of the events.
Author:
Mike Douglass douglm rpi.edu
See Also:
  • Constructor Details

    • BwView

      public BwView()
      Constructor
  • Method Details

    • setName

      public void setName(String val)
      Set the name
      Parameters:
      val - String name
    • getName

      public String getName()
      Get the name
      Returns:
      String name
    • setCollectionPaths

      public void setCollectionPaths(List<String> val)
      List of collection paths for this view
      Parameters:
      val - List of string paths
    • getCollectionPaths

      public List<String> getCollectionPaths()
      Get the collection paths for this view
      Returns:
      List of String
    • addCollectionPath

      public void addCollectionPath(String val)
      Add a collection path
      Parameters:
      val - a collection path
    • removeCollectionPath

      public void removeCollectionPath(String val)
      Remove a collection path
      Parameters:
      val - a collection path
    • setConjunction

      public void setConjunction(boolean val)
      Parameters:
      val - true if we AND the expressions for each path
    • getConjunction

      public boolean getConjunction()
      Returns:
      true if we AND the expressions for each path
    • setFilter

      public void setFilter(org.bedework.caldav.util.filter.FilterBase val)
      Parameters:
      val - the filter or null
    • getFilter

      public org.bedework.caldav.util.filter.FilterBase getFilter()
      Returns:
      the filter or null
    • setCollections

      public void setCollections(List<BwCalendar> val)
      Parameters:
      val - the list of collections or null
    • getCollections

      public List<BwCalendar> getCollections()
    • compareTo

      public int compareTo(BwView that)
      Comapre this view and an object
      Specified by:
      compareTo in interface Comparable<BwView>
      Overrides:
      compareTo in class BwUnversionedDbentity<BwView>
      Parameters:
      that - object to compare.
      Returns:
      int -1, 0, 1
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BwUnversionedDbentity<BwView>
    • toString

      public String toString()
      Overrides:
      toString in class Object