api/jar/src/main/java/javax/slee/AddressScreening.java
public AddressScreening fromString(String value) throws NullPointerException, IllegalArgumentException {
        if (value == null) throw new NullPointerException("value is null");
        if (value.equalsIgnoreCase(UNDEFINED_STRING)) return UNDEFINED;
        if (value.equalsIgnoreCase(USER_NOT_VERIFIED_STRING)) return USER_NOT_VERIFIED;
        if (value.equalsIgnoreCase(USER_VERIFIED_PASSED_STRING)) return USER_VERIFIED_PASSED;
        if (value.equalsIgnoreCase(USER_VERIFIED_FAILED_STRING)) return USER_VERIFIED_FAILED;
        if (value.equalsIgnoreCase(NETWORK_STRING)) return NETWORK;
        throw new IllegalArgumentException("Invalid value: " + value);
    }
public AddressScreening fromString(String value) throws NullPointerException, IllegalArgumentException {
        if (value == null) throw new NullPointerException("value is null");
        if (value.equalsIgnoreCase(UNDEFINED_STRING)) return UNDEFINED;
        if (value.equalsIgnoreCase(USER_NOT_VERIFIED_STRING)) return USER_NOT_VERIFIED;
        if (value.equalsIgnoreCase(USER_VERIFIED_PASSED_STRING)) return USER_VERIFIED_PASSED;
        if (value.equalsIgnoreCase(USER_VERIFIED_FAILED_STRING)) return USER_VERIFIED_FAILED;
        if (value.equalsIgnoreCase(NETWORK_STRING)) return NETWORK;
        throw new IllegalArgumentException("Invalid value: " + value);
    }
public AddressScreening fromString ( String value ) throws NullPointerException , IllegalArgumentException { if ( value == null ) throw new NullPointerException ( "value is null" ) ; if ( value . equalsIgnoreCase ( UNDEFINED_STRING ) ) return UNDEFINED ; if ( value . equalsIgnoreCase ( USER_NOT_VERIFIED_STRING ) ) return USER_NOT_VERIFIED ; if ( value . equalsIgnoreCase ( USER_VERIFIED_PASSED_STRING ) ) return USER_VERIFIED_PASSED ; if ( value . equalsIgnoreCase ( USER_VERIFIED_FAILED_STRING ) ) return USER_VERIFIED_FAILED ; if ( value . equalsIgnoreCase ( NETWORK_STRING ) ) return NETWORK ; throw new IllegalArgumentException ( "Invalid value: " + value ) ; }
Get an <code>AddressScreening</code> object from a string value.
@param value the address screening as a string, for example as returned by the
{@link #toString()} method (case insensitive).
@return an <code>AddressScreening</code> object corresponding to <code>value</code>.
@throws NullPointerException if <code>value</code> is <code>null</code>.
@throws IllegalArgumentException if <code>value</code> is not a valid
address screening value.
@since SLEE 1.1
Get an <code > AddressScreening< / code > object from a string value .