|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TrackerNode
Tracker Node in a binding dependency graph.
Method Summary | |
---|---|
void |
addAssociate(TrackerNode srcnode)
add associated TrackerNode with this node |
void |
addBinding(Binding binding)
add associated Binding with this node |
void |
addDependent(java.lang.Object script,
TrackerNode dependent)
Add a dependent node of the field script. |
java.util.Set<TrackerNode> |
getAssociates()
Returns all associate nodes of this node. |
java.lang.Object |
getBean()
Returns associated bean of this TrackerNode. |
java.util.Set<Binding> |
getBindings()
Returns all associated Bindings. |
TrackerNode |
getDependent(java.lang.Object script)
Returns the associated TrackerNode of the associated field script of this tracker node. |
java.util.Set<TrackerNode> |
getDependents()
Returns all dependent nodes of this node. |
java.util.Set<TrackerNode> |
getDependents(java.lang.Object script)
Returns all associated TrackerNodes of the associated field script of this tracker node. |
java.util.Set<TrackerNode> |
getDirectDependents()
Returns all direct dependent nodes of this node. |
java.lang.Object |
getFieldScript()
Returns associated field script of this TrackerNode. |
java.util.Set<LoadBinding> |
getLoadBindings()
Returns associated LoadBindings except ReferenceBindings. |
java.util.Map<java.lang.Object,java.lang.Object> |
getPropNameMapping()
get property, script mapping map |
java.util.Set<ReferenceBinding> |
getReferenceBindings()
Returns associated ReferenceBindings. |
TrackerNode |
removeDependent(java.lang.Object script)
Remove a dependent node of this node per the specified field script. |
void |
setBean(java.lang.Object bean)
Sets associated bean of this TrackerNode. |
void |
tieProperty(java.lang.Object propName,
java.lang.Object script)
tie property with script of this node. |
Method Detail |
---|
java.util.Set<TrackerNode> getDependents()
java.util.Set<TrackerNode> getDirectDependents()
java.util.Set<TrackerNode> getAssociates()
TrackerNode getDependent(java.lang.Object script)
script
- field script to get the dependent
java.util.Set<TrackerNode> getDependents(java.lang.Object script)
script
- field script to get the dependent
void addDependent(java.lang.Object script, TrackerNode dependent)
script
- the field script to link this track node to its dependent nodes.dependent
- the TrackerNode to be addedTrackerNode removeDependent(java.lang.Object script)
script
- field script that link to the to be removed dependent tracker node.
void addBinding(Binding binding)
binding
- java.util.Set<Binding> getBindings()
java.util.Set<LoadBinding> getLoadBindings()
java.util.Set<ReferenceBinding> getReferenceBindings()
java.lang.Object getBean()
void setBean(java.lang.Object bean)
bean
- the associated bean.java.lang.Object getFieldScript()
void addAssociate(TrackerNode srcnode)
srcnode
- void tieProperty(java.lang.Object propName, java.lang.Object script)
propName
- script
- java.util.Map<java.lang.Object,java.lang.Object> getPropNameMapping()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |