@Override
    public boolean equals(final Object obj) {
        if (obj == null || !(obj instanceof JobDescriptor)) {
            return false;
        } else if (((JobDescriptor) obj).jobId == jobId) {
            return true;
        }
        return false;
    }