org.spase.parser134
Class Granule

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

public class Granule
extends java.lang.Object

An accessible portion of another resource. A Granule may be composed of one or more physical pieces (files) which are considered inseperable. For example, a data storage format that maintains metadata and binary data in seperate, but tightly coupled files. Granules should not be used to group files that have simple relationships or which are associated through a parent resource. For example, each file containing a time interval data for a Numerical Data resource would each be considered a Granule. The ParentID of a Granule resource must be a NumericalData resource. The attributes of a Granule supersede the corresponding attributes in the NumericalData resource.

Java class for Granule complex type.

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

 <complexType name="Granule">
   <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}ReleaseDate"/>
         <element ref="{http://www.spase-group.org/data/schema}ExpirationDate" minOccurs="0"/>
         <element ref="{http://www.spase-group.org/data/schema}ParentID"/>
         <element ref="{http://www.spase-group.org/data/schema}PriorID" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.spase-group.org/data/schema}StartDate"/>
         <element ref="{http://www.spase-group.org/data/schema}StopDate"/>
         <element ref="{http://www.spase-group.org/data/schema}Source" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  javax.xml.datatype.XMLGregorianCalendar expirationDate
           
protected  java.lang.String parentID
           
protected  java.util.List<java.lang.String> priorID
           
protected  javax.xml.datatype.XMLGregorianCalendar releaseDate
           
protected  java.lang.String resourceID
           
protected  java.util.List<Source> source
           
protected  javax.xml.datatype.XMLGregorianCalendar startDate
           
protected  javax.xml.datatype.XMLGregorianCalendar stopDate
           
 
Constructor Summary
Granule()
           
 
Method Summary
 javax.xml.datatype.XMLGregorianCalendar getExpirationDate()
          Gets the value of the expirationDate property.
 java.lang.String getParentID()
          Gets the value of the parentID property.
 java.util.List<java.lang.String> getPriorID()
          Gets the value of the priorID property.
 javax.xml.datatype.XMLGregorianCalendar getReleaseDate()
          Gets the value of the releaseDate property.
 java.lang.String getResourceID()
          Gets the value of the resourceID property.
 java.util.List<Source> getSource()
          Gets the value of the source property.
 javax.xml.datatype.XMLGregorianCalendar getStartDate()
          Gets the value of the startDate property.
 javax.xml.datatype.XMLGregorianCalendar getStopDate()
          Gets the value of the stopDate property.
 void setExpirationDate(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the expirationDate property.
 void setParentID(java.lang.String value)
          Sets the value of the parentID property.
 void setReleaseDate(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the releaseDate property.
 void setResourceID(java.lang.String value)
          Sets the value of the resourceID property.
 void setStartDate(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the startDate property.
 void setStopDate(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the stopDate 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

releaseDate

protected javax.xml.datatype.XMLGregorianCalendar releaseDate

expirationDate

protected javax.xml.datatype.XMLGregorianCalendar expirationDate

parentID

protected java.lang.String parentID

priorID

protected java.util.List<java.lang.String> priorID

startDate

protected javax.xml.datatype.XMLGregorianCalendar startDate

stopDate

protected javax.xml.datatype.XMLGregorianCalendar stopDate

source

protected java.util.List<Source> source
Constructor Detail

Granule

public Granule()
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

getReleaseDate

public javax.xml.datatype.XMLGregorianCalendar getReleaseDate()
Gets the value of the releaseDate property.

Returns:
possible object is XMLGregorianCalendar

setReleaseDate

public void setReleaseDate(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the releaseDate property.

Parameters:
value - allowed object is XMLGregorianCalendar

getExpirationDate

public javax.xml.datatype.XMLGregorianCalendar getExpirationDate()
Gets the value of the expirationDate property.

Returns:
possible object is XMLGregorianCalendar

setExpirationDate

public void setExpirationDate(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the expirationDate property.

Parameters:
value - allowed object is XMLGregorianCalendar

getParentID

public java.lang.String getParentID()
Gets the value of the parentID property.

Returns:
possible object is String

setParentID

public void setParentID(java.lang.String value)
Sets the value of the parentID property.

Parameters:
value - allowed object is String

getPriorID

public java.util.List<java.lang.String> getPriorID()
Gets the value of the priorID 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 priorID property.

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

    getPriorID().add(newItem);
 

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


getStartDate

public javax.xml.datatype.XMLGregorianCalendar getStartDate()
Gets the value of the startDate property.

Returns:
possible object is XMLGregorianCalendar

setStartDate

public void setStartDate(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the startDate property.

Parameters:
value - allowed object is XMLGregorianCalendar

getStopDate

public javax.xml.datatype.XMLGregorianCalendar getStopDate()
Gets the value of the stopDate property.

Returns:
possible object is XMLGregorianCalendar

setStopDate

public void setStopDate(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the stopDate property.

Parameters:
value - allowed object is XMLGregorianCalendar

getSource

public java.util.List<Source> getSource()
Gets the value of the source 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 source property.

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

    getSource().add(newItem);
 

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