Implemented the result enriching

With this task, I opened the I18N and enriched the Function annotations
This commit is contained in:
Lennart Hensler committed 2014-03-09 15:57:21 +01:00
1 parent 0350a54dec
commit 8edc00920a
38 files changed
+372 -266

No files matched your search

@@ -6,6 +6,8 @@ import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import com.sap.sse.datamining.shared.Unit;
/**
* Methods marked with this annotation will be used as dimensions for the data mining framework. The method will be called,
* if the dimension value of a data element is requested.<br />
@@ -22,16 +24,16 @@ import java.lang.annotation.Target;
* <li>classes that implement <code>equals()</code>, <code>hashCode()</code> and <code>toString()</code>.
* </ul>
* Otherwise the grouping could become incorrect and the result presentation will be unreadable.
*
*
* @author Lennart Hensler (D054527)
*
*/
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Dimension {
public String value();
public String messageKey();
public Unit resultUnit() default Unit.None;
public int resultDecimals() default 0;
}
@@ -6,19 +6,22 @@ import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import com.sap.sse.datamining.shared.Unit;
/**
* Methods marked with this annotation will be used as function for the data mining framework. Functions can be used by the user to
* create new functions and dimensions.<br />
* The marked method has to be <b>side effect free</b>.<br />
*
* @author Lennart Hensler (D054527)
*
*/
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface SideEffectFreeValue {
public String value();
public String messageKey();
public Unit resultUnit() default Unit.None;
public int resultDecimals() default 0;
}