001    /*
002    // $Id: //open/mondrian/src/main/mondrian/olap/Walkable.java#3 $
003    // This software is subject to the terms of the Common Public License
004    // Agreement, available at the following URL:
005    // http://www.opensource.org/licenses/cpl.html.
006    // Copyright (C) 1999-2002 Kana Software, Inc.
007    // Copyright (C) 2001-2005 Julian Hyde and others
008    // All Rights Reserved.
009    // You must accept the terms of that agreement to use this software.
010    //
011    // jhyde, 1 March, 1999
012    */
013    
014    package mondrian.olap;
015    
016    /**
017     * An object which implements <code>Walkable</code> can be tree-walked by
018     * {@link Walker}.
019     */
020    interface Walkable {
021        /**
022         * Returns an array of the object's children.  Those which are not {@link
023         * Walkable} are ignored.
024         */
025        Object[] getChildren();
026    }
027    
028    // End Walkable.java