41 lines
755 B
Java
41 lines
755 B
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.informationsystem.impl;
|
|
|
|
import org.gcube.informationsystem.model.AccessPolicy;
|
|
import org.gcube.informationsystem.model.ValueSchema;
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
|
|
|
/**
|
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
|
*/
|
|
public class AccessPolicyImpl implements AccessPolicy {
|
|
|
|
@JsonDeserialize(as = ValueSchemaImpl.class)
|
|
protected ValueSchema policy;
|
|
protected String note;
|
|
|
|
@Override
|
|
public ValueSchema getPolicy() {
|
|
return this.policy;
|
|
}
|
|
|
|
@Override
|
|
public void setPolicy(ValueSchema policy) {
|
|
this.policy = policy;
|
|
}
|
|
|
|
@Override
|
|
public String getNote() {
|
|
return this.note;
|
|
}
|
|
|
|
@Override
|
|
public void setNote(String note) {
|
|
this.note = note;
|
|
}
|
|
|
|
}
|