56 lines
1.6 KiB
Java
56 lines
1.6 KiB
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.resourcemanagement.model.reference.entities.facets;
|
|
|
|
import java.net.URI;
|
|
|
|
import org.gcube.com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
|
import org.gcube.informationsystem.model.reference.entities.Facet;
|
|
import org.gcube.informationsystem.model.reference.properties.Property;
|
|
import org.gcube.informationsystem.types.annotations.ISProperty;
|
|
import org.gcube.resourcemanagement.model.impl.entities.facets.AccessPointFacetImpl;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
* https://wiki.gcube-system.org/gcube/Facet_Based_Resource_Model#Access_Point_Facet
|
|
*/
|
|
@JsonDeserialize(as=AccessPointFacetImpl.class)
|
|
public interface AccessPointFacet extends Facet {
|
|
|
|
public static final String NAME = "AccessPointFacet"; //AccessPointFacet.class.getSimpleName();
|
|
public static final String DESCRIPTION = "This facet is expected to "
|
|
+ "capture information on “access points” for a resource, i.e. any "
|
|
+ "endpoint to interact with the resource via a known protocol.";
|
|
public static final String VERSION = "1.0.0";
|
|
|
|
public static final String ENDPOINT_PROPERTY = "endpoint";
|
|
|
|
|
|
@ISProperty
|
|
public String getEntryName();
|
|
|
|
public void setEntryName(String entryName);
|
|
|
|
@ISProperty(name=ENDPOINT_PROPERTY, mandatory=true, nullable=false)
|
|
public URI getEndpoint();
|
|
|
|
public void setEndpoint(URI endpoint);
|
|
|
|
@ISProperty
|
|
public String getProtocol();
|
|
|
|
public void setProtocol(String protocol);
|
|
|
|
@ISProperty
|
|
public String getDescription();
|
|
|
|
public void setDescription(String description);
|
|
|
|
@ISProperty
|
|
public Property getAuthorization();
|
|
|
|
public void setAuthorization(Property authorization);
|
|
|
|
}
|