com.objectplanet.survey.plugin.api
Class ValidatorType

java.lang.Object
  extended by com.objectplanet.survey.plugin.api.ValidatorType

public class ValidatorType
extends java.lang.Object

Constants for validator types.

Author:
Irina Brun
Created:
21. march 2003

Field Summary
static int DROPDOWN_QUESTION_MAXIMUM_SELECTION
          Maximum selections in response to dropdown question.
static int DROPDOWN_QUESTION_MINIMUM_SELECTION
          Minimum selections in response to dropdown question.
static int ESSAY_FIELD_DROPDOWN_REQUIRED
          Deprecated. use INTEXT_DROPDOWN_REQUIRED
static int ESSAY_FIELD_NUMERIC_IS_NUMBER
          Deprecated. use INTEXT_NUMERIC_IS_NUMBER
static int ESSAY_FIELD_NUMERIC_MAXIMUM_VALUE
          Deprecated. use INTEXT_NUMERIC_MAXIMUM_VALUE
static int ESSAY_FIELD_NUMERIC_MINIMUM_VALUE
          Deprecated. use INTEXT_NUMERIC_MINIMUM_VALUE
static int ESSAY_FIELD_NUMERIC_REQUIRED
          Deprecated. use INTEXT_NUMERIC_REQUIRED
static int ESSAY_FIELD_TEXT_DATE
          Deprecated. use INTEXT_TEXT_DATE
static int ESSAY_FIELD_TEXT_EMAIL
          Deprecated. use INTEXT_TEXT_EMAIL
static int ESSAY_FIELD_TEXT_MAXIMUM_LENGTH
          Deprecated. use INTEXT_TEXT_MAXIMUM_LENGTH
static int ESSAY_FIELD_TEXT_MINIMUM_LENGTH
          Deprecated. use INTEXT_TEXT_MINIMUM_LENGTH
static int ESSAY_FIELD_TEXT_MUST_CONTAIN
          Deprecated. use INTEXT_TEXT_MUST_CONTAIN
static int ESSAY_FIELD_TEXT_REGEXP
          Deprecated. use INTEXT_TEXT_REGEXP
static int ESSAY_FIELD_TEXT_REQUIRED
          Deprecated. use INTEXT_TEXT_REQUIRED
static int INTEXT_DROPDOWN_REQUIRED
          Response to in-text element of type Question.INTEXT_DROPDOWN is required.
static int INTEXT_NUMERIC_IS_NUMBER
          Response to in-text element of type Question.INTEXT_NUMERIC_INT or INTEXT_NUMERIC_DEC is number.
static int INTEXT_NUMERIC_MAXIMUM_VALUE
          Response to in-text element of type Question.INTEXT_NUMERIC_INT or INTEXT_NUMERIC_DEC is less than specified value.
static int INTEXT_NUMERIC_MINIMUM_VALUE
          Response to in-text element of type Question.INTEXT_NUMERIC_INT or INTEXT_NUMERIC_DEC is bigger than specified value.
static int INTEXT_NUMERIC_REQUIRED
          Response to in-text element of type Question.INTEXT_NUMERIC_INT or INTEXT_NUMERIC_DEC is required.
static int INTEXT_TEXT_DATE
          Response to in-text element of type Question.INTEXT_TEXT is date.
static int INTEXT_TEXT_EMAIL
          Response to in-text element of type Question.INTEXT_TEXT is email.
static int INTEXT_TEXT_MAXIMUM_LENGTH
          Maximum text length for response to in-text element of type Question.INTEXT_TEXT.
static int INTEXT_TEXT_MINIMUM_LENGTH
          Minimum text length for response to in-text element of type Question.INTEXT_TEXT.
static int INTEXT_TEXT_MUST_CONTAIN
          Response to in-text element of type Question.INTEXT_TEXT must contain specified text.
static int INTEXT_TEXT_REGEXP
          Response to in-text element of type Question.INTEXT_TEXT must match specified regular expression.
static int INTEXT_TEXT_REQUIRED
          Response to in-text element of type Question.INTEXT_TEXT is required.
static int MATRIX_CELL_DROPDOWN_REQUIRED
          Response to matrix cell of type QuestionMatrix.CELL_DROPDOWN is required.
