public class AggregationInfo
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AggregationInfo.Type |
Modifier and Type | Field and Description |
---|---|
protected boolean |
editable |
Constructor and Description |
---|
AggregationInfo() |
Modifier and Type | Method and Description |
---|---|
Formatter<java.lang.Object> |
getFormatter() |
io.jmix.core.metamodel.model.MetaPropertyPath |
getPropertyPath() |
AggregationStrategy |
getStrategy() |
AggregationInfo.Type |
getType() |
boolean |
isEditable() |
void |
setEditable(boolean editable) |
void |
setFormatter(Formatter<java.lang.Object> formatter) |
void |
setPropertyPath(io.jmix.core.metamodel.model.MetaPropertyPath propertyPath) |
void |
setStrategy(AggregationStrategy strategy) |
void |
setType(AggregationInfo.Type type) |
@Nullable public io.jmix.core.metamodel.model.MetaPropertyPath getPropertyPath()
public void setPropertyPath(io.jmix.core.metamodel.model.MetaPropertyPath propertyPath)
@Nullable public AggregationInfo.Type getType()
@StudioProperty(type=ENUMERATION, options={"SUM","COUNT","AVG","MIN","MAX"}) public void setType(AggregationInfo.Type type)
@Nullable public Formatter<java.lang.Object> getFormatter()
@StudioElementsGroup(xmlElement="formatter", caption="Formatter") public void setFormatter(Formatter<java.lang.Object> formatter)
@Nullable public AggregationStrategy getStrategy()
@StudioProperty(name="strategy", type=JAVA_CLASS_NAME) public void setStrategy(@Nullable AggregationStrategy strategy)
public boolean isEditable()
@StudioProperty(defaultValue="false") public void setEditable(boolean editable)