public class PropertyBool extends PropertyHelper<java.lang.Boolean>
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableSet<java.lang.Boolean> |
allowedValues |
Modifier | Constructor and Description |
---|---|
protected |
PropertyBool(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static PropertyBool |
create(java.lang.String name) |
java.util.Collection<java.lang.Boolean> |
getAllowedValues() |
java.lang.String |
getName(java.lang.Boolean value)
Get the name for the given value.
|
equals, getName, getValueClass, hashCode, toString
private final com.google.common.collect.ImmutableSet<java.lang.Boolean> allowedValues
public java.util.Collection<java.lang.Boolean> getAllowedValues()
public static PropertyBool create(java.lang.String name)
public java.lang.String getName(java.lang.Boolean value)