de.factoryfx.data.attribute.primitive.BooleanAttribute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of data Show documentation
Show all versions of data Show documentation
factoryfx dependency injection framework
The newest version!
package de.factoryfx.data.attribute.primitive;
import de.factoryfx.data.attribute.ImmutableValueAttribute;
public class BooleanAttribute extends ImmutableValueAttribute {
public BooleanAttribute() {
super(Boolean.class);
set(Boolean.FALSE);
nullable();
}
@Override
public Boolean get() {
Boolean r = super.get();
if (r == null) {
return Boolean.FALSE;
}
return r;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy