View Javadoc

1   /*	
2   	Copyright 2007-2014 Fraunhofer IGD, http://www.igd.fraunhofer.de
3   	Fraunhofer-Gesellschaft - Institute for Computer Graphics Research
4   	
5   	See the NOTICE file distributed with this work for additional 
6   	information regarding copyright ownership
7   	
8   	Licensed under the Apache License, Version 2.0 (the "License");
9   	you may not use this file except in compliance with the License.
10  	You may obtain a copy of the License at
11  	
12  	  http://www.apache.org/licenses/LICENSE-2.0
13  	
14  	Unless required by applicable law or agreed to in writing, software
15  	distributed under the License is distributed on an "AS IS" BASIS,
16  	WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  	See the License for the specific language governing permissions and
18  	limitations under the License.
19   */
20  package org.universAAL.middleware.ui.rdf;
21  
22  import org.universAAL.middleware.owl.MergedRestriction;
23  import org.universAAL.middleware.rdf.PropertyPath;
24  
25  /**
26   * A subclass of {@link Select} that allows only one selection.
27   * 
28   * @author mtazari
29   * @author Carsten Stockloew
30   */
31  public class Select1 extends Select {
32      public static final String MY_URI = Form.uAAL_DIALOG_NAMESPACE + "Select1";
33  
34      /**
35       * For exclusive usage by de-serializers.
36       */
37      public Select1() {
38  	super();
39      }
40  
41      /**
42       * For exclusive usage by the applications.
43       * 
44       * @param parent
45       *            The group to contain this select1 object.
46       * @param label
47       *            The label.
48       * @param ref
49       *            mandatory property path within the form data to which this
50       *            select1 object refers.
51       * @param valueRestriction
52       *            Optional local restrictions on the value of this select1
53       *            object.
54       * @param initialValue
55       *            Optional initial / default value that will be made available
56       *            in the form data.
57       */
58      public Select1(Group parent, Label label, PropertyPath ref,
59  	    MergedRestriction valueRestriction, Object initialValue) {
60  	super(MY_URI, parent, label, ref, valueRestriction, initialValue);
61      }
62  }