Package com.polarion.qcentre.factbase
Interface IFactBase
public interface IFactBase
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(IFactBaseVisitor visitor) findElement(String id) Find element by idBuild artifact (for example, project) idgetId()Return the root structure element.getTag()Factbase tag, for example, timestampimportElement(IBaseElement element, boolean deep) listFactsOfType(String type) voidbooleanmerge(IFactElement fact) voidvoidsetFactbaseId(String factbaseId) voidsetLastModificationTime(Date lastModTime) voidbooleantraverseChildren(IFactBaseVisitor visitor) void
-
Field Details
-
ROOT_ELEMENT_TYPE
- See Also:
-
-
Method Details
-
getArtifactId
String getArtifactId()Build artifact (for example, project) id- Returns:
- artifact id
-
getTag
String getTag()Factbase tag, for example, timestamp- Returns:
- tag
-
setTag
-
getId
String getId()- Returns:
- factbase id
-
setFactbaseId
-
getLastModificationTime
Date getLastModificationTime()- Returns:
- last mod time
-
setLastModificationTime
-
getRootElement
IStructureElement getRootElement()Return the root structure element. For plan factbases you can use listFacts methods to iterate over facts- Returns:
- root element, not null
-
listFacts
IFactElement[] listFacts()- Returns:
- facts stored in this factbase
-
listFactsOfType
- Returns:
- facts stored in this factbase that have desired type
-
findElement
Find element by id- Parameters:
id-- Returns:
- found element or null
-
find
-
merge
-
mergeWithStructure
-
merge
-
importElement
-
accept
-
traverseChildren
-
updateDerivedValues
void updateDerivedValues()
-