Class Search
java.lang.Object
org.javastro.ivoa.entities.resource.Capability
org.javastro.ivoa.entities.resource.registry.RegCapRestriction
org.javastro.ivoa.entities.resource.registry.Search
- All Implemented Interfaces:
com.kscs.util.jaxb.Copyable,com.kscs.util.jaxb.PartialCopyable,Cloneable,org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v4.0.4",
date="2025-09-10T09:00:07+01:00")
public class Search
extends RegCapRestriction
implements Cloneable, com.kscs.util.jaxb.Copyable, com.kscs.util.jaxb.PartialCopyable, org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
The capabilities of the Registry Search implementation.
Java class for Search complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Search">
<complexContent>
<extension base="{http://www.ivoa.net/xml/VORegistry/v1.0}RegCapRestriction">
<sequence>
<element name="maxRecords" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="extensionSearchSupport" type="{http://www.ivoa.net/xml/VORegistry/v1.0}ExtensionSearchSupport"/>
<element name="optionalProtocol" type="{http://www.ivoa.net/xml/VORegistry/v1.0}OptionalProtocol" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassstatic classstatic classstatic classSearch.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>, TParent> -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ExtensionSearchSupportA legal VOResource extension schema is one that imports and extends the VOResource core schema in compliance with the VOResource standard.protected intThe largest number of records that the registry search method will return.protected List<OptionalProtocol>Only one optional protocol is currently allowed (XQuery).Fields inherited from class org.javastro.ivoa.entities.resource.Capability
__cachedModifier__, description, interfaces, standardID, validationLevels -
Constructor Summary
ConstructorsConstructorDescriptionSearch()Default no-arg constructorSearch(List<Validation> validationLevels, String description, List<ServiceInterface> interfaces, String standardID, int maxRecords, ExtensionSearchSupport extensionSearchSupport, List<OptionalProtocol> optionalProtocols) 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 Search.Builder<Void>builder()clone()copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) static Search.Builder<Void>copyExcept(Capability _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static Search.Builder<Void>copyExcept(RegCapRestriction _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static Search.Builder<Void>copyExcept(Search _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static <_B> Search.Builder<_B>copyOf(Capability _other) static <_B> Search.Builder<_B>copyOf(Capability _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> Search.Builder<_B>copyOf(RegCapRestriction _other) static <_B> Search.Builder<_B>copyOf(RegCapRestriction _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> Search.Builder<_B>static <_B> Search.Builder<_B>copyOf(Search _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) static Search.Builder<Void>copyOnly(Capability _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static Search.Builder<Void>copyOnly(RegCapRestriction _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static Search.Builder<Void><_B> voidcopyTo(Search.Builder<_B> _other) Copies all state of this object to a builder.<_B> voidcopyTo(Search.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) booleanA legal VOResource extension schema is one that imports and extends the VOResource core schema in compliance with the VOResource standard.intThe largest number of records that the registry search method will return.Only one optional protocol is currently allowed (XQuery).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> Search.Builder<_B>newCopyBuilder(_B _parentBuilder) <_B> Search.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) voidSets the value of the extensionSearchSupport property.voidsetMaxRecords(int value) Sets the value of the maxRecords property.toString()visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) Methods inherited from class org.javastro.ivoa.entities.resource.registry.RegCapRestriction
copyTo, copyToMethods inherited from class org.javastro.ivoa.entities.resource.Capability
copyTo, copyTo, getDescription, getInterfaces, getStandardID, getValidationLevels, setDescription, setStandardID
-
Field Details
-
maxRecords
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") protected int maxRecordsThe largest number of records that the registry search method will return. A value of zero or less indicates that there is no explicit limit. -
extensionSearchSupport
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") protected ExtensionSearchSupport extensionSearchSupportA legal VOResource extension schema is one that imports and extends the VOResource core schema in compliance with the VOResource standard. -
optionalProtocols
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") protected List<OptionalProtocol> optionalProtocolsOnly one optional protocol is currently allowed (XQuery). It is assumed that the required protocols (simple keyword search and ADQL) are supported.
-
-
Constructor Details
-
Search
public Search()Default no-arg constructor -
Search
public Search(List<Validation> validationLevels, String description, List<ServiceInterface> interfaces, String standardID, int maxRecords, ExtensionSearchSupport extensionSearchSupport, List<OptionalProtocol> optionalProtocols) Fully-initialising value constructor
-
-
Method Details
-
getMaxRecords
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public int getMaxRecords()The largest number of records that the registry search method will return. A value of zero or less indicates that there is no explicit limit. -
setMaxRecords
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public void setMaxRecords(int value) Sets the value of the maxRecords property. -
getExtensionSearchSupport
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public ExtensionSearchSupport getExtensionSearchSupport()A legal VOResource extension schema is one that imports and extends the VOResource core schema in compliance with the VOResource standard.- Returns:
- possible object is
ExtensionSearchSupport
-
setExtensionSearchSupport
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public void setExtensionSearchSupport(ExtensionSearchSupport value) Sets the value of the extensionSearchSupport property.- Parameters:
value- allowed object isExtensionSearchSupport- See Also:
-
getOptionalProtocols
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public List<OptionalProtocol> getOptionalProtocols()Only one optional protocol is currently allowed (XQuery). It is assumed that the required protocols (simple keyword search and ADQL) are supported. Gets the value of the optionalProtocols 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 optionalProtocols property.For example, to add a new item, do as follows:
getOptionalProtocols().add(newItem);
Objects of the following type(s) are allowed in the list
OptionalProtocol- Returns:
- The value of the optionalProtocols property.
-
equals
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public boolean equals(Object object) - Overrides:
equalsin classRegCapRestriction
-
hashCode
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public int hashCode()- Overrides:
hashCodein classRegCapRestriction
-
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public String toString()- Overrides:
toStringin classRegCapRestriction
-
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+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- Overrides:
appendin classRegCapRestriction
-
appendFields
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+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- Overrides:
appendFieldsin classRegCapRestriction
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public void mergeFrom(Object left, Object right) - Specified by:
mergeFromin interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
mergeFromin classRegCapRestriction
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+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- Overrides:
mergeFromin classRegCapRestriction
-
createNewInstance
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
createNewInstancein classCapability
-
clone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Search clone()- Overrides:
clonein classRegCapRestriction
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Search createCopy()- Specified by:
createCopyin interfacecom.kscs.util.jaxb.Copyable- Overrides:
createCopyin classRegCapRestriction
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Search createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
createCopyin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
createCopyin classRegCapRestriction
-
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Search copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyExceptin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
copyExceptin classRegCapRestriction
-
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Search copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyOnlyin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
copyOnlyin classRegCapRestriction
-
modifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Search.Modifier modifier()- Overrides:
modifierin classRegCapRestriction
-
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public <_B> void copyTo(Search.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-09-10T09:00:07+01:00") public <_B> Search.Builder<_B> newCopyBuilder(_B _parentBuilder) - Specified by:
newCopyBuilderin classRegCapRestriction
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Search.Builder<Void> newCopyBuilder()- Specified by:
newCopyBuilderin classRegCapRestriction
-
builder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Search.Builder<Void> builder() -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> Search.Builder<_B> copyOf(Capability _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> Search.Builder<_B> copyOf(RegCapRestriction _other) -
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> Search.Builder<_B> copyOf(Search _other) -
copyTo
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public <_B> void copyTo(Search.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-09-10T09:00:07+01:00") public <_B> Search.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
newCopyBuilderin classRegCapRestriction
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Search.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
newCopyBuilderin classRegCapRestriction
-
copyOf
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static <_B> Search.Builder<_B> copyOf(Capability _other, 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-09-10T09:00:07+01:00") public static <_B> Search.Builder<_B> copyOf(RegCapRestriction _other, 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-09-10T09:00:07+01:00") public static <_B> Search.Builder<_B> copyOf(Search _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-09-10T09:00:07+01:00") public static Search.Builder<Void> copyExcept(Capability _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Search.Builder<Void> copyExcept(RegCapRestriction _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Search.Builder<Void> copyExcept(Search _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Search.Builder<Void> copyOnly(Capability _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Search.Builder<Void> copyOnly(RegCapRestriction _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static Search.Builder<Void> copyOnly(Search _other, com.kscs.util.jaxb.PropertyTree _propertyTree) -
visit
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public Search visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) - Overrides:
visitin classRegCapRestriction
-