KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > OO7_BaseAssemblyImpl


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_BaseAssemblyImpl.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_BaseAssemblyImpl extends OO7_AssemblyImpl implements OO7_BaseAssembly {
15     DxListBag theComponentsPriv;
16     DxListBag theComponentsShar;
17     
18     
19     public OO7_BaseAssemblyImpl() {
20         theComponentsPriv = new DxListBag();
21         theComponentsShar = new DxListBag();
22     }
23     
24     
25     public void addComponentsPriv( OO7_CompositePart x ) {
26         theComponentsPriv.addBack( x );
27     }
28     
29     
30     public DxBag componetsPriv() {
31         return theComponentsPriv;
32     }
33     
34     
35     public void addComponentsShar( OO7_CompositePart x ) {
36         theComponentsShar.addBack( x );
37     }
38     
39     
40     public DxBag componentsShar() {
41         return theComponentsShar;
42     }
43 }
44
Popular Tags