Example usage for org.apache.wicket.util.value ValueMap getAsInteger

List of usage examples for org.apache.wicket.util.value ValueMap getAsInteger

Introduction

In this page you can find the example usage for org.apache.wicket.util.value ValueMap getAsInteger.

Prototype

@Override
public Integer getAsInteger(final String key) 

Source Link

Usage

From source file:org.obiba.onyx.quartz.core.engine.questionnaire.question.OpenAnswerDefinition.java

License:Open Source License

public Integer getInputSize() {
    ValueMap valueMap = getUIArgumentsValueMap();
    return valueMap == null ? null : valueMap.getAsInteger(INPUT_SIZE_KEY);
}

From source file:org.obiba.onyx.quartz.core.engine.questionnaire.question.OpenAnswerDefinition.java

License:Open Source License

public Integer getInputNbRows() {
    ValueMap valueMap = getUIArgumentsValueMap();
    return valueMap == null ? null : valueMap.getAsInteger(INPUT_NB_ROWS_KEY);
}

From source file:org.obiba.onyx.quartz.core.engine.questionnaire.question.OpenAnswerDefinitionSuggestion.java

License:Open Source License

@SuppressWarnings("UnusedDeclaration")
public Integer getMaxCount() {
    ValueMap valueMap = openAnswer.getUIArgumentsValueMap();
    return valueMap == null ? null : valueMap.getAsInteger(SUGGESTION_MAX_COUNT);
}