View Javadoc

1   /*******************************************************************************
2    * Copyright 2013 Universidad Politécnica de Madrid
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *   http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   ******************************************************************************/
16  
17  package org.universAAL.middleware.ui.owl;
18  
19  import org.universAAL.middleware.owl.ManagedIndividual;
20  
21  /**
22   * Core concept for Modal Recommendations over FormElements.
23   * @author amedrano
24   *
25   */
26  public class Recommendation extends ManagedIndividual {
27  	
28      public static final String MY_URI = uAAL_VOCABULARY_NAMESPACE
29      	    + "Recommendation";
30  
31  	/**
32  	 * To be used only by De/serializers
33  	 */
34  	public Recommendation() {
35  	}
36  
37  	/**
38  	 * 
39  	 * @param uri
40  	 */
41  	public Recommendation(String uri) {
42  		super(uri);
43  	}
44  
45  	/**
46  	 * @param uriPrefix
47  	 * @param numProps
48  	 */
49  	public Recommendation(String uriPrefix, int numProps) {
50  		super(uriPrefix, numProps);
51  	}
52  
53  	/** {@ inheritDoc}	 */
54  	public int getPropSerializationType(String propURI) {
55  		return PROP_SERIALIZATION_FULL;
56  	}
57  
58  }