static int MATRIX_CELL_NUMERIC_IS_NUMBER
          Response to matrix cell of type QuestionMatrix.CELL_NUMERIC_INT/CELL_NUMERIC_DEC is number.
static int MATRIX_CELL_NUMERIC_MAXIMUM_VALUE
          Response to matrix cell of type QuestionMatrix.CELL_NUMERIC_INT/CELL_NUMERIC_DEC is less than specified value.
static int MATRIX_CELL_NUMERIC_MINIMUM_VALUE
          Response to matrix cell of type QuestionMatrix.CELL_NUMERIC_INT/CELL_NUMERIC_DEC is bigger than specified value.
static int MATRIX_CELL_NUMERIC_REQUIRED
          Response to matrix cell of type QuestionMatrix.CELL_NUMERIC_INT/CELL_NUMERIC_DEC is required.
static int MATRIX_CELL_TEXT_DATE
          Response to matrix cell of type QuestionMatrix.CELL_TEXT is date.
static int MATRIX_CELL_TEXT_EMAIL
          Response to matrix cell of type QuestionMatrix.CELL_TEXT is email.
static int MATRIX_CELL_TEXT_MAXIMUM_LENGTH
          Maximum text length for response to matrix cell of type QuestionMatrix.CELL_TEXT.
static int MATRIX_CELL_TEXT_MINIMUM_LENGTH
          Minimum text length for response to matrix cell of type QuestionMatrix.CELL_TEXT.
static int MATRIX_CELL_TEXT_MUST_CONTAIN
          Response to matrix cell of type QuestionMatrix.CELL_TEXT must contain specified text.
static int MATRIX_CELL_TEXT_REGEXP
          Response to matrix cell of type QuestionMatrix.CELL_TEXT must match specified regular expression.
static int MATRIX_CELL_TEXT_REQUIRED
          Response to matrix cell of type QuestionMatrix.CELL_TEXT is required.
static int MULTIPLE_QUESTION_MAXIMUM_SELECTION
          Maximum selections in response to multiple question.
static int MULTIPLE_QUESTION_MINIMUM_SELECTION
          Minimum selections in response to multiple question.
static int NUMERIC_QUESTION_IS_NUMBER
          Response to numeric question is number.
static int NUMERIC_QUESTION_MAXIMUM_VALUE
          Response to numeric question is less than specified value.
static int NUMERIC_QUESTION_MINIMUM_VALUE
          Response to numeric question is bigger than specified value.
static int NUMERIC_QUESTION_REQUIRED
          Response to numeric question is required.
static int RATING_QUESTION_REQUIRED
          Response to rating question is required.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ESSAY_FIELD_TEXT_REQUIRED

public static final int ESSAY_FIELD_TEXT_REQUIRED
Deprecated. use INTEXT_TEXT_REQUIRED
Response to essay field of type Question.ESSAY_FIELD_TEXT is required. No parameter required, use null.

See Also:
Constant Field Values

ESSAY_FIELD_TEXT_MINIMUM_LENGTH

public static final int ESSAY_FIELD_TEXT_MINIMUM_LENGTH
Deprecated. use INTEXT_TEXT_MINIMUM_LENGTH
Minimum text length for response to essay field of type Question.ESSAY_FIELD_TEXT. Requires minimum text length parameter, i.e. "10". *

See Also:
Constant Field Values

ESSAY_FIELD_TEXT_MAXIMUM_LENGTH

public static final int ESSAY_FIELD_TEXT_MAXIMUM_LENGTH
Deprecated. use INTEXT_TEXT_MAXIMUM_LENGTH
Maximum text length for response to essay field of type Question.ESSAY_FIELD_TEXT. Requires maximum text length parameter, i.e. "10".

See Also:
Constant Field Values

ESSAY_FIELD_TEXT_EMAIL

public static final int ESSAY_FIELD_TEXT_EMAIL
Deprecated. use INTEXT_TEXT_EMAIL
Response to essay field of type Question.ESSAY_FIELD_TEXT is email. No parameter required, use null.

See Also:
Constant Field Values

ESSAY_FIELD_TEXT_DATE

