// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2015.08.03 at 06:08:32 PM CEST // package eu.fbk.knowledgestore.populator.naf.model; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElements; import javax.xml.bind.annotation.XmlID; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "externalReferences","span" }) @XmlRootElement(name = "role") public class Role { @XmlAttribute(name = "id", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID protected String id; @XmlAttribute(name = "uri") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String uri; @XmlAttribute(name = "confidence") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String confidence; @XmlAttribute(name = "semRole", required = true) @XmlJavaTypeAdapter(NormalizedStringAdapter.class) protected String semRole; @XmlElement(name = "externalReferences", required = true, type = ExternalReferences.class) protected List<ExternalReferences> externalReferences; @XmlElement(name = "span", type = Span.class) protected Span span; /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the uri property. * * @return * possible object is * {@link String } * */ public String getUri() { return uri; } /** * Sets the value of the uri property. * * @param value * allowed object is * {@link String } * */ public void setUri(String value) { this.uri = value; } /** * Gets the value of the confidence property. * * @return * possible object is * {@link String } * */ public String getConfidence() { return confidence; } /** * Sets the value of the confidence property. * * @param value * allowed object is * {@link String } * */ public void setConfidence(String value) { this.confidence = value; } /** * Gets the value of the semRole property. * * @return * possible object is * {@link String } * */ public String getSemRole() { return semRole; } /** * Sets the value of the semRole property. * * @param value * allowed object is * {@link String } * */ public void setSemRole(String value) { this.semRole = value; } public List<ExternalReferences> getExternalReferences() { if (externalReferences == null) { externalReferences = new ArrayList<ExternalReferences>(); } return externalReferences; } public void setExternalReferences(List<ExternalReferences> externalReferences) { this.externalReferences = externalReferences; } public Span getSpan() { return span; } public void setSpan(Span span) { this.span = span; } }