org.jmythapi.protocol.response.impl
Class ProgramRecordingStatus

java.lang.Object
  extended by java.lang.Number
      extended by org.jmythapi.protocol.response.impl.AGroup<E>
          extended by org.jmythapi.protocol.response.impl.AEnumGroup<E>
              extended by org.jmythapi.protocol.response.impl.AVersionableEnumGroup<IProgramRecordingStatus.Status>
                  extended by org.jmythapi.protocol.response.impl.ProgramRecordingStatus
All Implemented Interfaces:
Serializable, Cloneable, Formattable, IVersionable, IEnumGroup<IProgramRecordingStatus.Status>, IGroup<IProgramRecordingStatus.Status>, IProgramRecordingStatus

public class ProgramRecordingStatus
extends AVersionableEnumGroup<IProgramRecordingStatus.Status>
implements IProgramRecordingStatus

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jmythapi.protocol.response.IProgramRecordingStatus
IProgramRecordingStatus.Status
 
Field Summary
 
Fields inherited from class org.jmythapi.protocol.response.impl.AGroup
groupClass, logger, longValue, protoVersion
 
Constructor Summary
ProgramRecordingStatus(ProtocolVersion protoVersion, long value)
           
 
Method Summary
 IProgramRecordingStatus.Status getStatus()
           
 int getStatusValue()
           
 boolean hasStatus(IProgramRecordingStatus.Status... statuses)
          Checks if the recording is in one of the given statuses.
 boolean hasStatus(IProgramRecordingStatus.Status status)
           
static String toString(ProgramRecordingStatus status)
          Deprecated. this should not be needed anymore
static ProgramRecordingStatus valueOf(IMythPacket packet)
           
static ProgramRecordingStatus valueOf(ProtocolVersion protoVersion, IProgramRecordingStatus.Status status)
           
static ProgramRecordingStatus valueOf(ProtocolVersion protoVersion, String valueStr)
           
 
Methods inherited from class org.jmythapi.protocol.response.impl.AVersionableEnumGroup
getEnum
 
Methods inherited from class org.jmythapi.protocol.response.impl.AEnumGroup
getEnumValue, hasEnum, hasEnum, toString, valueOf
 
Methods inherited from class org.jmythapi.protocol.response.impl.AGroup
clone, createObject, doubleValue, equals, floatValue, formatTo, getGroupClass, getVersionNr, hashCode, intValue, longValue
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jmythapi.protocol.response.IEnumGroup
getEnum, hasEnum, hasEnum
 
Methods inherited from interface org.jmythapi.protocol.response.IGroup
getGroupClass, longValue
 
Methods inherited from interface org.jmythapi.IVersionable
getVersionNr
 

Constructor Detail

ProgramRecordingStatus

public ProgramRecordingStatus(ProtocolVersion protoVersion,
                              long value)
Method Detail

getStatus

public IProgramRecordingStatus.Status getStatus()
Specified by:
getStatus in interface IProgramRecordingStatus

hasStatus

public boolean hasStatus(IProgramRecordingStatus.Status status)
Specified by:
hasStatus in interface IProgramRecordingStatus

hasStatus

public boolean hasStatus(IProgramRecordingStatus.Status... statuses)
Description copied from interface: IProgramRecordingStatus
Checks if the recording is in one of the given statuses.

Specified by:
hasStatus in interface IProgramRecordingStatus
Parameters:
statuses - the status values to check
Returns:
true if the current status is in the list of given statuses.

getStatusValue

public int getStatusValue()
Specified by:
getStatusValue in interface IProgramRecordingStatus

toString

public static String toString(ProgramRecordingStatus status)
Deprecated. this should not be needed anymore


valueOf

public static ProgramRecordingStatus valueOf(IMythPacket packet)

valueOf

public static ProgramRecordingStatus valueOf(ProtocolVersion protoVersion,
                                             String valueStr)

valueOf

public static ProgramRecordingStatus valueOf(ProtocolVersion protoVersion,
                                             IProgramRecordingStatus.Status status)


Copyright © 2008-2013. All Rights Reserved.