org.gcube.data.gml.elements
Class GCubePart
java.lang.Object
org.gcube.data.gml.elements.BaseElement
org.gcube.data.gml.elements.BaseInnerElement
org.gcube.data.gml.elements.GCubePart
- All Implemented Interfaces:
- GCubeElement, GCubeInnerElement
public class GCubePart
- extends BaseInnerElement
A part of a GCubeDocument.
- Author:
- Federico De Faveri defaveri@isti.cnr.it, Fabio Simeoni (University of Strathclyde)
| Methods inherited from class org.gcube.data.gml.elements.BaseElement |
addProperty, bytestream, bytestreamURI, creationTime, id, isNew, language, lastUpdate, length, mimeType, name, properties, property, removeProperty, resolveBytestream, schemaName, schemaURI, setBytestream, setBytestream, setBytestream, setBytestreamURI, setLanguage, setLenght, setMimeType, setName, setSchemaName, setSchemaURI, setType, type |
| Methods inherited from interface org.gcube.data.gml.elements.GCubeElement |
bytestream, bytestreamURI, creationTime, id, language, lastUpdate, length, mimeType, name, properties, property, resolveBytestream, schemaName, schemaURI, type |
GCubePart
public GCubePart()
GCubePart
public GCubePart(String id)
order
public int order()
- Returns the order of the part within the document.
- Returns:
- the order.
setOrder
public void setOrder(int o)
throws IllegalArgumentException,
IllegalStateException
- Sets the order of the part within the document.
- Parameters:
o - the order.
- Throws:
IllegalStateException - if the part is not associated with a document.
IllegalArgumentException
postBinding
public void postBinding(GCubeDocument d)
throws IllegalStateException,
Exception
-
- Overrides:
postBinding in class BaseInnerElement
- Throws:
IllegalStateException
Exception
previous
public GCubePart previous()
- Returns the part that precedes this part.
- Returns:
- the previous part, or
null if this part has no previous
or if the previous part is not available in the containing document.
toString
public String toString()
-
- Overrides:
toString in class BaseElement
hashCode
public int hashCode()
- Overrides:
hashCode in class BaseElement
equals
public boolean equals(Object obj)
- Overrides:
equals in class BaseElement
Copyright © 2012. All Rights Reserved.