Class DbCollection

All Implemented Interfaces:
Serializable, Comparable<DbCollection>, org.bedework.util.logging.Logged, org.bedework.webdav.servlet.access.SharedEntity

public class DbCollection extends DbNamedEntity<DbCollection>
A representation of a vcard and properties for database persistence in cardDAV
Author:
douglm
See Also:
  • Constructor Details

    • DbCollection

      public DbCollection()
      Create DbCollection
  • Method Details

    • setLastmod

      public void setLastmod(String val)
      Parameters:
      val - last mod date/time
    • getLastmod

      public String getLastmod()
      Returns:
      String
    • setDescription

      public void setDescription(String val)
      Parameters:
      val - a description
    • getDescription

      public String getDescription()
      Returns:
      String
    • setAddressBook

      public void setAddressBook(boolean val)
      Parameters:
      val - true for address book
    • getAddressBook

      public boolean getAddressBook()
      Returns:
      boolean
    • isCollection

      public boolean isCollection()
    • setAccessState

      public void setAccessState(org.bedework.webdav.servlet.access.AccessState val)
    • getAccessState

      public org.bedework.webdav.servlet.access.AccessState getAccessState()
    • toStringSegment

      public void toStringSegment(org.bedework.base.ToString ts)
      Description copied from class: UnversionedDbentity
      Add our stuff to the ToString builder
      Overrides:
      toStringSegment in class DbNamedEntity<DbCollection>
      Parameters:
      ts - ToString builder for result
    • compareTo

      public int compareTo(DbCollection that)
      Specified by:
      compareTo in interface Comparable<DbCollection>
      Overrides:
      compareTo in class UnversionedDbentity<DbCollection>
    • toString

      public String toString()
      Overrides:
      toString in class Object