org.spase.parser121
Class Granule

java.lang.Object
  extended by org.spase.parser121.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}URL" maxOccurs="unbounded"/>
         <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}Checksum" minOccurs="0"/>
         <element ref="{http://www.spase-group.org/data/schema}DataExtent" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Checksum checksum
           
protected  DataExtent dataExtent
           
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  javax.xml.datatype.XMLGregorianCalendar startDate
           
protected  java.lang.String stopDate
           
protected  java.util.List<java.lang.String> url
           
 
Constructor Summary
Granule()
           
 
Method Summary
 Checksum getChecksum()
          Gets the value of the checksum property.
 DataExtent getDataExtent()
          Gets the value of the dataExtent property.
 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.
 javax.xml.datatype.XMLGregorianCalendar getStartDate()
          Gets the value of the startDate property.
 java.lang.String getStopDate()
          Gets the value of the stopDate property.
 java.util.List<java.lang.String> getURL()
          Gets the value of the url property.
 void setChecksum(Checksum value)
          Sets the value of the checksum property.
 void setDataExtent(DataExtent value)
          Sets the value of the dataExtent 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(java.lang.String 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

url

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

startDate

protected javax.xml.datatype.XMLGregorianCalendar startDate

stopDate

protected java.lang.String stopDate

checksum

protected Checksum checksum

dataExtent

protected DataExtent dataExtent
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


getURL

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

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

    getURL().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 java.lang.String getStopDate()
Gets the value of the stopDate property.

Returns:
possible object is String

setStopDate

public void setStopDate(java.lang.String value)
Sets the value of the stopDate property.

Parameters:
value - allowed object is String

getChecksum

public Checksum getChecksum()
Gets the value of the checksum property.

Returns:
possible object is Checksum

setChecksum

public void setChecksum(Checksum value)
Sets the value of the checksum property.

Parameters:
value - allowed object is Checksum

getDataExtent

public DataExtent getDataExtent()
Gets the value of the dataExtent property.

Returns:
possible object is DataExtent

setDataExtent

public void setDataExtent(DataExtent value)
Sets the value of the dataExtent property.

Parameters:
value - allowed object is DataExtent