Interface IParent

    • Method Detail

      • getChildren

        ICElement[] getChildren()
                         throws CModelException
        Returns the immediate children of this element. The children are in no particular order.
        Throws:
        CModelException - if this element does not exist or if an exception occurs while accessing its corresponding resource
      • hasChildren

        boolean hasChildren()
        Returns whether this element has one or more immediate children. This is a convenience method, and may be more efficient than testing whether getChildren() returns an empty array.