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:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
@Generated(value="com.sun.tools.xjc.Driver",
comments="JAXB RI v4.0.4",
date="2024-08-01T13:15:43+01:00")
public class Search
extends RegCapRestriction
implements 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>
-
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
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) 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) voidSets the value of the extensionSearchSupport property.voidsetMaxRecords(int value) Sets the value of the maxRecords property.toString()withDescription(String value) withInterfaces(Collection<ServiceInterface> values) withInterfaces(ServiceInterface... values) withMaxRecords(int value) withOptionalProtocols(OptionalProtocol... values) withStandardID(String value) withValidationLevels(Collection<Validation> values) withValidationLevels(Validation... values) Methods inherited from class org.javastro.ivoa.entities.resource.Capability
getDescription, getInterfaces, getStandardID, getValidationLevels, setDescription, setStandardID
-
Field Details
-
maxRecords
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+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="2024-08-01T13:15:43+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="2024-08-01T13:15:43+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="2024-08-01T13:15:43+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="2024-08-01T13:15:43+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="2024-08-01T13:15:43+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="2024-08-01T13:15:43+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="2024-08-01T13:15:43+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="2024-08-01T13:15:43+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="2024-08-01T13:15:43+01:00") public int hashCode()- Overrides:
hashCodein classRegCapRestriction
-
toString
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String toString()- Overrides:
toStringin classRegCapRestriction
-
append
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+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="2024-08-01T13:15:43+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
-
withMaxRecords
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Search withMaxRecords(int value) -
withExtensionSearchSupport
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Search withExtensionSearchSupport(ExtensionSearchSupport value) -
withOptionalProtocols
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Search withOptionalProtocols(OptionalProtocol... values) -
withOptionalProtocols
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Search withOptionalProtocols(Collection<OptionalProtocol> values) -
withValidationLevels
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Search withValidationLevels(Validation... values) - Overrides:
withValidationLevelsin classRegCapRestriction
-
withValidationLevels
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Search withValidationLevels(Collection<Validation> values) - Overrides:
withValidationLevelsin classRegCapRestriction
-
withDescription
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Search withDescription(String value) - Overrides:
withDescriptionin classRegCapRestriction
-
withInterfaces
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Search withInterfaces(ServiceInterface... values) - Overrides:
withInterfacesin classRegCapRestriction
-
withInterfaces
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Search withInterfaces(Collection<ServiceInterface> values) - Overrides:
withInterfacesin classRegCapRestriction
-
withStandardID
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Search withStandardID(String value) - Overrides:
withStandardIDin classRegCapRestriction
-
mergeFrom
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+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="2024-08-01T13:15:43+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="2024-08-01T13:15:43+01:00") public Object createNewInstance()- Specified by:
createNewInstancein interfaceorg.jvnet.jaxb.lang.MergeFrom- Overrides:
createNewInstancein classCapability
-