use of sqlite.feature.many2many.case5.model.Person in project compss by bsc-wdc.
the class Internal method testPSCOReturn.
private static void testPSCOReturn() {
String id = "person_" + UUID.randomUUID().toString();
Person p = InternalImpl.taskPSCOReturn("PName3", 3, 3, id);
String name = p.getName();
int age = p.getAge();
int numC = p.getNumComputers();
System.out.println("[LOG][PSCO_RETURN] Person " + name + " with age " + age + " has " + numC + " computers");
System.out.println("[LOG][PSCO_RETURN] BeginId = " + id + " EndId = " + p.getID());
}
use of sqlite.feature.many2many.case5.model.Person in project compss by bsc-wdc.
the class Internal method testPSCOInOutTaskPersisted.
private static void testPSCOInOutTaskPersisted() {
Person p = new Person("PName2", 2, 2);
String id = InternalImpl.taskPSCOInOutTaskPersisted(p);
String name = p.getName();
int age = p.getAge();
int numC = p.getNumComputers();
System.out.println("[LOG][PSCO_INOUT_TP] Person " + name + " with age " + age + " has " + numC + " computers");
System.out.println("[LOG][PSCO_INOUT_TP] BeginId = " + id + " EndId = " + p.getID());
}
use of sqlite.feature.many2many.case5.model.Person in project compss by bsc-wdc.
the class Internal method testPSCOTargetTaskPersisted.
private static void testPSCOTargetTaskPersisted() {
String id = "person_" + UUID.randomUUID().toString();
Person p = new Person("PName1", 1, 1);
p.taskPSCOTargetTaskPersisted(id);
String name = p.getName();
int age = p.getAge();
int numC = p.getNumComputers();
System.out.println("[LOG][PSCO_TARGET_TP] Person " + name + " with age " + age + " has " + numC + " computers");
System.out.println("[LOG][PSCO_TARGET_TP] BeginId = null EndId = " + p.getID());
}
use of sqlite.feature.many2many.case5.model.Person in project compss by bsc-wdc.
the class Internal method testPSCOTarget.
private static void testPSCOTarget() {
String id = "person_" + UUID.randomUUID().toString();
Person p = new Person("PName1", 1, 1);
p.makePersistent(id);
// Invoke 2 times to check if parameter is well returned from worker
p.taskPSCOTarget();
p.taskPSCOTarget();
String name = p.getName();
int age = p.getAge();
int numC = p.getNumComputers();
System.out.println("[LOG][PSCO_TARGET] Person " + name + " with age " + age + " has " + numC + " computers");
System.out.println("[LOG][PSCO_TARGET] BeginId = " + id + " EndId = " + p.getID());
}
use of sqlite.feature.many2many.case5.model.Person in project compss by bsc-wdc.
the class Internal method testPSCOReturnNoTaskPersisted.
private static void testPSCOReturnNoTaskPersisted() {
Person p = InternalImpl.taskPSCOReturnNoTaskPersisted("PName3", 3, 3);
String name = p.getName();
int age = p.getAge();
int numC = p.getNumComputers();
System.out.println("[LOG][PSCO_RETURN_NTP] Person " + name + " with age " + age + " has " + numC + " computers");
System.out.println("[LOG][PSCO_RETURN_NTP] BeginId = null EndId = " + p.getID());
}
Aggregations