public static final int ESSAY_FIELD_TEXT_DATE
Deprecated. use INTEXT_TEXT_DATE
Response to essay field of type Question.ESSAY_FIELD_TEXT is date. Requires date/time pattern as parameter, i.e. "dd.mm.yyyy". See java.text.SimpleDateFormat for more examples.

See Also:
Constant Field Values

ESSAY_FIELD_TEXT_MUST_CONTAIN

public static final int ESSAY_FIELD_TEXT_MUST_CONTAIN
Deprecated. use INTEXT_TEXT_MUST_CONTAIN
Response to essay field of type Question.ESSAY_FIELD_TEXT must contain specified text. Requires the text to look for in the essay field as parameter, i.e. "hotmail.com".

See Also:
Constant Field Values

ESSAY_FIELD_TEXT_REGEXP

public static final int ESSAY_FIELD_TEXT_REGEXP
Deprecated. use INTEXT_TEXT_REGEXP
Response to essay field of type Question.ESSAY_FIELD_TEXT must match specified regular expression. Requires a regular expression as parameter. See java.util.regex.Pattern.

See Also:
Constant Field Values

ESSAY_FIELD_NUMERIC_IS_NUMBER

public static final int ESSAY_FIELD_NUMERIC_IS_NUMBER
Deprecated. use INTEXT_NUMERIC_IS_NUMBER
Response to essay field of type Question.ESSAY_FIELD_NUMERIC_INT/ESSAY_FIELD_NUMERIC_DEC is number. No parameter required, use null.

See Also:
Constant Field Values

ESSAY_FIELD_NUMERIC_REQUIRED

public static final int ESSAY_FIELD_NUMERIC_REQUIRED
Deprecated. use INTEXT_NUMERIC_REQUIRED
Response to essay field of type Question.ESSAY_FIELD_NUMERIC_INT/ESSAY_FIELD_NUMERIC_DEC is required. No parameter required, use null.

See Also:
Constant Field Values

ESSAY_FIELD_NUMERIC_MINIMUM_VALUE

public static final int ESSAY_FIELD_NUMERIC_MINIMUM_VALUE
Deprecated. use INTEXT_NUMERIC_MINIMUM_VALUE
Response to essay field of type Question.ESSAY_FIELD_NUMERIC_INT/ESSAY_FIELD_NUMERIC_DEC is bigger than specified value. Requires minimum value parameter, i.e. "5".

See Also:
Constant Field Values

ESSAY_FIELD_NUMERIC_MAXIMUM_VALUE

public static final int ESSAY_FIELD_NUMERIC_MAXIMUM_VALUE
Deprecated. use INTEXT_NUMERIC_MAXIMUM_VALUE
Response to essay field of type Question.ESSAY_FIELD_NUMERIC_INT/ESSAY_FIELD_NUMERIC_DEC is less than specified value. Requires maximum value parameter, i.e. "100".

See Also:
Constant Field Values

ESSAY_FIELD_DROPDOWN_REQUIRED

public static final int ESSAY_FIELD_DROPDOWN_REQUIRED
Deprecated. use INTEXT_DROPDOWN_REQUIRED
Response to essay field of type Question.ESSAY_FIELD_DROPDOWN is required. No parameter required, use null.

See Also:
Constant Field Values

INTEXT_TEXT_REQUIRED

public static final int INTEXT_TEXT_REQUIRED
Response to in-text element of type Question.INTEXT_TEXT is required. No parameter required, use null.

See Also:
Constant Field Values

INTEXT_TEXT_MINIMUM_LENGTH

public static final int INTEXT_TEXT_MINIMUM_LENGTH
Minimum text length for response to in-text element of type Question.INTEXT_TEXT. Requires minimum text length parameter, i.e. "10".

See Also:
Constant Field Values

INTEXT_TEXT_MAXIMUM_LENGTH

public static final int INTEXT_TEXT_MAXIMUM_LENGTH
Maximum text length for response to in-text element of type Question.INTEXT_TEXT. Requires maximum text length parameter, i.e. "10".

See Also:
Constant Field Values

INTEXT_TEXT_EMAIL

public static final int INTEXT_TEXT_EMAIL
Response to in-text element of type Question.INTEXT_TEXT is email. No parameter required, use null.

See Also:
Constant Field Values

