Class DecrementIntValueToMachineCodeModel
java.lang.Object
io.cryptolens.models.RequestModel
io.cryptolens.models.ProductAndKeyModel
io.cryptolens.models.ProductKeyMachineCodeModel
io.cryptolens.models.DecrementIntValueToMachineCodeModel
- 
Field SummaryFieldsModifier and TypeFieldDescriptionintThis is the lower bound that will be enforced on the decrement operation.booleanIf set to true, it will be possible to specify a lower bound.longThe unique object id for the data object.intThe constant int value that should be subtracted to the current IntValue of the data object.Fields inherited from class io.cryptolens.models.ProductKeyMachineCodeModelMachineCodeFields inherited from class io.cryptolens.models.ProductAndKeyModelKey, ProductIdFields inherited from class io.cryptolens.models.RequestModelLicenseServerUrl
- 
Constructor SummaryConstructorsConstructorDescriptionDecrementIntValueToMachineCodeModel(int productId, String key, String machineCode, long id, int intValue, boolean enableBound, int bound) DecrementIntValueToMachineCodeModel(int productId, String key, String machineCode, String name, int intValue, boolean enableBound, int bound) 
- 
Method Summary
- 
Field Details- 
Idpublic long IdThe unique object id for the data object.
- 
Name
- 
IntValuepublic int IntValueThe constant int value that should be subtracted to the current IntValue of the data object. For example, if this value is set to 5 and the old IntValue is 11, then the new IntValue will be the old one minus 5, i.e. 6. Note, if you would set this value to -5 instead, the same result would be achieved.
- 
EnableBoundpublic boolean EnableBoundIf set to true, it will be possible to specify a lower bound. For example, if you set the Bound parameter (below) to 0, you will be able to decrement the int value until you reach zero (inclusive). Once the lower bound is reached, an error will be thrown.
- 
Boundpublic int BoundThis is the lower bound that will be enforced on the decrement operation. It will only be enforced if EnableBound is set to true. Please read the description above.
 
- 
- 
Constructor Details- 
DecrementIntValueToMachineCodeModel
- 
DecrementIntValueToMachineCodeModel
 
-