fr.cnes.sitools.tasks.model
Class TaskModel

java.lang.Object
  extended by fr.cnes.sitools.tasks.model.TaskModel
All Implemented Interfaces:
IResource, java.io.Serializable, java.lang.Cloneable

public final class TaskModel
extends java.lang.Object
implements IResource, java.lang.Cloneable, java.io.Serializable

Model for Task

Author:
m.gond (AKKA Technologies)
See Also:
Serialized Form

Constructor Summary
TaskModel()
          TaskModel default constructor
 
Method Summary
 TaskModel clone()
          Clone method
 java.lang.String getCustomStatus()
          Gets the customStatus value
 java.lang.String getDescription()
          Gets the description value
 java.util.Date getEndDate()
          Gets the endDate value
 java.lang.String getId()
          Gets the id value
 java.lang.String getMediaResult()
          Gets the mediaResult value
 java.lang.String getModelId()
          Gets the modelId value
 java.lang.String getModelName()
          Gets the modelName value
 java.lang.String getName()
          Gets the name value
 java.util.List<java.lang.Object> getProperties()
          Gets the properties value
 TaskRunTypeAdministration getRunTypeAdministration()
          Gets the runType value
 TaskRunTypeUserInput getRunTypeUserInput()
          Gets the runTypeUserInput value
 java.util.Date getStartDate()
          Gets the startDate value
 TaskStatus getStatus()
          Gets the status value
 java.lang.String getStatusUrl()
          Gets the statusUrl value
 long getTimestamp()
          Gets the time stamp value
 java.lang.String getUrlResult()
          Gets the urlResult value
 java.lang.String getUserId()
          Gets the userId value
 void setCustomStatus(java.lang.String customStatus)
          Sets the value of customStatus
 void setDescription(java.lang.String description)
          Sets the value of description
 void setEndDate(java.util.Date endDate)
          Sets the value of endDate
 void setId(java.lang.String id)
          Sets the value of id
 void setMediaResult(java.lang.String mediaResult)
          Sets the value of mediaResult
 void setModelId(java.lang.String modelId)
          Sets the value of modelId
 void setModelName(java.lang.String modelName)
          Sets the value of modelName
 void setName(java.lang.String name)
          Sets the value of name
 void setProperties(java.util.List<java.lang.Object> properties)
          Sets the value of properties
 void setRunTypeAdministration(TaskRunTypeAdministration runType)
          Sets the value of runType
 void setRunTypeUserInput(TaskRunTypeUserInput runTypeUserInput)
          Sets the value of runTypeUserInput
 void setStartDate(java.util.Date startDate)
          Sets the value of startDate
 void setStatus(TaskStatus status)
          Sets the value of status
 void setStatusUrl(java.lang.String statusUrl)
          Sets the value of statusUrl
 void setTimestamp(long timestamp)
          Sets the value of time stamp
 void setUrlResult(java.lang.String urlResult)
          Sets the value of urlResult
 void setUserId(java.lang.String userId)
          Sets the value of userId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskModel

public TaskModel()
TaskModel default constructor

Method Detail

getId

public java.lang.String getId()
Gets the id value

Specified by:
getId in interface IResource
Returns:
the id

setId

public void setId(java.lang.String id)
Sets the value of id

Specified by:
setId in interface IResource
Parameters:
id - the id to set

getName

public java.lang.String getName()
Gets the name value

Specified by:
getName in interface IResource
Returns:
the name

setName

public void setName(java.lang.String name)
Sets the value of name

Parameters:
name - the name to set

getDescription

public java.lang.String getDescription()
Gets the description value

Specified by:
getDescription in interface IResource
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Sets the value of description

Parameters:
description - the description to set

getStatus

public TaskStatus getStatus()
Gets the status value

Returns:
the status

setStatus

public void setStatus(TaskStatus status)
Sets the value of status

Parameters:
status - the status to set

getModelId

public java.lang.String getModelId()
Gets the modelId value

Returns:
the modelId

setModelId

public void setModelId(java.lang.String modelId)
Sets the value of modelId

Parameters:
modelId - the modelId to set

setCustomStatus

public void setCustomStatus(java.lang.String customStatus)
Sets the value of customStatus

Parameters:
customStatus - the customStatus to set

getCustomStatus

public java.lang.String getCustomStatus()
Gets the customStatus value

Returns:
the customStatus

setTimestamp

public void setTimestamp(long timestamp)
Sets the value of time stamp

Parameters:
timestamp - the time stamp to set

getTimestamp

public long getTimestamp()
Gets the time stamp value

Returns:
the time stamp

setStatusUrl

public void setStatusUrl(java.lang.String statusUrl)
Sets the value of statusUrl

Parameters:
statusUrl - the statusUrl to set

getStatusUrl

public java.lang.String getStatusUrl()
Gets the statusUrl value

Returns:
the statusUrl

setUrlResult

public void setUrlResult(java.lang.String urlResult)
Sets the value of urlResult

Parameters:
urlResult - the urlResult to set

getUrlResult

public java.lang.String getUrlResult()
Gets the urlResult value

Returns:
the urlResult

setUserId

public void setUserId(java.lang.String userId)
Sets the value of userId

Parameters:
userId - the userId to set

getUserId

public java.lang.String getUserId()
Gets the userId value

Returns:
the userId

getStartDate

public java.util.Date getStartDate()
Gets the startDate value

Returns:
the startDate

setStartDate

public void setStartDate(java.util.Date startDate)
Sets the value of startDate

Parameters:
startDate - the startDate to set

getEndDate

public java.util.Date getEndDate()
Gets the endDate value

Returns:
the endDate

setEndDate

public void setEndDate(java.util.Date endDate)
Sets the value of endDate

Parameters:
endDate - the endDate to set

setRunTypeAdministration

public void setRunTypeAdministration(TaskRunTypeAdministration runType)
Sets the value of runType

Parameters:
runType - the runType to set

getRunTypeAdministration

public TaskRunTypeAdministration getRunTypeAdministration()
Gets the runType value

Returns:
the runType

setModelName

public void setModelName(java.lang.String modelName)
Sets the value of modelName

Parameters:
modelName - the modelName to set

getModelName

public java.lang.String getModelName()
Gets the modelName value

Returns:
the modelName

getRunTypeUserInput

public TaskRunTypeUserInput getRunTypeUserInput()
Gets the runTypeUserInput value

Returns:
the runTypeUserInput

setRunTypeUserInput

public void setRunTypeUserInput(TaskRunTypeUserInput runTypeUserInput)
Sets the value of runTypeUserInput

Parameters:
runTypeUserInput - the runTypeUserInput to set

getMediaResult

public java.lang.String getMediaResult()
Gets the mediaResult value

Returns:
the mediaResult

setMediaResult

public void setMediaResult(java.lang.String mediaResult)
Sets the value of mediaResult

Parameters:
mediaResult - the mediaResult to set

setProperties

public void setProperties(java.util.List<java.lang.Object> properties)
Sets the value of properties

Parameters:
properties - the properties to set

getProperties

public java.util.List<java.lang.Object> getProperties()
Gets the properties value

Returns:
the properties

clone

public TaskModel clone()
Clone method

Overrides:
clone in class java.lang.Object
Returns:
TaskModel a TaskModel, clone of the current Object


Copyright © 2010-2013 CNES. All Rights Reserved.