Class FactElementDecorator
java.lang.Object
com.polarion.qcentre.factbase.impl.BaseElementDecorator
com.polarion.qcentre.factbase.impl.FactElementDecorator
- All Implemented Interfaces:
IBaseElement
,IFactElement
- Direct Known Subclasses:
ValueFactElementDecorator
,ViolationFactElementDecorator
-
Constructor Summary
-
Method Summary
Methods inherited from class com.polarion.qcentre.factbase.impl.BaseElementDecorator
accept, addLink, addProperties, addProperty, clone, dispose, find, findByFPath, getBaseElement, getChildren, getFactBase, getId, getLinkedElementIds, getParent, getProperties, getProperty, getPropertyValue, getPropertyValue, getProvider, getStructuralParent, getTag, getType, hasProperties, isDisposed, removeProperty, setProperty, traverseChildren
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.polarion.qcentre.factbase.IBaseElement
accept, addLink, addProperties, addProperty, clone, dispose, find, findByFPath, getChildren, getFactBase, getId, getLinkedElementIds, getParent, getProperties, getProperty, getPropertyValue, getPropertyValue, getProvider, getStructuralParent, getTag, getType, hasProperties, isDisposed, removeProperty, setProperty, traverseChildren
-
Constructor Details
-
FactElementDecorator
-
-
Method Details
-
getFactElement
-
listFacts
- Specified by:
listFacts
in interfaceIFactElement
-
listFactsOfType
- Specified by:
listFactsOfType
in interfaceIFactElement
- Parameters:
level
- = 0 current, -1 infinite, 1,2,3 recursive depthtype
- = desired fact.getType, null anyfactClass
- = instance of facts user is interested to find, null any- Returns:
- facts stored in this fact base that have desired type and class recursively if depth >0 or -1
-