Class Investigator.InvestigatorBuilder

java.lang.Object
org.ivoa.dm.proposal.prop.Investigator.InvestigatorBuilder
Enclosing class:
Investigator

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

    • person

      public Person person
      the investigator.
    • type

      public InvestigatorKind type
      the investigator type.
    • forPhD

      public Boolean forPhD
      is the investigator making proposal for their PhD.
  • Constructor Details

    • InvestigatorBuilder

      public InvestigatorBuilder()
  • Method Details

    • create

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