spring-hateoas-ext/src/main/java/de/escalon/hypermedia/spring/SpringActionInputParameter.java
@Override
    public Type getHtmlInputFieldType() {
        final Type ret;
        if (inputAnnotation == null || inputAnnotation.value() == Type.FROM_JAVA) {
            if (isArrayOrCollection() || isRequestBody()) {
                ret = null;
            } else if (DataType.isNumber(getParameterType())) {
                ret = Type.NUMBER;
            } else {
                ret = Type.TEXT;
            }
        } else {
            ret = inputAnnotation.value();
        }
        return ret;
    }
@Override
    public Type getHtmlInputFieldType() {
        final Type ret;
        if (inputAnnotation == null || inputAnnotation.value() == Type.FROM_JAVA) {
            if (isArrayOrCollection() || isRequestBody()) {
                ret = null;
            } else if (DataType.isNumber(getParameterType())) {
                ret = Type.NUMBER;
            } else {
                ret = Type.TEXT;
            }
        } else {
            ret = inputAnnotation.value();
        }
        return ret;
    }
@ Override public Type getHtmlInputFieldType ( ) { final Type ret ; if ( inputAnnotation == null || inputAnnotation . value ( ) == Type . FROM_JAVA ) { if ( isArrayOrCollection ( ) || isRequestBody ( ) ) { ret = null ; } else if ( DataType . isNumber ( getParameterType ( ) ) ) { ret = Type . NUMBER ; } else { ret = Type . TEXT ; } } else { ret = inputAnnotation . value ( ) ; } return ret ; }
Gets HTML5 parameter type for input field according to {@link Type} annotation.

@return the type
Gets HTML5 parameter type for input field according to { @link Type } annotation .