gcube-model/src/main/java/org/gcube/resourcemanagement/model/reference/relations/isrelatedto/Discovers.java

42 lines
1.7 KiB
Java
Raw Normal View History

/**
*
*/
package org.gcube.resourcemanagement.model.reference.relations.isrelatedto;
2020-07-07 17:12:10 +02:00
import org.gcube.com.fasterxml.jackson.databind.annotation.JsonDeserialize;
2020-12-21 14:56:46 +01:00
import org.gcube.informationsystem.types.reference.Change;
import org.gcube.informationsystem.types.reference.TypeMetadata;
import org.gcube.informationsystem.utils.TypeVersion;
import org.gcube.resourcemanagement.model.impl.relations.isrelatedto.DiscoversImpl;
import org.gcube.resourcemanagement.model.reference.entities.resources.EService;
/**
2020-12-22 15:31:40 +01:00
* Any {@link EService} or its specialisations can be related with
* another {@link EService} with Discovers relation.
* Discovers relation inform that the source {@link EService}
* discovers the target through the information system.
2020-12-22 15:09:55 +01:00
*
2020-12-22 15:31:40 +01:00
* Discovers relation specialises the semantic of {@link CallsFor}.
2020-12-22 15:09:55 +01:00
*
* https://wiki.gcube-system.org/gcube/GCube_Model#Discovers
2020-12-21 14:56:46 +01:00
*
* @author Luca Frosini (ISTI - CNR)
*/
@JsonDeserialize(as=DiscoversImpl.class)
@TypeMetadata(
2020-12-22 15:09:55 +01:00
name = Discovers.NAME,
2020-12-22 15:31:40 +01:00
description = "Any {@link EService} or its specialisations can be related with "
2021-09-13 12:57:00 +02:00
+ "another {@link EService} with Discovers relation. "
2020-12-22 15:31:40 +01:00
+ "Discovers relation inform that the source {@link EService} discovers "
+ "the target through the information system."
+ "Discovers relation specialise the semantic of {@link CallsFor}.",
version = TypeVersion.MINIMAL_VERSION_STRING
)
@Change(version = TypeVersion.MINIMAL_VERSION_STRING, description = TypeVersion.MINIMAL_VERSION_DESCRIPTION)
public interface Discovers<Out extends EService, In extends EService>
extends CallsFor<Out, In> {
public static final String NAME = "Discovers"; // Discovers.class.getSimpleName();
}