@Contract @Hk2XmlPreGenerate public interface 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" /> <anyAttribute processContents='lax' namespace='##other'/> </extension> </complexContent> </complexType>
Modifier and Type | Method and Description |
---|---|
List<Field> |
getField()
Gets the value of the field 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, setId
getOtherAttributes, setOtherAttributes
Selector getSelector()
Selector
void setSelector(Selector value)
value
- allowed object is
Selector
List<Field> getField()
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 field property.
For example, to add a new item, do as follows:
getField().add(newItem);
Objects of the following type(s) are allowed in the list
Field
Copyright © 2009–2023 Oracle Corporation. All rights reserved.