spring-hateoas-ext/src/main/java/de/escalon/hypermedia/affordance/Affordance.java
@JsonIgnore
    public boolean hasUnsatisfiedRequiredVariables() {

        for (ActionDescriptor actionDescriptor : actionDescriptors) {
            Map<String, ActionInputParameter> requiredParameters =
                    actionDescriptor.getRequiredParameters();
            for (ActionInputParameter annotatedParameter : requiredParameters.values()) {
                if (!annotatedParameter.hasValue()) {
                    return true;
                }
            }
        }
        return false;
    }
@JsonIgnore
    public boolean hasUnsatisfiedRequiredVariables() {

        for (ActionDescriptor actionDescriptor : actionDescriptors) {
            Map<String, ActionInputParameter> requiredParameters =
                    actionDescriptor.getRequiredParameters();
            for (ActionInputParameter annotatedParameter : requiredParameters.values()) {
                if (!annotatedParameter.hasValue()) {
                    return true;
                }
            }
        }
        return false;
    }
@ JsonIgnore public boolean hasUnsatisfiedRequiredVariables ( ) { for ( ActionDescriptor actionDescriptor : actionDescriptors ) { Map < String , ActionInputParameter > requiredParameters = actionDescriptor . getRequiredParameters ( ) ; for ( ActionInputParameter annotatedParameter : requiredParameters . values ( ) ) { if ( ! annotatedParameter . hasValue ( ) ) { return true ; } } } return false ; }
Determines if the affordance has unsatisfied required variables. This allows to decide if the affordance can also
be treated as a plain Link without template variables if the caller omits all optional variables. Serializers can
use this to render it as a resource with optional search features.

@return true if the affordance has unsatisfied required variables
Determines if the affordance has unsatisfied required variables . This allows to decide if the affordance can also be treated as a plain Link without template variables if the caller omits all optional variables . Serializers can use this to render it as a resource with optional search features .