Class ValidationResult


  • public class ValidationResult
    extends Object
    The result of a validation operation. A validation result corresponds to the most granular level of information communicated in the validation report.
    Author:
    dbernstein
    • Method Detail

      • getIndex

        public int getIndex()
        An index number
        Returns:
      • getDetails

        public String getDetails()
        A detailed description of the result
        Returns:
      • getSourceObjectId

        public String getSourceObjectId()
        The source object ID
        Returns:
        The source ID
      • getTargetObjectId

        public String getTargetObjectId()
        The target object ID (ie the OCFL root object)
        Returns:
        The target ID
      • getSourceResourceId

        public String getSourceResourceId()
        The full resource ID of a source resource. Returns non-null for OBJECT_RESOURCE level results, otherwise null.
        Returns:
        The resource ID
      • getTargetResourceId

        public String getTargetResourceId()
        The full resource ID of a target resource. Returns non-null for OBJECT_RESOURCE level results, otherwise null.
        Returns:
        The resource ID