All Downloads are FREE. Search and download functionalities are using the official Maven repository.

eu.fbk.dkm.pikes.resources.ontonotes.frames.Roles Maven / Gradle / Ivy

Go to download

A collection of Java classes for accessing and querying a number of NLP resources.

The newest version!
//
// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.8-b130911.1802 
// Vedere http://java.sun.com/xml/jaxb 
// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. 
// Generato il: 2015.05.07 alle 12:32:49 PM CEST 
//


package eu.fbk.dkm.pikes.resources.ontonotes.frames;

import javax.xml.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;


/**
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "noteOrRole"
})
@XmlRootElement(name = "roles")
public class Roles {

    @XmlElements({
        @XmlElement(name = "note", type = Note.class),
        @XmlElement(name = "role", type = Role.class)
    })
    protected List noteOrRole;

    /**
     * Gets the value of the noteOrRole 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 set method for the noteOrRole property. * *

* For example, to add a new item, do as follows: *

     *    getNoteOrRole().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Note } * {@link Role } * * */ public List getNoteOrRole() { if (noteOrRole == null) { noteOrRole = new ArrayList(); } return this.noteOrRole; } }