Class DataCollection
- All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
Java class for DataCollection complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="DataCollection">
<complexContent>
<extension base="{http://www.ivoa.net/xml/VOResource/v1.0}Resource">
<sequence>
<element name="facility" type="{http://www.ivoa.net/xml/VOResource/v1.0}ResourceName" maxOccurs="unbounded" minOccurs="0"/>
<element name="instrument" type="{http://www.ivoa.net/xml/VOResource/v1.0}ResourceName" maxOccurs="unbounded" minOccurs="0"/>
<element name="rights" type="{http://www.ivoa.net/xml/VOResource/v1.0}Rights" maxOccurs="unbounded" minOccurs="0"/>
<element name="format" type="{http://www.ivoa.net/xml/VODataService/v1.1}Format" maxOccurs="unbounded" minOccurs="0"/>
<element name="coverage" type="{http://www.ivoa.net/xml/VODataService/v1.1}Coverage" minOccurs="0"/>
<element name="tableset" type="{http://www.ivoa.net/xml/VODataService/v1.1}TableSet" minOccurs="0"/>
<element name="accessURL" type="{http://www.ivoa.net/xml/VOResource/v1.0}AccessURL" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessURLThe URL that can be used to download the data contained in this data collection.protected CoverageExtent of the content of the resource over space, time, and frequency.protected List<ResourceName>the observatory or facility used to collect the data contained or managed by this resource.This should use RFC 2046 media (“MIME”) types for network-retrievable, digital data.protected List<ResourceName>the Instrument used to collect the data contain or managed by a resource.This should be repeated for all Rights values that apply.protected TablesetEach schema name must be unique within this tableset.Fields inherited from class org.javastro.ivoa.entities.resource.Resource
altIdentifiers, content, created, curation, identifier, shortName, status, title, updated, validationLevels, version -
Constructor Summary
ConstructorsConstructorDescriptionDefault no-arg constructorDataCollection(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<ResourceName> facilities, List<ResourceName> instruments, List<Rights> rights, List<Format> formats, Coverage coverage, Tableset tableset, AccessURL accessURL) 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) booleanThe URL that can be used to download the data contained in this data collection.Extent of the content of the resource over space, time, and frequency.the observatory or facility used to collect the data contained or managed by this resource.This should use RFC 2046 media (“MIME”) types for network-retrievable, digital data.the Instrument used to collect the data contain or managed by a resource.This should be repeated for all Rights values that apply.Each schema name must be unique within this tableset.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetAccessURL(AccessURL value) Sets the value of the accessURL property.voidsetCoverage(Coverage value) Sets the value of the coverage property.voidsetTableset(Tableset value) Sets the value of the tableset property.toString()withAccessURL(AccessURL value) withAltIdentifiers(String... values) withAltIdentifiers(Collection<String> values) withContent(Content value) withCoverage(Coverage value) withCreated(LocalDateTime value) withCuration(Curation value) withFacilities(Collection<ResourceName> values) withFacilities(ResourceName... values) withFormats(Collection<Format> values) withFormats(Format... values) withIdentifier(String value) withInstruments(Collection<ResourceName> values) withInstruments(ResourceName... values) withRights(Collection<Rights> values) withRights(Rights... values) withShortName(String value) withStatus(String value) withTableset(Tableset value) withUpdated(LocalDateTime value) withValidationLevels(Collection<Validation> values) withValidationLevels(Validation... values) withVersion(String value) Methods 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
-
facilities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<ResourceName> facilitiesthe observatory or facility used to collect the data contained or managed by this resource. -
instruments
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<ResourceName> instrumentsthe Instrument used to collect the data contain or managed by a resource. -
rights
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<Rights> rightsThis should be repeated for all Rights values that apply. -
formats
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<Format> formatsThis should use RFC 2046 media (“MIME”) types for network-retrievable, digital data. Non-RFC 2046 values could be used for media that cannot be retrieved over the network. -
coverage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected Coverage coverageExtent of the content of the resource over space, time, and frequency. -
tableset
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected Tableset tablesetEach schema name must be unique within this tableset. -
accessURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected AccessURL accessURLThe URL that can be used to download the data contained in this data collection.
-
-
Constructor Details
-
DataCollection
public DataCollection()Default no-arg constructor -
DataCollection
public DataCollection(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<ResourceName> facilities, List<ResourceName> instruments, List<Rights> rights, List<Format> formats, Coverage coverage, Tableset tableset, AccessURL accessURL) Fully-initialising value constructor
-
-
Method Details
-
getFacilities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<ResourceName> getFacilities()the observatory or facility used to collect the data contained or managed by this resource. Gets the value of the facilities 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 facilities property.For example, to add a new item, do as follows:
getFacilities().add(newItem);
Objects of the following type(s) are allowed in the list
ResourceName- Returns:
- The value of the facilities property.
-
getInstruments
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<ResourceName> getInstruments()the Instrument used to collect the data contain or managed by a resource. Gets the value of the instruments 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 instruments property.For example, to add a new item, do as follows:
getInstruments().add(newItem);
Objects of the following type(s) are allowed in the list
ResourceName- Returns:
- The value of the instruments property.
-
getRights
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<Rights> getRights()This should be repeated for all Rights values that apply. Gets the value of the rights 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 rights property.For example, to add a new item, do as follows:
getRights().add(newItem);
Objects of the following type(s) are allowed in the list
Rights- Returns:
- The value of the rights property.
-
getFormats
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<Format> getFormats()This should use RFC 2046 media (“MIME”) types for network-retrievable, digital data. Non-RFC 2046 values could be used for media that cannot be retrieved over the network. Gets the value of the formats 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 formats property.For example, to add a new item, do as follows:
getFormats().add(newItem);
Objects of the following type(s) are allowed in the list
Format- Returns:
- The value of the formats property.
-
getCoverage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Coverage getCoverage()Extent of the content of the resource over space, time, and frequency.- Returns:
- possible object is
Coverage
-
setCoverage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setCoverage(Coverage value) Sets the value of the coverage property.- Parameters:
value- allowed object isCoverage- See Also:
-
getTableset
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Tableset getTableset()Each schema name must be unique within this tableset.- Returns:
- possible object is
Tableset
-
setTableset
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setTableset(Tableset value) Sets the value of the tableset property.- Parameters:
value- allowed object isTableset- See Also:
-
getAccessURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public AccessURL getAccessURL()The URL that can be used to download the data contained in this data collection.- Returns:
- possible object is
AccessURL
-
setAccessURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setAccessURL(AccessURL value) Sets the value of the accessURL property.- Parameters:
value- allowed object isAccessURL- See Also:
-
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 classResource
-
withFacilities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withFacilities(ResourceName... values) -
withFacilities
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withFacilities(Collection<ResourceName> values) -
withInstruments
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withInstruments(ResourceName... values) -
withInstruments
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withInstruments(Collection<ResourceName> values) -
withRights
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withRights(Rights... values) -
withRights
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withRights(Collection<Rights> values) -
withFormats
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withFormats(Format... values) -
withFormats
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withFormats(Collection<Format> values) -
withCoverage
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withCoverage(Coverage value) -
withTableset
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withTableset(Tableset value) -
withAccessURL
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withAccessURL(AccessURL value) -
withValidationLevels
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withValidationLevels(Validation... values) - Overrides:
withValidationLevelsin classResource
-
withValidationLevels
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withValidationLevels(Collection<Validation> values) - Overrides:
withValidationLevelsin classResource
-
withTitle
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withTitle(String value) -
withShortName
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withShortName(String value) - Overrides:
withShortNamein classResource
-
withIdentifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withIdentifier(String value) - Overrides:
withIdentifierin classResource
-
withAltIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withAltIdentifiers(String... values) - Overrides:
withAltIdentifiersin classResource
-
withAltIdentifiers
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withAltIdentifiers(Collection<String> values) - Overrides:
withAltIdentifiersin classResource
-
withCuration
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withCuration(Curation value) - Overrides:
withCurationin classResource
-
withContent
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withContent(Content value) - Overrides:
withContentin classResource
-
withCreated
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withCreated(LocalDateTime value) - Overrides:
withCreatedin classResource
-
withUpdated
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withUpdated(LocalDateTime value) - Overrides:
withUpdatedin classResource
-
withStatus
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withStatus(String value) - Overrides:
withStatusin classResource
-
withVersion
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public DataCollection withVersion(String value) - Overrides:
withVersionin classResource
-
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 classResource
-