예제 #1
0
 public Company createTopOrganization(String name, String sn, Date date) {
   Company result = new Company(name, sn);
   result.setCreateDate(date);
   result.createAsTopOrganization();
   return result;
 }
예제 #2
0
 public Company createCompany(String name, String sn, Date date) {
   Company result = new Company(name, sn);
   result.setCreateDate(date);
   result.save();
   return result;
 }