Project

General

Profile

« Previous | Next » 

Revision 49936

View differences:

modules/dnet-datasource-manager-common/trunk/src/main/java/eu/dnetlib/enabling/datasources/common/BrowseTermImpl.java
1
package eu.dnetlib.enabling.datasources.common;
2

  
3
public class BrowseTermImpl implements BrowseTerm {
4

  
5
	private String term;
6
	private long total;
7

  
8
	public BrowseTermImpl() {}
9

  
10
	public BrowseTermImpl(final String term, final int total) {
11
		this.term = term;
12
		this.total = total;
13
	}
14

  
15
	public String getTerm() {
16
		return term;
17
	}
18

  
19
	public void setTerm(final String term) {
20
		this.term = term;
21
	}
22

  
23
	public long getTotal() {
24
		return total;
25
	}
26

  
27
	public void setTotal(final long total) {
28
		this.total = total;
29
	}
30
}
modules/dnet-datasource-manager-common/trunk/src/main/java/eu/dnetlib/enabling/datasources/common/BrowseTerm.java
1 1
package eu.dnetlib.enabling.datasources.common;
2 2

  
3
public class BrowseTerm {
3
public interface BrowseTerm {
4 4

  
5
	private String term;
6
	private int total;
5
	String getTerm();
7 6

  
8
	public BrowseTerm() {}
7
	void setTerm(String term);
9 8

  
10
	public BrowseTerm(String term, int total) {
11
		this.term = term;
12
		this.total = total;
13
	}
9
	long getTotal();
14 10

  
15
	public String getTerm() {
16
		return term;
17
	}
11
	void setTotal(long total);
18 12

  
19
	public void setTerm(String term) {
20
		this.term = term;
21
	}
22

  
23
	public int getTotal() {
24
		return total;
25
	}
26

  
27
	public void setTotal(int total) {
28
		this.total = total;
29
	}
30 13
}

Also available in: Unified diff