2019-03-22 15:18:23 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.informationsystem.model.reference.entities;
|
|
|
|
|
2020-01-30 10:26:43 +01:00
|
|
|
import org.gcube.informationsystem.base.reference.entities.EntityElement;
|
2021-02-05 11:30:47 +01:00
|
|
|
import org.gcube.informationsystem.model.reference.ModelElement;
|
2019-03-22 15:18:23 +01:00
|
|
|
import org.gcube.informationsystem.types.annotations.Abstract;
|
2020-12-15 11:28:34 +01:00
|
|
|
import org.gcube.informationsystem.types.reference.Change;
|
|
|
|
import org.gcube.informationsystem.types.reference.TypeMetadata;
|
|
|
|
import org.gcube.informationsystem.utils.TypeVersion;
|
2019-03-22 15:18:23 +01:00
|
|
|
|
|
|
|
/**
|
2021-01-20 17:26:13 +01:00
|
|
|
* https://wiki.gcube-system.org/gcube/Facet_Based_Resource_Model#Entity
|
2021-01-20 17:03:02 +01:00
|
|
|
*
|
2021-01-20 17:26:13 +01:00
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
2019-03-22 15:18:23 +01:00
|
|
|
*/
|
|
|
|
@Abstract
|
|
|
|
//@JsonDeserialize(as=EntityImpl.class) Do not uncomment to manage subclasses
|
2020-12-15 11:28:34 +01:00
|
|
|
@TypeMetadata(name = Entity.NAME, description = "This is the base class for Entities", version = TypeVersion.MINIMAL_VERSION_STRING)
|
|
|
|
@Change(version = TypeVersion.MINIMAL_VERSION_STRING, description = TypeVersion.MINIMAL_VERSION_DESCRIPTION)
|
2021-02-05 11:30:47 +01:00
|
|
|
public interface Entity extends EntityElement, ModelElement {
|
2019-03-22 15:18:23 +01:00
|
|
|
|
|
|
|
public static final String NAME = "Entity"; //Entity.class.getSimpleName();
|
|
|
|
|
|
|
|
}
|