2019-03-22 15:51:44 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
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 13:59:53 +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:51:44 +01:00
|
|
|
import org.gcube.resourcemanagement.model.impl.relations.isrelatedto.IsPluginOfImpl;
|
|
|
|
import org.gcube.resourcemanagement.model.reference.entities.resources.Plugin;
|
|
|
|
import org.gcube.resourcemanagement.model.reference.entities.resources.Software;
|
|
|
|
|
|
|
|
/**
|
2020-12-22 15:31:40 +01:00
|
|
|
* A {@link Plugin} is a piece of Software extending the capabilities of another
|
|
|
|
* {@link Software} (main) and requiring the main {@link Software} to be executed.
|
|
|
|
* The relation between the main {@link Software} and the {@link Plugin} is expressed
|
|
|
|
* by IsPluginOf relation.
|
|
|
|
* IsPluginOf is an extension of {@link DependsOn}.
|
|
|
|
|
2021-03-02 16:16:35 +01:00
|
|
|
* https://wiki.gcube-system.org/gcube/GCube_Model#IsPluginOf
|
2020-12-21 14:56:46 +01:00
|
|
|
*
|
2019-03-22 15:51:44 +01:00
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
|
|
*/
|
|
|
|
@JsonDeserialize(as = IsPluginOfImpl.class)
|
2020-12-21 13:59:53 +01:00
|
|
|
@TypeMetadata(
|
2020-12-22 15:09:55 +01:00
|
|
|
name = IsPluginOf.NAME,
|
2020-12-22 15:31:40 +01:00
|
|
|
description = "A {@link Plugin} is a piece of Software extending the capabilities of another {@link Software} "
|
2021-09-13 12:57:00 +02:00
|
|
|
+ "(main) and requiring the main {@link Software} to be executed. "
|
2020-12-22 15:31:40 +01:00
|
|
|
+ "The relation between the main {@link Software} and the {@link Plugin} "
|
2021-09-13 12:57:00 +02:00
|
|
|
+ "is expressed by IsPluginOf relation. "
|
2020-12-22 15:31:40 +01:00
|
|
|
+ "IsPluginOf is an extension of {@link DependsOn}.",
|
2020-12-21 13:59:53 +01:00
|
|
|
version = TypeVersion.MINIMAL_VERSION_STRING
|
|
|
|
)
|
|
|
|
@Change(version = TypeVersion.MINIMAL_VERSION_STRING, description = TypeVersion.MINIMAL_VERSION_DESCRIPTION)
|
2019-03-22 15:51:44 +01:00
|
|
|
public interface IsPluginOf<Out extends Plugin, In extends Software> extends DependsOn<Out,In> {
|
|
|
|
|
|
|
|
public static final String NAME = "IsPluginOf"; // IsPluginOf.class.getSimpleName();
|
|
|
|
|
|
|
|
}
|