2019-03-22 15:51:44 +01:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
package org.gcube.resourcemanagement.model.reference.entities.facets;
|
|
|
|
|
2020-07-07 17:12:10 +02:00
|
|
|
import org.gcube.com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
2019-03-22 15:51:44 +01:00
|
|
|
import org.gcube.informationsystem.model.reference.entities.Facet;
|
2020-12-15 18:38:41 +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.entities.facets.SimpleFacetImpl;
|
|
|
|
|
|
|
|
/**
|
2020-12-21 13:59:53 +01:00
|
|
|
* A sort of catch all.
|
|
|
|
* It does not define any property.
|
|
|
|
* It is mainly used to one or more arbitrary properties to the resource.
|
|
|
|
* Before using SimpleFacet a developer should evaluate if it is possible to identify a specific Facet
|
|
|
|
* to capture the particular aspect of the resource.
|
|
|
|
* The usage of SimpleFacet should be reduced to the maximum.
|
|
|
|
*
|
2021-03-02 16:16:35 +01:00
|
|
|
* https://wiki.gcube-system.org/gcube/GCube_Model#Simple_Property_Facet
|
2020-12-21 13:59:53 +01:00
|
|
|
*
|
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
2019-03-22 15:51:44 +01:00
|
|
|
*/
|
|
|
|
@JsonDeserialize(as=SimpleFacetImpl.class)
|
2020-12-15 18:38:41 +01:00
|
|
|
@TypeMetadata(
|
|
|
|
name = SimpleFacet.NAME,
|
2021-09-13 12:57:00 +02:00
|
|
|
description = "A sort of catch all. It does not define any property. "
|
|
|
|
+ "It is mainly used to one or more arbitrary properties to the resource. "
|
2020-12-21 13:59:53 +01:00
|
|
|
+ "Before using SimpleFacet a developer should evaluate if it is possible to identify a specific Facet"
|
2021-09-13 12:57:00 +02:00
|
|
|
+ "to capture the particular aspect of the resource. "
|
2020-12-21 13:59:53 +01:00
|
|
|
+ "The usage of SimpleFacet should be reduced to the maximum.",
|
2020-12-15 18:38:41 +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 SimpleFacet extends Facet {
|
|
|
|
|
|
|
|
public static final String NAME = "SimpleFacet"; // SimpleFacet.class.getSimpleName();
|
|
|
|
|
2020-12-21 13:59:53 +01:00
|
|
|
}
|