Package org.openprovenance.prov.dot
Class AgentMap
- java.lang.Object
-
- org.openprovenance.prov.dot.AgentMap
-
public class AgentMap extends Object implements Equals, HashCode, ToString
Java class for AgentMap complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AgentMap"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="agent" type="{http://openprovenance.org/model/opmPrinterConfig}AgentMapEntry" 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 List<AgentMapEntry>agentprotected BooleancoloredAsAccountprotected BooleandisplayValue
-
Constructor Summary
Constructors Constructor Description AgentMap()
-
Method Summary
Modifier and Type Method Description booleanequals(Object object)voidequals(Object object, EqualsBuilder equalsBuilder)List<AgentMapEntry>getAgent()Gets the value of the agent 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
-
agent
protected List<AgentMapEntry> agent
-
displayValue
protected Boolean displayValue
-
coloredAsAccount
protected Boolean coloredAsAccount
-
-
Method Detail
-
getAgent
public List<AgentMapEntry> getAgent()
Gets the value of the agent 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 agent property.For example, to add a new item, do as follows:
getAgent().add(newItem);Objects of the following type(s) are allowed in the list
AgentMapEntry
-
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)
-
-