Class DataCollection
- All Implemented Interfaces:
com.kscs.util.jaxb.Copyable,com.kscs.util.jaxb.PartialCopyable,Cloneable,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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclassstatic classstatic classstatic classDataCollection.Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot,?>, TParent> -
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
__cachedModifier__, 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, ZonedDateTime created, ZonedDateTime 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) static DataCollection.Builder<Void>builder()clone()copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) static DataCollection.Builder<Void>copyExcept(DataCollection _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static DataCollection.Builder<Void>copyExcept(Resource _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static <_B> DataCollection.Builder<_B>copyOf(DataCollection _other) static <_B> DataCollection.Builder<_B>copyOf(DataCollection _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) static <_B> DataCollection.Builder<_B>static <_B> DataCollection.Builder<_B>copyOf(Resource _other, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) static DataCollection.Builder<Void>copyOnly(DataCollection _other, com.kscs.util.jaxb.PropertyTree _propertyTree) static DataCollection.Builder<Void><_B> voidcopyTo(DataCollection.Builder<_B> _other) Copies all state of this object to a builder.<_B> voidcopyTo(DataCollection.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) 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) modifier()<_B> DataCollection.Builder<_B>newCopyBuilder(_B _parentBuilder) <_B> DataCollection.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) 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()visit(com.kscs.util.jaxb.PropertyVisitor _visitor_) Methods inherited from class org.javastro.ivoa.entities.resource.Resource
copyTo, copyTo, 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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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, ZonedDateTime created, ZonedDateTime 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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+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="2025-09-10T09:00:07+01:00") public boolean equals(Object object) -
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() -
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() -
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) -
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 classResource
-
mergeFrom
-
mergeFrom
-
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 classResource
-
clone
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public DataCollection clone() -
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public DataCollection createCopy()- Specified by:
createCopyin interfacecom.kscs.util.jaxb.Copyable- Overrides:
createCopyin classResource
-
createCopy
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public DataCollection createCopy(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Specified by:
createCopyin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
createCopyin classResource
-
copyExcept
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public DataCollection copyExcept(com.kscs.util.jaxb.PropertyTree _propertyTree) - Specified by:
copyExceptin interfacecom.kscs.util.jaxb.PartialCopyable- Overrides:
copyExceptin classResource
-
copyOnly
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public DataCollection copyOnly(com.kscs.util.jaxb.PropertyTree _propertyTree) -
modifier
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public DataCollection.Modifier modifier() -
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(DataCollection.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> DataCollection.Builder<_B> newCopyBuilder(_B _parentBuilder) - Overrides:
newCopyBuilderin classResource
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public DataCollection.Builder<Void> newCopyBuilder()- Overrides:
newCopyBuilderin classResource
-
builder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public static DataCollection.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> DataCollection.Builder<_B> copyOf(Resource _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> DataCollection.Builder<_B> copyOf(DataCollection _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(DataCollection.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> DataCollection.Builder<_B> newCopyBuilder(_B _parentBuilder, com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Overrides:
newCopyBuilderin classResource
-
newCopyBuilder
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2025-09-10T09:00:07+01:00") public DataCollection.Builder<Void> newCopyBuilder(com.kscs.util.jaxb.PropertyTree _propertyTree, com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse) - Overrides:
newCopyBuilderin classResource
-
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> DataCollection.Builder<_B> copyOf(Resource _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> DataCollection.Builder<_B> copyOf(DataCollection _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 DataCollection.Builder<Void> copyExcept(Resource _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 DataCollection.Builder<Void> copyExcept(DataCollection _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 DataCollection.Builder<Void> copyOnly(Resource _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 DataCollection.Builder<Void> copyOnly(DataCollection _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 DataCollection visit(com.kscs.util.jaxb.PropertyVisitor _visitor_)
-