Package org.openprovenance.prov.dot
Class Map
- java.lang.Object
-
- org.openprovenance.prov.dot.Map
-
public class Map extends Object implements Equals, HashCode, ToString
Java class for Map complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Map"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="map" type="{http://openprovenance.org/model/opmPrinterConfig}MapEntry" maxOccurs="unbounded" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Map()
-
Method Summary
Modifier and Type Method Description booleanequals(Object object)voidequals(Object object, EqualsBuilder equalsBuilder)List<MapEntry>getMap()Gets the value of the map property.inthashCode()voidhashCode(HashCodeBuilder hashCodeBuilder)StringtoString()voidtoString(ToStringBuilder toStringBuilder)
-
-
-
Method Detail
-
getMap
public List<MapEntry> getMap()
Gets the value of the map 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 map property.For example, to add a new item, do as follows:
getMap().add(newItem);Objects of the following type(s) are allowed in the list
MapEntry
-
equals
public void equals(Object object, EqualsBuilder equalsBuilder)
-
hashCode
public void hashCode(HashCodeBuilder hashCodeBuilder)
-
toString
public void toString(ToStringBuilder toStringBuilder)
-
-