KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 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
12 package org.eclipse.jface.internal.databinding.provisional.description;
13
14 /**
15  * TODO Javadoc
16  *
17  * @since 1.0
18  *
19  */

20 public class ListModelDescription {
21
22     private final Property collectionProperty;
23
24     private final Object JavaDoc propertyID;
25
26     /**
27      * @param collectionProperty
28      * @param propertyID
29      */

30     public ListModelDescription(Property collectionProperty, Object JavaDoc propertyID) {
31         this.collectionProperty = collectionProperty;
32         this.propertyID = propertyID;
33     }
34
35     /**
36      * @return the collection property
37      */

38     public Property getCollectionProperty() {
39         return collectionProperty;
40     }
41
42     /**
43      * @return Returns the propertyID.
44      */

45     public Object JavaDoc getPropertyID() {
46         return propertyID;
47     }
48
49 }
50
Popular Tags