Subversion Repositories eFlore/Applications.del

Rev

Rev 9 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 14
Line 1... Line 1...
1
package org.tela_botanica.del.client.cache;
1
package org.tela_botanica.del.client.cache;
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
import org.tela_botanica.del.client.modeles.Observation;
3
import org.tela_botanica.del.client.modeles.Observation;
Line 4... Line 4...
4
 
4
 
Line 5... Line 5...
5
public class ClientCache {
5
public class CacheClient {
Line 6... Line 6...
6
 
6
 
7
	private Observation currentObservation;
7
	private Observation currentObservation;
8
 
8
 
Line 9... Line 9...
9
	private static ClientCache instance;
9
	private static CacheClient instance;
10
 
10
 
11
	private ClientCache() {
11
	private CacheClient() {
Line 12... Line 12...
12
		instance = this;
12
		instance = this;
13
	}
13
	}
14
 
14
 
Line 15... Line 15...
15
	public Observation getCurrentImageCel() {
15
	public Observation getCurrentObservation() {
16
		return currentObservation;
16
		return currentObservation;
17
	}
17
	}
18
 
18
 
19
	public void setCurrentImageCel(Observation currentObservation) {
19
	public void setCurrentObservation(Observation currentObservation) {
20
		this.currentObservation = currentObservation;
20
		this.currentObservation = currentObservation;
Line 21... Line 21...
21
	}
21
	}