Class InheritanceIterable

  • All Implemented Interfaces:
    Iterable<SAbstractConcept>

    public class InheritanceIterable
    extends Object
    implements Iterable<SAbstractConcept>
    Returns all parents of a concept or concept interface in "inheritance" order. "Inheritance" order means that behavior methods, constraints and some other concept stuff, that is inherited, should be searched accordingly to order of parents in this list FIXME there are BreadthConceptHierarchyIterator and DepthFirstConceptIterator that walk complete hierarchy right away, so there's no need for implicit recursion of BaseConstraintsDescriptor's #collectParents, #getDescriptor and ConceptRegistry that ends up with another BaseConstraintsDescriptor. FIXME There's SModelUtil.getDirectSuperConcepts() with identical logic.