KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > OO7_ModuleImpl


1 // You can redistribute this software and/or modify it under the terms of
2
// the Ozone Core License version 1 published by ozone-db.org.
3
//
4
// The original code and portions created by Thorsten Fiebig are
5
// Copyright (C) 2000-@year@ by Thorsten Fiebig. All rights reserved.
6
// Code portions created by SMB are
7
// Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
8
//
9
// $Id: OO7_ModuleImpl.java,v 1.1 2001/12/17 17:45:08 per_nyfelt Exp $
10

11 import org.ozoneDB.DxLib.*;
12
13
14 public class OO7_ModuleImpl extends OO7_DesignObjectImpl implements OO7_Module {
15     OO7_Manual theManual;
16     DxListBag theAssembly;
17     OO7_ComplexAssembly theDesignRoot;
18     
19     
20     public OO7_ModuleImpl() {
21         theAssembly = new DxListBag();
22     }
23     
24     
25     public void setManual( OO7_Manual x ) {
26         theManual = x;
27     }
28     
29     
30     public OO7_Manual manual() {
31         return theManual;
32     }
33     
34     
35     public void addAssembly( OO7_Assembly x ) {
36         theAssembly.addBack( x );
37     }
38     
39     
40     public DxBag assembly() {
41         return theAssembly;
42     }
43     
44     
45     public void setDesignRoot( OO7_ComplexAssembly x ) {
46         theDesignRoot = x;
47     }
48     
49     
50     public OO7_ComplexAssembly designRoot() {
51         return theDesignRoot;
52     }
53 }
54
Popular Tags