Package uk.ac.starlink.vo
Class VORegResource
- java.lang.Object
-
- uk.ac.starlink.vo.VORegResource
-
- All Implemented Interfaces:
RegResource
public class VORegResource extends java.lang.Object implements RegResource
RegResource implementation based on aVOResourceobject.- Since:
- 17 Dec 2008
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description VORegResource(VOResource resource)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegCapabilityInterface[]getCapabilities()Returns an array of capability interfaces for this resource.java.lang.StringgetContact()Returns the contact information for this resource.java.lang.StringgetIdentifier()Returns the resource unique identifier.java.lang.StringgetPublisher()Returns the resource publisher.java.lang.StringgetReferenceUrl()Returns the reference URL for this resource.java.lang.StringgetShortName()Returns the resource short name.java.lang.String[]getSubjects()Returns a list of subject areas relevant to this resource.java.lang.StringgetTitle()Returns the resource title.
-
-
-
Method Detail
-
getShortName
public java.lang.String getShortName()
Description copied from interface:RegResourceReturns the resource short name.- Specified by:
getShortNamein interfaceRegResource- Returns:
- short name
-
getTitle
public java.lang.String getTitle()
Description copied from interface:RegResourceReturns the resource title.- Specified by:
getTitlein interfaceRegResource- Returns:
- title
-
getIdentifier
public java.lang.String 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
public java.lang.String getPublisher()
Description copied from interface:RegResourceReturns the resource publisher.- Specified by:
getPublisherin interfaceRegResource- Returns:
- publisher
-
getContact
public java.lang.String getContact()
Description copied from interface:RegResourceReturns the contact information for this resource.- Specified by:
getContactin interfaceRegResource- Returns:
- contact info
-
getSubjects
public java.lang.String[] getSubjects()
Description copied from interface:RegResourceReturns a list of subject areas relevant to this resource.- Specified by:
getSubjectsin interfaceRegResource- Returns:
- subject words
-
getReferenceUrl
public java.lang.String getReferenceUrl()
Description copied from interface:RegResourceReturns the reference URL for this resource.- Specified by:
getReferenceUrlin interfaceRegResource- Returns:
- reference URL
-
getCapabilities
public RegCapabilityInterface[] 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
-
-