class AbstractParentStructure implements HierarchicalStructureMember {

    public void addChildMember(final StructureMember child) {
        if (child == null) {
            throw new IllegalArgumentException("Child cannot be null.");
        }

        getChildMembers().add(child);
    }

    public  AbstractParentStructure(final String name, final int level);

}