Class BwEventProperty<T>

Type Parameters:
T -
All Implemented Interfaces:
Serializable, Comparable<T>, OwnedEntity, ShareableEntity, org.bedework.util.logging.Logged
Direct Known Subclasses:
BwCategory, BwContact, BwLocation

public abstract class BwEventProperty<T> extends BwShareableContainedDbentity<T>
Base for those classes that can be a property of an event and are all treated in the same manner, being Category, Location and Sponsor.

Each has a single field which together with the owner makes a unique key and all operations on those classes are the same.

Version:
1.0
Author:
Mike Douglass
See Also:
  • Field Details

  • Constructor Details

    • BwEventProperty

      public BwEventProperty()
      Constructor
  • Method Details

    • getFinderKeyValue

      public abstract BwString getFinderKeyValue()
      Returns:
      Finder Key value from this object.
    • getStatus

      public abstract String getStatus()
      Returns:
      String
    • getDeleted

      public boolean getDeleted()
      Returns:
      String
    • setUid

      public void setUid(String val)
      Set the uid
      Parameters:
      val - String uid
    • getUid

      public String getUid()
      Get the uid
      Returns:
      String uid
    • initUid

      public BwEventProperty<T> initUid()
      fill in the uid.
      Returns:
      this object
    • setScore

      public void setScore(float val)
    • getScore

      public float getScore()
      Returns:
      score from search
    • getColPath

      public String getColPath()
      Description copied from class: BwShareableContainedDbentity
      Get the object's collection path
      Overrides:
      getColPath in class BwShareableContainedDbentity<T>
      Returns:
      String path
    • getHref

      public String getHref()
      Overrides:
      getHref in class BwUnversionedDbentity<T>
      Returns:
      non null unique href for the entity
    • copyTo

      public void copyTo(BwEventProperty<?> val)
      Copy this objects fields into the parameter
      Parameters:
      val - to copy to
    • toStringSegment

      protected void toStringSegment(org.bedework.util.misc.ToString ts)
      Description copied from class: BwShareableContainedDbentity
      Add our stuff to the ToString object
      Overrides:
      toStringSegment in class BwShareableContainedDbentity<T>
      Parameters:
      ts - ToString for result