nl.renarj.jasdb.rest.model.RestGrant Maven / Gradle / Ivy
package nl.renarj.jasdb.rest.model;
import nl.renarj.jasdb.api.acl.AccessMode;
/**
* @author Renze de Vries
*/
public class RestGrant implements RestEntity {
private String username;
private String objectName;
private AccessMode mode;
public RestGrant(String username, String object, AccessMode mode) {
this.username = username;
this.objectName = object;
this.mode = mode;
}
public RestGrant() {
}
public String getObjectName() {
return objectName;
}
public void setObjectName(String objectName) {
this.objectName = objectName;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public AccessMode getMode() {
return mode;
}
public void setMode(AccessMode mode) {
this.mode = mode;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy