|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.orchestranetworks.service.extensions.AdaptationTreeOptimizerSpec
com.orchestranetworks.service.extensions.AdaptationTreeOptimizerSpec_RemoveDuplicates
Specifies an optimization by removing duplicates on an adaptations' tree.
The optimization is made by comparing the adaptation specified (say A) and each descendant specified (say B):
For all A and B pairs, each node pair is compared: if the value of a B node is defined and is equals to the corresponding value of A node,
then value in B is set to "inherited".
For tables it compares each nodes of each record in children with the record of the same primary key in parent.
| Constructor Summary | |
AdaptationTreeOptimizerSpec_RemoveDuplicates(Adaptation anInstance,
boolean includeDescendantsWithoutDelegated,
boolean includeAllDescendants)
Contructs a specification for removing duplicates in an adaptations' tree. |
|
| Method Summary | |
AdaptationTreeOptimizerIterator |
createOptimizerIterator(Session aSession)
Builds an iterator for adaptation's tree optimization. |
| Methods inherited from class com.orchestranetworks.service.extensions.AdaptationTreeOptimizerSpec |
getAdaptation, isIncludeAllDescendants, isIncludeDescendantsWithoutDelegated |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AdaptationTreeOptimizerSpec_RemoveDuplicates(Adaptation anInstance,
boolean includeDescendantsWithoutDelegated,
boolean includeAllDescendants)
If parameters includeDescendantsWithoutDelegated and includeAllDescendants
are both set to false, the optimization will concern only the adaptation instance specified and its children.
anInstance - top parent that is targeted by the optimization in the adaptations' tree.includeDescendantsWithoutDelegated - includes all descendants excepted descendants of delegated adaptations.includeAllDescendants - includes in the tree all adaptations even children of delegated adaptations.| Method Detail |
public AdaptationTreeOptimizerIterator createOptimizerIterator(Session aSession)
AdaptationTreeOptimizerSpec
createOptimizerIterator in class AdaptationTreeOptimizerSpecaSession - session for running the optimization.
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
(report a bug)
EBX.Platform 4.5.3 [0607:0001]
Copyright Orchestra Networks 2000-2008. All rights reserved.