com.ibm.task.api

Interface ValidationProblem


  1. public interface ValidationProblem
Describes validation problems of task instances or templates that have been created spontaneously (ad hoc).
Since:
6.0.1
See Also:
ErrorTypeEnum

Field Summary

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

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getMessage()
Returns the message text of the validation problem.
  1. java.lang.Object[]
getMessageAttributes()
Returns the values of attributes that were used to make up the complete message text.
  1. ErrorTypeEnum
getType()
Returns the type, that is, the severity of the validation problem.

Field Detail

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

Method Detail

getType

  1. ErrorTypeEnum getType()
Returns the type, that is, the severity of the validation problem. Possible values are:
Returns:
ErrorTypeEnum - The type of the error.

getMessage

  1. java.lang.String getMessage()
Returns the message text of the validation problem.
Returns:
String - Localized message text of the validation problem.

getMessageAttributes

  1. java.lang.Object[] getMessageAttributes( )
Returns the values of attributes that were used to make up the complete message text.
Returns:
Object[] The array of attribute values. An empty array is returned if there are no attribute values.