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>
Modifier and Type | Field and Description |
---|---|
protected String |
_default |
protected List<RelationStyleMapEntry> |
relation |
Constructor and Description |
---|
RelationStyleMap() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
void |
equals(Object object,
org.apache.commons.lang.builder.EqualsBuilder equalsBuilder) |
String |
getDefault()
Gets the value of the default property.
|
List<RelationStyleMapEntry> |
getRelation()
Gets the value of the relation property.
|
int |
hashCode() |
void |
hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder) |
void |
setDefault(String value)
Sets the value of the default property.
|
String |
toString() |
void |
toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder) |
protected List<RelationStyleMapEntry> relation
protected String _default
public List<RelationStyleMapEntry> getRelation()
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 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
public String getDefault()
String
public void setDefault(String value)
value
- allowed object is
String
public 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 © 2016. All rights reserved.