forked from eclipse/org.eclipse.sensinact.gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SensorthingsAnnotations.java
54 lines (51 loc) · 1.83 KB
/
SensorthingsAnnotations.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*********************************************************************
* Copyright (c) 2022 Contributors to the Eclipse Foundation.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Data In Motion - initial API and implementation
**********************************************************************/
package org.eclipse.sensinact.sensorthings.sensing.rest.impl;
/**
* Constants for the recognized Sensorthings annotations
*
* @author grune
* @since Apr 18, 2024
*/
public class SensorthingsAnnotations {
/**
* Marks a resource as observed area
*/
public static final String SENSORTHINGS_OBSERVEDAREA = "sensorthings.observedArea";
/**
* Marks resource as observed property definition
*/
public static final String SENSORTHINGS_OBSERVEDPROPERTY_DEFINITION = "sensorthings.observedproperty.definition";
/**
* Marks resource as observation quality
*/
public static final String SENSORTHINGS_OBSERVATION_QUALITY = "sensorthings.observation.quality";
/**
* Marks resource with sensor encoding type
*/
public static final String SENSORTHINGS_SENSOR_ENCODING_TYPE = "sensorthings.sensor.encodingType";
/**
* Marks resource with sensor metadata
*/
public static final String SENSORTHINGS_SENSOR_METADATA = "sensorthings.sensor.metadata";
/**
* Marks resource with unit definition
*/
public static final String SENSORTHINGS_UNIT_DEFINITION = "sensorthings.unit.definition";
/**
* Marks resource containing the name of the unit
*/
public static final String SENSORTHINGS_UNIT_NAME = "sensorthings.unit.name";
private SensorthingsAnnotations() {
}
}