26 lines
682 B
Java
26 lines
682 B
Java
|
package org.gcube.resourcemanagement.model.reference.properties;
|
||
|
|
||
|
import org.gcube.informationsystem.types.annotations.ISProperty;
|
||
|
import org.gcube.resourcemanagement.model.impl.properties.AccessPolicyImpl;
|
||
|
|
||
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||
|
|
||
|
/**
|
||
|
* @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);
|
||
|
}
|