org.jmythapi.protocol.response.impl
Class RecorderChannelPrefixStatus
java.lang.Object
org.jmythapi.impl.AData<E>
org.jmythapi.protocol.response.impl.AMythResponse<IRecorderChannelPrefixStatus.Props>
org.jmythapi.protocol.response.impl.RecorderChannelPrefixStatus
- All Implemented Interfaces:
- Cloneable, IPropertyAware<IRecorderChannelPrefixStatus.Props>, IVersionable, ISendable, IMythResponse<IRecorderChannelPrefixStatus.Props>, IRecorderChannelPrefixStatus
public class RecorderChannelPrefixStatus
- extends AMythResponse<IRecorderChannelPrefixStatus.Props>
- implements IRecorderChannelPrefixStatus
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 interface org.jmythapi.IPropertyAware |
getProperties, getProperty, getPropertyClass, getPropertyCount, getPropertyIndex, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValues, setPropertyValue, setPropertyValue, setPropertyValueObject |
RecorderChannelPrefixStatus
public RecorderChannelPrefixStatus(IMythPacket packet)
getNeededSpacer
public String getNeededSpacer()
- Description copied from interface:
IRecorderChannelPrefixStatus
- Gets the first matching spacer, if a spacer whould be needed for the prefix to match a channel.
- Specified by:
getNeededSpacer
in interface IRecorderChannelPrefixStatus
- Returns:
- the first matching spacer.
isCompleteMatch
public Boolean isCompleteMatch()
- Description copied from interface:
IRecorderChannelPrefixStatus
- Checks if the prefix fully matches a channel number.
- Specified by:
isCompleteMatch
in interface IRecorderChannelPrefixStatus
- Returns:
true
if a complete channel number is matched by the prefix.
isExtraCharUseful
public Boolean isExtraCharUseful()
- Description copied from interface:
IRecorderChannelPrefixStatus
- Checks if an additional prefix char chould reduce the number of matching channels.
- Specified by:
isExtraCharUseful
in interface IRecorderChannelPrefixStatus
- Returns:
true
if an additional prefix would reduce the number of matching channels.
isPrefixMatch
public Boolean isPrefixMatch()
- Description copied from interface:
IRecorderChannelPrefixStatus
- Checks if the prefix matches at least one channel number.
- Specified by:
isPrefixMatch
in interface IRecorderChannelPrefixStatus
- Returns:
true
if there are channels with channel numbers starting with the prefix.
Copyright © 2008-2013. All Rights Reserved.