Package org.openprovenance.prov.dot
Class AccountMap
- java.lang.Object
-
- org.openprovenance.prov.dot.AccountMap
-
public class AccountMap extends Object implements Equals, HashCode, ToString
Java class for AccountMap complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AccountMap"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="account" type="{http://openprovenance.org/model/opmPrinterConfig}AccountColorMapEntry" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="defaultAccount" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="defaultColor" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected List<AccountColorMapEntry>accountprotected StringdefaultAccountprotected StringdefaultColor
-
Constructor Summary
Constructors Constructor Description AccountMap()
-
Method Summary
Modifier and Type Method Description booleanequals(Object object)voidequals(Object object, EqualsBuilder equalsBuilder)List<AccountColorMapEntry>getAccount()Gets the value of the account property.StringgetDefaultAccount()Gets the value of the defaultAccount property.StringgetDefaultColor()Gets the value of the defaultColor property.inthashCode()voidhashCode(HashCodeBuilder hashCodeBuilder)voidsetDefaultAccount(String value)Sets the value of the defaultAccount property.voidsetDefaultColor(String value)Sets the value of the defaultColor property.StringtoString()voidtoString(ToStringBuilder toStringBuilder)
-
-
-
Field Detail
-
account
protected List<AccountColorMapEntry> account
-
defaultAccount
protected String defaultAccount
-
defaultColor
protected String defaultColor
-
-
Method Detail
-
getAccount
public List<AccountColorMapEntry> getAccount()
Gets the value of the account 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 account property.For example, to add a new item, do as follows:
getAccount().add(newItem);Objects of the following type(s) are allowed in the list
AccountColorMapEntry
-
getDefaultAccount
public String getDefaultAccount()
Gets the value of the defaultAccount property.- Returns:
- possible object is
String
-
setDefaultAccount
public void setDefaultAccount(String value)
Sets the value of the defaultAccount property.- Parameters:
value- allowed object isString
-
getDefaultColor
public String getDefaultColor()
Gets the value of the defaultColor property.- Returns:
- possible object is
String
-
setDefaultColor
public void setDefaultColor(String value)
Sets the value of the defaultColor 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)
-
-