Enum Class ConstructError

java.lang.Object
java.lang.Enum<ConstructError>
no.sikt.graphitron.validation.messages.ConstructError
All Implemented Interfaces:
Serializable, Comparable<ConstructError>, Constable, ErrorMessage, UserMessage

public enum ConstructError extends Enum<ConstructError> implements ErrorMessage
  • Enum Constant Details

    • CONSTRUCT_FIELD_IS_NOT_TYPE

      public static final ConstructError CONSTRUCT_FIELD_IS_NOT_TYPE
    • CONSTRUCT_TYPE_HAS_TABLE

      public static final ConstructError CONSTRUCT_TYPE_HAS_TABLE
    • CONSTRUCT_MISSING_TABLE

      public static final ConstructError CONSTRUCT_MISSING_TABLE
    • CONSTRUCT_FIELD_HAS_ILLEGAL_DIRECTIVE

      public static final ConstructError CONSTRUCT_FIELD_HAS_ILLEGAL_DIRECTIVE
    • CONSTRUCT_NONEXISTENT_FIELD

      public static final ConstructError CONSTRUCT_NONEXISTENT_FIELD
    • CONSTRUCT_CONTAINS_NESTED_TYPE

      public static final ConstructError CONSTRUCT_CONTAINS_NESTED_TYPE
    • CONSTRUCT_NONEXISTENT_COLUMN

      public static final ConstructError CONSTRUCT_NONEXISTENT_COLUMN
  • Method Details

    • values

      public static ConstructError[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ConstructError valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getMsg

      public String getMsg()
      Specified by:
      getMsg in interface UserMessage