org.objectweb.kilim.description
Class ClassSource

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

public class ClassSource
extends InlinedElement

Author:
horn

Field Summary
private  java.lang.String className
           
 
Fields inherited from class org.objectweb.kilim.description.InlinedElement
 
Fields inherited from class org.objectweb.kilim.description.TemplateElementImpl
 
Constructor Summary
ClassSource(java.lang.String aClassName, TemplateDescription aTemplate)
          The public constructor for a class source.
 
Method Summary
 java.lang.String getClassName()
          returns the name of the class source.
 int getKind()
          returns the element kind.
 void setClassName(java.lang.String aClassName)
          sets the name of the class source.
 
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

className

private java.lang.String className
Constructor Detail

ClassSource

public ClassSource(java.lang.String aClassName,
                   TemplateDescription aTemplate)
            throws KilimException
The public constructor for a class source.

Parameters:
aClassName - : the name of the class.
aTemplate - : the template in which the class source is defined.
Throws:
KilimException - : generated when the className reference is null.
Method Detail

getClassName

public java.lang.String getClassName()
returns the name of the class source.

Returns:
String

setClassName

public void setClassName(java.lang.String aClassName)
                  throws KilimException
sets the name of the class source.

Parameters:
aClassName - : sets the class name.
Throws:
KilimException - : generated when the class name is null.

getKind

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

Returns:
int
See Also:
BasicElement.getKind()