org.gcube.data.gml.elements
Class BaseInnerElement
java.lang.Object
org.gcube.data.gml.elements.BaseElement
org.gcube.data.gml.elements.BaseInnerElement
- All Implemented Interfaces:
- GCubeElement, GCubeInnerElement
- Direct Known Subclasses:
- GCubeAlternative, GCubeAnnotation, GCubeMetadata, GCubePart
public abstract class BaseInnerElement
- extends BaseElement
- implements GCubeInnerElement
Partial implementation of GCubeElements that occur within GCubeDocuments.
- Author:
- Fabio Simeoni (University of Strathclyde)
| Methods inherited from class org.gcube.data.gml.elements.BaseElement |
addProperty, bytestream, bytestreamURI, creationTime, equals, hashCode, id, isNew, language, lastUpdate, length, mimeType, name, properties, property, removeProperty, resolveBytestream, schemaName, schemaURI, setBytestream, setBytestream, setBytestream, setBytestreamURI, setLanguage, setLenght, setMimeType, setName, setSchemaName, setSchemaURI, setType, toString, 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 |
document
public GCubeDocument document()
- Returns the containing
GCubeDocument.
- Specified by:
document in interface GCubeInnerElement
- Returns:
- the document, or
null if the element is yet to be bound to one.
postBinding
public void postBinding(GCubeDocument d)
throws IllegalStateException,
Exception
- Throws:
IllegalStateException
Exception
uri
public URI uri()
throws IllegalStateException,
URISyntaxException
- Returns the storage URI of the element.
- Specified by:
uri in interface GCubeElement
- Returns:
- the URI.
- Throws:
IllegalStateException - if the element has no identifier or is not bound to a document.
URISyntaxException - if the identifier of the element or its document cannot be used in a URI.
Copyright © 2012. All Rights Reserved.