org.objectweb.kilim.description
Class TpGetter

java.lang.Object
  extended byorg.objectweb.kilim.description.TemplateElementImpl
      extended byorg.objectweb.kilim.description.InlinedElement
          extended byorg.objectweb.kilim.description.TpAccessor
              extended byorg.objectweb.kilim.description.TpGetter
All Implemented Interfaces:
BasicElement, java.lang.Cloneable, TemplateElement

public class TpGetter
extends TpAccessor

Author:
horn

Field Summary
private  java.lang.Object resultValue
           
 
Fields inherited from class org.objectweb.kilim.description.TpAccessor
fieldName, isStatic, support
 
Fields inherited from class org.objectweb.kilim.description.InlinedElement
 
Fields inherited from class org.objectweb.kilim.description.TemplateElementImpl
 
Constructor Summary
TpGetter(BasicElement aSupport, java.lang.String aField, boolean jsStatic, TemplateDescription aTemplate)
          Tje public constructor for getter description.
 
Method Summary
 int getKind()
          returns the element kind.
 
Methods inherited from class org.objectweb.kilim.description.TpAccessor
getFieldName, getSupport, isStatic, isStatic, setFieldName, setSupport
 
Methods inherited from class org.objectweb.kilim.description.InlinedElement
getLocalName, getStatus, isEventSource, performsAction, providesValue, setLocalName, setStatus
 
Methods inherited from class org.objectweb.kilim.description.TemplateElementImpl
clone, getContainingTemplate, getTemplateDefHierarchy, setContainingTemplate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.kilim.description.TemplateElement
clone, getContainingTemplate, getTemplateDefHierarchy, setContainingTemplate
 

Field Detail

resultValue

private java.lang.Object resultValue
Constructor Detail

TpGetter

public TpGetter(BasicElement aSupport,
                java.lang.String aField,
                boolean jsStatic,
                TemplateDescription aTemplate)
         throws KilimException
Tje public constructor for getter description.

Parameters:
aSupport - : the element on which the accessor will be applied.
aField - : name of the field to be accessed.
jsStatic - : true if the accessor is static.
aTemplate - : the template in which the accessor isz defined.
Throws:
KilimException - : generated if template is null.
Method Detail

getKind

public int getKind()
Description copied from interface: BasicElement
returns the element kind.

Returns:
int
See Also:
BasicElement.getKind()