com.kero.security.lang.tokens.RoleToken Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kero-security Show documentation
Show all versions of kero-security Show documentation
Kero-Security is a library for statically controlling access to properties of objects / classes.
package com.kero.security.lang.tokens;
public class RoleToken extends KsdlTokenBase {
private boolean accessible;
private String roleName;
public RoleToken(boolean accessible, String roleName) {
this.accessible = accessible;
this.roleName = roleName;
}
@Override
public String toString() {
return "RoleToken [accessible=" + accessible + ", roleName=" + roleName + "]";
}
public String getRoleName() {
return this.roleName;
}
public boolean getAccessible() {
return this.accessible;
}
}