예제 #1
0
 public static Project of(NameDescriptionState nameDescription) {
   return new Project(
       ID.NONE,
       nameDescription.getName(),
       nameDescription.getDescription(),
       nameDescription.isDisabled(),
       Signature.none());
 }
예제 #2
0
 public Project update(NameDescriptionState form) {
   return of(form).withId(id).withDisabled(form.isDisabled());
 }