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>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
coloredAsAccount |
protected Boolean |
displayValue |
protected List<EntityMapEntry> |
entity |
| Constructor and Description |
|---|
EntityMap() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
void |
equals(Object object,
org.apache.commons.lang.builder.EqualsBuilder equalsBuilder) |
List<EntityMapEntry> |
getEntity()
Gets the value of the entity property.
|
int |
hashCode() |
void |
hashCode(org.apache.commons.lang.builder.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(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder) |
protected List<EntityMapEntry> entity
protected Boolean displayValue
protected Boolean coloredAsAccount
public List<EntityMapEntry> getEntity()
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 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
public Boolean isDisplayValue()
Booleanpublic void setDisplayValue(Boolean value)
value - allowed object is
Booleanpublic Boolean isColoredAsAccount()
Booleanpublic void setColoredAsAccount(Boolean value)
value - allowed object is
Booleanpublic void equals(Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Copyright © 2015. All rights reserved.