|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 IBasicProgramInfo
getCategory
in interface IRecorderNextProgramInfo
Comedy
IRecorderNextProgramInfo.Props.CATEGORY
public Integer getChannelID()
IRecorderNextProgramInfo
getChannelID
in interface IBasicChannelInfo
getChannelID
in interface IRecorderNextProgramInfo
11123
IRecorderNextProgramInfo.Props.CHANNEL_ID
public String getChannelIconPath()
IRecorderNextProgramInfo
getChannelIconPath
in interface IRecorderNextProgramInfo
IRecorderNextProgramInfo.Props.CHANNEL_ICON_PATH
public String getChannelNumber()
IRecorderNextProgramInfo
getChannelNumber
in interface IBasicChannelInfo
getChannelNumber
in interface IRecorderNextProgramInfo
-
', '_
' or '.
'IRecorderNextProgramInfo.Props.CHANNEL_NUMBER
public String getChannelSign()
IRecorderNextProgramInfo
getChannelSign
in interface IBasicChannelInfo
getChannelSign
in interface IRecorderNextProgramInfo
PULS 4
IRecorderNextProgramInfo.Props.CHANNEL_SIGN
public String getDescription()
IRecorderNextProgramInfo
getDescription
in interface IBasicProgramInfo
getDescription
in interface IRecorderNextProgramInfo
IRecorderNextProgramInfo.Props.DESCRIPTION
public Date getEndDateTime()
IRecorderNextProgramInfo
getEndDateTime
in interface IBasicProgramInfo
getEndDateTime
in interface IRecorderNextProgramInfo
IRecorderNextProgramInfo.Props.END_DATE_TIME
public String getProgramID()
IRecorderNextProgramInfo
getProgramID
in interface IBasicProgramInfo
getProgramID
in interface IRecorderNextProgramInfo
IRecorderNextProgramInfo.Props.PROGRAM_ID
public String getSeriesID()
IRecorderNextProgramInfo
getSeriesID
in interface IBasicProgramInfo
getSeriesID
in interface IRecorderNextProgramInfo
IRecorderNextProgramInfo.Props.SERIES_ID
public Date getStartDateTime()
IRecorderNextProgramInfo
getStartDateTime
in interface IBasicProgramInfo
getStartDateTime
in interface IRecorderNextProgramInfo
IRecorderNextProgramInfo.Props.START_DATE_TIME
public String getSubtitle()
IRecorderNextProgramInfo
getSubtitle
in interface IBasicProgramInfo
getSubtitle
in interface IRecorderNextProgramInfo
IRecorderNextProgramInfo.Props.SUBTITLE
public String getTitle()
IRecorderNextProgramInfo
getTitle
in interface IBasicProgramInfo
getTitle
in interface IRecorderNextProgramInfo
IRecorderNextProgramInfo.Props.TITLE
public 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 IBasicProgramInfo
public int getDuration()
IBasicProgramInfo
getDuration
in interface IBasicProgramInfo
-1
if unknown.public int getMinutesAfterMidnight()
IBasicProgramInfo
getMinutesAfterMidnight
in interface IBasicProgramInfo
public String getUniqueProgramId()
IBasicProgramInfo
This id has the format: [channel-id]_[program-start-time]
getUniqueProgramId
in interface IBasicProgramInfo
1000_20110719162900
public boolean isValid()
IBasicProgramInfo
isValid
in interface IBasicProgramInfo
true
if the program contains valid data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |