KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jface > internal > databinding > provisional > description > NestedProperty


1 /*******************************************************************************
2  * Copyright (c) 2005, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jface.internal.databinding.provisional.description;
12
13
14 /**
15  * TODO Javadoc
16  *
17  * @since 1.0
18  *
19  */

20 public class NestedProperty extends Property {
21
22     private Class JavaDoc[] types;
23     private Class JavaDoc prototypeClass;
24
25     /**
26      * @param object
27      * @param properties
28      * @param types
29      */

30     public NestedProperty(Object JavaDoc object, String JavaDoc[] properties, Class JavaDoc[] types) {
31         super(object, properties);
32         this.types = types;
33     }
34     
35     /**
36      * @param object
37      * @param properties
38      * @param prototypeClass
39      */

40     public NestedProperty(Object JavaDoc object, String JavaDoc properties, Class JavaDoc prototypeClass) {
41         super(object, properties);
42         this.prototypeClass = prototypeClass;
43     }
44
45     /**
46      * @return the array of types
47      */

48     public Class JavaDoc[] getTypes() {
49         return types;
50     }
51
52     /**
53      * @return the prototype class
54      */

55     public Class JavaDoc getPrototypeClass() {
56         return prototypeClass;
57     }
58     
59     
60 }
61
Popular Tags