public class Keybase extends Annotated
Java class for keybase complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="keybase">
<complexContent>
<extension base="{http://www.w3.org/2001/XMLSchema}annotated">
<sequence>
<element ref="{http://www.w3.org/2001/XMLSchema}selector"/>
<element ref="{http://www.w3.org/2001/XMLSchema}field" maxOccurs="unbounded"/>
</sequence>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Field> |
fields |
protected String |
name |
protected Selector |
selector |
annotation, id| Constructor and Description |
|---|
Keybase() |
| Modifier and Type | Method and Description |
|---|---|
List<Field> |
getFields()
Gets the value of the fields property.
|
String |
getName()
Gets the value of the name property.
|
Selector |
getSelector()
Gets the value of the selector property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setSelector(Selector value)
Sets the value of the selector property.
|
getAnnotation, getId, setAnnotation, setIdgetOtherAttributespublic Selector getSelector()
Selectorpublic void setSelector(Selector value)
value - allowed object is
Selectorpublic List<Field> getFields()
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 fields property.
For example, to add a new item, do as follows:
getFields().add(newItem);
Objects of the following type(s) are allowed in the list
Field
public String getName()
StringCopyright © 2017. All rights reserved.