public static enum Messages.Validation extends Enum<Messages.Validation>
Enum Constant and Description |
---|
ATTEMPT_TO_EVALUATE_DISABLED_RULE
Message when a rule is disabled rule is evaluated.
|
CHILD_COUNT_ABOVE_MAX_VALUE
Message when the number of children of a specific type is above the maximum allowed.
|
CHILD_COUNT_BELOW_MIN_VALUE
Message when the number of children of a specific type is below the minimum allowed.
|
CHILD_OF_REQUIRED_TYPE_NOT_FOUND
Message when a child of a required type is not found.
|
NUMBER_RULE_HAS_NO_VALUES
Message when a number range rule does not declare a min or a max value.
|
NUMBER_RULE_NON_NUMERIC_VALUES
Message when a number range rule declares a non-numeric value for either the min or max value.
|
PATTERN_RULE_INVALID_NODE_NAME
Message when a node name is not value.
|
PATTERN_RULE_INVALID_PROPERTY_VALUE
Message when a property value is not value.
|
PROPERTY_RULE_ABSENT_CHILD_FOUND
Message when a property exists but a child of a specific type is found and is not allowed.
|
PROPERTY_RULE_ABSENT_PROPERTY_FOUND
Message when a property exists and another property exists that is not allowed.
|
PROPERTY_RULE_REQUIRED_CHILD_NOT_FOUND
Message when a property exists and a required child of a specific type is not found.
|
PROPERTY_RULE_REQUIRED_PROPERTY_NOT_FOUND
Message when a property exists and another required property does not exist.
|
PROPERTY_RULE_VALUE_ABOVE_MAX_VALUE
Message when a property value is above the maximum allowed.
|
PROPERTY_RULE_VALUE_BELOW_MIN_VALUE
Message when property value is below the minimum allowed.
|
RELATIONSHIP_RULE_ABSENT_CHILD_FOUND
Message when a child of a specific type exists but another child of another type exists but is not allowed.
|
RELATIONSHIP_RULE_ABSENT_PROPERTY_FOUND
Message when a child of a specific type exists and a specific property exists that is not allowed.
|
RELATIONSHIP_RULE_REQUIRED_CHILD_NOT_FOUND
Message when a child of a specific type exists but another child of another type does not exist but should.
|
RELATIONSHIP_RULE_REQUIRED_PROPERTY_NOT_FOUND
Message when a child of a specific type exists and a specific required property is missing.
|
RELATIONSHIP_RULE_SNS_FOUND
Message when children of the same type and same nam exist.
|
REQUIRED_PROPERTY_NOT_FOUND
Message when a node is missing required property.
|
RULE_MESSAGE_NOT_FOUND
Message when a rule message is missing.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static Messages.Validation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Messages.Validation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Messages.Validation ATTEMPT_TO_EVALUATE_DISABLED_RULE
public static final Messages.Validation CHILD_COUNT_ABOVE_MAX_VALUE
public static final Messages.Validation CHILD_COUNT_BELOW_MIN_VALUE
public static final Messages.Validation CHILD_OF_REQUIRED_TYPE_NOT_FOUND
public static final Messages.Validation NUMBER_RULE_HAS_NO_VALUES
public static final Messages.Validation NUMBER_RULE_NON_NUMERIC_VALUES
public static final Messages.Validation PATTERN_RULE_INVALID_NODE_NAME
public static final Messages.Validation PATTERN_RULE_INVALID_PROPERTY_VALUE
public static final Messages.Validation PROPERTY_RULE_ABSENT_CHILD_FOUND
public static final Messages.Validation PROPERTY_RULE_ABSENT_PROPERTY_FOUND
public static final Messages.Validation PROPERTY_RULE_REQUIRED_CHILD_NOT_FOUND
public static final Messages.Validation PROPERTY_RULE_REQUIRED_PROPERTY_NOT_FOUND
public static final Messages.Validation PROPERTY_RULE_VALUE_ABOVE_MAX_VALUE
public static final Messages.Validation PROPERTY_RULE_VALUE_BELOW_MIN_VALUE
public static final Messages.Validation RELATIONSHIP_RULE_ABSENT_CHILD_FOUND
public static final Messages.Validation RELATIONSHIP_RULE_ABSENT_PROPERTY_FOUND
public static final Messages.Validation RELATIONSHIP_RULE_REQUIRED_CHILD_NOT_FOUND
public static final Messages.Validation RELATIONSHIP_RULE_REQUIRED_PROPERTY_NOT_FOUND
public static final Messages.Validation RELATIONSHIP_RULE_SNS_FOUND
public static final Messages.Validation REQUIRED_PROPERTY_NOT_FOUND
public static final Messages.Validation RULE_MESSAGE_NOT_FOUND
public static Messages.Validation[] values()
for (Messages.Validation c : Messages.Validation.values()) System.out.println(c);
public static Messages.Validation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<Messages.Validation>
Enum.toString()
Copyright © 2013–2019. All rights reserved.