use of org.eclipse.persistence.testing.models.jpa.composite.advanced.member_3.LargeProject in project eclipselink by eclipse-ee4j.
the class EmployeePopulator method basicLargeProjectExample3.
public LargeProject basicLargeProjectExample3() {
LargeProject largeProject = createLargeProject();
try {
largeProject.setName("TOPEmployee Management");
largeProject.setDescription("A management application to report on the corporations database through TopLink.");
largeProject.setBudget(4000.98);
startCalendar.set(1997, 10, 12, 1, 0, 0);
// largeProject.setMilestoneVersion(new Timestamp(startCalendar.getTime().getTime()));
} catch (Exception exception) {
throw new RuntimeException(exception.toString());
}
return largeProject;
}
use of org.eclipse.persistence.testing.models.jpa.composite.advanced.member_3.LargeProject in project eclipselink by eclipse-ee4j.
the class EmployeePopulator method basicLargeProjectExample5.
public LargeProject basicLargeProjectExample5() {
LargeProject largeProject = createLargeProject();
try {
largeProject.setName("Problem Reporting System");
largeProject.setDescription("A PRS application to report on the corporations database through TopLink.");
largeProject.setBudget(101.98);
startCalendar.set(1997, 9, 6, 1, 40, 44);
// largeProject.setMilestoneVersion(new Timestamp(startCalendar.getTime().getTime()));
} catch (Exception exception) {
throw new RuntimeException(exception.toString());
}
return largeProject;
}
use of org.eclipse.persistence.testing.models.jpa.composite.advanced.member_3.LargeProject in project eclipselink by eclipse-ee4j.
the class EmployeePopulator method largeProjectExample2.
public LargeProject largeProjectExample2() {
if (containsObject(LargeProject.class, "0002")) {
return (LargeProject) getObject(LargeProject.class, "0002");
}
LargeProject largeProject = basicLargeProjectExample2();
registerObject(largeProject, "0002");
return largeProject;
}
use of org.eclipse.persistence.testing.models.jpa.composite.advanced.member_3.LargeProject in project eclipselink by eclipse-ee4j.
the class EmployeePopulator method basicLargeProjectExample2.
public LargeProject basicLargeProjectExample2() {
LargeProject largeProject = createLargeProject();
try {
largeProject.setName("Swirly Dirly");
largeProject.setDescription("A swirly application to report on the corporations database through TopLink.");
largeProject.setBudget(100.98);
startCalendar.set(1999, 11, 25, 11, 40, 44);
// largeProject.setMilestoneVersion(new Timestamp(startCalendar.getTime().getTime()));
} catch (Exception exception) {
throw new RuntimeException(exception.toString());
}
return largeProject;
}
use of org.eclipse.persistence.testing.models.jpa.composite.advanced.member_3.LargeProject in project eclipselink by eclipse-ee4j.
the class EmployeePopulator method largeProjectExample5.
public LargeProject largeProjectExample5() {
if (containsObject(LargeProject.class, "0005")) {
return (LargeProject) getObject(LargeProject.class, "0005");
}
LargeProject largeProject = basicLargeProjectExample5();
registerObject(largeProject, "0005");
try {
largeProject.setTeamLeader(employeeExample5());
} catch (Exception exception) {
throw new RuntimeException(exception.toString());
}
return largeProject;
}
Aggregations