com.dtolabs.client.services
Class StoredJobImpl

java.lang.Object
  extended by com.dtolabs.client.services.StoredJobImpl
All Implemented Interfaces:
IStoredJob, IStoredJobRef
Direct Known Subclasses:
StoredJobExecutionImpl, StoredJobLoadResultImpl

public class StoredJobImpl
extends java.lang.Object
implements IStoredJob

StoredJobImpl implements IStoredJob


Method Summary
static IStoredJob create(java.lang.String jobId, java.lang.String name, java.lang.String url, java.lang.String group, java.lang.String description)
           
static IStoredJob create(java.lang.String jobId, java.lang.String name, java.lang.String url, java.lang.String group, java.lang.String description, java.lang.String project)
           
 java.lang.String getDescription()
          Get description of the item.
 java.lang.String getGroup()
          Get group path of the item.
 java.lang.String getJobId()
          Return the ID string for the stored job
 java.lang.String getName()
          Get name or description of the item.
 java.lang.String getProject()
          Get the project
 java.lang.String getUrl()
          Return the URL for the stored Job, or null.
 void setDescription(java.lang.String description)
           
 void setGroup(java.lang.String group)
           
 void setJobId(java.lang.String jobId)
           
 void setName(java.lang.String name)
           
 void setProject(java.lang.String project)
           
 void setUrl(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static IStoredJob create(java.lang.String jobId,
                                java.lang.String name,
                                java.lang.String url,
                                java.lang.String group,
                                java.lang.String description)

create

public static IStoredJob create(java.lang.String jobId,
                                java.lang.String name,
                                java.lang.String url,
                                java.lang.String group,
                                java.lang.String description,
                                java.lang.String project)

getJobId

public java.lang.String getJobId()
Description copied from interface: IStoredJobRef
Return the ID string for the stored job

Specified by:
getJobId in interface IStoredJobRef
Returns:
Job ID string

setJobId

public void setJobId(java.lang.String jobId)

getName

public java.lang.String getName()
Description copied from interface: IStoredJobRef
Get name or description of the item.

Specified by:
getName in interface IStoredJobRef
Returns:
the name

setName

public void setName(java.lang.String name)

getUrl

public java.lang.String getUrl()
Description copied from interface: IStoredJob
Return the URL for the stored Job, or null.

Specified by:
getUrl in interface IStoredJob
Returns:
URL string for the queued item.

setUrl

public void setUrl(java.lang.String url)

getGroup

public java.lang.String getGroup()
Description copied from interface: IStoredJobRef
Get group path of the item.

Specified by:
getGroup in interface IStoredJobRef
Returns:
the name

setGroup

public void setGroup(java.lang.String group)

getDescription

public java.lang.String getDescription()
Description copied from interface: IStoredJob
Get description of the item.

Specified by:
getDescription in interface IStoredJob
Returns:
the name

setDescription

public void setDescription(java.lang.String description)

getProject

public java.lang.String getProject()
Description copied from interface: IStoredJobRef
Get the project

Specified by:
getProject in interface IStoredJobRef

setProject

public void setProject(java.lang.String project)