edu.harvard.cfa.vo.tapclient.vosi
Class Capability

java.lang.Object
  extended by edu.harvard.cfa.vo.tapclient.vosi.Capability
Direct Known Subclasses:
TableAccess

public class Capability
extends java.lang.Object

A description of a general capability of the service--its behavioral characteristics and limitations--and how to use it. The information in this object is only as recent as the call to VosiService#getCapabilities that generated this object. To see if a service's capabilities have changed, call VosiService#getCapabilities again. The following example explores the VOSI capabilities response of a service to determine if it has the TAP service capability.

 
   for (Capability capability: capabilities) {
      System.out.println("This capability supports the following Standard: "+capability.getStandardId());
   }
 
 

See Also:
Capabilities

Constructor Summary
protected Capability()
          Constructs a Capability object.
 
Method Summary
 java.lang.String getDescription()
          Returns a description of what this Capability provides as part of the overall service.
 java.util.List<Interface> getInterfaces()
          Returns a list of Interface objects which describe how to call the service to access this capability.
 java.lang.String getStandardId()
          Returns a unique identifier for the VO standard that this Capability complies to.
 java.util.List<Validation> getValidations()
          Returns a list of Validation objects which should indicate the quality of the capability description and whether its implementation is functionally with applicable standards
 void list(java.io.PrintStream output)
           
 void list(java.io.PrintStream output, java.lang.String indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Capability

protected Capability()
Constructs a Capability object.

Method Detail

getValidations

public java.util.List<Validation> getValidations()
Returns a list of Validation objects which should indicate the quality of the capability description and whether its implementation is functionally with applicable standards

Returns:
list of validation levels for this Capability object

getDescription

public java.lang.String getDescription()
Returns a description of what this Capability provides as part of the overall service.

Returns:
description of this Capability object

getInterfaces

public java.util.List<Interface> getInterfaces()
Returns a list of Interface objects which describe how to call the service to access this capability.

Returns:
list of interfaces for this Capability.

getStandardId

public java.lang.String getStandardId()
Returns a unique identifier for the VO standard that this Capability complies to.

Returns:
the IVOA standard identifier for this capability.

list

public void list(java.io.PrintStream output)

list

public void list(java.io.PrintStream output,
                 java.lang.String indent)