INTEXT_TEXT_DATE

public static final int INTEXT_TEXT_DATE
Response to in-text element of type Question.INTEXT_TEXT is date. Requires date/time pattern as parameter, i.e. "dd.mm.yyyy". See java.text.SimpleDateFormat for more examples.

See Also:
Constant Field Values

INTEXT_TEXT_MUST_CONTAIN

public static final int INTEXT_TEXT_MUST_CONTAIN
Response to in-text element of type Question.INTEXT_TEXT must contain specified text. Requires the text to look for in the in-text element as parameter, i.e. "hotmail.com".

See Also:
Constant Field Values

INTEXT_TEXT_REGEXP

public static final int INTEXT_TEXT_REGEXP
Response to in-text element of type Question.INTEXT_TEXT must match specified regular expression. Requires a regular expression as parameter. See java.util.regex.Pattern.

See Also:
Constant Field Values

INTEXT_NUMERIC_IS_NUMBER

public static final int INTEXT_NUMERIC_IS_NUMBER
Response to in-text element of type Question.INTEXT_NUMERIC_INT or INTEXT_NUMERIC_DEC is number. No parameter required, use null.

See Also:
Constant Field Values

INTEXT_NUMERIC_REQUIRED

public static final int INTEXT_NUMERIC_REQUIRED
Response to in-text element of type Question.INTEXT_NUMERIC_INT or INTEXT_NUMERIC_DEC is required. No parameter required, use null.

See Also:
Constant Field Values

INTEXT_NUMERIC_MINIMUM_VALUE

public static final int INTEXT_NUMERIC_MINIMUM_VALUE
Response to in-text element of type Question.INTEXT_NUMERIC_INT or INTEXT_NUMERIC_DEC is bigger than specified value. Requires minimum value parameter, i.e. "5".

See Also:
Constant Field Values

INTEXT_NUMERIC_MAXIMUM_VALUE

public static final int INTEXT_NUMERIC_MAXIMUM_VALUE
Response to in-text element of type Question.INTEXT_NUMERIC_INT or INTEXT_NUMERIC_DEC is less than specified value. Requires maximum value parameter, i.e. "100".

See Also:
Constant Field Values

INTEXT_DROPDOWN_REQUIRED

public static final int INTEXT_DROPDOWN_REQUIRED
Response to in-text element of type Question.INTEXT_DROPDOWN is required. No parameter required, use null.

See Also:
Constant Field Values

MATRIX_CELL_TEXT_REQUIRED

public static final int MATRIX_CELL_TEXT_REQUIRED
Response to matrix cell of type QuestionMatrix.CELL_TEXT is required. No parameter required, use null.

See Also:
Constant Field Values

MATRIX_CELL_TEXT_MINIMUM_LENGTH

public static final int MATRIX_CELL_TEXT_MINIMUM_LENGTH
Minimum text length for response to matrix cell of type QuestionMatrix.CELL_TEXT. Requires minimum text length parameter, i.e. "5".

See Also:
Constant Field Values

MATRIX_CELL_TEXT_MAXIMUM_LENGTH

public static final int MATRIX_CELL_TEXT_MAXIMUM_LENGTH
Maximum text length for response to matrix cell of type QuestionMatrix.CELL_TEXT. Requires maximum text length parameter, i.e. "20".

See Also:
Constant Field Values

MATRIX_CELL_TEXT_EMAIL

public static final int MATRIX_CELL_TEXT_EMAIL
Response to matrix cell of type QuestionMatrix.CELL_TEXT is email. No parameter required, use null.

See Also:
Constant Field Values

MATRIX_CELL_TEXT_DATE

public static final int MATRIX_CELL_TEXT_DATE
Response to matrix cell of type QuestionMatrix.CELL_TEXT is date. Requires date/time pattern as parameter, i.e. "dd.mm.yyyy". See java.text.SimpleDateFormat for more examples.

See Also:
Constant Field Values

MATRIX_CELL_TEXT_MUST_CONTAIN

public static final int MATRIX_CELL_TEXT_MUST_CONTAIN
Response to matrix cell of type QuestionMatrix.CELL_TEXT must contain specified text. Requires the text to look for in the input field as parameter, i.e. "hotmail.com".

