36 lines
1.4 KiB
Java
36 lines
1.4 KiB
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.resourcemanagement.model.reference.relations.isrelatedto;
|
|
|
|
import org.gcube.com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
|
import org.gcube.informationsystem.model.reference.relations.IsRelatedTo;
|
|
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.DemandsImpl;
|
|
import org.gcube.resourcemanagement.model.reference.entities.resources.Software;
|
|
import org.gcube.resourcemanagement.model.reference.entities.resources.VirtualService;
|
|
|
|
/**
|
|
* Demands is used to properly support to share a {@link VirtualService}
|
|
* with another context.
|
|
*
|
|
* https://wiki.gcube-system.org/gcube/Facet_Based_Resource_Model#Demands
|
|
*
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
*/
|
|
@JsonDeserialize(as=DemandsImpl.class)
|
|
@TypeMetadata(
|
|
name = Demands.NAME,
|
|
description = "Demands is used to properly support to share a {@link VirtualService} with another context.",
|
|
version = TypeVersion.MINIMAL_VERSION_STRING
|
|
)
|
|
@Change(version = TypeVersion.MINIMAL_VERSION_STRING, description = TypeVersion.MINIMAL_VERSION_DESCRIPTION)
|
|
public interface Demands<Out extends VirtualService, In extends Software>
|
|
extends IsRelatedTo<Out, In> {
|
|
|
|
public static final String NAME = "Demands"; // Demands.class.getSimpleName();
|
|
|
|
}
|