2019-03-22 15:18:23 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.informationsystem.model.reference.relations;
|
|
|
|
|
|
|
|
import org.gcube.informationsystem.model.reference.entities.Resource;
|
2019-10-24 19:50:43 +02: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
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
|
|
* This Relation is for internal use only
|
|
|
|
* https://wiki.gcube-system.org/gcube/Facet_Based_Resource_Model#isRelatedTo
|
|
|
|
*/
|
2019-10-24 19:50:43 +02:00
|
|
|
@Abstract
|
2019-03-22 15:18:23 +01:00
|
|
|
// @JsonDeserialize(as=IsRelatedToImpl.class) Do not uncomment to manage subclasses
|
2020-12-15 11:28:34 +01:00
|
|
|
@TypeMetadata(name = IsRelatedTo.NAME, description = "This is the base class for IsRelatedTo relations", version = TypeVersion.MINIMAL_VERSION_STRING)
|
|
|
|
@Change(version = TypeVersion.MINIMAL_VERSION_STRING, description = TypeVersion.MINIMAL_VERSION_DESCRIPTION)
|
2019-11-04 18:06:46 +01:00
|
|
|
public interface IsRelatedTo<S extends Resource, T extends Resource>
|
|
|
|
extends Relation<S, T> {
|
2019-03-22 15:18:23 +01:00
|
|
|
|
|
|
|
public static final String NAME = "IsRelatedTo"; //IsRelatedTo.class.getSimpleName();
|
|
|
|
|
|
|
|
}
|