|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jmythapi.impl.AData<E>
org.jmythapi.database.impl.ADatabaseRow<IRecorderNextProgramInfo.Props>
org.jmythapi.database.impl.RecorderNextProgramInfo
public class RecorderNextProgramInfo
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jmythapi.protocol.response.IRecorderNextProgramInfo |
|---|
IRecorderNextProgramInfo.Props |
| Field Summary |
|---|
| Fields inherited from class org.jmythapi.impl.AData |
|---|
logger, propsClass, protoVersion, respArgs |
| Constructor Summary | |
|---|---|
RecorderNextProgramInfo(ProtocolVersion protoVersion,
int dbVersion,
List<String> data)
|
|
| Method Summary | |
|---|---|
String |
getCategory()
Gets the category of the program. |
String |
getChannelIconPath()
Gets the path to the channel icon. |
Integer |
getChannelID()
Gets the MythTV internal channel ID. |
String |
getChannelNumber()
Gets the user defined channel number. |
String |
getChannelSign()
Gets the station abbreviation. |
String |
getDescription()
Gets the program description. |
int |
getDuration()
Gets the duration for the program in minutes. |
Date |
getEndDateTime()
Gets the scheduled end of the program. |
String |
getFullTitle()
Gets the full title of the program. |
int |
getMinutesAfterMidnight()
Gets the the start time of the program in minutes after midnight. |
String |
getProgramID()
Get the program ID. |
String |
getSeriesID()
Gets the series ID of the program. |
Date |
getStartDateTime()
Gets the scheduled start of the program. |
String |
getSubtitle()
Gets the program subtitle. |
String |
getTitle()
Gets the program title. |
String |
getUniqueProgramId()
Generates a unique id for this program-info. |
boolean |
isValid()
Checks if the program object contains valid data. |
| Methods inherited from class org.jmythapi.database.impl.ADatabaseRow |
|---|
clone, decodeProperty, encodeProperty, equals, getDatabaseVersion, getProperties, getProperty, getPropertyIndex |
| Methods inherited from class org.jmythapi.impl.AData |
|---|
getPropertyClass, getPropertyCount, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValueObject, getPropertyValues, getVersionNr, hashCode, init, postProcessArguments, setPropertyValue, setPropertyValue, setPropertyValueObject, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jmythapi.IVersionable |
|---|
getVersionNr |
| Methods inherited from interface org.jmythapi.IPropertyAware |
|---|
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject |
| Constructor Detail |
|---|
public RecorderNextProgramInfo(ProtocolVersion protoVersion,
int dbVersion,
List<String> data)
| Method Detail |
|---|
public String getCategory()
IRecorderNextProgramInfo
getCategory in interface IBasicProgramInfogetCategory in interface IRecorderNextProgramInfoComedyIRecorderNextProgramInfo.Props.CATEGORYpublic Integer getChannelID()
IRecorderNextProgramInfo
getChannelID in interface IBasicChannelInfogetChannelID in interface IRecorderNextProgramInfo11123IRecorderNextProgramInfo.Props.CHANNEL_IDpublic String getChannelIconPath()
IRecorderNextProgramInfo
getChannelIconPath in interface IRecorderNextProgramInfoIRecorderNextProgramInfo.Props.CHANNEL_ICON_PATHpublic String getChannelNumber()
IRecorderNextProgramInfo
getChannelNumber in interface IBasicChannelInfogetChannelNumber in interface IRecorderNextProgramInfo-', '_' or '.'IRecorderNextProgramInfo.Props.CHANNEL_NUMBERpublic String getChannelSign()
IRecorderNextProgramInfo
getChannelSign in interface IBasicChannelInfogetChannelSign in interface IRecorderNextProgramInfoPULS 4IRecorderNextProgramInfo.Props.CHANNEL_SIGNpublic String getDescription()
IRecorderNextProgramInfo
getDescription in interface IBasicProgramInfogetDescription in interface IRecorderNextProgramInfoIRecorderNextProgramInfo.Props.DESCRIPTIONpublic Date getEndDateTime()
IRecorderNextProgramInfo
getEndDateTime in interface IBasicProgramInfogetEndDateTime in interface IRecorderNextProgramInfoIRecorderNextProgramInfo.Props.END_DATE_TIMEpublic String getProgramID()
IRecorderNextProgramInfo
getProgramID in interface IBasicProgramInfogetProgramID in interface IRecorderNextProgramInfoIRecorderNextProgramInfo.Props.PROGRAM_IDpublic String getSeriesID()
IRecorderNextProgramInfo
getSeriesID in interface IBasicProgramInfogetSeriesID in interface IRecorderNextProgramInfoIRecorderNextProgramInfo.Props.SERIES_IDpublic Date getStartDateTime()
IRecorderNextProgramInfo
getStartDateTime in interface IBasicProgramInfogetStartDateTime in interface IRecorderNextProgramInfoIRecorderNextProgramInfo.Props.START_DATE_TIMEpublic String getSubtitle()
IRecorderNextProgramInfo
getSubtitle in interface IBasicProgramInfogetSubtitle in interface IRecorderNextProgramInfoIRecorderNextProgramInfo.Props.SUBTITLEpublic String getTitle()
IRecorderNextProgramInfo
getTitle in interface IBasicProgramInfogetTitle in interface IRecorderNextProgramInfoIRecorderNextProgramInfo.Props.TITLEpublic String getFullTitle()
IBasicProgramInfo
If a program has no subtitle, than this function is the same as getTitle(),
otherwise the returned full title is in the format "title - subtitle"
getFullTitle in interface IBasicProgramInfopublic int getDuration()
IBasicProgramInfo
getDuration in interface IBasicProgramInfo-1 if unknown.public int getMinutesAfterMidnight()
IBasicProgramInfo
getMinutesAfterMidnight in interface IBasicProgramInfopublic String getUniqueProgramId()
IBasicProgramInfo
This id has the format: [channel-id]_[program-start-time]
getUniqueProgramId in interface IBasicProgramInfo1000_20110719162900public boolean isValid()
IBasicProgramInfo
isValid in interface IBasicProgramInfotrue if the program contains valid data.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||