public class SubCorpusType extends Object
Java class for subCorpusType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="subCorpusType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="sentence" type="{http://framenet.icsi.berkeley.edu}sentenceType" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected List<SentenceType> |
sentence |
Constructor and Description |
---|
SubCorpusType() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the value of the name property.
|
List<SentenceType> |
getSentence()
Gets the value of the sentence property.
|
void |
setName(String value)
Sets the value of the name property.
|
protected List<SentenceType> sentence
protected String name
public List<SentenceType> getSentence()
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 sentence property.
For example, to add a new item, do as follows:
getSentence().add(newItem);
Objects of the following type(s) are allowed in the list
SentenceType
public String getName()
String
Copyright © 2016–2020 FBK. All rights reserved.