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