KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > OO7_AssemblyImpl


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_AssemblyImpl.java,v 1.1 2001/12/17 17:45:08 per_nyfelt Exp $
10

11
12 public class OO7_AssemblyImpl extends OO7_DesignObjectImpl implements OO7_Assembly {
13     OO7_ComplexAssembly theSuperAssembly;
14     OO7_Module theModule;
15     
16     
17     public OO7_AssemblyImpl() {
18     }
19     
20     
21     public void setSuperAssembly( OO7_ComplexAssembly x ) {
22         theSuperAssembly = x;
23     }
24     
25     
26     public OO7_ComplexAssembly superAssembly() {
27         return theSuperAssembly;
28     }
29     
30     
31     public void setModule( OO7_Module x ) {
32         theModule = x;
33     }
34     
35     
36     public OO7_Module module() {
37         return theModule;
38     }
39 }
40
Popular Tags