2019-03-22 15:51:44 +01:00
|
|
|
package org.gcube.resourcemanagement.model.reference.properties;
|
|
|
|
|
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.types.annotations.ISProperty;
|
|
|
|
import org.gcube.resourcemanagement.model.impl.properties.AccessPolicyImpl;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Luca Frosini (ISTI - CNR)
|
|
|
|
*/
|
|
|
|
@JsonDeserialize(as=AccessPolicyImpl.class)
|
|
|
|
public interface AccessPolicy extends GCubeProperty {
|
|
|
|
|
|
|
|
public static final String NAME = "AccessPolicy"; //AccessPolicy.class.getSimpleName();
|
|
|
|
|
|
|
|
@ISProperty
|
|
|
|
public ValueSchema getPolicy();
|
|
|
|
|
|
|
|
public void setPolicy(ValueSchema policy);
|
|
|
|
|
|
|
|
@ISProperty
|
|
|
|
public String getNote();
|
|
|
|
|
|
|
|
public void setNote(String note);
|
|
|
|
}
|