Package io.keikai.model.sys.dependency
Interface DependencyTable
-
- All Known Implementing Classes:
DependencyTableAdv
,DependencyTableEx
,DependencyTableImpl
public interface DependencyTable
NodeA --- depends on ---> NodeB. A is B's dependent, B is A's precedent. When B changes , should callgetDependents(Ref)
of B to create notification of A When A been clear or deleted, should callclearDependents(Ref)
of A to clear tracking data For example, in A1 =SUM(B1 + C1) when edit B1 (precedent), its dependents is A1- Since:
- 3.5.0
- Author:
- dennis
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DependencyTable.RefFilter
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
add(Ref dependent, Ref precedent)
void
clearDependents(Ref dependant)
void
del(Ref dependent, Ref precedent)
Set<Ref>
getDependents(Ref precedent)
Set<Ref>
getDirectDependents(Ref precedent)
Set<Ref>
getEvaluatedDependents(Ref precedent)
Set<Ref>
searchPrecedents(DependencyTable.RefFilter filter)
void
setEvaluated(Ref dependent)
-
-
-
Method Detail
-
setEvaluated
void setEvaluated(Ref dependent)
-
clearDependents
void clearDependents(Ref dependant)
-
searchPrecedents
Set<Ref> searchPrecedents(DependencyTable.RefFilter filter)
-
-