|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openprovenance.model.printer.AccountMap
public class AccountMap
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 | |
|---|---|
protected List<AccountColorMapEntry> |
account
|
protected String |
defaultAccount
|
protected String |
defaultColor
|
| Constructor Summary | |
|---|---|
AccountMap()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
void |
equals(Object object,
EqualsBuilder equalsBuilder)
|
List<AccountColorMapEntry> |
getAccount()
Gets the value of the account property. |
String |
getDefaultAccount()
Gets the value of the defaultAccount property. |
String |
getDefaultColor()
Gets the value of the defaultColor property. |
int |
hashCode()
|
void |
hashCode(HashCodeBuilder hashCodeBuilder)
|
void |
setDefaultAccount(String value)
Sets the value of the defaultAccount property. |
void |
setDefaultColor(String value)
Sets the value of the defaultColor property. |
String |
toString()
|
void |
toString(ToStringBuilder toStringBuilder)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected List<AccountColorMapEntry> account
protected String defaultAccount
protected String defaultColor
| Constructor Detail |
|---|
public AccountMap()
| Method Detail |
|---|
public List<AccountColorMapEntry> getAccount()
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 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
public String getDefaultAccount()
Stringpublic void setDefaultAccount(String value)
value - allowed object is
Stringpublic String getDefaultColor()
Stringpublic void setDefaultColor(String value)
value - allowed object is
String
public void equals(Object object,
EqualsBuilder equalsBuilder)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(Object object)
equals in class Objectpublic void hashCode(HashCodeBuilder hashCodeBuilder)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class Objectpublic void toString(ToStringBuilder toStringBuilder)
toString in interface org.jvnet.jaxb2_commons.lang.ToStringpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||