Class Curation.CurationBuilder

java.lang.Object
org.ivoa.dm.registry.voresource.Curation.CurationBuilder
Enclosing class:
Curation

public static class Curation.CurationBuilder extends Object
A builder class for Curation, mainly for use in the functional builder pattern.
  • Field Details

    • publisher

      public ResourceName publisher
      Entity (e.g. person or organisation) responsible for making the resource available .
    • creator

      public List<Creator> creator
      The entity/ies (e.g. person(s) or organisation) primarily responsible for creating the content or constitution of the resource. This is the equivalent of the author of a publication.
    • contributor

      public List<ResourceName> contributor
      Entity responsible for contributions to the content of the resource .
    • date

      public List<Date> date
      Date associated with an event in the life cycle of the resource. 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

      public String version
      Label associated with creation or availablilty of a version of a resource.
    • contact

      public List<Contact> contact
      Information that can be used for contacting someone with regard to this resource.
  • Constructor Details

    • CurationBuilder

      public CurationBuilder()
  • Method Details

    • create

      public Curation create()
      create a Curation from this builder.
      Returns:
      an object initialized from the builder.