Class EventElement

java.lang.Object
io.goobi.viewer.model.viewer.EventElement
All Implemented Interfaces:
Serializable, Comparable<EventElement>

public class EventElement extends Object implements Comparable<EventElement>, Serializable
Event.
See Also:
  • Constructor Details

  • Method Details

    • compareTo

      public int compareTo(EventElement o)
      Specified by:
      compareTo in interface Comparable<EventElement>
    • getDisplayDate

      public String getDisplayDate()

      Getter for the field displayDate.

      Returns:
      a String object.
    • getLabel

      public String getLabel()

      getLabel.

      Returns:
      a String object.
    • getType

      public String getType()

      Getter for the field type.

      Returns:
      the type
    • setType

      public void setType(String type)

      Setter for the field type.

      Parameters:
      type - the type to set
    • getDateStart

      public LocalDateTime getDateStart()

      Getter for the field dateStart.

      Returns:
      the dateStart
    • setDateStart

      public void setDateStart(LocalDateTime dateStart)

      Setter for the field dateStart.

      Parameters:
      dateStart - the dateStart to set
    • getDateEnd

      public LocalDateTime getDateEnd()

      Getter for the field dateEnd.

      Returns:
      the dateEnd
    • setDateEnd

      public void setDateEnd(LocalDateTime dateEnd)

      Setter for the field dateEnd.

      Parameters:
      dateEnd - the dateEnd to set
    • getMetadata

      public List<Metadata> getMetadata()

      Getter for the field metadata.

      Returns:
      the metadata
    • isHasMetadata

      public boolean isHasMetadata()

      hasMetadata.

      Returns:
      a boolean.
    • isHasSidebarMetadata

      public boolean isHasSidebarMetadata()

      hasSidebarMetadata.

      Returns:
      a boolean.
    • getSidebarMetadata

      public List<Metadata> getSidebarMetadata()

      Getter for the field sidebarMetadata.

      Returns:
      the sidebarMetadata
    • getSearchHitMetadata

      public List<Metadata> getSearchHitMetadata()
      Returns:
      the searchHitMetadata
    • getSearchHitListForLocale

      public List<Metadata> getSearchHitListForLocale(Locale locale)
      Parameters:
      locale -
      Returns:
      searchHitMetadata minus any fields that don't match the given locale
    • getSearchHitMetadataForCurrentLocale

      public List<Metadata> getSearchHitMetadataForCurrentLocale()
      Returns:
      searchHitMetadata minus any fields that don't match the current locale