Class AvailableSubtitles

java.lang.Object
nl.vpro.domain.media.AvailableSubtitles
All Implemented Interfaces:
Serializable, Comparable<AvailableSubtitles>

@Embeddable public class AvailableSubtitles extends Object implements Serializable, Comparable<AvailableSubtitles>
This is kind of strange, this table is has only a few fields of Subtitles, and is then in MediaObject mapped with @CollectionTable.
See Also:
  • Constructor Details

    • AvailableSubtitles

      public AvailableSubtitles()
    • AvailableSubtitles

      public AvailableSubtitles(Locale language, nl.vpro.domain.subtitles.SubtitlesType type)
  • Method Details

    • published

      public static AvailableSubtitles published(Locale language, nl.vpro.domain.subtitles.SubtitlesType type)
    • compareTo

      public int compareTo(AvailableSubtitles o)
      Specified by:
      compareTo in interface Comparable<AvailableSubtitles>
    • getWorkflow_

      protected nl.vpro.domain.subtitles.SubtitlesWorkflow getWorkflow_()
    • setWorkflow_

      protected void setWorkflow_(nl.vpro.domain.subtitles.SubtitlesWorkflow workflow)
    • toString

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

      public static @NonNull AvailableSubtitles.Builder builder()
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

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

      public Locale getLanguage()
    • getType

      public nl.vpro.domain.subtitles.SubtitlesType getType()
    • getWorkflow

      public nl.vpro.domain.subtitles.SubtitlesWorkflow getWorkflow()
    • setWorkflow

      public void setWorkflow(nl.vpro.domain.subtitles.SubtitlesWorkflow workflow)