Class Proposal.ProposalBuilder

java.lang.Object
org.ivoa.dm.caom2.Proposal.ProposalBuilder
Enclosing class:
Proposal

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

    Fields
    Modifier and Type
    Field
    Description
    collection-specific identifier for the proposal.
    additional keywords that describe the science goals of the proposal; keywords cannot contain the pipe (|) character - it is reserved for use in persistence systems (e.g.
    proper name of the principal investigator.
    common name of the project this proposal belongs to; typically used for larger or long-running projects that include mutliple proposals.
    identifier for external resource with proposal details.
    title of the proposal.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

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

    Methods inherited from class java.lang.Object

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

    • id

      public String id
      collection-specific identifier for the proposal.
    • pi

      public String pi
      proper name of the principal investigator.
    • project

      public String project
      common name of the project this proposal belongs to; typically used for larger or long-running projects that include mutliple proposals.
    • title

      public String title
      title of the proposal.
    • keywords

      public List<String> keywords
      additional keywords that describe the science goals of the proposal; 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).
    • reference

      public String reference
      identifier for external resource with proposal details.
  • Constructor Details

    • ProposalBuilder

      public ProposalBuilder()
  • Method Details

    • create

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