Modifier and Type | Method and Description |
---|---|
void |
addActor(Actor actor) |
void |
addDirector(Director director) |
void |
addGenre(Genre genre) |
void |
addWriter(Writer writer) |
java.util.Collection<Actor> |
getActors() |
java.lang.String |
getCtype()
Declare our class type.
|
java.util.Set<Director> |
getDirectors() |
int |
getDuration() |
java.util.Collection<Genre> |
getGenres() |
java.lang.String |
getSortTitle()
Get the sort title.
|
java.lang.String |
getStudio() |
long |
getUpdatedAt() |
VideoTexts |
getVideoTexts() |
java.util.Set<Writer> |
getWriters() |
void |
setActors(java.util.Set<Actor> actors) |
void |
setCtype(java.lang.String ctype) |
void |
setDirectors(java.util.Set<Director> directors) |
void |
setDuration(int duration) |
void |
setGenres(java.util.Set<Genre> genres) |
void |
setId(int id) |
void |
setSortTitle(java.lang.String sortTitle) |
void |
setStudio(java.lang.String studio) |
void |
setUpdatedAt(long updatedAt) |
void |
setVideoTexts(VideoTexts videoTexts) |
void |
setWriters(java.util.Set<Writer> writers) |
equals, getAddedAt, getBackgroundUrl, getHashKey, getId, getPlexKey, getSection, getSortIndex, getTitle, getYear, hashCode, setAddedAt, setHashKey, setPlexKey, setSection, setSortIndex, setTitle, setYear
public Video()
public Video(VideoBase videoBase)
public java.lang.String getCtype()
public void setCtype(java.lang.String ctype)
ctype
- the ctype to setpublic long getUpdatedAt()
public void setUpdatedAt(long updatedAt)
updatedAt
- the updatedAt to setpublic int getDuration()
public void setDuration(int duration)
duration
- the duration to setpublic java.lang.String getStudio()
public void setStudio(java.lang.String studio)
studio
- the studio to setpublic java.lang.String getSortTitle()
LibraryBase#sortIndex
es orderpublic void setSortTitle(java.lang.String sortTitle)
sortTitle
- the sortTitle to setpublic java.util.Collection<Genre> getGenres()
public void setGenres(java.util.Set<Genre> genres)
genres
- the genres to setpublic void addGenre(Genre genre)
public java.util.Set<Writer> getWriters()
public void setWriters(java.util.Set<Writer> writers)
writers
- the writers to setpublic void addWriter(Writer writer)
public java.util.Set<Director> getDirectors()
public void setDirectors(java.util.Set<Director> directors)
directors
- the directors to setpublic void addDirector(Director director)
public java.util.Collection<Actor> getActors()
public void setActors(java.util.Set<Actor> actors)
roles
- the roles to setpublic void addActor(Actor actor)
public VideoTexts getVideoTexts()
public void setVideoTexts(VideoTexts videoTexts)
videoTexts
- the videoTexts to set