01: package org.objectweb.celtix.tools.common.model;
02:
03: import java.util.*;
04:
05: public class JavaClass extends JavaInterface {
06:
07: private final List<JavaField> jfield = new ArrayList<JavaField>();
08:
09: public JavaClass() {
10: }
11:
12: public JavaClass(JavaModel model) {
13: super (model);
14: }
15:
16: public void addField(JavaField f) {
17: this .jfield.add(f);
18: }
19:
20: public List<JavaField> getFields() {
21: return this.jfield;
22: }
23: }
|