2019-03-22 15:18:23 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
2020-01-20 10:24:55 +01:00
|
|
|
package org.gcube.informationsystem.model.impl.properties;
|
2019-03-22 15:18:23 +01:00
|
|
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
2020-07-07 17:04:25 +02:00
|
|
|
import org.gcube.com.fasterxml.jackson.annotation.JsonTypeName;
|
2023-04-18 17:51:23 +02:00
|
|
|
import org.gcube.informationsystem.model.reference.properties.Metadata;
|
2019-03-22 15:18:23 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
|
|
*/
|
2023-04-18 17:51:23 +02:00
|
|
|
@JsonTypeName(value=Metadata.NAME)
|
|
|
|
public final class MetadataImpl extends PropertyImpl implements Metadata {
|
2019-03-22 15:18:23 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Generated Serial Version UID
|
|
|
|
*/
|
|
|
|
private static final long serialVersionUID = 5102553511155113169L;
|
|
|
|
|
2021-03-08 11:18:24 +01:00
|
|
|
protected String createdBy;
|
2019-03-22 15:18:23 +01:00
|
|
|
protected Date creationTime;
|
2021-03-08 11:18:24 +01:00
|
|
|
protected String lastUpdateBy;
|
2019-03-22 15:18:23 +01:00
|
|
|
protected Date lastUpdateTime;
|
|
|
|
|
2023-04-18 17:51:23 +02:00
|
|
|
public MetadataImpl() {
|
2019-03-22 15:18:23 +01:00
|
|
|
super();
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
2021-03-08 11:18:24 +01:00
|
|
|
public String getCreatedBy() {
|
|
|
|
return createdBy;
|
2019-03-22 15:18:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public Date getCreationTime() {
|
|
|
|
return creationTime;
|
|
|
|
}
|
2021-03-08 11:18:24 +01:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public String getLastUpdateBy() {
|
|
|
|
return lastUpdateBy;
|
|
|
|
}
|
2019-03-22 15:18:23 +01:00
|
|
|
|
|
|
|
@Override
|
|
|
|
public Date getLastUpdateTime() {
|
|
|
|
return lastUpdateTime;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|