コード例 #1
0
 public CategoryBuilder() {
   category = new Category();
   category.setName("integrated weapon systems");
   category.setDomain(new DomainBuilder().build());
   category.setChildCategories(null);
   category.setParentCategory(null);
 }
コード例 #2
0
 public CategoryBuilder withParentCategory(Category parentCategory) {
   category.setParentCategory(parentCategory);
   return this;
 }