(self, ram)
| 53 | self.goals = goals if goals else [] |
| 54 | |
| 55 | def store(self, ram): |
| 56 | existing = self.retrieve(ram['objectives'], self.unique) |
| 57 | if not existing: |
| 58 | ram['objectives'].append(self) |
| 59 | return self.retrieve(ram['objectives'], self.unique) |
| 60 | existing.update('name', self.name) |
| 61 | existing.update('description', self.description) |
| 62 | existing.update('goals', self.goals) |
| 63 | return existing |