public class Identifier<T extends eu.dnetlib.dhp.schema.oaf.OafEntity> extends Object implements Serializable, Comparable<Identifier<T>>
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_DATE |
static String |
DATE_FORMAT |
| Constructor and Description |
|---|
Identifier(T entity) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Identifier<T> i) |
List<eu.dnetlib.dhp.schema.oaf.KeyValue> |
getCollectedFrom() |
Date |
getDate() |
T |
getEntity() |
eu.dnetlib.dhp.schema.common.EntityType |
getEntityType() |
String |
getOriginalID() |
boolean |
isFromDatasourceID(Set<String> collectedFrom,
String dsId) |
static <T extends eu.dnetlib.dhp.schema.oaf.OafEntity> |
newInstance(T entity) |
void |
setEntity(T entity) |
public static final String DATE_FORMAT
public static final String BASE_DATE
public Identifier(T entity)
public static <T extends eu.dnetlib.dhp.schema.oaf.OafEntity> Identifier<T> newInstance(T entity)
public T getEntity()
public void setEntity(T entity)
public Date getDate()
public List<eu.dnetlib.dhp.schema.oaf.KeyValue> getCollectedFrom()
public eu.dnetlib.dhp.schema.common.EntityType getEntityType()
public String getOriginalID()
public int compareTo(Identifier<T> i)
compareTo in interface Comparable<Identifier<T extends eu.dnetlib.dhp.schema.oaf.OafEntity>>Copyright © 2022. All rights reserved.