public class ConvertOperationForGwtModule extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ConvertOperationForGwtModule() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
convertInstanceOfObject(Object o,
Class<T> clazz)
Convert instance of object.
|
static TdAggregateFunction |
getAggegateFunction(org.gcube.data.analysis.tabulardata.commons.templates.model.actions.impl.AggregationPair.AggregationFunction af) |
static List<TdAggregateFunction> |
getAggregationFunctionIdsForTemplate()
Gets the aggregation function ids for template.
|
static List<org.gcube.data.analysis.tabulardata.model.time.PeriodType> |
getSuperiorTimePeriod(org.gcube.data.analysis.tabulardata.model.time.PeriodType timePeriod)
Gets the superior time period.
|
static TdPeriodType |
getTimeType(org.gcube.data.analysis.tabulardata.model.time.PeriodType type)
Gets the time type.
|
static List<TdPeriodType> |
getTimeTypes()
Gets the time types.
|
static void |
main(String[] args)
The main method.
|
public static List<TdAggregateFunction> getAggregationFunctionIdsForTemplate()
public static TdAggregateFunction getAggegateFunction(org.gcube.data.analysis.tabulardata.commons.templates.model.actions.impl.AggregationPair.AggregationFunction af)
af - public static <T> T convertInstanceOfObject(Object o, Class<T> clazz)
T - the generic typeo - the oclazz - the clazzpublic static List<TdPeriodType> getTimeTypes()
public static TdPeriodType getTimeType(org.gcube.data.analysis.tabulardata.model.time.PeriodType type)
type - the typepublic static List<org.gcube.data.analysis.tabulardata.model.time.PeriodType> getSuperiorTimePeriod(org.gcube.data.analysis.tabulardata.model.time.PeriodType timePeriod)
timePeriod - the time periodpublic static void main(String[] args)
args - the argumentsCopyright © 2016. All Rights Reserved.