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 on-the-flight (so-called
ad-hoc tasks).
- Since:
- 6.0.1
Method Summary |
TTask |
getTTask()
Returns the wrapped object, either a task instance or a task template that has been
created on-the-flight. |
ValidationProblem[] |
validate()
Validates the wrapped object, either a task instance or a task template that has been
created on the flight. |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- See Also:
- Constant Field Values
XML_SCHEMA_NAMESPACE
public static final java.lang.String XML_SCHEMA_NAMESPACE
- See Also:
- Constant Field Values
WSDL_SCHEMA_NAMESPACE
public static final java.lang.String WSDL_SCHEMA_NAMESPACE
- See Also:
- Constant Field Values
getTTask
public TTask getTTask()
- Returns the wrapped object, either a task instance or a task template that has been
created on-the-flight.
- Returns:
- TTask -
The wrapped object. Returns null when no object is wrapped.
validate
public ValidationProblem[] validate()
- Validates the wrapped object, either a task instance or a task template that has been
created on the flight.
- 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.