KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > emf > importer > rose > builder > TableObject


1 /**
2  * <copyright>
3  *
4  * Copyright (c) 2002-2004 IBM Corporation and others.
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * IBM - Initial API and implementation
12  *
13  * </copyright>
14  *
15  * $Id: TableObject.java,v 1.2 2005/06/08 06:20:36 nickb Exp $
16  */

17 package org.eclipse.emf.importer.rose.builder;
18
19 public class TableObject
20 {
21   private String JavaDoc name;
22   private String JavaDoc quid;
23   private UnitTreeNode container;
24   private Object JavaDoc object;
25
26   public TableObject(String JavaDoc name, String JavaDoc quid, UnitTreeNode unitTree)
27   {
28     this.name = name;
29     this.quid = quid;
30     container = unitTree;
31   }
32
33   public void setName(String JavaDoc name)
34   {
35     this.name = name;
36   }
37
38   public void setQUID(String JavaDoc quid)
39   {
40     this.quid = quid;
41   }
42
43   public void setContainer(UnitTreeNode container)
44   {
45     this.container = container;
46   }
47
48   public String JavaDoc getName()
49   {
50     return name;
51   }
52
53   public String JavaDoc getQUID()
54   {
55     return quid;
56   }
57
58   public UnitTreeNode getContainer()
59   {
60     return container;
61   }
62
63   public void setObject(Object JavaDoc object)
64   {
65     this.object = object;
66   }
67
68   public Object JavaDoc getObject()
69   {
70     return object;
71   }
72 }
73
Popular Tags