|
||||||||||
| 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.protocol.response.impl.AMythResponse<E>
org.jmythapi.protocol.response.impl.AProgramInfo<E>
public abstract class AProgramInfo<E extends Enum<E>>
| Field Summary |
|---|
| Fields inherited from class org.jmythapi.impl.AData |
|---|
logger, propsClass, protoVersion, respArgs |
| Constructor Summary | |
|---|---|
AProgramInfo(Class<E> propsClass,
IMythPacket packet)
|
|
AProgramInfo(ProtocolVersion protoVersion,
Class<E> propsClass)
|
|
AProgramInfo(ProtocolVersion protoVersion,
Class<E> propsClass,
List<String> responseArgs)
|
|
| Method Summary | |
|---|---|
abstract String |
getCategory()
Gets the category of the program. |
abstract Integer |
getChannelID()
Gets the MythTV internal channel ID. |
abstract String |
getChannelNumber()
Gets the user defined channel number. |
abstract String |
getChannelSign()
Gets the station abbreviation. |
abstract String |
getDescription()
Gets the program description. |
int |
getDuration()
Gets the duration for the program in minutes. |
abstract 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. |
abstract String |
getProgramID()
Get the program ID. |
abstract String |
getSeriesID()
Gets the series ID of the program. |
abstract Date |
getStartDateTime()
Gets the scheduled start of the program. |
abstract String |
getSubtitle()
Gets the program subtitle. |
abstract 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.protocol.response.impl.AMythResponse |
|---|
checkSize, decodeProperty, encodeProperty, getExpectedSize, getPacket, getProperties, getProperty, getPropertyIndex |
| Methods inherited from class org.jmythapi.impl.AData |
|---|
clone, equals, 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 |
|---|
getPropertyClass, getPropertyCount, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject |
| Constructor Detail |
|---|
public AProgramInfo(Class<E> propsClass,
IMythPacket packet)
public AProgramInfo(ProtocolVersion protoVersion,
Class<E> propsClass)
public AProgramInfo(ProtocolVersion protoVersion,
Class<E> propsClass,
List<String> responseArgs)
| Method Detail |
|---|
public abstract String getTitle()
IBasicProgramInfo
getTitle in interface IBasicProgramInfopublic abstract String getSubtitle()
IBasicProgramInfo
getSubtitle in interface IBasicProgramInfopublic abstract String getDescription()
IBasicProgramInfo
getDescription in interface IBasicProgramInfopublic abstract String getCategory()
IBasicProgramInfo
getCategory in interface IBasicProgramInfoComedypublic abstract Date getStartDateTime()
IBasicProgramInfo
getStartDateTime in interface IBasicProgramInfopublic abstract Date getEndDateTime()
IBasicProgramInfo
getEndDateTime in interface IBasicProgramInfopublic abstract String getSeriesID()
IBasicProgramInfo
getSeriesID in interface IBasicProgramInfopublic abstract String getProgramID()
IBasicProgramInfo
getProgramID in interface IBasicProgramInfopublic abstract String getChannelSign()
IBasicChannelInfo
getChannelSign in interface IBasicChannelInfoPULS 4public abstract String getChannelNumber()
IBasicChannelInfo
getChannelNumber in interface IBasicChannelInfo-', '_' or '.'IRecorderChannelInfo.Props.CHANNEL_NUMBERpublic abstract Integer getChannelID()
IBasicChannelInfo
getChannelID in interface IBasicChannelInfo11123public 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 String getUniqueProgramId()
IBasicProgramInfo
This id has the format: [channel-id]_[program-start-time]
getUniqueProgramId in interface IBasicProgramInfo1000_20110719162900public int getDuration()
IBasicProgramInfo
getDuration in interface IBasicProgramInfo-1 if unknown.public int getMinutesAfterMidnight()
IBasicProgramInfo
getMinutesAfterMidnight in interface IBasicProgramInfopublic 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 | |||||||||