org.deduced.task
Interface Task

All Superinterfaces:
java.lang.Cloneable, NamedPropertyCollection, PropertyCollection<java.lang.Object,java.lang.Object>
All Known Implementing Classes:
TaskImplementation

public interface Task
extends NamedPropertyCollection

Interface used to represent the type : task Class generated by org.deduced.generator.VelocityGenerator Using template : org/deduced/generator/java/JavaInterface.vm


Field Summary
static PropertyInstanceHolder CANCELLED_INSTANCE
          Variable used to hold the PropertyInstance for : cancelled
static PropertyInstanceHolder COMPLETED_INSTANCE
          Variable used to hold the PropertyInstance for : completed
static PropertyInstanceHolder GENERATED_EXCEPTION_INSTANCE
          Variable used to hold the PropertyInstance for : generated exception
static PropertyInstanceHolder ORDER_INSTANCE
          Variable used to hold the PropertyInstance for : order
static PropertyInstanceHolder PERCENTAGE_COMPLETED_INSTANCE
          Variable used to hold the PropertyInstance for : percentage completed
static PropertyInstanceHolder RESULT_INSTANCE
          Variable used to hold the PropertyInstance for : result
static PropertyInstanceHolder START_TIME_INSTANCE
          Variable used to hold the PropertyInstance for : start time
static PropertyInstanceHolder STOP_TIME_INSTANCE
          Variable used to hold the PropertyInstance for : stop time
static PropertyCollectionTypeHolder TASK_TYPE
          Variable used to hold the PropertyCollectionType for : task
 
Fields inherited from interface org.deduced.NamedPropertyCollection
NAME_INSTANCE, NAMED_PROPERTY_COLLECTION_TYPE
 
Fields inherited from interface org.deduced.PropertyCollection
PROPERTY_COLLECTION_TYPE
 
Method Summary
 java.lang.Object getGeneratedException()
          Get the value of the instance : generated exception
 int getOrder()
          Get the value of the instance : order
 float getPercentageCompleted()
          Get the value of the instance : percentage completed
 java.lang.Object getResult()
          Get the value of the instance : result
 long getStartTime()
          Get the value of the instance : start time
 long getStopTime()
          Get the value of the instance : stop time
 boolean isCancelled()
          Get the value of the instance : cancelled
 boolean isCompleted()
          Get the value of the instance : completed
 boolean setCancelled(boolean newValue)
          Set the value of the instance : cancelled
 boolean setCompleted(boolean newValue)
          Set the value of the instance : completed
 java.lang.Object setGeneratedException(java.lang.Object newValue)
          Set the value of the instance : generated exception
 int setOrder(int newValue)
          Set the value of the instance : order
 float setPercentageCompleted(float newValue)
          Set the value of the instance : percentage completed
 java.lang.Object setResult(java.lang.Object newValue)
          Set the value of the instance : result
 long setStartTime(long newValue)
          Set the value of the instance : start time
 long setStopTime(long newValue)
          Set the value of the instance : stop time
 
Methods inherited from interface org.deduced.NamedPropertyCollection
getName, setName
 
Methods inherited from interface org.deduced.PropertyCollection
activate, addListener, addProperty, areKeysAssignedAutomatically, asKeySet, asPropertyList, asPropertyMap, asValueList, asValueMap, clear, clone, containsInstance, containsKey, containsValue, delete, getFixedInstance, getProperty, getPropertyValue, id, instanceKey, invokeAction, isActivated, isEmpty, isListenerRegistered, iterator, iteratorByValue, keyOnParent, parent, removeListener, removeProperty, removePropertyInstance, removePropertyValue, setFixedInstance, setParent, setProperty, size, type, valueKey
 

Field Detail

TASK_TYPE

static final PropertyCollectionTypeHolder TASK_TYPE
Variable used to hold the PropertyCollectionType for : task


GENERATED_EXCEPTION_INSTANCE

static final PropertyInstanceHolder GENERATED_EXCEPTION_INSTANCE
Variable used to hold the PropertyInstance for : generated exception


START_TIME_INSTANCE

static final PropertyInstanceHolder START_TIME_INSTANCE
Variable used to hold the PropertyInstance for : start time


STOP_TIME_INSTANCE

static final PropertyInstanceHolder STOP_TIME_INSTANCE
Variable used to hold the PropertyInstance for : stop time


CANCELLED_INSTANCE

static final PropertyInstanceHolder CANCELLED_INSTANCE
Variable used to hold the PropertyInstance for : cancelled


RESULT_INSTANCE

static final PropertyInstanceHolder RESULT_INSTANCE
Variable used to hold the PropertyInstance for : result


COMPLETED_INSTANCE

static final PropertyInstanceHolder COMPLETED_INSTANCE
Variable used to hold the PropertyInstance for : completed


ORDER_INSTANCE

static final PropertyInstanceHolder ORDER_INSTANCE
Variable used to hold the PropertyInstance for : order


PERCENTAGE_COMPLETED_INSTANCE

static final PropertyInstanceHolder PERCENTAGE_COMPLETED_INSTANCE
Variable used to hold the PropertyInstance for : percentage completed

Method Detail

getGeneratedException

java.lang.Object getGeneratedException()
Get the value of the instance : generated exception

Returns:
generated exception

setGeneratedException

java.lang.Object setGeneratedException(java.lang.Object newValue)
Set the value of the instance : generated exception

Parameters:
newValue - new generated exception
Returns:
generated exception value after the change

getStartTime

long getStartTime()
Get the value of the instance : start time

Returns:
start time

setStartTime

long setStartTime(long newValue)
Set the value of the instance : start time

Parameters:
newValue - new start time
Returns:
start time value after the change

getStopTime

long getStopTime()
Get the value of the instance : stop time

Returns:
stop time

setStopTime

long setStopTime(long newValue)
Set the value of the instance : stop time

Parameters:
newValue - new stop time
Returns:
stop time value after the change

isCancelled

boolean isCancelled()
Get the value of the instance : cancelled

Returns:
cancelled

setCancelled

boolean setCancelled(boolean newValue)
Set the value of the instance : cancelled

Parameters:
newValue - new cancelled
Returns:
cancelled value after the change

getResult

java.lang.Object getResult()
Get the value of the instance : result

Returns:
result

setResult

java.lang.Object setResult(java.lang.Object newValue)
Set the value of the instance : result

Parameters:
newValue - new result
Returns:
result value after the change

isCompleted

boolean isCompleted()
Get the value of the instance : completed

Returns:
completed

setCompleted

boolean setCompleted(boolean newValue)
Set the value of the instance : completed

Parameters:
newValue - new completed
Returns:
completed value after the change

getOrder

int getOrder()
Get the value of the instance : order

Returns:
order

setOrder

int setOrder(int newValue)
Set the value of the instance : order

Parameters:
newValue - new order
Returns:
order value after the change

getPercentageCompleted

float getPercentageCompleted()
Get the value of the instance : percentage completed

Returns:
percentage completed

setPercentageCompleted

float setPercentageCompleted(float newValue)
Set the value of the instance : percentage completed

Parameters:
newValue - new percentage completed
Returns:
percentage completed value after the change