com.ibm.task.api

Interface TaskModel

All Superinterfaces:
java.io.Serializable

  1. public interface TaskModel
  2. extends java.io.Serializable
Wraps task instances and templates that are created spontaneously. These instances and templates are also called ad-hoc tasks and ad-hoc templates.
Since:
6.0.1

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT
  1. static
  2. java.lang.String
WSDL_SCHEMA_NAMESPACE
  1. static
  2. java.lang.String
XML_SCHEMA_NAMESPACE

Method Summary

Modifier and Type Method and Description
  1. TTask
getTTask()
Returns the wrapped object, either a task instance or a task template that has been created ad-hoc.
  1. ValidationProblem[]
validate()
Validates the wrapped object, either a task instance or a task template that has been created ad-hoc.

Field Detail

  1. static final java.lang.String COPYRIGHT
See Also:

XML_SCHEMA_NAMESPACE

  1. static final java.lang.String XML_SCHEMA_NAMESPACE
See Also:

WSDL_SCHEMA_NAMESPACE

  1. static final java.lang.String WSDL_SCHEMA_NAMESPACE
See Also:

Method Detail

getTTask

  1. TTask getTTask()
Returns the wrapped object, either a task instance or a task template that has been created ad-hoc.
Returns:
TTask - The wrapped object. Returns null when no object is wrapped.

validate

  1. ValidationProblem[] validate()
Validates the wrapped object, either a task instance or a task template that has been created ad-hoc.
Returns:
ValidationProblem[] - an array of ValidationProblem objects that contain detailed information about problems found during validation - refer to ValidationProblem. Returns an empty array when no problems are found.