Class Curation

java.lang.Object
org.javastro.ivoa.entities.resource.Curation
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 Curation extends Object implements org.jvnet.jaxb.lang.MergeFrom, org.jvnet.jaxb.lang.ToString
Information regarding the general curation of a resource

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 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 publisher
      Entity (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> creators
      This 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> contributors
      Entity 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> dates
      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.
    • version

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") protected String version
      Label 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> contacts
      Information that can be used for contacting someone with regard to this resource.
  • Constructor Details

  • 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 is ResourceName
      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 set method 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 set method 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 set method 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 is String
      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 set method 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)
      Overrides:
      equals in class 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()
      Overrides:
      hashCode in class Object
    • 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:
      toString in class Object
    • 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:
      append in interface org.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:
      appendFields in interface org.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

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curation withCreators(Creator... values)
    • 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

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curation withDates(Date... values)
    • 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

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v4.0.4", date="2024-08-01T13:15:43+01:00") public Curation withVersion(String value)
    • 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(Contact... values)
    • 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:
      mergeFrom in interface org.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:
      mergeFrom in interface org.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:
      createNewInstance in interface org.jvnet.jaxb.lang.MergeFrom