KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > kilim > description > TpGetter


1 package org.objectweb.kilim.description;
2
3 import org.objectweb.kilim.KilimException;
4
5 /**
6  * @author horn
7  */

8 public class TpGetter extends TpAccessor {
9     private Object JavaDoc resultValue;
10     
11     /**
12      * Tje public constructor for getter description.
13      * @param aSupport : the element on which the accessor will be applied.
14      * @param aField : name of the field to be accessed.
15      * @param jsStatic : true if the accessor is static.
16      * @param aTemplate : the template in which the accessor isz defined.
17      * @throws KilimException : generated if template is null.
18      */

19     public TpGetter(BasicElement aSupport, String JavaDoc aField, boolean jsStatic, TemplateDescription aTemplate) throws KilimException {
20         super(aSupport, aField, jsStatic, true, false, aTemplate);
21     }
22     
23     /**
24      * @see org.objectweb.kilim.description.BasicElement#getKind()
25      */

26     public int getKind() {
27         return KILIM.GETTER;
28     }
29 }
30
Popular Tags