public void singleCategorysProjectsView(Project p) { System.out.println( "\nProject Title : " + p.getTitle() + "\n Project Discription :" + p.getDiscription() + "\n Project History : " + p.getProjectHistory() + "\n Video Link : " + p.getVideoLink() + "\n Required Sum :" + p.getRequiredSum() + "\n Gained Sum :" + p.getGainedSum() + "\n Days Left :" + p.getDaysLeft() + "\n QustionSection : " + p.getQuestionSection()); }
public void addNewQuestion(String newQuestion, int projectNumber, String categoryTitle) { Project p = prm.getOne(categoryTitle, projectNumber); String questionSection = p.getQuestionSection(); p.setQuestionSection(questionSection += newQuestion + "\n"); }