|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.starlink.registry.BasicCapability
public class BasicCapability
Describes a service capability interface belonging to a registry resource. This typically provides an access URL at which the service can be found, as well as some other metadata.
This class conflates the concepts of Capability and Interface.
In VOResource 1.0 the Capability:Interface relationship is one:many,
but in practice it is, as far as I can see, nearly always one:one.
In the case of finding an actual one:many relationship, we just use
multiple BasicCapability
objects all related to the same
Capability.
Constructor Summary | |
---|---|
BasicCapability()
|
Method Summary | |
---|---|
String |
getAccessUrl()
Returns the access URL. |
String |
getDescription()
Returns a textual description of this capability. |
String |
getStandardId()
Returns the standard ID which defines what sort of service this capability is offering. |
String |
getVersion()
Returns a version string associated with this capability. |
String |
getXsiType()
Returns the xsi:type of this capability. |
void |
setAccessUrl(String accessUrl)
Sets the access URL. |
void |
setDescription(String description)
Sets the description. |
void |
setStandardId(String standardId)
Sets the standard ID. |
void |
setVersion(String version)
Sets the version. |
void |
setXsiType(String xsiType)
Sets the xsi:type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicCapability()
Method Detail |
---|
public void setAccessUrl(String accessUrl)
accessUrl
- access URLpublic String getAccessUrl()
public void setStandardId(String standardId)
standardId
- standard ID identifier URIpublic String getStandardId()
public void setXsiType(String xsiType)
xsiType
- capability/@xsi:typepublic String getXsiType()
public void setDescription(String description)
description
- descriptionpublic String getDescription()
public void setVersion(String version)
version
- version stringpublic String getVersion()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |