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