@Override
    public boolean isInValid(Object fieldValue) {
        if (fieldValue == null) {
            return false;
        }
        boolean isError = false;
        if (!(fieldValue instanceof Integer || fieldValue instanceof Long)) {
            isError = true;
        } else {
            try {
                long fieldLongValue = Long.valueOf(fieldValue.toString());
                if (fieldLongValue > validateAnnotation.max() || fieldLongValue < validateAnnotation.min()) {
                    isError = true;
                }
            } catch (Exception e) {
                isError = true;
            }
        }
        return isError;
    }