コード例 #1
0
ファイル: ContestantResource.java プロジェクト: paysdoc/feats
  private Contestant getPanto4Feats() {
    Play play = new Play();
    play.setName("a FEATS panto");
    play.setAuthor("Vera Fawny");
    play.setCopyright(false);
    play.setDuration(39);
    play.setOriginalScript(true);
    play.setQualifiesAsBOS(true);

    Contestant company = new Contestant();
    company.setName("Funnybone");
    company.setMaleCast(23);
    company.setFemaleCast(14);
    company.setJuvenileCastMale(false);
    company.setWrittenAdjudication(true);
    company.setPlay(play);
    return company;
  }
コード例 #2
0
ファイル: ContestantResource.java プロジェクト: paysdoc/feats
  private Contestant getNamingBru() {
    Play play = new Play();
    play.setName("Naming of the bru");
    play.setAuthor("Willem Skuddiespeer");
    play.setCopyright(true);
    play.setCopyrightFullPerformance(false);
    play.setDuration(46);
    play.setOriginalScript(false);
    play.setPublisher("Publiseermymaar");

    Contestant company = new Contestant();
    company.setName("The Imbeciles");
    company.setMaleCast(2);
    company.setFemaleCast(1);
    company.setJuvenileCastMale(true);
    company.setWrittenAdjudication(true);
    company.setPlay(play);
    return company;
  }