Class Validate
- java.lang.Object
-
- org.openprovenance.prov.validation.Validate
-
public class Validate extends Object
-
-
Field Summary
Fields Modifier and Type Field Description ConstraintsconstraintsEventIndexerevtIdxIndexerindstatic StringlongValidatorVersionstatic StringlongVersionTypestypeCheckerUniquenessuniqstatic StringvalidatorVersion
-
Method Summary
Modifier and Type Method Description DocumentcompleteDocument()ConstraintsgetConstraints()DependenciesgetCyclicEvents(List<Integer> l)EventIndexergetEventIndexer()IndexergetIndexer()InferencegetInference()ValidationReportgetReport()Pair<ValidationReport,Document>validate(List<Statement> statements, boolean isDocument)ValidationReportvalidate(Document b)
-
-
-
Field Detail
-
validatorVersion
public static final String validatorVersion
-
longValidatorVersion
public static final String longValidatorVersion
-
longVersion
public static final String longVersion
-
ind
public final Indexer ind
-
uniq
public final Uniqueness uniq
-
evtIdx
public final EventIndexer evtIdx
-
typeChecker
public final Types typeChecker
-
constraints
public Constraints constraints
-
-
Constructor Detail
-
Validate
public Validate(Config config)
-
-
Method Detail
-
getIndexer
public Indexer getIndexer()
-
getConstraints
public Constraints getConstraints()
-
getEventIndexer
public EventIndexer getEventIndexer()
-
getInference
public Inference getInference()
-
validate
public ValidationReport validate(Document b) throws IOException
- Throws:
IOException
-
validate
public Pair<ValidationReport,Document> validate(List<Statement> statements, boolean isDocument) throws IOException
- Throws:
IOException
-
getReport
public ValidationReport getReport()
-
getCyclicEvents
public Dependencies getCyclicEvents(List<Integer> l)
-
completeDocument
public Document completeDocument()
-
-