org.plasma.xml.schema
Class Keybase

java.lang.Object
  extended by org.plasma.xml.schema.OpenAttrs
      extended by org.plasma.xml.schema.Annotated
          extended by org.plasma.xml.schema.Keybase
Direct Known Subclasses:
Keyref

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>
 


Field Summary
protected  List<Field> fields
           
protected  String name
           
protected  Selector selector
           
 
Fields inherited from class org.plasma.xml.schema.Annotated
annotation, id
 
Constructor Summary
Keybase()
           
 
Method Summary
 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.
 
Methods inherited from class org.plasma.xml.schema.Annotated
getAnnotation, getId, setAnnotation, setId
 
Methods inherited from class org.plasma.xml.schema.OpenAttrs
getOtherAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selector

protected Selector selector

fields

protected List<Field> fields

name

protected String name
Constructor Detail

Keybase

public Keybase()
Method Detail

getSelector

public Selector getSelector()
Gets the value of the selector property.

Returns:
possible object is Selector

setSelector

public void setSelector(Selector value)
Sets the value of the selector property.

Parameters:
value - allowed object is Selector

getFields

public List<Field> getFields()
Gets the value of the fields 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 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


getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String


Copyright © 2013. All rights reserved.