org.mythtv.services.api.dvr
Class Program
java.lang.Object
org.mythtv.services.api.dvr.Program
- All Implemented Interfaces:
- Serializable, Comparable<Program>
public class Program
- extends Object
- implements Serializable, Comparable<Program>
- Author:
- Daniel Frey
- See Also:
- Serialized Form
Program
public Program()
getStartTime
public org.joda.time.DateTime getStartTime()
- Returns:
- the startTime
setStartTime
public void setStartTime(org.joda.time.DateTime startTime)
- Parameters:
startTime - the startTime to set
getEndTime
public org.joda.time.DateTime getEndTime()
- Returns:
- the endTime
setEndTime
public void setEndTime(org.joda.time.DateTime endTime)
- Parameters:
endTime - the endTime to set
getTitle
public String getTitle()
- Returns:
- the title
setTitle
public void setTitle(String title)
- Parameters:
title - the title to set
getSubTitle
public String getSubTitle()
- Returns:
- the subTitle
setSubTitle
public void setSubTitle(String subTitle)
- Parameters:
subTitle - the subTitle to set
getCategory
public String getCategory()
- Returns:
- the category
setCategory
public void setCategory(String category)
- Parameters:
category - the category to set
getCategoryType
public String getCategoryType()
- Returns:
- the categoryType
setCategoryType
public void setCategoryType(String categoryType)
- Parameters:
categoryType - the categoryType to set
isRepeat
public boolean isRepeat()
- Returns:
- the repeat
setRepeat
public void setRepeat(boolean repeat)
- Parameters:
repeat - the repeat to set
getVideoProps
public int getVideoProps()
- Returns:
- the videoProps
setVideoProps
public void setVideoProps(int videoProps)
- Parameters:
videoProps - the videoProps to set
getAudioProps
public int getAudioProps()
- Returns:
- the audioProps
setAudioProps
public void setAudioProps(int audioProps)
- Parameters:
audioProps - the audioProps to set
getSubProps
public int getSubProps()
- Returns:
- the subProps
setSubProps
public void setSubProps(int subProps)
- Parameters:
subProps - the subProps to set
getSeriesId
public String getSeriesId()
- Returns:
- the seriesId
setSeriesId
public void setSeriesId(String seriesId)
- Parameters:
seriesId - the seriesId to set
getProgramId
public String getProgramId()
- Returns:
- the programId
setProgramId
public void setProgramId(String programId)
- Parameters:
programId - the programId to set
getStars
public float getStars()
- Returns:
- the stars
setStars
public void setStars(float stars)
- Parameters:
stars - the stars to set
getFileSize
public String getFileSize()
- Returns:
- the fileSize
setFileSize
public void setFileSize(String fileSize)
- Parameters:
fileSize - the fileSize to set
getLastModified
public org.joda.time.DateTime getLastModified()
- Returns:
- the lastModified
setLastModified
public void setLastModified(org.joda.time.DateTime lastModified)
- Parameters:
lastModified - the lastModified to set
getProgramFlags
public String getProgramFlags()
- Returns:
- the programFlags
setProgramFlags
public void setProgramFlags(String programFlags)
- Parameters:
programFlags - the programFlags to set
getHostname
public String getHostname()
- Returns:
- the hostname
setHostname
public void setHostname(String hostname)
- Parameters:
hostname - the hostname to set
getFilename
public String getFilename()
- Returns:
- the filename
setFilename
public void setFilename(String filename)
- Parameters:
filename - the filename to set
getAirDate
public org.joda.time.DateTime getAirDate()
- Returns:
- the airDate
setAirDate
public void setAirDate(org.joda.time.DateTime airDate)
- Parameters:
airDate - the airDate to set
getInetref
public String getInetref()
- Returns:
- the inetref
setInetref
public void setInetref(String inetref)
- Parameters:
inetref - the inetref to set
getSeason
public String getSeason()
- Returns:
- the season
setSeason
public void setSeason(String season)
- Parameters:
season - the season to set
getEpisode
public String getEpisode()
- Returns:
- the episode
setEpisode
public void setEpisode(String episode)
- Parameters:
episode - the episode to set
getChannelInfo
public ChannelInfo getChannelInfo()
- Returns:
- the channelInfo
setChannelInfo
public void setChannelInfo(ChannelInfo channelInfo)
- Parameters:
channelInfo - the channelInfo to set
getRecording
public Recording getRecording()
- Returns:
- the recording
setRecording
public void setRecording(Recording recording)
- Parameters:
recording - the recording to set
getDescription
public String getDescription()
- Returns:
- the description
setDescription
public void setDescription(String description)
- Parameters:
description - the description to set
getArtwork
public ArtworkInfos getArtwork()
- Returns:
- the artwork
setArtwork
public void setArtwork(ArtworkInfos artwork)
- Parameters:
artwork - the artwork to set
getDurationInMinutes
public long getDurationInMinutes()
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
compareTo
public int compareTo(Program arg)
- Specified by:
compareTo in interface Comparable<Program>
Copyright © 2012. All Rights Reserved.