com.contentgrid.thunx.predicates.model.BooleanValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of thunx-model Show documentation
Show all versions of thunx-model Show documentation
Set of (vendor-neutral) data structures to model authorization policy expressions
package com.contentgrid.thunx.predicates.model;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NonNull;
@EqualsAndHashCode(callSuper = false)
class BooleanValue implements Scalar {
@Getter
@NonNull
private Boolean value;
protected BooleanValue(Boolean value) {
this.value = value;
}
@Override
public Class extends Boolean> getResultType() {
return Boolean.class;
}
@Override
public String toString() {
return String.format("%s(%s)", BooleanValue.class.getSimpleName(), this.getValue());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy