2019-12-05 12:01:09 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.resourcemanagement.model.reference.relations.consistsof;
|
|
|
|
|
2020-07-07 17:12:10 +02:00
|
|
|
import org.gcube.com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
2019-12-05 12:01:09 +01:00
|
|
|
import org.gcube.informationsystem.model.reference.entities.Facet;
|
|
|
|
import org.gcube.informationsystem.model.reference.entities.Resource;
|
|
|
|
import org.gcube.informationsystem.model.reference.relations.ConsistsOf;
|
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-12-05 12:01:09 +01:00
|
|
|
import org.gcube.resourcemanagement.model.impl.relations.consistsof.IsIdentifiedByImpl;
|
2020-12-23 14:27:54 +01:00
|
|
|
import org.gcube.resourcemanagement.model.reference.entities.facets.SoftwareFacet;
|
2020-12-22 14:26:38 +01:00
|
|
|
import org.gcube.resourcemanagement.model.reference.entities.resources.GCubeResource;
|
2019-12-05 12:01:09 +01:00
|
|
|
|
|
|
|
/**
|
2020-12-22 14:26:38 +01:00
|
|
|
* Each {@link GCubeResource} has been defined to have at least a facet linked with
|
2020-12-21 15:46:16 +01:00
|
|
|
* an IsIdentifiedBy relation.
|
|
|
|
* IsIdentifiedBy indicates that the target facet represents a sort of
|
|
|
|
* identification for the source resource.
|
2020-12-21 14:24:06 +01:00
|
|
|
*
|
2020-12-22 14:26:38 +01:00
|
|
|
* For instance, a software can consist of one or more {@link SoftwareFacet} but the one
|
2020-12-21 15:46:16 +01:00
|
|
|
* related with IsIdentifiedBy represents the identify of the software.
|
2020-12-21 14:24:06 +01:00
|
|
|
*
|
2021-03-02 16:16:35 +01:00
|
|
|
* https://wiki.gcube-system.org/gcube/GCube_Model#IsIdentifiedBy
|
2021-01-20 17:17:57 +01:00
|
|
|
*
|
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
2019-12-05 12:01:09 +01:00
|
|
|
*/
|
|
|
|
@JsonDeserialize(as=IsIdentifiedByImpl.class)
|
2020-12-21 13:59:53 +01:00
|
|
|
@TypeMetadata(
|
2020-12-21 14:24:06 +01:00
|
|
|
name = IsIdentifiedBy.NAME,
|
2021-09-13 12:57:00 +02:00
|
|
|
description = "Each {@link GCubeResource} has been defined to have at least a facet linked with an IsIdentifiedBy relation. "
|
|
|
|
+ "IsIdentifiedBy indicates that the target facet represents a sort of identification for the source resource. "
|
2020-12-22 14:26:38 +01:00
|
|
|
+ "For instance, a software can consist of one or more {@link SoftwareFacet} but the one related with "
|
2020-12-21 14:24:06 +01:00
|
|
|
+ "IsIdentifiedBy represents the identify of the software.",
|
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-12-05 12:01:09 +01:00
|
|
|
public interface IsIdentifiedBy<S extends Resource, T extends Facet>
|
|
|
|
extends ConsistsOf<S, T> {
|
|
|
|
|
|
|
|
public static final String NAME = "IsIdentifiedBy"; //IsIdentifiedBy.class.getSimpleName();
|
|
|
|
|
2020-12-21 14:24:06 +01:00
|
|
|
}
|