Package uk.ac.starlink.vo
Class VORegResource
java.lang.Object
uk.ac.starlink.vo.VORegResource
- All Implemented Interfaces:
RegResource
RegResource implementation based on a
VOResource
object.- Since:
- 17 Dec 2008
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns an array of capability interfaces for this resource.Returns the contact information for this resource.Returns the resource unique identifier.Returns the resource publisher.Returns the reference URL for this resource.Returns the resource short name.String[]
Returns a list of subject areas relevant to this resource.getTitle()
Returns the resource title.
-
Constructor Details
-
VORegResource
public VORegResource(VOResource resource) Constructor.- Parameters:
resource
- resource object
-
-
Method Details
-
getShortName
Description copied from interface:RegResource
Returns the resource short name.- Specified by:
getShortName
in interfaceRegResource
- Returns:
- short name
-
getTitle
Description copied from interface:RegResource
Returns the resource title.- Specified by:
getTitle
in interfaceRegResource
- Returns:
- title
-
getIdentifier
Description copied from interface:RegResource
Returns the resource unique identifier. This is a URI of the formivo://authority/path
.- Specified by:
getIdentifier
in interfaceRegResource
- Returns:
- identifier
-
getPublisher
Description copied from interface:RegResource
Returns the resource publisher.- Specified by:
getPublisher
in interfaceRegResource
- Returns:
- publisher
-
getContact
Description copied from interface:RegResource
Returns the contact information for this resource.- Specified by:
getContact
in interfaceRegResource
- Returns:
- contact info
-
getSubjects
Description copied from interface:RegResource
Returns a list of subject areas relevant to this resource.- Specified by:
getSubjects
in interfaceRegResource
- Returns:
- subject words
-
getReferenceUrl
Description copied from interface:RegResource
Returns the reference URL for this resource.- Specified by:
getReferenceUrl
in interfaceRegResource
- Returns:
- reference URL
-
getCapabilities
Description copied from interface:RegResource
Returns an array of capability interfaces for this resource. Very often there is only one (or zero) of these per resource, but there can be many.- Specified by:
getCapabilities
in interfaceRegResource
- Returns:
- capabilities
-