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