Class TypeOverlap
java.lang.Object
org.openprovenance.prov.validation.report.TypeOverlap
- All Implemented Interfaces:
org.openprovenance.apache.commons.lang.builder.Equals,org.openprovenance.apache.commons.lang.builder.HashCode,org.openprovenance.apache.commons.lang.builder.ToString
public class TypeOverlap
extends Object
implements org.openprovenance.apache.commons.lang.builder.Equals, org.openprovenance.apache.commons.lang.builder.HashCode, org.openprovenance.apache.commons.lang.builder.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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidgetKey()Gets the value of the key property.getType()Gets the value of the type property.inthashCode()voidhashCode(org.openprovenance.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder) voidSets the value of the key property.toString()voidtoString(org.openprovenance.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
-
Field Details
-
type
-
key
-
-
Constructor Details
-
TypeOverlap
public TypeOverlap()
-
-
Method Details
-
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
setmethod 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
-
setKey
-
equals
public void equals(Object object, org.openprovenance.apache.commons.lang.builder.EqualsBuilder equalsBuilder) - Specified by:
equalsin interfaceorg.openprovenance.apache.commons.lang.builder.Equals
-
equals
-
hashCode
public void hashCode(org.openprovenance.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder) - Specified by:
hashCodein interfaceorg.openprovenance.apache.commons.lang.builder.HashCode
-
hashCode
-
toString
public void toString(org.openprovenance.apache.commons.lang.builder.ToStringBuilder toStringBuilder) - Specified by:
toStringin interfaceorg.openprovenance.apache.commons.lang.builder.ToString
-
toString
-