|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.spase.parser122.Granule
public class Granule
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 javax.xml.datatype.XMLGregorianCalendar |
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. |
javax.xml.datatype.XMLGregorianCalendar |
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(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 |
|---|
protected java.lang.String resourceID
protected javax.xml.datatype.XMLGregorianCalendar releaseDate
protected javax.xml.datatype.XMLGregorianCalendar expirationDate
protected java.lang.String parentID
protected java.util.List<java.lang.String> priorID
protected java.util.List<java.lang.String> url
protected javax.xml.datatype.XMLGregorianCalendar startDate
protected javax.xml.datatype.XMLGregorianCalendar stopDate
protected Checksum checksum
protected DataExtent dataExtent
| Constructor Detail |
|---|
public Granule()
| Method Detail |
|---|
public java.lang.String getResourceID()
Stringpublic void setResourceID(java.lang.String value)
value - allowed object is
Stringpublic javax.xml.datatype.XMLGregorianCalendar getReleaseDate()
XMLGregorianCalendarpublic void setReleaseDate(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic javax.xml.datatype.XMLGregorianCalendar getExpirationDate()
XMLGregorianCalendarpublic void setExpirationDate(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic java.lang.String getParentID()
Stringpublic void setParentID(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<java.lang.String> getPriorID()
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
public java.util.List<java.lang.String> getURL()
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
public javax.xml.datatype.XMLGregorianCalendar getStartDate()
XMLGregorianCalendarpublic void setStartDate(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic javax.xml.datatype.XMLGregorianCalendar getStopDate()
XMLGregorianCalendarpublic void setStopDate(javax.xml.datatype.XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic Checksum getChecksum()
Checksumpublic void setChecksum(Checksum value)
value - allowed object is
Checksumpublic DataExtent getDataExtent()
DataExtentpublic void setDataExtent(DataExtent value)
value - allowed object is
DataExtent
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||