org.astrogrid.acr.ivoa.resource
Interface Resource

All Superinterfaces:
Serializable
All Known Subinterfaces:
Application, Authority, CatalogService, CeaApplication, CeaService, ConeService, DataCollection, DataService, HasCoverage, Organisation, RegistryService, Service, SiapService, SsapService, StapService, TableService, TapService, VospaceService

public interface Resource
extends Serializable

Base class for all resources returned from an IVOA Registry. An instance of this class can represent any entity or component of a VO application that is describable and identifiable by a IVOA Identifier.

Notes:
Most resouces will be represented by an object that implements one or more subclasses of this class.
See Also:
IVOA Registry Metadata Document, Registry

Method Summary
 Content getContent()
          Description of the content of the resource
 String getCreated()
          The UTC date and time this resource metadata description was created.
 Curation getCuration()
          Curation information about the resource
 URI getId()
          The unique ID for this resource.
 String getShortName()
          A short name or abbreviation given to the resource.
 String getStatus()
          a tag indicating whether this resource is believed to be still actively maintained.
 String getTitle()
          the Full name given to the resource
 String getType()
          the xsi:type attribute of this resource.
 String getUpdated()
          The UTC date this resource metadata description was last updated.
 Validation[] getValidationLevel()
          A description of the quality of the resource description.
 

Method Detail

getValidationLevel

Validation[] getValidationLevel()
A description of the quality of the resource description. It can tbe used to indicate the confidence an end-user can put in the resource as part of a VO application or research study.


getTitle

String getTitle()
the Full name given to the resource

Notes:
expected to always be provided

getId

URI getId()
The unique ID for this resource.

Returns:
Unambiguous and unique reference to the resource conforming to the IVOA standard for identifiers

getShortName

String getShortName()
A short name or abbreviation given to the resource.

Notes:
this is not guaranteed to be unique, and often is not available

getCuration

Curation getCuration()
Curation information about the resource


getContent

Content getContent()
Description of the content of the resource


getStatus

String getStatus()
a tag indicating whether this resource is believed to be still actively maintained.


getCreated

String getCreated()
The UTC date and time this resource metadata description was created.


getUpdated

String getUpdated()
The UTC date this resource metadata description was last updated.


getType

String getType()
the xsi:type attribute of this resource.

Notes:
This is one method of distinguishing between different kinds of resource. However, it's often easier to just check what sub-interfaces of Resource a particular instance implements.


Copyright © 2002-2010 AstroGrid. All Rights Reserved.