dnet-hadoop/dhp-workflows/dhp-aggregation/src/main/java/eu/dnetlib/dhp/collection/plugin/base/BaseRecordInfo.java

52 lines
1.1 KiB
Java
Raw Normal View History

2024-02-16 11:36:46 +01:00
2024-02-15 14:04:17 +01:00
package eu.dnetlib.dhp.collection.plugin.base;
import java.io.Serializable;
2024-02-16 11:36:46 +01:00
import java.util.ArrayList;
2024-02-15 14:04:17 +01:00
import java.util.HashMap;
2024-02-16 11:36:46 +01:00
import java.util.List;
2024-02-15 14:04:17 +01:00
import java.util.Map;
public class BaseRecordInfo implements Serializable {
private static final long serialVersionUID = -8848232018350074593L;
2024-02-15 14:27:50 +01:00
private String id;
private Map<String, Map<String, String>> collections = new HashMap<>();
2024-02-16 11:36:46 +01:00
private List<String> paths = new ArrayList<>();
private List<String> types = new ArrayList<>();
2024-02-15 14:04:17 +01:00
2024-02-15 14:27:50 +01:00
public String getId() {
return this.id;
}
public void setId(final String id) {
this.id = id;
}
2024-02-16 11:36:46 +01:00
public List<String> getPaths() {
2024-02-15 14:04:17 +01:00
return this.paths;
}
2024-02-16 11:36:46 +01:00
public void setPaths(final List<String> paths) {
2024-02-15 14:04:17 +01:00
this.paths = paths;
}
2024-02-16 11:36:46 +01:00
public List<String> getTypes() {
2024-02-15 14:04:17 +01:00
return this.types;
}
2024-02-16 11:36:46 +01:00
public void setTypes(final List<String> types) {
2024-02-15 14:04:17 +01:00
this.types = types;
}
public Map<String, Map<String, String>> getCollections() {
return this.collections;
}
public void setCollections(final Map<String, Map<String, String>> collections) {
this.collections = collections;
}
}