01: /*
02: * Copyright 2001-2007 Geert Bevin <gbevin[remove] at uwyn dot com>
03: * Distributed under the terms of either:
04: * - the common development and distribution license (CDDL), v1.0; or
05: * - the GNU Lesser General Public License, v2.1 or later
06: * $Id: SomeEnum.java 3695 2007-03-16 09:26:50Z gbevin $
07: */
08: package com.uwyn.rife.database;
09:
10: import com.uwyn.rife.database.SomeEnum;
11:
12: public enum SomeEnum {
13: VALUE_ONE(1), VALUE_TWO(2), VALUE_THREE(3);
14:
15: private int mCount;
16:
17: SomeEnum(int count) {
18: mCount = count;
19: }
20:
21: public int getCount() {
22: return mCount;
23: };
24: }
|