Class Registry
java.lang.Object
org.javastro.ivoa.entities.resource.Resource
org.javastro.ivoa.entities.resource.Service
org.javastro.ivoa.entities.resource.registry.Registry
- 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 Registry
extends Service
implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
A registry is considered a publishing registry if it
contains a capability element with xsi:type="vg:Harvest".
It is considered a searchable registry if it contains a
capability element with xsi:type="vg:Search".
Java class for Registry complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Registry">
<complexContent>
<extension base="{http://www.ivoa.net/xml/VOResource/v1.0}Service">
<sequence>
<element name="full" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="managedAuthority" type="{http://www.ivoa.net/xml/VOResource/v1.0}AuthorityID" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanA registry typically collects everything by harvesting from all registries listed in the IVOA Registry of Registries.Typically, this means the AuthorityIDs that originated (i.e.Fields inherited from class org.javastro.ivoa.entities.resource.Service
capabilities, rightsFields inherited from class org.javastro.ivoa.entities.resource.Resource
altIdentifiers, content, created, curation, identifier, shortName, status, title, updated, validationLevels, version -
Constructor Summary
ConstructorsConstructorDescriptionRegistry()Default no-arg constructorRegistry(List<Validation> validationLevels, String title, String shortName, String identifier, List<String> altIdentifiers, Curation curation, Content content, LocalDateTime created, LocalDateTime updated, String status, String version, List<Rights> rights, List<Capability> capabilities, boolean full, List<String> managedAuthorities) 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) booleanTypically, this means the AuthorityIDs that originated (i.e.inthashCode()booleanisFull()A registry typically collects everything by harvesting from all registries listed in the IVOA Registry of Registries.voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetFull(boolean value) Sets the value of the full property.toString()withAltIdentifiers(String... values) withAltIdentifiers(Collection<String> values) withCapabilities(Collection<Capability> values) withCapabilities(Capability... values) withContent(Content value) withCreated(LocalDateTime value) withCuration(Curation value) withFull(boolean value) withIdentifier(String value) withManagedAuthorities(String... values) withManagedAuthorities(Collection<String> values) withRights(Collection<Rights> values) withRights(Rights... values) withShortName(String value) withStatus(String value) withUpdated(LocalDateTime value) withValidationLevels(Collection<Validation> values) withValidationLevels(Validation... values) withVersion(String value) Methods inherited from class org.javastro.ivoa.entities.resource.Service
getCapabilities, getRightsMethods inherited from class org.javastro.ivoa.entities.resource.Resource
getAltIdentifiers, getContent, getCreated, getCuration, getIdentifier, getShortName, getStatus, getTitle, getUpdated, getValidationLevels, getVersion, setContent, setCreated, setCuration, setIdentifier, setShortName, setStatus, setTitle, setUpdated, setVersion
-
Field Details
-
full
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected boolean fullA registry typically collects everything by harvesting from all registries listed in the IVOA Registry of Registries. -
managedAuthorities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<String> managedAuthoritiesTypically, this means the AuthorityIDs that originated (i.e. were first published by) this registry. Currently, only one registry can lay claim to an AuthorityID via this element at a time.
-
-
Constructor Details
-
Registry
public Registry()Default no-arg constructor -
Registry
public Registry(List<Validation> validationLevels, String title, String shortName, String identifier, List<String> altIdentifiers, Curation curation, Content content, LocalDateTime created, LocalDateTime updated, String status, String version, List<Rights> rights, List<Capability> capabilities, boolean full, List<String> managedAuthorities) Fully-initialising value constructor
-
-
Method Details
-
isFull
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public boolean isFull()A registry typically collects everything by harvesting from all registries listed in the IVOA Registry of Registries. -
setFull
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setFull(boolean value) Sets the value of the full property. -
getManagedAuthorities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<String> getManagedAuthorities()Typically, this means the AuthorityIDs that originated (i.e. were first published by) this registry. Currently, only one registry can lay claim to an AuthorityID via this element at a time. Gets the value of the managedAuthorities 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 managedAuthorities property.For example, to add a new item, do as follows:
getManagedAuthorities().add(newItem);
Objects of the following type(s) are allowed in the list
String- Returns:
- The value of the managedAuthorities 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) -
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() -
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() -
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) -
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 classService
-
withFull
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withFull(boolean value) -
withManagedAuthorities
-
withManagedAuthorities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withManagedAuthorities(Collection<String> values) -
withRights
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withRights(Rights... values) - Overrides:
withRightsin classService
-
withRights
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withRights(Collection<Rights> values) - Overrides:
withRightsin classService
-
withCapabilities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withCapabilities(Capability... values) - Overrides:
withCapabilitiesin classService
-
withCapabilities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withCapabilities(Collection<Capability> values) - Overrides:
withCapabilitiesin classService
-
withValidationLevels
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withValidationLevels(Validation... values) - Overrides:
withValidationLevelsin classService
-
withValidationLevels
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withValidationLevels(Collection<Validation> values) - Overrides:
withValidationLevelsin classService
-
withTitle
-
withShortName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withShortName(String value) - Overrides:
withShortNamein classService
-
withIdentifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withIdentifier(String value) - Overrides:
withIdentifierin classService
-
withAltIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withAltIdentifiers(String... values) - Overrides:
withAltIdentifiersin classService
-
withAltIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withAltIdentifiers(Collection<String> values) - Overrides:
withAltIdentifiersin classService
-
withCuration
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withCuration(Curation value) - Overrides:
withCurationin classService
-
withContent
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withContent(Content value) - Overrides:
withContentin classService
-
withCreated
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withCreated(LocalDateTime value) - Overrides:
withCreatedin classService
-
withUpdated
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withUpdated(LocalDateTime value) - Overrides:
withUpdatedin classService
-
withStatus
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withStatus(String value) - Overrides:
withStatusin classService
-
withVersion
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Registry withVersion(String value) - Overrides:
withVersionin classService
-
mergeFrom
-
mergeFrom
-
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 classService
-