Class Instrument.InstrumentBuilder

java.lang.Object
org.ivoa.dm.caom2.Instrument.InstrumentBuilder
Enclosing class:
Instrument

public static class Instrument.InstrumentBuilder extends Object
A builder class for Instrument, mainly for use in the functional builder pattern.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    additional keywords that describe the instrument or instrument configuration at the time of observation; keywords cannot contain the pipe (|) character - it is reserved for use in persistence systems (e.g.
    common name for the instrument.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create a Instrument from this builder.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • name

      public String name
      common name for the instrument.
    • keywords

      public List<String> keywords
      additional keywords that describe the instrument or instrument configuration at the time of observation; keywords cannot contain the pipe (|) character - it is reserved for use in persistence systems (e.g. to store all keywords in a single column in a table).
  • Constructor Details

    • InstrumentBuilder

      public InstrumentBuilder()
  • Method Details

    • create

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