Class IntegerSetting
java.lang.Object
com.mparticle.sdk.model.registration.Setting
com.mparticle.sdk.model.registration.IntegerSetting
-
Nested Class Summary
Nested classes/interfaces inherited from class com.mparticle.sdk.model.registration.Setting
Setting.Type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
setDefaultValue
(Integer defaultValue) setDefaultValue
(Long defaultValue) setIsRequired
(boolean isRequired) setMaxValue
(Integer maxValue) setMaxValue
(Long maxValue) setMinValue
(Integer minValue) setMinValue
(Long minValue) Methods inherited from class com.mparticle.sdk.model.registration.Setting
getDescription, getId, getName, getType, isVisible, setDescription, setId, setIsVisible, setName
-
Constructor Details
-
IntegerSetting
-
-
Method Details
-
getDefaultValue
- Returns:
- default value
-
setDefaultValue
- Parameters:
defaultValue
- default value- Returns:
- this
-
setDefaultValue
- Parameters:
defaultValue
- default value- Returns:
- this
-
getMinValue
- Returns:
- minimum accepted value
-
setMinValue
- Parameters:
minValue
- minimum accepted value- Returns:
- this
-
setMinValue
- Parameters:
minValue
- minimum accepted value- Returns:
- this
-
getMaxValue
- Returns:
- maximum accepted value
-
setMaxValue
- Parameters:
maxValue
- maximum accepted value- Returns:
- this
-
setMaxValue
- Parameters:
maxValue
- maximum accepted value- Returns:
- this
-
isRequired
public boolean isRequired()- Returns:
- true if setting is required
-
setIsRequired
- Parameters:
isRequired
- true if setting is required- Returns:
- this
-