View Javadoc
1   package de.japrost.jabudget.serialization;
2   
3   import java.util.Set;
4   
5   import de.japrost.jabudget.domain.account.Account;
6   
7   /**
8    * The whole domain to store.
9    */
10  public class DomainStore {
11  
12  	private Set<Account> accounts;
13  
14  	/**
15  	 * Get the accounts.
16  	 *
17  	 * @return the accounts.
18  	 */
19  	public Set<Account> getAccounts() {
20  		return accounts;
21  	}
22  
23  	/**
24  	 * Set the accounts.
25  	 *
26  	 * @param accounts the accounts.
27  	 */
28  	public void setAccounts(final Set<Account> accounts) {
29  		this.accounts = accounts;
30  	}
31  
32  }