Class SimpleNaturalIntegerJson
- java.lang.Object
-
- com.blackberry.workspaces.api.sdk.json.BaseJson
-
- com.blackberry.workspaces.api.sdk.json.SimpleNaturalIntegerJson
-
- All Implemented Interfaces:
Serializable
public class SimpleNaturalIntegerJson extends BaseJson
this json allows us to differentiate between the following case when supplying integer values for updating in the DB 1. the field is not being sent in the json ( a null value will occur when using the SimpleIntegerJson as member in another json)- signifies not to touch the current value 2. the field appears as an empty json (just the internal value of SimpleIntegerJson will be null, but the member will not) - signifies reset to null- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimpleNaturalIntegerJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getValue()
Valuevoid
setValue(Integer value)
Value-
Methods inherited from class com.blackberry.workspaces.api.sdk.json.BaseJson
getObjType, setObjType, toString
-
-