Enum ValidatorTypeCode
- java.lang.Object
-
- java.lang.Enum<ValidatorTypeCode>
-
- com.inductiveautomation.ignition.common.jsonschema.ValidatorTypeCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ValidatorTypeCode>
public enum ValidatorTypeCode extends java.lang.Enum<ValidatorTypeCode>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValidatorTypeCode
fromValue(java.lang.String value)
java.lang.String
getErrorCode()
java.lang.String
getErrorCodeKey()
java.text.MessageFormat
getMessageFormat()
java.lang.String
getValue()
java.lang.String
toString()
static ValidatorTypeCode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ValidatorTypeCode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADDITIONAL_PROPERTIES
public static final ValidatorTypeCode ADDITIONAL_PROPERTIES
-
ALL_OF
public static final ValidatorTypeCode ALL_OF
-
ANY_OF
public static final ValidatorTypeCode ANY_OF
-
CONST
public static final ValidatorTypeCode CONST
-
CONTAINS
public static final ValidatorTypeCode CONTAINS
-
DEPENDENCIES
public static final ValidatorTypeCode DEPENDENCIES
-
EDITS
public static final ValidatorTypeCode EDITS
-
ENUM
public static final ValidatorTypeCode ENUM
-
FORMAT
public static final ValidatorTypeCode FORMAT
-
ITEMS
public static final ValidatorTypeCode ITEMS
-
MAXIMUM
public static final ValidatorTypeCode MAXIMUM
-
MAX_ITEMS
public static final ValidatorTypeCode MAX_ITEMS
-
MAX_LENGTH
public static final ValidatorTypeCode MAX_LENGTH
-
MAX_PROPERTIES
public static final ValidatorTypeCode MAX_PROPERTIES
-
MINIMUM
public static final ValidatorTypeCode MINIMUM
-
MIN_ITEMS
public static final ValidatorTypeCode MIN_ITEMS
-
MIN_LENGTH
public static final ValidatorTypeCode MIN_LENGTH
-
MIN_PROPERTIES
public static final ValidatorTypeCode MIN_PROPERTIES
-
MULTIPLE_OF
public static final ValidatorTypeCode MULTIPLE_OF
-
NOT
public static final ValidatorTypeCode NOT
-
ONE_OF
public static final ValidatorTypeCode ONE_OF
-
PATTERN_PROPERTIES
public static final ValidatorTypeCode PATTERN_PROPERTIES
-
PATTERN
public static final ValidatorTypeCode PATTERN
-
PROPERTIES
public static final ValidatorTypeCode PROPERTIES
-
PROPERTY_NAMES
public static final ValidatorTypeCode PROPERTY_NAMES
-
REF
public static final ValidatorTypeCode REF
-
REQUIRED
public static final ValidatorTypeCode REQUIRED
-
SUGGESTIONS
public static final ValidatorTypeCode SUGGESTIONS
-
DYNAMIC_SUGGESTIONS
public static final ValidatorTypeCode DYNAMIC_SUGGESTIONS
-
TYPE
public static final ValidatorTypeCode TYPE
-
UNION_TYPE
public static final ValidatorTypeCode UNION_TYPE
-
UNIQUE_ITEMS
public static final ValidatorTypeCode UNIQUE_ITEMS
-
VISIBLE_WHEN
public static final ValidatorTypeCode VISIBLE_WHEN
-
-
Method Detail
-
values
public static ValidatorTypeCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ValidatorTypeCode c : ValidatorTypeCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValidatorTypeCode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromValue
public static ValidatorTypeCode fromValue(java.lang.String value)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ValidatorTypeCode>
-
getValue
public java.lang.String getValue()
-
getErrorCode
public java.lang.String getErrorCode()
-
getMessageFormat
public java.text.MessageFormat getMessageFormat()
-
getErrorCodeKey
public java.lang.String getErrorCodeKey()
-
-