case PropertyType.BOOLEAN:
return MultiBooleanPropertyState.booleanProperty(name, (Iterable<Boolean>) values);
case PropertyType.DECIMAL:
return MultiDecimalPropertyState.decimalProperty(name, (Iterable<BigDecimal>) values);
default:
return new MultiGenericPropertyState(name, (Iterable<String>) values, Type.fromTag(type.tag(), true));
}
} else {
T value = values.get(0);
switch (type.tag()) {
case PropertyType.STRING: