forked from eclipse/org.eclipse.sensinact.gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Modelled.java
35 lines (30 loc) · 941 Bytes
/
Modelled.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
/*********************************************************************
* 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:
* Kentyou - initial implementation
**********************************************************************/
package org.eclipse.sensinact.core.model;
/**
* A common super-interface for modelled types
*
* @author timothyjward
*
*/
public interface Modelled {
String getName();
boolean isExclusivelyOwned();
boolean isAutoDelete();
/**
* Indicates if this is loaded Model, which is not allowed to be changed. Any
* changes to this model will result in an Exception. TODO: What kind of
* Exception?
*/
boolean isFrozen();
}