Class Source.SourceBuilder

java.lang.Object
org.ivoa.dm.registry.voresource.Source.SourceBuilder
Enclosing class:
Source

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

    • value

      public String value
      .
    • format

      public String format
      The reference format. Recognized values include “bibcode”, referring to a standard astronomical bibcode (http://cdsweb.u-strasbg.fr/simbad/refcode.html).
  • Constructor Details

    • SourceBuilder

      public SourceBuilder()
  • Method Details

    • create

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