org.mythtv.services.api.v027.status.beans
Class Job

java.lang.Object
  extended by org.mythtv.services.api.v027.status.beans.Job

public class Job
extends java.lang.Object


Nested Class Summary
static class Job.Command
           
static class Job.Flag
           
static class Job.Status
           
static class Job.Type
           
 
Constructor Summary
Job()
           
 
Method Summary
 java.lang.String getArgs()
           
 int getChannelId()
           
 Job.Command getCommand()
           
 java.lang.String getComment()
           
 Job.Flag getFlag()
           
 java.lang.String getHostname()
           
 int getId()
           
 org.joda.time.DateTime getInsertTime()
           
 Program getProgram()
           
 org.joda.time.DateTime getScheduledTime()
           
 org.joda.time.DateTime getStartTime()
           
 org.joda.time.DateTime getStartTs()
           
 Job.Status getStatus()
           
 org.joda.time.DateTime getStatusTime()
           
 Job.Type getType()
           
 void setArgs(java.lang.String args)
           
 void setChannelId(int channelId)
           
 void setCommand(Job.Command command)
           
 void setComment(java.lang.String comment)
           
 void setFlag(Job.Flag flag)
           
 void setHostname(java.lang.String hostname)
           
 void setId(int id)
           
 void setInsertTime(org.joda.time.DateTime insertTime)
           
 void setProgram(Program program)
           
 void setScheduledTime(org.joda.time.DateTime scheduledTime)
           
 void setStartTime(org.joda.time.DateTime startTime)
           
 void setStartTs(org.joda.time.DateTime startTs)
           
 void setStatus(Job.Status status)
           
 void setStatusTime(org.joda.time.DateTime statusTime)
           
 void setType(Job.Type type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Job

public Job()
Method Detail

getId

public int getId()
Returns:
the id

setId

public void setId(int id)
Parameters:
id - the id to set

getChannelId

public int getChannelId()
Returns:
the channelId

setChannelId

public void setChannelId(int channelId)
Parameters:
channelId - the channelId to set

getStartTime

public org.joda.time.DateTime getStartTime()
Returns:
the startTime

setStartTime

public void setStartTime(org.joda.time.DateTime startTime)
Parameters:
startTime - the startTime to set

getInsertTime

public org.joda.time.DateTime getInsertTime()
Returns:
the insertTime

setInsertTime

public void setInsertTime(org.joda.time.DateTime insertTime)
Parameters:
insertTime - the insertTime to set

getType

public Job.Type getType()
Returns:
the type

setType

public void setType(Job.Type type)
Parameters:
type - the type to set

getCommand

public Job.Command getCommand()
Returns:
the command

setCommand

public void setCommand(Job.Command command)
Parameters:
command - the command to set

getFlag

public Job.Flag getFlag()
Returns:
the flag

setFlag

public void setFlag(Job.Flag flag)
Parameters:
flag - the flag to set

getStatus

public Job.Status getStatus()
Returns:
the status

setStatus

public void setStatus(Job.Status status)
Parameters:
status - the status to set

getStatusTime

public org.joda.time.DateTime getStatusTime()
Returns:
the statusTime

setStatusTime

public void setStatusTime(org.joda.time.DateTime statusTime)
Parameters:
statusTime - the statusTime to set

getHostname

public java.lang.String getHostname()
Returns:
the hostname

setHostname

public void setHostname(java.lang.String hostname)
Parameters:
hostname - the hostname to set

getArgs

public java.lang.String getArgs()
Returns:
the args

setArgs

public void setArgs(java.lang.String args)
Parameters:
args - the args to set

getComment

public java.lang.String getComment()
Returns:
the comment

setComment

public void setComment(java.lang.String comment)
Parameters:
comment - the comment to set

getStartTs

public org.joda.time.DateTime getStartTs()
Returns:
the startTs

setStartTs

public void setStartTs(org.joda.time.DateTime startTs)
Parameters:
startTs - the startTs to set

getScheduledTime

public org.joda.time.DateTime getScheduledTime()
Returns:
the scheduledTime

setScheduledTime

public void setScheduledTime(org.joda.time.DateTime scheduledTime)
Parameters:
scheduledTime - the scheduledTime to set

getProgram

public Program getProgram()
Returns:
the program

setProgram

public void setProgram(Program program)
Parameters:
program - the program to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object