01: package com.ibm.sigtest;
02:
03: /**
04: * This class stores the name and modifiers for a given member (class or
05: * method).
06: * @author Matthew J. Duftler (duftler@us.ibm.com)
07: */
08: public class MemberDesc {
09:
10: protected String name = null;
11:
12: protected int modifiers = 0;
13:
14: public MemberDesc(String name, int modifiers) {
15: this .name = name;
16: this .modifiers = modifiers;
17: }
18:
19: public void setName(String name) {
20: this .name = name;
21: }
22:
23: public String getName() {
24: return name;
25: }
26:
27: public void setModifiers(int modifiers) {
28: this .modifiers = modifiers;
29: }
30:
31: public int getModifiers() {
32: return modifiers;
33: }
34: }
|