final TextItem addressItem = new TextItem(FIELD_ADDRESS.propertyName(), FIELD_ADDRESS.title());
addressItem.setRequired(true);
addressItem.setValue(server.getAddress());
IntegerRangeValidator portValidator = new IntegerRangeValidator();
portValidator.setMin(0);
portValidator.setMax(65535);
final TextItem portItem = new TextItem(FIELD_PORT.propertyName(), FIELD_PORT.title());
portItem.setRequired(true);
portItem.setValidators(portValidator);
portItem.setValue(server.getPort());