Class Curation
- All Implemented Interfaces:
org.jvnet.jaxb.lang.MergeFrom,org.jvnet.jaxb.lang.ToString
Java class for Curation complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType name="Curation">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="publisher" type="{http://www.ivoa.net/xml/VOResource/v1.0}ResourceName"/>
<element name="creator" type="{http://www.ivoa.net/xml/VOResource/v1.0}Creator" maxOccurs="unbounded" minOccurs="0"/>
<element name="contributor" type="{http://www.ivoa.net/xml/VOResource/v1.0}ResourceName" maxOccurs="unbounded" minOccurs="0"/>
<element name="date" type="{http://www.ivoa.net/xml/VOResource/v1.0}Date" maxOccurs="unbounded" minOccurs="0"/>
<element name="version" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
<element name="contact" type="{http://www.ivoa.net/xml/VOResource/v1.0}Contact" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionInformation that can be used for contacting someone with regard to this resource.protected List<ResourceName>Entity responsible for contributions to the content of the resourceThis is the equivalent of the author of a publication.This will typically be associated with the creation or availability (i.e., most recent release or version) of the resource.protected ResourceNameEntity (e.g.protected StringLabel associated with creation or availablilty of a version of a resource. -
Constructor Summary
Constructors -
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) booleanInformation that can be used for contacting someone with regard to this resource.Entity responsible for contributions to the content of the resource Gets the value of the contributors property.This is the equivalent of the author of a publication.getDates()This will typically be associated with the creation or availability (i.e., most recent release or version) of the resource.Entity (e.g.Label associated with creation or availablilty of a version of a resource.inthashCode()voidvoidmergeFrom(org.jvnet.jaxb.locator.ObjectLocator leftLocator, org.jvnet.jaxb.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb.lang.MergeStrategy strategy) voidsetPublisher(ResourceName value) Sets the value of the publisher property.voidsetVersion(String value) Sets the value of the version property.toString()withContacts(Collection<Contact> values) withContacts(Contact... values) withContributors(Collection<ResourceName> values) withContributors(ResourceName... values) withCreators(Collection<Creator> values) withCreators(Creator... values) withDates(Collection<Date> values) withPublisher(ResourceName value) withVersion(String value)
-
Field Details
-
publisher
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected ResourceName publisherEntity (e.g. person or organisation) responsible for making the resource available -
creators
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<Creator> creatorsThis is the equivalent of the author of a publication. -
contributors
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<ResourceName> contributorsEntity responsible for contributions to the content of the resource -
dates
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<Date> datesThis will typically be associated with the creation or availability (i.e., most recent release or version) of the resource. Use the role attribute to clarify. -
version
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String versionLabel associated with creation or availablilty of a version of a resource. -
contacts
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected List<Contact> contactsInformation that can be used for contacting someone with regard to this resource.
-
-
Constructor Details
-
Curation
public Curation()Default no-arg constructor -
Curation
public Curation(ResourceName publisher, List<Creator> creators, List<ResourceName> contributors, List<Date> dates, String version, List<Contact> contacts) Fully-initialising value constructor
-
-
Method Details
-
getPublisher
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public ResourceName getPublisher()Entity (e.g. person or organisation) responsible for making the resource available- Returns:
- possible object is
ResourceName
-
setPublisher
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setPublisher(ResourceName value) Sets the value of the publisher property.- Parameters:
value- allowed object isResourceName- See Also:
-
getCreators
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<Creator> getCreators()This is the equivalent of the author of a publication. Gets the value of the creators 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 creators property.For example, to add a new item, do as follows:
getCreators().add(newItem);
Objects of the following type(s) are allowed in the list
Creator- Returns:
- The value of the creators property.
-
getContributors
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<ResourceName> getContributors()Entity responsible for contributions to the content of the resource Gets the value of the contributors 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 contributors property.For example, to add a new item, do as follows:
getContributors().add(newItem);
Objects of the following type(s) are allowed in the list
ResourceName- Returns:
- The value of the contributors property.
-
getDates
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<Date> getDates()This will typically be associated with the creation or availability (i.e., most recent release or version) of the resource. Use the role attribute to clarify. Gets the value of the dates 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 dates property.For example, to add a new item, do as follows:
getDates().add(newItem);
Objects of the following type(s) are allowed in the list
Date- Returns:
- The value of the dates property.
-
getVersion
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public String getVersion()Label associated with creation or availablilty of a version of a resource.- Returns:
- possible object is
String
-
setVersion
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public void setVersion(String value) Sets the value of the version property.- Parameters:
value- allowed object isString- See Also:
-
getContacts
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public List<Contact> getContacts()Information that can be used for contacting someone with regard to this resource. Gets the value of the contacts 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 contacts property.For example, to add a new item, do as follows:
getContacts().add(newItem);
Objects of the following type(s) are allowed in the list
Contact- Returns:
- The value of the contacts 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) - Specified by:
appendin interfaceorg.jvnet.jaxb.lang.ToString
-
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
-
withPublisher
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curation withPublisher(ResourceName value) -
withCreators
-
withCreators
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curation withCreators(Collection<Creator> values) -
withContributors
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curation withContributors(ResourceName... values) -
withContributors
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curation withContributors(Collection<ResourceName> values) -
withDates
-
withDates
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curation withDates(Collection<Date> values) -
withVersion
-
withContacts
-
withContacts
@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curation withContacts(Collection<Contact> values) -
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
-
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
-
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
-