org.openprovenance.model.printer
Class AgentMap

java.lang.Object
  extended by org.openprovenance.model.printer.AgentMap
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class AgentMap
extends Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.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
protected  List<AgentMapEntry> agent
           
protected  Boolean coloredAsAccount
           
protected  Boolean displayValue
           
 
Constructor Summary
AgentMap()
           
 
Method Summary
 boolean equals(Object object)
           
 void equals(Object object, EqualsBuilder equalsBuilder)
           
 List<AgentMapEntry> getAgent()
          Gets the value of the agent property.
 int hashCode()
           
 void hashCode(HashCodeBuilder hashCodeBuilder)
           
 Boolean isColoredAsAccount()
          Gets the value of the coloredAsAccount property.
 Boolean isDisplayValue()
          Gets the value of the displayValue property.
 void setColoredAsAccount(Boolean value)
          Sets the value of the coloredAsAccount property.
 void setDisplayValue(Boolean value)
          Sets the value of the displayValue property.
 String toString()
           
 void toString(ToStringBuilder toStringBuilder)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

agent

protected List<AgentMapEntry> agent

displayValue

protected Boolean displayValue

coloredAsAccount

protected Boolean coloredAsAccount
Constructor Detail

AgentMap

public AgentMap()
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 set method 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 is Boolean

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 is Boolean

equals

public void equals(Object object,
                   EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public void hashCode(HashCodeBuilder hashCodeBuilder)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public void toString(ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.