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: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
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.UserAttribute
getGroupingUserAttribute()
Returns the grouping user attribute, if any.
-
-
-
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.2.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
-
getGroupingUserAttribute
public UserAttribute getGroupingUserAttribute()
Returns the grouping user attribute, if any.- Returns:
- the grouping user attribute, if any.
- Since:
- 14.2.0
-
-