|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.kilim.description.TemplateElementImpl
org.objectweb.kilim.description.Reference
Field Summary | |
private BasicNamedElement |
boundElement
|
private boolean |
performsAction
|
private boolean |
providesValue
|
private java.lang.String |
targetName
|
Fields inherited from class org.objectweb.kilim.description.TemplateElementImpl |
|
Constructor Summary | |
Reference(java.lang.String aTargetName,
TemplateDescription aTemplate,
boolean isP,
boolean isT)
a public constructor for references.. |
Method Summary | |
int |
getKind()
returns the element kind. |
java.lang.String |
getTargetName()
returns the name of the target. |
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. |
void |
setContainingTemplate(TemplateDescription aTemplate)
sets the template in which the element is defined. |
void |
setTargetName(java.lang.String aName)
sets the name of a target for the reference. |
java.lang.String |
toString()
|
Methods inherited from class org.objectweb.kilim.description.TemplateElementImpl |
clone, getContainingTemplate, getTemplateDefHierarchy |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.objectweb.kilim.description.TemplateElement |
clone, getContainingTemplate, getTemplateDefHierarchy |
Field Detail |
private java.lang.String targetName
private BasicNamedElement boundElement
private boolean performsAction
private boolean providesValue
Constructor Detail |
public Reference(java.lang.String aTargetName, TemplateDescription aTemplate, boolean isP, boolean isT) throws KilimException
aTargetName
- : the name of the targetaTemplate
- : the template in which the reference is definedisP
- : true if the reference target provides a value (and can thus be used as a provider).isT
- : true if the reference target executes an action (and can thus be used as a transformer).
KilimException
- : generated if aTargetName or aTemplate is null.Method Detail |
public void setTargetName(java.lang.String aName)
aName
- : a name for the target.public java.lang.String getTargetName()
public void setContainingTemplate(TemplateDescription aTemplate) throws KilimException
TemplateElement
setContainingTemplate
in interface TemplateElement
setContainingTemplate
in class TemplateElementImpl
KilimException
TemplateElement.setContainingTemplate(TemplateDescription)
public java.lang.String toString()
Object.toString()
public boolean isEventSource()
BasicElement
isEventSource
in interface BasicElement
org.objectweb.kilim.description.ExtendedSource#isEventSource()
public boolean providesValue()
BasicElement
providesValue
in interface BasicElement
org.objectweb.kilim.description.TemplateElement#providesValue()
public boolean performsAction()
BasicElement
performsAction
in interface BasicElement
org.objectweb.kilim.description.TemplateElement#performsAction()
public int getKind()
BasicElement
getKind
in interface BasicElement
BasicElement.getKind()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |