mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-22 21:55:39 +00:00
removed Unit concept from data mining
This commit is contained in:
@@ -5,5 +5,4 @@ Bundle-SymbolicName: com.sap.sse.datamining.annotations
|
||||
Bundle-Version: 1.0.0.qualifier
|
||||
Bundle-Vendor: SAP
|
||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
||||
Export-Package: com.sap.sse.datamining.annotations,
|
||||
com.sap.sse.datamining.annotations.data
|
||||
Export-Package: com.sap.sse.datamining.annotations
|
||||
|
||||
-7
@@ -7,8 +7,6 @@ import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import java.util.Locale;
|
||||
|
||||
import com.sap.sse.datamining.annotations.data.Unit;
|
||||
|
||||
/**
|
||||
* Methods marked with this annotation will be used as computable key figures for the data mining framework. The method will be called,
|
||||
* if the key figure of a data element is requested.<br />
|
||||
@@ -45,11 +43,6 @@ public @interface Statistic {
|
||||
*/
|
||||
public int ordinal() default Integer.MAX_VALUE;
|
||||
|
||||
/**
|
||||
* The {@link Unit} of the methods return value. The default value is {@link Unit#None}.
|
||||
*/
|
||||
public Unit resultUnit() default Unit.None;
|
||||
|
||||
/**
|
||||
* The number of decimals of the methods return value. The default value is <code>0</code>.
|
||||
*/
|
||||
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
package com.sap.sse.datamining.annotations.data;
|
||||
|
||||
/**
|
||||
* Enum for the different Units of key figures.<br>
|
||||
* <b>Every member needs a message key in <code>StringMessages*.properties</code> of {@link com.sap.sse.datamining}.</b>
|
||||
*
|
||||
* @author Lennart Hensler (D054527)
|
||||
*
|
||||
*/
|
||||
public enum Unit {
|
||||
|
||||
None, Knots, Meters
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user