org.jmythapi.protocol.response.impl
Class RecorderNextProgramInfo

java.lang.Object
  extended by org.jmythapi.impl.AData<E>
      extended by org.jmythapi.protocol.response.impl.AMythResponse<E>
          extended by org.jmythapi.protocol.response.impl.AProgramInfo<E>
              extended by org.jmythapi.protocol.response.impl.ARecorderProgramInfo<IRecorderNextProgramInfo.Props>
                  extended by org.jmythapi.protocol.response.impl.RecorderNextProgramInfo
All Implemented Interfaces:
Cloneable, IBasicChannelInfo, IPropertyAware<IRecorderNextProgramInfo.Props>, IVersionable, ISendable, IBasicProgramInfo, IMythResponse<IRecorderNextProgramInfo.Props>, IRecorderNextProgramInfo

public class RecorderNextProgramInfo
extends ARecorderProgramInfo<IRecorderNextProgramInfo.Props>
implements IBasicChannelInfo, IBasicProgramInfo, IRecorderNextProgramInfo


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(IMythPacket packet)
           
 
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.
 Date getEndDateTime()
          Gets the scheduled end of the program.
 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.
 
Methods inherited from class org.jmythapi.protocol.response.impl.AProgramInfo
getDuration, getFullTitle, getMinutesAfterMidnight, getUniqueProgramId, isValid
 
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.protocol.response.IBasicProgramInfo
getDuration, getFullTitle, getMinutesAfterMidnight, getUniqueProgramId, isValid
 
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

RecorderNextProgramInfo

public RecorderNextProgramInfo(IMythPacket packet)
Method Detail

getTitle

public String getTitle()
Description copied from interface: IBasicProgramInfo
Gets the program title.

Specified by:
getTitle in interface IBasicProgramInfo
Specified by:
getTitle in interface IRecorderNextProgramInfo
Specified by:
getTitle in class AProgramInfo<IRecorderNextProgramInfo.Props>
Returns:
the title of the program
See Also:
IRecorderNextProgramInfo.Props.TITLE

getSubtitle

public String getSubtitle()
Description copied from interface: IBasicProgramInfo
Gets the program subtitle.

Specified by:
getSubtitle in interface IBasicProgramInfo
Specified by:
getSubtitle in interface IRecorderNextProgramInfo
Specified by:
getSubtitle in class AProgramInfo<IRecorderNextProgramInfo.Props>
Returns:
the subtitle of the program
See Also:
IRecorderNextProgramInfo.Props.SUBTITLE

getDescription

public String getDescription()
Description copied from interface: IBasicProgramInfo
Gets the program description.

Specified by:
getDescription in interface IBasicProgramInfo
Specified by:
getDescription in interface IRecorderNextProgramInfo
Specified by:
getDescription in class AProgramInfo<IRecorderNextProgramInfo.Props>
Returns:
the program description
See Also:
IRecorderNextProgramInfo.Props.DESCRIPTION

getCategory

public String getCategory()
Description copied from interface: IBasicProgramInfo
Gets the category of the program.

Specified by:
getCategory in interface IBasicProgramInfo
Specified by:
getCategory in interface IRecorderNextProgramInfo
Specified by:
getCategory in class AProgramInfo<IRecorderNextProgramInfo.Props>
Returns:
the program category, e.g. Comedy
See Also:
IRecorderNextProgramInfo.Props.CATEGORY

getStartDateTime

public Date getStartDateTime()
Description copied from interface: IBasicProgramInfo
Gets the scheduled start of the program.

Specified by:
getStartDateTime in interface IBasicProgramInfo
Specified by:
getStartDateTime in interface IRecorderNextProgramInfo
Specified by:
getStartDateTime in class AProgramInfo<IRecorderNextProgramInfo.Props>
Returns:
the scheduled start time.
See Also:
IRecorderNextProgramInfo.Props.START_DATE_TIME

getEndDateTime

public Date getEndDateTime()
Description copied from interface: IBasicProgramInfo
Gets the scheduled end of the program.

Specified by:
getEndDateTime in interface IBasicProgramInfo
Specified by:
getEndDateTime in interface IRecorderNextProgramInfo
Specified by:
getEndDateTime in class AProgramInfo<IRecorderNextProgramInfo.Props>
Returns:
the scheduled end time.
See Also:
IRecorderNextProgramInfo.Props.END_DATE_TIME

getSeriesID

public String getSeriesID()
Description copied from interface: IBasicProgramInfo
Gets the series ID of the program.

Specified by:
getSeriesID in interface IBasicProgramInfo
Specified by:
getSeriesID in interface IRecorderNextProgramInfo
Specified by:
getSeriesID in class AProgramInfo<IRecorderNextProgramInfo.Props>
Returns:
the series ID.
See Also:
IRecorderNextProgramInfo.Props.SERIES_ID

getProgramID

public String getProgramID()
Description copied from interface: IBasicProgramInfo
Get the program ID.

Specified by:
getProgramID in interface IBasicProgramInfo
Specified by:
getProgramID in interface IRecorderNextProgramInfo
Specified by:
getProgramID in class AProgramInfo<IRecorderNextProgramInfo.Props>
Returns:
the program ID.
See Also:
IRecorderNextProgramInfo.Props.PROGRAM_ID

getChannelID

public Integer getChannelID()
Description copied from interface: IBasicChannelInfo
Gets the MythTV internal channel ID.

Specified by:
getChannelID in interface IBasicChannelInfo
Specified by:
getChannelID in interface IRecorderNextProgramInfo
Specified by:
getChannelID in class AProgramInfo<IRecorderNextProgramInfo.Props>
Returns:
the ID of the channel, e.g. 11123
See Also:
IRecorderNextProgramInfo.Props.CHANNEL_ID

getChannelSign

public String getChannelSign()
Description copied from interface: IBasicChannelInfo
Gets the station abbreviation.

Specified by:
getChannelSign in interface IBasicChannelInfo
Specified by:
getChannelSign in interface IRecorderNextProgramInfo
Specified by:
getChannelSign in class AProgramInfo<IRecorderNextProgramInfo.Props>
Returns:
the channel abbreviation, e.g. PULS 4
See Also:
IRecorderNextProgramInfo.Props.CHANNEL_SIGN

getChannelNumber

public String getChannelNumber()
Description copied from interface: IBasicChannelInfo
Gets the user defined channel number.

Specified by:
getChannelNumber in interface IBasicChannelInfo
Specified by:
getChannelNumber in interface IRecorderNextProgramInfo
Specified by:
getChannelNumber in class AProgramInfo<IRecorderNextProgramInfo.Props>
Returns:
the user defined number. This could contain '-', '_' or '.'
See Also:
IRecorderChannelInfo.Props.CHANNEL_NUMBER

getChannelIconPath

public String getChannelIconPath()
Description copied from interface: IRecorderNextProgramInfo
Gets the path to the channel icon.

Specified by:
getChannelIconPath in interface IRecorderNextProgramInfo
Specified by:
getChannelIconPath in class ARecorderProgramInfo<IRecorderNextProgramInfo.Props>
See Also:
IRecorderNextProgramInfo.Props.CHANNEL_ICON_PATH


Copyright © 2008-2013. All Rights Reserved.