public Boolean addGoals(Goal g, int index) { myserver.getRoles(index); ServiceReference1.Goals myGoal = new ServiceReference1.Goals(); myGoal.GoalName = g.GoalName; myserver.addGoal(myGoal); return(true); }
public Goal getGoal(int index) { ServiceReference1.Goals myGoal = new ServiceReference1.Goals(); myGoal = myserver.getGoal(index); Goal g = new Goal(); g.GoalName = myGoal.GoalName; return(g); }