Class Capability
- All Implemented Interfaces:
com.kscs.util.jaxb.Copyable,com.kscs.util.jaxb.PartialCopyable,Cloneable,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
- Direct Known Subclasses:
CSCapRestriction,RegCapRestriction,SIACapRestriction,SimpleSpectralAccess,TableAccess
Java class for Capability complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Capability">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="validationLevel" type="{http://www.ivoa.net/xml/VOResource/v1.0}Validation" maxOccurs="unbounded" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="interface" type="{http://www.ivoa.net/xml/VOResource/v1.0}Interface" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="standardID" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassstatic classstatic classstatic classCapability.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>, TParent> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Capability.Modifierprotected StringUse of this optional element is especially encouraged when this capability is non-standard and is one of several capabilities listed.protected List<ServiceInterface>Multiple occurences can describe different interfaces to the logically same capability, i.e.protected StringThis provides a unique way to refer to a service specification standard, such as a Simple Image Access service.protected List<Validation>See vr:ValidationLevel for an explanation of the allowed levels. -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorCapability(List<Validation> validationLevels, String description, List<ServiceInterface> interfaces, String standardID) Fully-initialising value constructor -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) static Capability.Builder<Void>builder()clone()copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) static Capability.Builder<Void>copyExcept(Capability _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static <_B> Capability.Builder<_B>copyOf(Capability _other) static <_B> Capability.Builder<_B>copyOf(Capability _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) static Capability.Builder<Void>copyOnly(Capability _other, com.kscs.util.jaxb.PropertyTree _propertyTree) <_B> voidcopyTo(Capability.Builder<_B> _other) Copies all state of this object to a builder.<_B> voidcopyTo(Capability.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder.createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) booleanUse of this optional element is especially encouraged when this capability is non-standard and is one of several capabilities listed.Multiple occurences can describe different interfaces to the logically same capability, i.e.This provides a unique way to refer to a service specification standard, such as a Simple Image Access service.See vr:ValidationLevel for an explanation of the allowed levels.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) modifier()<_B> Capability.Builder<_B>newCopyBuilder(_B _parentBuilder) <_B> Capability.Builder<_B>newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) voidsetDescription(String value) Sets the value of the description property.voidsetStandardID(String value) Sets the value of the standardID property.toString()visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-
Field Details
-
validationLevels
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected List<Validation> validationLevelsSee vr:ValidationLevel for an explanation of the allowed levels. -
description
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected String descriptionUse of this optional element is especially encouraged when this capability is non-standard and is one of several capabilities listed. -
interfaces
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected List<ServiceInterface> interfacesMultiple occurences can describe different interfaces to the logically same capability, i.e. data or functionality. That is, the inputs accepted and the output provides should be logically the same. For example, a WebBrowser interface given in addition to a WebService interface would simply provide an interactive, human-targeted interface to the underlying WebService interface. -
standardID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected String standardIDThis provides a unique way to refer to a service specification standard, such as a Simple Image Access service. The use of an IVOA identifier here implies that a VOResource description of the standard is registered and accessible. -
__cachedModifier__
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") protected transient Capability.Modifier __cachedModifier__
-
-
Constructor Details
-
Capability
public Capability()Default no-arg constructor -
Capability
public Capability(List<Validation> validationLevels, String description, List<ServiceInterface> interfaces, String standardID) Fully-initialising value constructor
-
-
Method Details
-
getValidationLevels
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public List<Validation> getValidationLevels()See vr:ValidationLevel for an explanation of the allowed levels. Gets the value of the validationLevels property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the validationLevels property.For example, to add a new item, do as follows:
getValidationLevels().add(newItem);
Objects of the following type(s) are allowed in the list
Validation- Returns:
- The value of the validationLevels property.
-
getDescription
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public String getDescription()Use of this optional element is especially encouraged when this capability is non-standard and is one of several capabilities listed.- Returns:
- possible object is
String
-
setDescription
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setDescription(String value) Sets the value of the description property.- Parameters:
value- allowed object isString- See Also:
-
getInterfaces
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public List<ServiceInterface> getInterfaces()Multiple occurences can describe different interfaces to the logically same capability, i.e. data or functionality. That is, the inputs accepted and the output provides should be logically the same. For example, a WebBrowser interface given in addition to a WebService interface would simply provide an interactive, human-targeted interface to the underlying WebService interface. Gets the value of the interfaces property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the interfaces property.For example, to add a new item, do as follows:
getInterfaces().add(newItem);
Objects of the following type(s) are allowed in the list
ServiceInterface- Returns:
- The value of the interfaces property.
-
getStandardID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public String getStandardID()This provides a unique way to refer to a service specification standard, such as a Simple Image Access service. The use of an IVOA identifier here implies that a VOResource description of the standard is registered and accessible.- Returns:
- possible object is
String
-
setStandardID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void setStandardID(String value) Sets the value of the standardID property.- Parameters:
value- allowed object isString- See Also:
-
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public boolean equals(Object object) -
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public int hashCode() -
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public String toString() -
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public StringBuilder append(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public StringBuilder appendFields(org.jvnet.jaxb.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb.lang.ToStringStrategy strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb.lang.ToString
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void mergeFrom(Object left, Object right) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public void mergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom
-
clone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Capability clone() -
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Capability createCopy()- Specified by:
createCopyin interfacecom.kscs.util.jaxb.Copyable
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Capability createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
createCopyin interfacecom.kscs.util.jaxb.PartialCopyable
-
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Capability copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyExceptin interfacecom.kscs.util.jaxb.PartialCopyable
-
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Capability copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyOnlyin interfacecom.kscs.util.jaxb.PartialCopyable
-
modifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Capability.Modifier modifier() -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> void copyTo(Capability.Builder<_B> _other) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> Capability.Builder<_B> newCopyBuilder(_B _parentBuilder) -
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Capability.Builder<Void> newCopyBuilder() -
builder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static Capability.Builder<Void> builder() -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> Capability.Builder<_B> copyOf(Capability _other) -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> void copyTo(Capability.Builder<_B> _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) Copies all state of this object to a builder. This method is used by the copyOf method and should not be called directly by client code.- Parameters:
_other- A builder instance to which the state of this object will be copied.
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public <_B> Capability.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Capability.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static <_B> Capability.Builder<_B> copyOf(Capability _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static Capability.Builder<Void> copyExcept(Capability _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public static Capability.Builder<Void> copyOnly(Capability _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
visit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-08-12T08:31:32+01:00") public Capability visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-