removed Unit concept from data mining

This commit is contained in:
Axel Uhl
2015-09-25 16:31:16 +02:00
parent cd2027ac00
commit c47d9860b5
24 changed files with 24 additions and 163 deletions
@@ -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,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>.
*/
@@ -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
}