Skip navigation links


com.thortech.xl.vo.workflow
Class ResponseDefinition

java.lang.Object
  extended by com.thortech.xl.vo.workflow.ResponseDefinition

All Implemented Interfaces:
java.io.Serializable

public class ResponseDefinition
extends java.lang.Object
implements java.io.Serializable
See Also:
Serialized Form

Constructor Summary
ResponseDefinition()
          Constructor

 

Method Summary
 java.lang.String[] getGeneratedTasks()
          Returns the list of tasks that are generated by the response.
 java.lang.String getKey()
          Returns the Key of the Response Definition
 java.lang.String getResponse()
          Returns the Response Code
 java.lang.String getResponseDescription()
          Returns the Response Description
 ResponseProperties getResponseProperties()
           
 java.lang.String getStatus()
          Returns the Status that the Response will set on the Task
 java.lang.String getStatusKey()
          Returns the Key of the Status that the Response will set on the Task
 void removeGeneratedTask(java.lang.String generatedTask)
          Remove a task from the list of Tasks generated by this response
 void setGeneratedTask(java.lang.String generatedTask)
          Add a task to the list of Tasks generated by this response
 void setGeneratedTasks(java.util.HashSet generatedTasks)
          Sets the list of tasks that are generated by the response.
 void setKey(java.lang.String key)
          Sets the Key of the Response Definition
 void setResponse(java.lang.String response)
          Sets the Response Code
 void setResponseDescription(java.lang.String responseDescription)
          Sets the Response Description
 void setResponseProperties(ResponseProperties responseProperties)
           
 void setStatus(java.lang.String status)
          Sets the Status that the Response will set on the Task
 void setStatusKey(java.lang.String statusKey)
          Sets the Key of the Status that the Response will set on the Task

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

ResponseDefinition

public ResponseDefinition()
Constructor

Method Detail

getGeneratedTasks

public java.lang.String[] getGeneratedTasks()
Returns the list of tasks that are generated by the response. The returned string array contains the names of the tasks
Returns:
The names of the Generated Tasks.

setGeneratedTasks

public void setGeneratedTasks(java.util.HashSet generatedTasks)
Sets the list of tasks that are generated by the response. The provided hashset should contain the names of the tasks
Parameters:
generatedTasks - The names of the Generated Tasks.

setGeneratedTask

public void setGeneratedTask(java.lang.String generatedTask)
Add a task to the list of Tasks generated by this response
Parameters:
generatedTask - The name of the task to add.

removeGeneratedTask

public void removeGeneratedTask(java.lang.String generatedTask)
Remove a task from the list of Tasks generated by this response
Parameters:
generatedTask - The name of the task to remove.

getResponse

public java.lang.String getResponse()
Returns the Response Code
Returns:
The response code.

setResponse

public void setResponse(java.lang.String response)
Sets the Response Code
Parameters:
response - The response code to set.

getStatus

public java.lang.String getStatus()
Returns the Status that the Response will set on the Task
Returns:
The status.

setStatus

public void setStatus(java.lang.String status)
Sets the Status that the Response will set on the Task
Parameters:
status - The status to set.

getKey

public java.lang.String getKey()
Returns the Key of the Response Definition
Returns:
The key.

setKey

public void setKey(java.lang.String key)
Sets the Key of the Response Definition
Parameters:
key - The key.

getResponseDescription

public java.lang.String getResponseDescription()
Returns the Response Description
Returns:
The Response Description.

setResponseDescription

public void setResponseDescription(java.lang.String responseDescription)
Sets the Response Description
Parameters:
responseDescription - The Response Description to set.

getStatusKey

public java.lang.String getStatusKey()
Returns the Key of the Status that the Response will set on the Task
Returns:
The Status Key.

setStatusKey

public void setStatusKey(java.lang.String statusKey)
Sets the Key of the Status that the Response will set on the Task
Parameters:
statusKey - The Status Key to set.

getResponseProperties

public ResponseProperties getResponseProperties()

setResponseProperties

public void setResponseProperties(ResponseProperties responseProperties)

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.