KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mondrian > olap > MatchType


1 /*
2 // $Id: //open/mondrian/src/main/mondrian/olap/MatchType.java#3 $
3 // This software is subject to the terms of the Common Public License
4 // Agreement, available at the following URL:
5 // http://www.opensource.org/licenses/cpl.html.
6 // Copyright (C) 2003-2006 Julian Hyde
7 // All Rights Reserved.
8 // You must accept the terms of that agreement to use this software.
9 //
10 // jhyde, Feb 21, 2003
11 */

12 package mondrian.olap;
13
14 /**
15  * <code>MatchType</code> enumerates the allowable match modes when
16  * searching for a member based on its unique name.
17  *
18  * @author Zelaine Fong
19  * @version $Id: //open/mondrian/src/main/mondrian/olap/MatchType.java#3 $
20  */

21 public enum MatchType {
22     /** Match the unique name exactly */
23     EXACT,
24     /** If no exact match, return the preceding member */
25     BEFORE,
26     /** If no exact match, return the next member */
27     AFTER;
28 }
29
30 // End MatchType.java
31
Popular Tags