public function getChildren()
    {

        $output = new BaseContainer();

        foreach( $this->getRelation()->getChildren() as $childRelation ) {
            $childAttribute = $childRelation->getAttributeByName($this->name);
            $output->add(
                $childAttribute,
                $childAttribute->getChildren()
            );
        }

        return $output;

    }