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:RegResourceReturns the resource short name.- Specified by:
getShortNamein interfaceRegResource- Returns:
- short name
-
getTitle
Description copied from interface:RegResourceReturns the resource title.- Specified by:
getTitlein interfaceRegResource- Returns:
- title
-
getIdentifier
Description copied from interface:RegResourceReturns the resource unique identifier. This is a URI of the formivo://authority/path.- Specified by:
getIdentifierin interfaceRegResource- Returns:
- identifier
-
getPublisher
Description copied from interface:RegResourceReturns the resource publisher.- Specified by:
getPublisherin interfaceRegResource- Returns:
- publisher
-
getContact
Description copied from interface:RegResourceReturns the contact information for this resource.- Specified by:
getContactin interfaceRegResource- Returns:
- contact info
-
getSubjects
Description copied from interface:RegResourceReturns a list of subject areas relevant to this resource.- Specified by:
getSubjectsin interfaceRegResource- Returns:
- subject words
-
getReferenceUrl
Description copied from interface:RegResourceReturns the reference URL for this resource.- Specified by:
getReferenceUrlin interfaceRegResource- Returns:
- reference URL
-
getCapabilities
Description copied from interface:RegResourceReturns 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:
getCapabilitiesin interfaceRegResource- Returns:
- capabilities
-