Class AbstractGroupingElement<TYPE extends Enum<TYPE> & IGroupingType>
- java.lang.Object
-
- lumis.service.analytics.eventanalytics.bean.AbstractGroupingElement<TYPE>
-
- Type Parameters:
TYPE
- the enum type that identifies which type of grouping is performed.
public abstract class AbstractGroupingElement<TYPE extends Enum<TYPE> & IGroupingType> extends Object
Abstract class that represents a grouping element for Event Analytics.- Since:
- 14.0.0
- Version:
- $Revision: 24476 $ $Date: 2021-04-28 11:28:23 -0300 (Wed, 28 Apr 2021) $
-
-
Constructor Summary
Constructors Constructor Description AbstractGroupingElement(org.json.JSONObject groupingJson, Class<TYPE> enumClass)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IMonitorField
getGroupingField()
Returns the grouping field (if any).TYPE
getGroupingTyping()
Returns the grouping type.
-
-
-
Constructor Detail
-
AbstractGroupingElement
public AbstractGroupingElement(org.json.JSONObject groupingJson, Class<TYPE> enumClass) throws PortalException
Creates a new instance.- Parameters:
groupingJson
- the JSON representation of this element.enumClass
- the enum class.- Throws:
PortalException
- Since:
- 14.0.0
-
-
Method Detail
-
getGroupingTyping
public TYPE getGroupingTyping()
Returns the grouping type.- Returns:
- the grouping type.
- Since:
- 14.0.0
-
getGroupingField
public IMonitorField getGroupingField()
Returns the grouping field (if any).- Returns:
- the grouping field (if any).
- Since:
- 14.0.0
-
-