Class ValidationReport

java.lang.Object
org.openprovenance.prov.validation.report.ValidationReport
All Implemented Interfaces:
Equals, HashCode, ToString

public class ValidationReport extends Object implements Equals, HashCode, ToString

Java class for ValidationReport complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ValidationReport">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="cycle" type="{http://openprovenance.org/validation#}Dependencies" maxOccurs="unbounded" minOccurs="0"/>
         <element name="nonStrictCycle" type="{http://openprovenance.org/validation#}Dependencies" maxOccurs="unbounded" minOccurs="0"/>
         <element name="failedMerge" type="{http://openprovenance.org/validation#}MergeReport" maxOccurs="unbounded" minOccurs="0"/>
         <element name="successfulMerge" type="{http://openprovenance.org/validation#}MergeReport" maxOccurs="unbounded" minOccurs="0"/>
         <element name="qualifiedNameMismatch" type="{http://openprovenance.org/validation#}MergeReport" maxOccurs="unbounded" minOccurs="0"/>
         <element name="specializationReport" type="{http://openprovenance.org/validation#}SpecializationReport"/>
         <element name="typeReport" type="{http://openprovenance.org/validation#}TypeReport"/>
         <element name="typeOverlap" type="{http://openprovenance.org/validation#}TypeOverlap" maxOccurs="unbounded" minOccurs="0"/>
         <element name="validationReport" type="{http://openprovenance.org/validation#}ValidationReport" maxOccurs="unbounded" minOccurs="0"/>
         <element name="malformedStatements" type="{http://openprovenance.org/validation#}MalformedStatements" minOccurs="0"/>
         <element name="deposited" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element ref="{http://www.w3.org/ns/prov#}document"/>
       </sequence>
       <attribute ref="{http://www.w3.org/ns/prov#}id"/>
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • ValidationReport

      public ValidationReport()
  • Method Details

    • getNamespace

      public Namespace getNamespace()
    • setNamespace

      public void setNamespace(Namespace namespace)
    • getCycle

      public List<Dependencies> getCycle()
      Gets the value of the cycle property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the cycle property.

      For example, to add a new item, do as follows:

          getCycle().add(newItem);
       

      Returns:
      Objects of the following type(s) are allowed in the list Dependencies
    • getNonStrictCycle

      public List<Dependencies> getNonStrictCycle()
      Gets the value of the nonStrictCycle property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the nonStrictCycle property.

      For example, to add a new item, do as follows:

          getNonStrictCycle().add(newItem);
       

      Returns:
      Objects of the following type(s) are allowed in the list Dependencies
    • getFailedMerge

      public List<MergeReport> getFailedMerge()
      Gets the value of the failedMerge property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the failedMerge property.

      For example, to add a new item, do as follows:

          getFailedMerge().add(newItem);
       

      Returns:
      Objects of the following type(s) are allowed in the list MergeReport
    • getSuccessfulMerge

      public List<MergeReport> getSuccessfulMerge()
      Gets the value of the successfulMerge property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the successfulMerge property.

      For example, to add a new item, do as follows:

          getSuccessfulMerge().add(newItem);
       

      Returns:
      Objects of the following type(s) are allowed in the list MergeReport
    • getQualifiedNameMismatch

      public List<MergeReport> getQualifiedNameMismatch()
      Gets the value of the qualifiedNameMismatch property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the qualifiedNameMismatch property.

      For example, to add a new item, do as follows:

          getQualifiedNameMismatch().add(newItem);
       

      Returns:
      Objects of the following type(s) are allowed in the list MergeReport
    • getSpecializationReport

      public SpecializationReport getSpecializationReport()
      Gets the value of the specializationReport property.
      Returns:
      possible object is SpecializationReport
    • setSpecializationReport

      public void setSpecializationReport(SpecializationReport value)
      Sets the value of the specializationReport property.
      Parameters:
      value - allowed object is SpecializationReport
    • getTypeReport

      public TypeReport getTypeReport()
      Gets the value of the typeReport property.
      Returns:
      possible object is TypeReport
    • setTypeReport

      public void setTypeReport(TypeReport value)
      Sets the value of the typeReport property.
      Parameters:
      value - allowed object is TypeReport
    • getTypeOverlap

      public List<TypeOverlap> getTypeOverlap()
      Gets the value of the typeOverlap property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the typeOverlap property.

      For example, to add a new item, do as follows:

          getTypeOverlap().add(newItem);
       

      Objects of the following type(s) are allowed in the list TypeOverlap

      Returns:
      a list of TypeOverlap structures
    • getValidationReport

      public List<ValidationReport> getValidationReport()
      Gets the value of the validationReport property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the validationReport property.

      For example, to add a new item, do as follows:

          getValidationReport().add(newItem);
       

      Objects of the following type(s) are allowed in the list ValidationReport

      Returns:
      a list of validation reports
    • getMalformedStatements

      public MalformedStatements getMalformedStatements()
      Gets the value of the malformedStatements property.
      Returns:
      possible object is MalformedStatements
    • setMalformedStatements

      public void setMalformedStatements(MalformedStatements value)
      Sets the value of the malformedStatements property.
      Parameters:
      value - allowed object is MalformedStatements
    • isDeposited

      public boolean isDeposited()
      Gets the value of the deposited property.
      Returns:
      boolean
    • setDeposited

      public void setDeposited(boolean value)
      Sets the value of the deposited property.
      Parameters:
      value - a boolean
    • getDocument

      public Document getDocument()
      Gets the value of the document property.
      Returns:
      possible object is Document
    • setDocument

      public void setDocument(Document value)
      Sets the value of the document property.
      Parameters:
      value - allowed object is Document
    • getId

      public QualifiedName getId()
      Gets the value of the id property.
      Returns:
      possible object is QName
    • setId

      public void setId(QualifiedName qnId)
    • equals

      public void equals(Object object, EqualsBuilder equalsBuilder)
      Specified by:
      equals in interface Equals
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public void hashCode(HashCodeBuilder hashCodeBuilder)
      Specified by:
      hashCode in interface HashCode
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public void toString(ToStringBuilder toStringBuilder)
      Specified by:
      toString in interface ToString
    • toString

      public String toString()
      Overrides:
      toString in class Object