org.objectweb.kilim.description
Interface BasicElement

All Superinterfaces:
java.lang.Cloneable, TemplateElement
All Known Subinterfaces:
BasicNamedElement
All Known Implementing Classes:
BasicNamedElementImpl, EventSource, InlinedElement, Reference

public interface BasicElement
extends TemplateElement

Author:
horn

Method Summary
 int getKind()
          returns the element kind.
 boolean isEventSource()
          indicates whether the element is an event source or not.
 boolean performsAction()
          Basic elements either provide values or exceute actions that complete the instatiation process This method.
 boolean providesValue()
          Basic elements either provide values or exceute actions that complete the instatiation process This method.
 
Methods inherited from interface org.objectweb.kilim.description.TemplateElement
clone, getContainingTemplate, getTemplateDefHierarchy, setContainingTemplate
 

Method Detail

providesValue

public boolean providesValue()
Basic elements either provide values or exceute actions that complete the instatiation process This method. indicates whether the element returns a value in the Kilim model. The result is true for providers, ports, properties, inlined getters inlined news, constructors, methods which do not return void. It also return true for references to the elements previously defined (i.e. ports, properties, .).

Returns:
boolean

performsAction

public boolean performsAction()
Basic elements either provide values or exceute actions that complete the instatiation process This method. indicates whether the element performs an action and can therefore been used in a trigger. The result is true for transformers, inlined setter, inlined news, methods, and constructors. It also return true for references to the elements previously defined (setters, methods, ...).

Returns:
boolean

isEventSource

public boolean isEventSource()
indicates whether the element is an event source or not.

Returns:
boolean

getKind

public int getKind()
returns the element kind.

Returns:
int