org.jmythapi.database.impl
Class ChannelInfo
java.lang.Object
org.jmythapi.impl.AData<E>
org.jmythapi.database.impl.ADatabaseRow<IRecorderChannelInfo.Props>
org.jmythapi.database.impl.ChannelInfo
- All Implemented Interfaces:
- Cloneable, IBasicChannelInfo, IPropertyAware<IRecorderChannelInfo.Props>, IRecorderChannelInfo, IVersionable
public class ChannelInfo
- extends ADatabaseRow<IRecorderChannelInfo.Props>
- implements IBasicChannelInfo, IRecorderChannelInfo
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 interface org.jmythapi.IPropertyAware |
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject |
ChannelInfo
public ChannelInfo(ProtocolVersion protoVersion,
int dbVersion,
List<String> data)
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 IRecorderChannelInfo
- Returns:
- the ID of the channel, e.g.
11123
- See Also:
IRecorderChannelInfo.Props.CHANNEL_ID
,
IBasicChannelInfo.getChannelID()
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 IRecorderChannelInfo
- Returns:
- the user defined number.
This could contain '
-
', '_
' or '.
' - See Also:
IRecorderChannelInfo.Props.CHANNEL_NUMBER
getChannelSign
public String getChannelSign()
- Description copied from interface:
IBasicChannelInfo
- Gets the station abbreviation.
- Specified by:
getChannelSign
in interface IBasicChannelInfo
- Specified by:
getChannelSign
in interface IRecorderChannelInfo
- Returns:
- the channel abbreviation, e.g.
PULS 4
- See Also:
IRecorderChannelInfo.Props.CHANNEL_SIGN
,
IBasicChannelInfo.getChannelSign()
getChannelName
public String getChannelName()
- Description copied from interface:
IRecorderChannelInfo
- Gets the channel name.
- Specified by:
getChannelName
in interface IRecorderChannelInfo
- Returns:
- the channel name
- See Also:
IRecorderChannelInfo.Props.CHANNEL_NAME
getSourceID
public Integer getSourceID()
- Description copied from interface:
IRecorderChannelInfo
- Gets the source id.
- Specified by:
getSourceID
in interface IRecorderChannelInfo
- Returns:
- the source id
- See Also:
IRecorderChannelInfo.Props.SOURCE_ID
getXmlTvID
public String getXmlTvID()
- Description copied from interface:
IRecorderChannelInfo
- Gets the XML-TV id.
- Specified by:
getXmlTvID
in interface IRecorderChannelInfo
- Returns:
- the xml tv id
- See Also:
IRecorderChannelInfo.Props.XMLTV_ID
Copyright © 2008-2013. All Rights Reserved.