WTHashSet wtHashSet = new WTHashSet(); wtHashSet.addElement(epmDocument); ManagedBaseline managedBaseline = ManagedBaseline.newManagedBaseline(); managedBaseline.setName("BASELINE_NAME"); managedBaseline.setNumber("BASELINE_NUMBER"); managedBaseline.setDescription("BASELINE_DESCRIPTION"); managedBaseline.setContainer(epmDocument.getContainer()); managedBaseline.setFolderingInfo(epmDocument.getFolderingInfo()); managedBaseline.setTopObject(epmDocument); managedBaseline = (ManagedBaseline)PersistenceHelper.manager.save(managedBaseline);