Revision 587

tmp/org.txm.core/src/java/org/txm/core/results/Parameter.java (revision 587)
18 18
@Target({FIELD,METHOD,PARAMETER})
19 19
public @interface Parameter {
20 20
	
21
	/**
22
	 * To determine what kind of parameters has been changed between to computing/rendering and do only computing, rendering or both.
23
	 */
21 24
	public final int COMPUTING = 0, RENDERING = 1;  
22 25
	
23
	// FIXME: could be used to automate saveParameters(), loadParameters(), etc. for accessing the preferences node value of a key in TXMResult class
26
	/**
27
	 * The parameter key name. If filled with some preference key, it can be used to automatically load or save parameters from and to the preferences nodes.
28
	 * @return
29
	 */
24 30
	public String key() default "";
31

  
25 32
	
33
	/**
34
	 * To determine what kind of parameters has been changed between to computing/rendering and do only computing, rendering or both.
35
	 * @return
36
	 */
26 37
	public int type() default Parameter.COMPUTING;
38
	
27 39
}

Also available in: Unified diff