Class TypeOverlap

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

public class TypeOverlap extends Object implements Equals, HashCode, ToString

Java class for TypeOverlap complex type.

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

 <complexType name="TypeOverlap">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • TypeOverlap

      public TypeOverlap()
  • Method Details

    • getType

      public List<String> getType()
      Gets the value of the type 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 type property.

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

          getType().add(newItem);
       

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

      Returns:
      a list of types
    • getKey

      public String getKey()
      Gets the value of the key property.
      Returns:
      possible object is String
    • setKey

      public void setKey(String value)
      Sets the value of the key property.
      Parameters:
      value - allowed object is String
    • 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