starlink.AbstractMessage
Class StructuredField

java.lang.Object
  extended by starlink.AbstractMessage.StructuredField

public class StructuredField
extends java.lang.Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element ref="{}Field" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<Field> field
           
protected  java.lang.String label
           
 
Constructor Summary
StructuredField()
           
 
Method Summary
 java.util.List<Field> getField()
          Gets the value of the field property.
 java.lang.String getLabel()
          Gets the value of the label property.
 void setLabel(java.lang.String value)
          Sets the value of the label property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

label

protected java.lang.String label

field

protected java.util.List<Field> field
Constructor Detail

StructuredField

public StructuredField()
Method Detail

getLabel

public java.lang.String getLabel()
Gets the value of the label property.

Returns:
possible object is String

setLabel

public void setLabel(java.lang.String value)
Sets the value of the label property.

Parameters:
value - allowed object is String

getField

public java.util.List<Field> getField()
Gets the value of the field 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 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