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) |
boolean |
equals(java.lang.Object p_equals_1_) |
java.util.Collection<java.lang.Boolean> |
getAllowedValues() |
java.lang.String |
getName(java.lang.Boolean value) |
int |
hashCode() |
com.google.common.base.Optional<java.lang.Boolean> |
parseValue(java.lang.String value) |
getName, getValueClass, 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 com.google.common.base.Optional<java.lang.Boolean> parseValue(java.lang.String value)
public java.lang.String getName(java.lang.Boolean value)
public boolean equals(java.lang.Object p_equals_1_)
equals
in class PropertyHelper<java.lang.Boolean>
public int hashCode()
hashCode
in class PropertyHelper<java.lang.Boolean>