public PermissionPOJO getPermission() { permission.setPermissionGranted(chkPermission.getValue()); return permission; }
public PermissionPanel(PermissionPOJO permission) { this(); this.permission = permission; chkPermission.setValue(permission.isPermissionGranted()); }