KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > OO7_ComplexAssemblyImpl


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_ComplexAssemblyImpl.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_ComplexAssemblyImpl extends OO7_AssemblyImpl implements OO7_ComplexAssembly {
15     DxListBag theSubAssemblies;
16     
17     
18     public OO7_ComplexAssemblyImpl() {
19         theSubAssemblies = new DxListBag();
20     }
21     
22     
23     public void addSubAssembly( OO7_Assembly x ) {
24         theSubAssemblies.addBack( x );
25     }
26     
27     
28     public DxBag subAssemblies() {
29         return theSubAssemblies;
30     }
31 }
32
Popular Tags