public static AddressScreening fromInt(int value) throws IllegalArgumentException {
        switch (value) {
            case ADDRESS_SCREENING_UNDEFINED: return UNDEFINED;
            case ADDRESS_SCREENING_USER_NOT_VERIFIED: return USER_NOT_VERIFIED;
            case ADDRESS_SCREENING_USER_VERIFIED_PASSED: return USER_VERIFIED_PASSED;
            case ADDRESS_SCREENING_USER_VERIFIED_FAILED: return USER_VERIFIED_FAILED;
            case ADDRESS_SCREENING_NETWORK: return NETWORK;
            default: throw new IllegalArgumentException("Invalid value: " + value);
        }
    }
public static AddressScreening fromInt(int value) throws IllegalArgumentException {
        switch (value) {
            case ADDRESS_SCREENING_UNDEFINED: return UNDEFINED;
            case ADDRESS_SCREENING_USER_NOT_VERIFIED: return USER_NOT_VERIFIED;
            case ADDRESS_SCREENING_USER_VERIFIED_PASSED: return USER_VERIFIED_PASSED;
            case ADDRESS_SCREENING_USER_VERIFIED_FAILED: return USER_VERIFIED_FAILED;
            case ADDRESS_SCREENING_NETWORK: return NETWORK;
            default: throw new IllegalArgumentException("Invalid value: " + value);
        }
    }
public static AddressScreening fromInt ( int value ) throws IllegalArgumentException { switch ( value ) { case ADDRESS_SCREENING_UNDEFINED : return UNDEFINED ; case ADDRESS_SCREENING_USER_NOT_VERIFIED : return USER_NOT_VERIFIED ; case ADDRESS_SCREENING_USER_VERIFIED_PASSED : return USER_VERIFIED_PASSED ; case ADDRESS_SCREENING_USER_VERIFIED_FAILED : return USER_VERIFIED_FAILED ; case ADDRESS_SCREENING_NETWORK : return NETWORK ; default : throw new IllegalArgumentException ( "Invalid value: " + value ) ; } }
Get an <code>AddressScreening</code> object from an integer value.
@param value the address screening value as an integer.
@return an <code>AddressScreening</code> object corresponding to <code>value</code>.
@throws IllegalArgumentException if <code>value</code> is not a valid
address screening value.
Get an <code > AddressScreening< / code > object from an integer value .