java.lang.Object
de.digitalcollections.model.identifiable.entity.manifestation.PublishingInfo
Direct Known Subclasses:
DistributionInfo, ProductionInfo, PublicationInfo

public abstract class PublishingInfo extends Object
An abstract container, which integrated all publishers, which are responsible in a certain way (e.g. production) for a manifestation, and which also holds information about the time range of that involvement.
  • Field Details

  • Constructor Details

    • PublishingInfo

      public PublishingInfo()
  • Method Details

    • isEmpty

      public boolean isEmpty()
    • getPublishers

      public List<Publisher> getPublishers()
    • setPublishers

      public void setPublishers(List<Publisher> publishers)
    • getDatePresentation

      public String getDatePresentation()
      The original free text representation of the date or date range
      Returns:
      the textual representation with no restrictions at all
    • setDatePresentation

      public void setDatePresentation(String datePresentation)
      Used to fill the textual representation of the date or date range
      Parameters:
      datePresentation - A string with any data, you want
    • getNavDateRange

      public LocalDateRange getNavDateRange()
      The "navigation" date range - use for sorting and querying, will be filled heuristically
      Returns:
      a filled LocalDateRange
    • setNavDateRange

      public void setNavDateRange(LocalDateRange navDateRange)
      Used to heuristically fill the "navigation" date range, which is used for sorting and querying
      Parameters:
      navDateRange -
    • getTimeValueRange

      public TimeValueRange getTimeValueRange()
      The date range with implicit precision
      Returns:
      a TimeValueRange
    • setTimeValueRange

      public void setTimeValueRange(TimeValueRange timeValueRange)
      Set the date range with the given implicit precision
      Parameters:
      timeValueRange - The TimeValueRange
    • toString

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object