Class Harvest
java.lang.Object
org.javastro.ivoa.entities.resource.Capability
org.javastro.ivoa.entities.resource.registry.RegCapRestriction
org.javastro.ivoa.entities.resource.registry.Harvest
- 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 Harvest
extends RegCapRestriction
implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
The capabilities of the Registry Harvest implementation.
Java class for Harvest complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Harvest">
<complexContent>
<extension base="{http://www.ivoa.net/xml/VORegistry/v1.0}RegCapRestriction">
<sequence>
<element name="maxRecords" type="{http://www.w3.org/2001/XMLSchema}int"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intThe largest number of records that the registry search method will return.Fields inherited from class org.javastro.ivoa.entities.resource.Capability
description, interfaces, standardID, validationLevels -
Constructor Summary
ConstructorsConstructorDescriptionHarvest()Default no-arg constructorHarvest(List<Validation> validationLevels, String description, List<ServiceInterface> interfaces, String standardID, int maxRecords) 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) booleanintThe largest number of records that the registry search method will return.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetMaxRecords(int value) Sets the value of the maxRecords property.toString()withDescription(String value) withInterfaces(Collection<ServiceInterface> values) withInterfaces(ServiceInterface... values) withMaxRecords(int value) 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 greater than one implies that an OAI continuation token will be provided when the limit is reached. A value of zero or less indicates that there is no explicit limit and thus, continuation tokens are not supported.
-
-
Constructor Details
-
Harvest
public Harvest()Default no-arg constructor -
Harvest
public Harvest(List<Validation> validationLevels, String description, List<ServiceInterface> interfaces, String standardID, int maxRecords) 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 greater than one implies that an OAI continuation token will be provided when the limit is reached. A value of zero or less indicates that there is no explicit limit and thus, continuation tokens are not supported. -
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. -
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 Harvest withMaxRecords(int value) -
withValidationLevels
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Harvest 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 Harvest 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 Harvest 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 Harvest 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 Harvest 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 Harvest 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
-