Project

General

Profile

« Previous | Next » 

Revision 55761

reintegrated branch solr75 -r53793:HEAD

View differences:

ResultEntry.java
1 1
package eu.dnetlib.openaire.directindex.objects;
2 2

  
3 3
import java.text.SimpleDateFormat;
4
import java.util.ArrayList;
5
import java.util.Date;
6
import java.util.HashMap;
7
import java.util.List;
8
import java.util.Map;
4
import java.util.*;
9 5
import java.util.concurrent.TimeUnit;
6
import java.util.stream.Collector;
10 7
import java.util.stream.Collectors;
11
import java.util.stream.Stream;
12 8

  
13 9
import org.apache.commons.lang.StringUtils;
14 10
import org.apache.commons.logging.Log;
......
26 22
import eu.dnetlib.openaire.directindex.api.DirecIndexApiException;
27 23
import eu.dnetlib.openaire.directindex.api.OpenAIRESubmitterUtils;
28 24
import io.swagger.annotations.ApiModelProperty;
25
import org.springframework.web.client.RestTemplate;
29 26

  
30 27
/**
31 28
 * Created by michele on 02/12/15.
32 29
 */
33 30
public class ResultEntry {
34 31

  
32

  
35 33
	private String openaireId;
36 34
	private String originalId;
37 35
	private String title;
......
150 148

  
151 149
	/**
152 150
	 * Set required = true when the deprecated licenseCode is not used anymore by our client and it is removed
153
	 * @return
151
	 * @return access rights code
154 152
	 */
155 153
	@ApiModelProperty(required = false, allowableValues = "OPEN, CLOSED, RESTRICTED, EMBARGO, UNKNOWN, OTHER, OPEN SOURCE")
156 154
	public String getAccessRightCode() {
......
205 203
		this.contexts = contexts;
206 204
	}
207 205

  
206

  
207

  
208 208
	@ApiModelProperty(value = "E.g. info:eu-repo/grantAgreement/EC/FP7/283595/EU//OpenAIREplus")
209 209
	public List<String> getLinksToProjects() {
210 210
		return linksToProjects;

Also available in: Unified diff