org.spase.parser134
Class Annotation

java.lang.Object
  extended by org.spase.parser134.Annotation

public class Annotation
extends java.lang.Object

Information which is explanatory or descriptive which is associated with another resource.

Java class for Annotation complex type.

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

 <complexType name="Annotation">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.spase-group.org/data/schema}ResourceID"/>
         <element ref="{http://www.spase-group.org/data/schema}ResourceHeader"/>
         <element ref="{http://www.spase-group.org/data/schema}AnnotationType"/>
         <element ref="{http://www.spase-group.org/data/schema}PhenomenonType" minOccurs="0"/>
         <element ref="{http://www.spase-group.org/data/schema}ConfidenceRating" minOccurs="0"/>
         <element ref="{http://www.spase-group.org/data/schema}TimeSpan" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  EnumAnnotationType annotationType
           
protected  EnumConfidenceRating confidenceRating
           
protected  EnumPhenomenonType phenomenonType
           
protected  ResourceHeader resourceHeader
           
protected  java.lang.String resourceID
           
protected  java.util.List<TimeSpan> timeSpan
           
 
Constructor Summary
Annotation()
           
 
Method Summary
 EnumAnnotationType getAnnotationType()
          Gets the value of the annotationType property.
 EnumConfidenceRating getConfidenceRating()
          Gets the value of the confidenceRating property.
 EnumPhenomenonType getPhenomenonType()
          Gets the value of the phenomenonType property.
 ResourceHeader getResourceHeader()
          Gets the value of the resourceHeader property.
 java.lang.String getResourceID()
          Gets the value of the resourceID property.
 java.util.List<TimeSpan> getTimeSpan()
          Gets the value of the timeSpan property.
 void setAnnotationType(EnumAnnotationType value)
          Sets the value of the annotationType property.
 void setConfidenceRating(EnumConfidenceRating value)
          Sets the value of the confidenceRating property.
 void setPhenomenonType(EnumPhenomenonType value)
          Sets the value of the phenomenonType property.
 void setResourceHeader(ResourceHeader value)
          Sets the value of the resourceHeader property.
 void setResourceID(java.lang.String value)
          Sets the value of the resourceID property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resourceID

protected java.lang.String resourceID

resourceHeader

protected ResourceHeader resourceHeader

annotationType

protected EnumAnnotationType annotationType

phenomenonType

protected EnumPhenomenonType phenomenonType

confidenceRating

protected EnumConfidenceRating confidenceRating

timeSpan

protected java.util.List<TimeSpan> timeSpan
Constructor Detail

Annotation

public Annotation()
Method Detail

getResourceID

public java.lang.String getResourceID()
Gets the value of the resourceID property.

Returns:
possible object is String

setResourceID

public void setResourceID(java.lang.String value)
Sets the value of the resourceID property.

Parameters:
value - allowed object is String

getResourceHeader

public ResourceHeader getResourceHeader()
Gets the value of the resourceHeader property.

Returns:
possible object is ResourceHeader

setResourceHeader

public void setResourceHeader(ResourceHeader value)
Sets the value of the resourceHeader property.

Parameters:
value - allowed object is ResourceHeader

getAnnotationType

public EnumAnnotationType getAnnotationType()
Gets the value of the annotationType property.

Returns:
possible object is EnumAnnotationType

setAnnotationType

public void setAnnotationType(EnumAnnotationType value)
Sets the value of the annotationType property.

Parameters:
value - allowed object is EnumAnnotationType

getPhenomenonType

public EnumPhenomenonType getPhenomenonType()
Gets the value of the phenomenonType property.

Returns:
possible object is EnumPhenomenonType

setPhenomenonType

public void setPhenomenonType(EnumPhenomenonType value)
Sets the value of the phenomenonType property.

Parameters:
value - allowed object is EnumPhenomenonType

getConfidenceRating

public EnumConfidenceRating getConfidenceRating()
Gets the value of the confidenceRating property.

Returns:
possible object is EnumConfidenceRating

setConfidenceRating

public void setConfidenceRating(EnumConfidenceRating value)
Sets the value of the confidenceRating property.

Parameters:
value - allowed object is EnumConfidenceRating

getTimeSpan

public java.util.List<TimeSpan> getTimeSpan()
Gets the value of the timeSpan 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 timeSpan property.

For example, to add a new item, do as follows:

    getTimeSpan().add(newItem);
 

Objects of the following type(s) are allowed in the list TimeSpan