Class ValidationResult

java.lang.Object
com.janeirodigital.shapetrees.core.validation.ValidationResult

public class ValidationResult extends Object
  • Constructor Details

    • ValidationResult

      public ValidationResult(boolean valid, String message)
    • ValidationResult

      public ValidationResult(boolean valid, ShapeTree validatingShapeTree, String message)
    • ValidationResult

      public ValidationResult(boolean valid, ShapeTree validatingShapeTree, ShapeTree matchingShapeTree, URL matchingFocusNode)
    • ValidationResult

      public ValidationResult(boolean valid, ShapeTree validatingShapeTree, ShapeTree matchingShapeTree, ShapeTreeAssignment managingAssignment, URL matchingFocusNode, String message)
  • Method Details

    • isValid

      public boolean isValid()
    • getValidatingShapeTree

      public ShapeTree getValidatingShapeTree()
    • getMatchingShapeTree

      public ShapeTree getMatchingShapeTree()
    • getManagingAssignment

      public ShapeTreeAssignment getManagingAssignment()
    • getMatchingFocusNode

      public URL getMatchingFocusNode()
    • getMessage

      public String getMessage()