View Javadoc
1   package de.japrost.jabudget.serialization;
2   
3   /**
4    * Domain serializator and deserializator.
5    */
6   public interface Serialization {
7   
8   	/**
9   	 * Serialize the domain.
10  	 *
11  	 * @param domainStore the doamin to serialize.
12  	 */
13  	void serialize(DomainStore domainStore);
14  
15  	/**
16  	 * Deserialize the domaion.
17  	 *
18  	 * @return the deserialized domain.
19  	 */
20  	DomainStore deserialize();
21  
22  }