Class TypeOverlap
- java.lang.Object
-
- org.openprovenance.prov.validation.report.TypeOverlap
-
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>
-
-
Constructor Summary
Constructors Constructor Description TypeOverlap()
-
Method Summary
Modifier and Type Method Description booleanequals(Object object)voidequals(Object object, EqualsBuilder equalsBuilder)StringgetKey()Gets the value of the key property.List<String>getType()Gets the value of the type property.inthashCode()voidhashCode(HashCodeBuilder hashCodeBuilder)voidsetKey(String value)Sets the value of the key property.StringtoString()voidtoString(ToStringBuilder toStringBuilder)
-
-
-
Method Detail
-
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
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
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 isString
-
equals
public void equals(Object object, EqualsBuilder equalsBuilder)
-
hashCode
public void hashCode(HashCodeBuilder hashCodeBuilder)
-
toString
public void toString(ToStringBuilder toStringBuilder)
-
-