Package nl.vpro.domain.media
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 inMediaObject
mapped with @CollectionTable.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AvailableSubtitles.Builder
-
Constructor Summary
Constructors Constructor Description AvailableSubtitles()
AvailableSubtitles(Locale language, nl.vpro.domain.subtitles.SubtitlesType type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NonNull AvailableSubtitles.Builder
builder()
protected boolean
canEqual(@Nullable Object other)
int
compareTo(AvailableSubtitles o)
boolean
equals(@Nullable Object o)
Locale
getLanguage()
nl.vpro.domain.subtitles.SubtitlesType
getType()
nl.vpro.domain.subtitles.SubtitlesWorkflow
getWorkflow()
protected nl.vpro.domain.subtitles.SubtitlesWorkflow
getWorkflow_()
int
hashCode()
static AvailableSubtitles
published(Locale language, nl.vpro.domain.subtitles.SubtitlesType type)
void
setWorkflow(nl.vpro.domain.subtitles.SubtitlesWorkflow workflow)
protected void
setWorkflow_(nl.vpro.domain.subtitles.SubtitlesWorkflow workflow)
String
toString()
-
-
-
Constructor Detail
-
AvailableSubtitles
public AvailableSubtitles()
-
AvailableSubtitles
public AvailableSubtitles(Locale language, nl.vpro.domain.subtitles.SubtitlesType type)
-
-
Method Detail
-
published
public static AvailableSubtitles published(Locale language, nl.vpro.domain.subtitles.SubtitlesType type)
-
compareTo
public int compareTo(AvailableSubtitles o)
- Specified by:
compareTo
in interfaceComparable<AvailableSubtitles>
-
getWorkflow_
protected nl.vpro.domain.subtitles.SubtitlesWorkflow getWorkflow_()
-
setWorkflow_
protected void setWorkflow_(nl.vpro.domain.subtitles.SubtitlesWorkflow workflow)
-
builder
public static @NonNull AvailableSubtitles.Builder builder()
-
canEqual
protected boolean canEqual(@Nullable Object other)
-
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)
-
-