use of alma.xmljbind.test.obsproject.ObsUnitSetTChoice in project ACS by ACS-Community.
the class TestEntityFactory method getObsProject.
ObsProject getObsProject() {
ObsProject proj = null;
proj = new ObsProject();
ObsProjectEntityT entity = new ObsProjectEntityT();
proj.setObsProjectEntity(entity);
entity.setEntityId("uid://X1230000000000000/X00000001");
entity.setSchemaVersion("1.0");
ObsProposalRefT ref = new ObsProposalRefT();
proj.setObsProposalRef(ref);
ref.setEntityId("uid://X1230000000000000/X00000002");
ObsProgramT prog = new ObsProgramT();
proj.setObsProgram(prog);
ObsUnitSetT obsPlan = new ObsUnitSetT();
prog.setObsPlan(obsPlan);
ObsUnitSetTChoice choice = new ObsUnitSetTChoice();
obsPlan.setObsUnitSetTChoice(choice);
SchedBlockRefT schedBlockRef1 = new SchedBlockRefT();
choice.addSchedBlockRef(schedBlockRef1);
schedBlockRef1.setEntityId("uid://X1230000000000000/X00000003");
return proj;
}
Aggregations