Class BwOrganizer

All Implemented Interfaces:
Serializable, Comparable<BwOrganizer>, Differable<BwOrganizer>, SizedEntity, org.bedework.util.logging.Logged

Represent an organizer
Author:
Mike Douglass douglm@bedework.edu
See Also:
  • Constructor Details

    • BwOrganizer

      public BwOrganizer()
      Constructor
  • Method Details

    • setCn

      public void setCn(String val)
      Set the cn
      Parameters:
      val - String cn
    • getCn

      public String getCn()
      Get the cn
      Returns:
      String cn
    • setDir

      public void setDir(String val)
      Set the dir (directory url for lookup)
      Parameters:
      val - String dir
    • getDir

      public String getDir()
      Get the dir
      Returns:
      String dir
    • setLanguage

      public void setLanguage(String val)
      Set the language
      Parameters:
      val - String language
    • getLanguage

      public String getLanguage()
      Get the language
      Returns:
      String language
    • setSentBy

      public void setSentBy(String val)
      Set the sentBy
      Parameters:
      val - String sentBy
    • getSentBy

      public String getSentBy()
      Get the sentBy
      Returns:
      String sentBy
    • setOrganizerUri

      public void setOrganizerUri(String val)
      Set the organizerUri
      Parameters:
      val - String organizerUri
    • getOrganizerUri

      public String getOrganizerUri()
      Get the organizerUri
      Returns:
      String organizerUri
    • setDtstamp

      public void setDtstamp(String val)
      Parameters:
      val - datestamp
    • getDtstamp

      public String getDtstamp()
      Returns:
      String datestamp
    • setScheduleStatus

      public void setScheduleStatus(String val)
      Set the schedule status
      Parameters:
      val - schedule status
    • getScheduleStatus

      public String getScheduleStatus()
      Get the schedule status
      Returns:
      String schedule status
    • update

      public boolean update(BwOrganizer from)
      Figure out what's different and update it. This should reduce the number of spurious changes to the db.
      Parameters:
      from - organizer copy
      Returns:
      true if we changed something.
    • getSize

      public int getSize()
      Size to use for quotas.
      Specified by:
      getSize in interface SizedEntity
      Returns:
      int
    • differsFrom

      public boolean differsFrom(BwOrganizer val)
      Description copied from interface: Differable
      Return true if the entity differs in any way.
      Specified by:
      differsFrom in interface Differable<BwOrganizer>
      Returns:
      boolean
    • compareTo

      public int compareTo(BwOrganizer that)
      Specified by:
      compareTo in interface Comparable<BwOrganizer>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • clone

      public Object clone()
      Overrides:
      clone in class Object