jklustor-all-api-0.0.7-20140619012755 (ChemAxon)


com.chemaxon.apidiscovery
Class Validators.MultiplyOf32

Object
  extended by com.chemaxon.apidiscovery.Validators.MultiplyOf32
All Implemented Interfaces:
Validator<Integer>
Enclosing class:
Validators

public static class Validators.MultiplyOf32
extends Object
implements Validator<Integer>

Ensure that parameter is multiply of 32.


Constructor Summary
Validators.MultiplyOf32()
           
 
Method Summary
 String getDescription()
          Description of this validator.
 ValidateResult<Integer> validateValue(Integer value)
          Validate parameter value.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Validators.MultiplyOf32

public Validators.MultiplyOf32()
Method Detail

validateValue

public ValidateResult<Integer> validateValue(Integer value)
Description copied from interface: Validator
Validate parameter value.

Specified by:
validateValue in interface Validator<Integer>
Parameters:
value - Parameter value to validate
Returns:
Result of validation

getDescription

public String getDescription()
Description copied from interface: Validator
Description of this validator.

Specified by:
getDescription in interface Validator<Integer>
Returns:
Description of this validator TODO: maybe use Description annotation?

jklustor-all-api-0.0.7-20140619012755 (ChemAxon)