Enum ValidationError

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ValidationError>

    public enum ValidationError
    extends java.lang.Enum<ValidationError>
    • Enum Constant Detail

      • AllowedTypesNotValidOnSchema1_0

        public static final ValidationError AllowedTypesNotValidOnSchema1_0
      • AssignableRelationsMustHaveType

        public static final ValidationError AssignableRelationsMustHaveType
      • ConditionNotDefined

        public static final ValidationError ConditionNotDefined
      • InvalidRelationType

        public static final ValidationError InvalidRelationType
      • RelationNoEntrypoint

        public static final ValidationError RelationNoEntrypoint
      • ReservedRelationKeywords

        public static final ValidationError ReservedRelationKeywords
      • ReservedTypeKeywords

        public static final ValidationError ReservedTypeKeywords
      • SchemaVersionRequired

        public static final ValidationError SchemaVersionRequired
      • SchemaVersionUnsupported

        public static final ValidationError SchemaVersionUnsupported
      • TypeRestrictionCannotHaveWildcardAndRelation

        public static final ValidationError TypeRestrictionCannotHaveWildcardAndRelation
      • InvalidRelationOnTupleset

        public static final ValidationError InvalidRelationOnTupleset
      • DifferentNestedConditionName

        public static final ValidationError DifferentNestedConditionName
      • MultipleModulesInFile

        public static final ValidationError MultipleModulesInFile
    • Method Detail

      • values

        public static ValidationError[] 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 (ValidationError c : ValidationError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ValidationError 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 name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public java.lang.String getValue()