gcube-model/src/main/java/org/gcube/resourcemanagement/model/reference/relations/consistsof/HasManager.java

35 lines
1.5 KiB
Java

/**
*
*/
package org.gcube.resourcemanagement.model.reference.relations.consistsof;
import org.gcube.com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import org.gcube.informationsystem.model.reference.entities.Resource;
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.consistsof.HasManagerImpl;
import org.gcube.resourcemanagement.model.reference.entities.facets.ContactFacet;
/**
* HasManager indicates that the target ContactFacet contains the information
* related to a manager of the source Resource e.g., the contact points of the
* manager of a research infrastructure or a data centre.
*
* https://wiki.gcube-system.org/gcube/Facet_Based_Resource_Model#HasManager
*
* @author Luca Frosini (ISTI - CNR)
*/
@JsonDeserialize(as=HasManagerImpl.class)
@TypeMetadata(
name = HasManager.NAME,
description = "HasManager indicates that the target ContactFacet contains the information related to a manager of the source Resource e.g., the contact points of the manager of a research infrastructure or a data centre.",
version = TypeVersion.MINIMAL_VERSION_STRING
)
@Change(version = TypeVersion.MINIMAL_VERSION_STRING, description = TypeVersion.MINIMAL_VERSION_DESCRIPTION)
public interface HasManager<Out extends Resource, In extends ContactFacet>
extends HasContact<Out, In> {
public static final String NAME = "HasManager"; // HasManager.class.getSimpleName();
}