DomainStore.java

  1. package de.japrost.jabudget.serialization;

  2. import java.util.Set;

  3. import de.japrost.jabudget.domain.account.Account;

  4. /**
  5.  * The whole domain to store.
  6.  */
  7. public class DomainStore {

  8.     private Set<Account> accounts;

  9.     /**
  10.      * Get the accounts.
  11.      *
  12.      * @return the accounts.
  13.      */
  14.     public Set<Account> getAccounts() {
  15.         return accounts;
  16.     }

  17.     /**
  18.      * Set the accounts.
  19.      *
  20.      * @param accounts the accounts.
  21.      */
  22.     public void setAccounts(final Set<Account> accounts) {
  23.         this.accounts = accounts;
  24.     }

  25. }