src/main/java/seedu/address/model/applicant/JobId.java
public static boolean isValidJobId(String test) {
        if (test.equals("PENDING")) {
            return true;
        }
        try {
            int testing = Integer.parseInt(test);
            return testing > 0;
        } catch (NumberFormatException e) {
            return false;
        }
    }
/**
     * Returns true if the input integer is a valid Id.
     */
Returns true if the input integer is a valid Id.
Returns true if the input integer is a valid Id .
public static boolean isValidJobId(String test) {
        if (test.equals("PENDING")) {
            return true;
        }
        try {
            int testing = Integer.parseInt(test);
            return testing > 0;
        } catch (NumberFormatException e) {
            return false;
        }
    }
public static boolean isValidJobId ( String test ) { if ( test . equals ( "PENDING" ) ) { return true ; } try { int testing = Integer . parseInt ( test ) ; return testing > 0 ; } catch ( NumberFormatException e ) { return false ; } }
Returns true if the input integer is a valid Id.
Returns true if the input integer is a valid Id .