public class VideoBase
extends java.lang.Object
Constructor and Description |
---|
VideoBase() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
long |
getAddedAt() |
java.lang.String |
getBackgroundUrl() |
int |
getHashKey() |
int |
getId()
Get the database index number
|
int |
getPlexKey() |
int |
getSection() |
int |
getSortIndex()
Get the sort order index.
|
java.lang.String |
getTitle() |
int |
getYear() |
int |
hashCode()
Rather than expose the internal url to a client, hash the url
into a key and then use the key to get to the Image.
|
void |
setAddedAt(long addedAt) |
void |
setHashKey(int hashKey) |
void |
setId(int id) |
void |
setPlexKey(int plexKey) |
void |
setSection(int section) |
void |
setSortIndex(int sortIndex) |
void |
setTitle(java.lang.String title) |
void |
setYear(int year) |
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int getId()
public void setId(int id)
id
- the id to setpublic int getHashKey()
public void setHashKey(int hashKey)
hashKey
- the hashKey to setpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title to setpublic int getYear()
public void setYear(int year)
year
- the year to setpublic int getSection()
public void setSection(int section)
section
- the section to setpublic java.lang.String getBackgroundUrl()
public int getPlexKey()
public void setPlexKey(int plexKey)
plexKey
- the plexKey to setpublic long getAddedAt()
public void setAddedAt(long addedAt)
addedAt
- the addedAt to setpublic int getSortIndex()
public void setSortIndex(int sortIndex)
sortIndex
- the sortIndex to set