com.ibm.task.api
Interface TaskModel
-
- All Superinterfaces:
- java.io.Serializable
public interface TaskModel 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
Fields Modifier and Type Field and Description static java.lang.String
COPYRIGHT
static java.lang.String
WSDL_SCHEMA_NAMESPACE
static java.lang.String
XML_SCHEMA_NAMESPACE
-
Method Summary
Methods Modifier and Type Method and Description TTask
getTTask()
Returns the wrapped object, either a task instance or a task template that has been created ad-hoc.ValidationProblem[]
validate()
Validates the wrapped object, either a task instance or a task template that has been created ad-hoc.
-
-
-
Field Detail
-
COPYRIGHT
static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
-
XML_SCHEMA_NAMESPACE
static final java.lang.String XML_SCHEMA_NAMESPACE
- See Also:
- Constant Field Values
-
WSDL_SCHEMA_NAMESPACE
static final java.lang.String WSDL_SCHEMA_NAMESPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getTTask
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
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.
-
-