|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectuk.ac.starlink.registry.BasicResource
public class BasicResource
Basic details of a registry resource record. This is an intentionally rather flattened and truncated version of the information which can be stored in a registry record (at time of writing VOResource 1.0).
| Constructor Summary | |
|---|---|
BasicResource()
|
|
| Method Summary | |
|---|---|
BasicCapability[] |
getCapabilities()
Returns an array of capability interfaces for this resource. |
String |
getContact()
Returns the contact information for this resource. |
String |
getIdentifier()
Returns the resource unique identifier. |
String |
getPublisher()
Returns the resource publisher. |
String |
getReferenceUrl()
Returns the reference URL for this resource. |
String |
getShortName()
Returns the resource short name. |
String[] |
getSubjects()
Returns an array of subject strings for this resource. |
String |
getTitle()
Returns the resource title. |
void |
setCapabilities(BasicCapability[] capabilities)
Sets the capability interface array. |
void |
setContact(String contact)
Sets the contact information. |
void |
setIdentifier(String identifier)
Sets the resource unique identifier. |
void |
setPublisher(String publisher)
Sets the resource publisher. |
void |
setReferenceUrl(String referenceUrl)
Sets the reference URL. |
void |
setShortName(String shortName)
Sets the resource short name. |
void |
setSubjects(String[] subjects)
Sets the subject strings. |
void |
setTitle(String title)
Sets the resource title. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicResource()
| Method Detail |
|---|
public void setTitle(String title)
title - titlepublic String getTitle()
public void setShortName(String shortName)
shortName - short namepublic String getShortName()
public void setIdentifier(String identifier)
identifier - identifier URIpublic String getIdentifier()
ivo://authority/path.
- Returns:
- identifier
public void setPublisher(String publisher)
publisher - publisherpublic String getPublisher()
public void setContact(String contact)
contact - contact stringpublic String getContact()
public void setSubjects(String[] subjects)
subjects - array of subject stringspublic String[] getSubjects()
public void setReferenceUrl(String referenceUrl)
referenceUrl - reference URLpublic String getReferenceUrl()
public void setCapabilities(BasicCapability[] capabilities)
capabilities - capability arraypublic BasicCapability[] getCapabilities()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||