Interface IBaseElement

All Known Subinterfaces:
IDerivedValueFactElememt, IFactElement, IStructureElement, ITrendValueFactElement, IValueFactElement, IViolationFactElement
All Known Implementing Classes:
com.polarion.qcentre.internal.factbase.AbstractBaseElement, BaseElementDecorator, ExpressionBasedFactElement, com.polarion.qcentre.internal.factbase.FactElement, FactElementDecorator, StructureElementDecorator, com.polarion.qcentre.internal.factbase.ValueFactElement, ValueFactElementDecorator, ViolationFactElementDecorator

public interface IBaseElement
  • Method Details

    • getId

      String getId()
      Returns:
      unique element identifier, not null
    • getType

      String getType()
      Returns:
      element type, not null
    • getTag

      String getTag()
      Returns:
      element tag, not null
    • getProvider

      String getProvider()
      Returns:
      element provider (creator), not null
    • getFactBase

      IFactBase getFactBase()
      Return the factbase, main container of base elements.
      Returns:
      factbase
    • getParent

      IBaseElement getParent()
      For structure elements it return parent structure element. For fact element it returns structure element that contains the fact element (root element for flat factbases).
      Returns:
      parent
    • getStructuralParent

      IStructureElement getStructuralParent()
    • getChildren

      IBaseElement[] getChildren()
    • findByFPath

      IBaseElement[] findByFPath(String fpath)
    • getProperties

      Property[] getProperties()
    • getProperty

      Property getProperty(String name)
    • getPropertyValue

      Object getPropertyValue(String key, Object defaultValue)
    • getPropertyValue

      Object getPropertyValue(String key)
    • setProperty

      void setProperty(String key, Object value)
    • removeProperty

      void removeProperty(String key)
    • addProperty

      void addProperty(Property property)
    • addProperties

      void addProperties(Property[] properties)
    • hasProperties

      boolean hasProperties()
    • getLinkedElementIds

      String[] getLinkedElementIds()
    • addLink

      void addLink(String id)
    • accept

      boolean accept(IFactBaseVisitor visitor)
    • traverseChildren

      boolean traverseChildren(IFactBaseVisitor visitor)
    • clone

      IBaseElement clone(IBaseElement parent, String idPrefix, boolean deep)
    • dispose

      void dispose()
    • isDisposed

      boolean isDisposed()
    • find

      IBaseElement[] find(String path)