public ProjectReadAdapter build() { if (adaptee == null) { throw new RuntimeException("Null actionPlan cannot be persisted."); } setBenefits(adaptee.getBenefits()); setAssumptions(adaptee.getAssumptions()); setDeliverables(adaptee.getDeliverables()); setConstraints(adaptee.getConstraints()); // Criado um array de Inteiros, e convertido para String setTools(stringToArray(adaptee.getTools())); return this; }