src/main/java/seedu/address/storage/storageStaff/JsonStaffAdaptedID.java
public ID toModelType() throws IllegalValueException {
        if (!ID.isValidId(value)) {
            throw new IllegalValueException(ID.MESSAGE_CONSTRAINTS);
        }
        return new ID(value);
    }
/**
     * Converts this Jackson-friendly adapted tag object into the model's {@code ID} object.
     *
     * @throws IllegalValueException if there were any data constraints violated in the adapted tag.
     */
Converts this Jackson-friendly adapted tag object into the model's  ID object.
@throws IllegalValueException if there were any data constraints violated in the adapted tag.
Converts this Jackson - friendly adapted tag object into the model ' s ID object . @throws IllegalValueException if there were any data constraints violated in the adapted tag .
public ID toModelType() throws IllegalValueException {
        if (!ID.isValidId(value)) {
            throw new IllegalValueException(ID.MESSAGE_CONSTRAINTS);
        }
        return new ID(value);
    }
public ID toModelType ( ) throws IllegalValueException { if ( ! ID . isValidId ( value ) ) { throw new IllegalValueException ( ID . MESSAGE_CONSTRAINTS ) ; } return new ID ( value ) ; }
Converts this Jackson-friendly adapted tag object into the model's {@code ID} object.
Converts this Jackson - friendly adapted tag object into the model ' s { @code ID } object .