Package org.openprovenance.prov.dot
Class EntityMap
- java.lang.Object
-
- org.openprovenance.prov.dot.EntityMap
-
public class EntityMap extends Object implements Equals, HashCode, ToString
Java class for EntityMap complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EntityMap"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="entity" type="{http://openprovenance.org/model/opmPrinterConfig}EntityMapEntry" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="displayValue" type="{http://www.w3.org/2001/XMLSchema}boolean" /> <attribute name="coloredAsAccount" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleancoloredAsAccountprotected BooleandisplayValueprotected List<EntityMapEntry>entity
-
Constructor Summary
Constructors Constructor Description EntityMap()
-
Method Summary
Modifier and Type Method Description booleanequals(Object object)voidequals(Object object, EqualsBuilder equalsBuilder)List<EntityMapEntry>getEntity()Gets the value of the entity property.inthashCode()voidhashCode(HashCodeBuilder hashCodeBuilder)BooleanisColoredAsAccount()Gets the value of the coloredAsAccount property.BooleanisDisplayValue()Gets the value of the displayValue property.voidsetColoredAsAccount(Boolean value)Sets the value of the coloredAsAccount property.voidsetDisplayValue(Boolean value)Sets the value of the displayValue property.StringtoString()voidtoString(ToStringBuilder toStringBuilder)
-
-
-
Field Detail
-
entity
protected List<EntityMapEntry> entity
-
displayValue
protected Boolean displayValue
-
coloredAsAccount
protected Boolean coloredAsAccount
-
-
Method Detail
-
getEntity
public List<EntityMapEntry> getEntity()
Gets the value of the entity 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 entity property.For example, to add a new item, do as follows:
getEntity().add(newItem);Objects of the following type(s) are allowed in the list
EntityMapEntry
-
isDisplayValue
public Boolean isDisplayValue()
Gets the value of the displayValue property.- Returns:
- possible object is
Boolean
-
setDisplayValue
public void setDisplayValue(Boolean value)
Sets the value of the displayValue property.- Parameters:
value- allowed object isBoolean
-
isColoredAsAccount
public Boolean isColoredAsAccount()
Gets the value of the coloredAsAccount property.- Returns:
- possible object is
Boolean
-
setColoredAsAccount
public void setColoredAsAccount(Boolean value)
Sets the value of the coloredAsAccount property.- Parameters:
value- allowed object isBoolean
-
equals
public void equals(Object object, EqualsBuilder equalsBuilder)
-
hashCode
public void hashCode(HashCodeBuilder hashCodeBuilder)
-
toString
public void toString(ToStringBuilder toStringBuilder)
-
-