01: package org.objectweb.celtix.tools.common.model;
02:
03: import java.util.ArrayList;
04: import java.util.List;
05:
06: public class JavaServiceClass extends JavaClass {
07:
08: private final List<JavaPort> ports = new ArrayList<JavaPort>();
09:
10: public JavaServiceClass(JavaModel model) {
11: super (model);
12: }
13:
14: public void addPort(JavaPort port) {
15: ports.add(port);
16: }
17:
18: public List getPorts() {
19: return ports;
20: }
21:
22: }
|