public class PropertyInteger extends PropertyHelper<java.lang.Integer>
Modifier | Constructor and Description |
---|---|
protected |
PropertyInteger(java.lang.String name,
int min,
int max) |
Modifier and Type | Method and Description |
---|---|
static PropertyInteger |
create(java.lang.String name,
int min,
int max) |
boolean |
equals(java.lang.Object p_equals_1_) |
java.util.Collection<java.lang.Integer> |
getAllowedValues() |
java.lang.String |
getName(java.lang.Integer value) |
int |
hashCode() |
com.google.common.base.Optional<java.lang.Integer> |
parseValue(java.lang.String value) |
getName, getValueClass, toString
protected PropertyInteger(java.lang.String name, int min, int max)
public java.util.Collection<java.lang.Integer> getAllowedValues()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class PropertyHelper<java.lang.Integer>
public int hashCode()
hashCode
in class PropertyHelper<java.lang.Integer>
public static PropertyInteger create(java.lang.String name, int min, int max)
public com.google.common.base.Optional<java.lang.Integer> parseValue(java.lang.String value)
public java.lang.String getName(java.lang.Integer value)