ElementInterface.vm 698 Bytes
Newer Older
1
#parse("templates/common.vm")
2
3
4
5
#if($package)
package $package;
#end

6
import org.eclipse.ice.data.IDataElement;
7

8
9
10
11
/**
 * This interface satisfies the dependencies of the @DataElement Annotation and
 * was auto-generated by the ICE Framework.
 */
Daniel Bluhm's avatar
Daniel Bluhm committed
12
public interface $interface extends IDataElement<${interface}> {
13
14
15
	#foreach($field in $fields)
	#if(!${field.DefaultField})
	#if(${field.Getter})
16
17
18
19
20

	/**
	 * Get ${field.Name}.
	 * @return ${field.Name}
	 */
21
	public #fieldtype ${field.GetterName}();
22
23
	#end## if Getter
	#if(${field.Setter})
24
25
26
27

	/**
	 * Set ${field.Name}.
	 */
Daniel Bluhm's avatar
Daniel Bluhm committed
28
	public void set${field.NameForMethod}(#fieldtype ${field.VarName});
29
30
31
32
	#end## if Setter
	#end## if DefaultField
	#end## foreach field
}