30 lines
1.4 KiB
Java
30 lines
1.4 KiB
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.resourcemanagement.model.reference.entities.resources;
|
|
|
|
import org.gcube.informationsystem.types.annotations.ResourceSchema;
|
|
import org.gcube.informationsystem.types.annotations.ResourceSchemaEntry;
|
|
import org.gcube.resourcemanagement.model.impl.entities.resources.ConfigurationTemplateImpl;
|
|
import org.gcube.resourcemanagement.model.reference.entities.facets.IdentifierFacet;
|
|
import org.gcube.resourcemanagement.model.reference.entities.facets.SimpleFacet;
|
|
import org.gcube.resourcemanagement.model.reference.relations.consistsof.IsIdentifiedBy;
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
* https://wiki.gcube-system.org/gcube/Facet_Based_Resource_Model#Configuration_Template
|
|
*/
|
|
@JsonDeserialize(as=ConfigurationTemplateImpl.class)
|
|
@ResourceSchema({
|
|
@ResourceSchemaEntry(consistOfType=IsIdentifiedBy.class, targetFacetType=IdentifierFacet.class, min=1),
|
|
@ResourceSchemaEntry(targetFacetType=SimpleFacet.class, min=1)
|
|
})
|
|
public interface ConfigurationTemplate extends GCubeResource {
|
|
|
|
public static final String NAME = "ConfigurationTemplate"; //ConfigurationTemplate.class.getSimpleName();
|
|
public static final String DESCRIPTION = "It represents a template for a configuration. It describe how a configuration has to be realized. E.g. Used to define the accounting configuration parameters template.";
|
|
public static final String VERSION = "1.0.0";
|
|
|
|
} |