@Component(value="ui_CollectionFormatter") @Scope(value="prototype") public class CollectionFormatter extends java.lang.Object implements Formatter<java.util.Collection>
This formatter formats collection into a string where the elements of the collection are separated by commas.
Modifier and Type | Field and Description |
---|---|
protected io.jmix.core.MetadataTools |
metadataTools |
Constructor and Description |
---|
CollectionFormatter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
apply(java.util.Collection value)
Formats a value to a string.
|
public java.lang.String apply(@Nullable java.util.Collection value)
Formatter