Debian Codegraph @

src/uk/me/parabola/imgfmt/app/mdr/RecordBase.java

raw symbols SCIP
1 /*
2 * Copyright (C) 2009.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 3 or
6 * version 2 as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * General Public License for more details.
12 */
13 package uk.me.parabola.imgfmt.app.mdr;
14
15 /**
16 * Records that belong to a particular map should extend this class.
17 * Otherwise they can extend ConfigBase.
18 *
19 * @author Steve Ratcliffe
20 */
21 public abstract class RecordBase {
22 private int mapIndex;
23
24 public int getMapIndex() {
25 return mapIndex;
26 }
27
28 public void setMapIndex(int mapIndex) {
29 assert mapIndex > 0;
30 this.mapIndex = mapIndex;
31 }
32 }