Debian Codegraph @

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

raw symbols SCIP
1 /*
2 * Copyright (C) 2011.
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
14 package uk.me.parabola.imgfmt.app.mdr;
15
16 /**
17 * There is one of these for each region name (ie no repeats) there are indexes
18 * to the first entry with the same name in various other sections.
19 *
20 * @author Steve Ratcliffe
21 */
22 public class Mdr28Record {
23 private int index;
24 private String name;
25 private int mdr21;
26 private int mdr23;
27 private int mdr27;
28 private int strOffset;
29 private Mdr14Record mdr14;
30
31 public String getName() {
32 return name;
33 }
34
35 public void setName(String name) {
36 this.name = name;
37 }
38
39 public int getMdr21() {
40 return mdr21;
41 }
42
43 public void setMdr21(int mdr21) {
44 if (this.mdr21 == 0)
45 this.mdr21 = mdr21;
46 }
47
48 public int getMdr23() {
49 return mdr23;
50 }
51
52 public void setMdr23(int mdr23) {
53 if (this.mdr23 == 0)
54 this.mdr23 = mdr23;
55 }
56
57 public int getMdr27() {
58 return mdr27;
59 }
60
61 public void setMdr27(int mdr27) {
62 if (this.mdr27 == 0)
63 this.mdr27 = mdr27;
64 }
65
66 public int getStrOffset() {
67 return strOffset;
68 }
69
70 public void setStrOffset(int strOffset) {
71 this.strOffset = strOffset;
72 }
73
74 public Mdr14Record getMdr14() {
75 return mdr14;
76 }
77
78 public void setMdr14(Mdr14Record mdr14) {
79 this.mdr14 = mdr14;
80 }
81
82 public int getIndex() {
83 return index;
84 }
85
86 public void setIndex(int index) {
87 this.index = index;
88 }
89 }