Package org.eclipse.rdf4j.spin

## Class ConstraintViolation

- java.lang.Object
- - org.eclipse.rdf4j.spin.ConstraintViolation

- All Implemented Interfaces:
    `Serializable`

      public class ConstraintViolation
      extends Object
      implements Serializable

  Class to store SPIN constraint violation RDF statements.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ConstraintViolation​(String message, String root, String path, String value, ConstraintViolationLevel level)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ConstraintViolationLevel` | `getLevel()` |
    `String` | `getMessage()` |
    `String` | `getPath()` |
    `String` | `getRoot()` |
    `String` | `getValue()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ConstraintViolation

          public ConstraintViolation​(String message,
                                     String root,
                                     String path,
                                     String value,
                                     ConstraintViolationLevel level)

  - ### Method Detail

    - #### getMessage

          public String getMessage()

    - #### getRoot

          public String getRoot()

    - #### getPath

          public String getPath()

    - #### getValue

          public String getValue()

    - #### getLevel

          public ConstraintViolationLevel getLevel()