See Also:
Constant Field Values

MATRIX_CELL_TEXT_REGEXP

public static final int MATRIX_CELL_TEXT_REGEXP
Response to matrix cell of type QuestionMatrix.CELL_TEXT must match specified regular expression. Requires a regular expression as parameter. See java.util.regex.Pattern.

See Also:
Constant Field Values

MATRIX_CELL_NUMERIC_IS_NUMBER

public static final int MATRIX_CELL_NUMERIC_IS_NUMBER
Response to matrix cell of type QuestionMatrix.CELL_NUMERIC_INT/CELL_NUMERIC_DEC is number. No parameter required, use null.

See Also:
Constant Field Values

MATRIX_CELL_NUMERIC_REQUIRED

public static final int MATRIX_CELL_NUMERIC_REQUIRED
Response to matrix cell of type QuestionMatrix.CELL_NUMERIC_INT/CELL_NUMERIC_DEC is required. No parameter required, use null.

See Also:
Constant Field Values

MATRIX_CELL_NUMERIC_MINIMUM_VALUE

public static final int MATRIX_CELL_NUMERIC_MINIMUM_VALUE
Response to matrix cell of type QuestionMatrix.CELL_NUMERIC_INT/CELL_NUMERIC_DEC is bigger than specified value. Requires minimum value parameter, i.e. "5".

See Also:
Constant Field Values

MATRIX_CELL_NUMERIC_MAXIMUM_VALUE

public static final int MATRIX_CELL_NUMERIC_MAXIMUM_VALUE
Response to matrix cell of type QuestionMatrix.CELL_NUMERIC_INT/CELL_NUMERIC_DEC is less than specified value. Requires maximum value parameter, i.e. "20".

See Also:
Constant Field Values

MATRIX_CELL_DROPDOWN_REQUIRED

public static final int MATRIX_CELL_DROPDOWN_REQUIRED
Response to matrix cell of type QuestionMatrix.CELL_DROPDOWN is required. No parameter required, use null.

See Also:
Constant Field Values

RATING_QUESTION_REQUIRED

public static final int RATING_QUESTION_REQUIRED
Response to rating question is required. No parameter required, use null.

See Also:
Constant Field Values

DROPDOWN_QUESTION_MINIMUM_SELECTION

public static final int DROPDOWN_QUESTION_MINIMUM_SELECTION
Minimum selections in response to dropdown question. Requires minimum number of selections as parameter, i.e. "2".

See Also:
Constant Field Values

DROPDOWN_QUESTION_MAXIMUM_SELECTION

public static final int DROPDOWN_QUESTION_MAXIMUM_SELECTION
Maximum selections in response to dropdown question. Requires maximum number of selections as parameter, i.e. "5".

See Also:
Constant Field Values

MULTIPLE_QUESTION_MINIMUM_SELECTION

public static final int MULTIPLE_QUESTION_MINIMUM_SELECTION
Minimum selections in response to multiple question. Requires minimum number of selections as parameter, i.e. "2".

See Also:
Constant Field Values

MULTIPLE_QUESTION_MAXIMUM_SELECTION

public static final int MULTIPLE_QUESTION_MAXIMUM_SELECTION
Maximum selections in response to multiple question. Requires maximum number of selections as parameter, i.e. "5".

See Also:
Constant Field Values

NUMERIC_QUESTION_IS_NUMBER

public static final int NUMERIC_QUESTION_IS_NUMBER
Response to numeric question is number. No parameter required, use null.

See Also:
Constant Field Values

NUMERIC_QUESTION_REQUIRED

public static final int NUMERIC_QUESTION_REQUIRED
Response to numeric question is required. No parameter required, use null.

See Also:
Constant Field Values

NUMERIC_QUESTION_MINIMUM_VALUE

public static final int NUMERIC_QUESTION_MINIMUM_VALUE
Response to numeric question is bigger than specified value. Requires minimum value as parameter, i.e. "5".

See Also:
Constant Field Values

NUMERIC_QUESTION_MAXIMUM_VALUE

public static final int NUMERIC_QUESTION_MAXIMUM_VALUE
Response to numeric question is less than specified value. Requires maximum value as parameter, i.e. "5".

See Also:
Constant Field Values

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016