2020-05-15 12:25:37 +02:00
|
|
|
|
|
|
|
package eu.dnetlib.dhp.broker.oa.util;
|
|
|
|
|
2020-06-04 10:26:34 +02:00
|
|
|
import java.util.Arrays;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
import eu.dnetlib.dhp.schema.oaf.Dataset;
|
|
|
|
import eu.dnetlib.dhp.schema.oaf.OtherResearchProduct;
|
|
|
|
import eu.dnetlib.dhp.schema.oaf.Publication;
|
|
|
|
import eu.dnetlib.dhp.schema.oaf.Result;
|
|
|
|
import eu.dnetlib.dhp.schema.oaf.Software;
|
|
|
|
|
2020-05-15 12:25:37 +02:00
|
|
|
public class BrokerConstants {
|
|
|
|
|
2020-06-04 10:26:34 +02:00
|
|
|
public static final String OPEN_ACCESS = "OPEN";
|
|
|
|
public static final String IS_MERGED_IN_CLASS = "isMergedIn";
|
|
|
|
|
2020-06-09 16:01:31 +02:00
|
|
|
public static final float MIN_TRUST = 0.25f;
|
|
|
|
public static final float MAX_TRUST = 1.00f;
|
|
|
|
|
2020-06-08 08:32:22 +02:00
|
|
|
public static final List<Class<? extends Result>> RESULT_CLASSES = Arrays
|
|
|
|
.asList(Publication.class, Dataset.class, Software.class, OtherResearchProduct.class);
|
2020-05-21 16:47:53 +02:00
|
|
|
|
2020-05-15 12:25:37 +02:00
|
|
|
}
|