mirror of
https://github.com/danieldemus/openhab-core.git
synced 2025-01-25 11:45:49 +01:00
Merged semantics packages in order to make API consistent (#2263)
Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
parent
b64c84e8b9
commit
6568dc1478
@ -17,12 +17,12 @@ import org.eclipse.jdt.annotation.Nullable;
|
||||
import org.openhab.core.items.Item;
|
||||
import org.openhab.core.model.script.engine.action.ActionDoc;
|
||||
import org.openhab.core.model.script.internal.engine.action.SemanticsActionService;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.Location;
|
||||
import org.openhab.core.semantics.Point;
|
||||
import org.openhab.core.semantics.Property;
|
||||
import org.openhab.core.semantics.SemanticTags;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.Location;
|
||||
import org.openhab.core.semantics.model.Point;
|
||||
import org.openhab.core.semantics.model.Property;
|
||||
import org.openhab.core.semantics.model.Tag;
|
||||
import org.openhab.core.semantics.Tag;
|
||||
|
||||
/**
|
||||
* The static methods of this class are made available as functions in the scripts. This allows a script to use
|
||||
|
@ -69,9 +69,9 @@ def createTagSetClass(def line, String tagSet) {
|
||||
file.write("package org.openhab.core.semantics.model." + pkg + ";\n\n")
|
||||
file.write("import org.eclipse.jdt.annotation.NonNullByDefault;\n")
|
||||
if (!parent) {
|
||||
file.write("import org.openhab.core.semantics.model." + type + ";\n")
|
||||
file.write("import org.openhab.core.semantics." + type + ";\n")
|
||||
}
|
||||
file.write("""import org.openhab.core.semantics.model.TagInfo;
|
||||
file.write("""import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a ${label}.
|
||||
@ -104,7 +104,7 @@ import java.util.Set;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Location;
|
||||
import org.openhab.core.semantics.Location;
|
||||
|
||||
/**
|
||||
* This class provides a stream of all defined locations.
|
||||
@ -142,7 +142,7 @@ import java.util.Set;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
|
||||
/**
|
||||
* This class provides a stream of all defined equipments.
|
||||
@ -180,7 +180,7 @@ import java.util.Set;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Point;
|
||||
import org.openhab.core.semantics.Point;
|
||||
|
||||
/**
|
||||
* This class provides a stream of all defined points.
|
||||
@ -218,7 +218,7 @@ import java.util.Set;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Property;
|
||||
import org.openhab.core.semantics.Property;
|
||||
|
||||
/**
|
||||
* This class provides a stream of all defined properties.
|
||||
|
@ -10,7 +10,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: EPL-2.0
|
||||
*/
|
||||
package org.openhab.core.semantics.model;
|
||||
package org.openhab.core.semantics;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.eclipse.jdt.annotation.Nullable;
|
@ -10,7 +10,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: EPL-2.0
|
||||
*/
|
||||
package org.openhab.core.semantics.model;
|
||||
package org.openhab.core.semantics;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.eclipse.jdt.annotation.Nullable;
|
@ -10,7 +10,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: EPL-2.0
|
||||
*/
|
||||
package org.openhab.core.semantics.model;
|
||||
package org.openhab.core.semantics;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.eclipse.jdt.annotation.Nullable;
|
@ -10,7 +10,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: EPL-2.0
|
||||
*/
|
||||
package org.openhab.core.semantics.model;
|
||||
package org.openhab.core.semantics;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
|
@ -26,12 +26,6 @@ import java.util.stream.Collectors;
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.eclipse.jdt.annotation.Nullable;
|
||||
import org.openhab.core.items.Item;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.Location;
|
||||
import org.openhab.core.semantics.model.Point;
|
||||
import org.openhab.core.semantics.model.Property;
|
||||
import org.openhab.core.semantics.model.Tag;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.model.equipment.Equipments;
|
||||
import org.openhab.core.semantics.model.location.Locations;
|
||||
import org.openhab.core.semantics.model.point.Measurement;
|
||||
|
@ -16,11 +16,6 @@ import java.util.function.Predicate;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.items.Item;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.Location;
|
||||
import org.openhab.core.semantics.model.Point;
|
||||
import org.openhab.core.semantics.model.Property;
|
||||
import org.openhab.core.semantics.model.Tag;
|
||||
|
||||
/**
|
||||
* This class provides predicates that allow filtering item streams with regards to their semantics.
|
||||
|
@ -17,7 +17,6 @@ import java.util.Set;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.items.Item;
|
||||
import org.openhab.core.semantics.model.Location;
|
||||
|
||||
/**
|
||||
* This interface defines a service, which offers functionality regarding semantic tags.
|
||||
|
@ -10,7 +10,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: EPL-2.0
|
||||
*/
|
||||
package org.openhab.core.semantics.model;
|
||||
package org.openhab.core.semantics;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
|
@ -10,7 +10,7 @@
|
||||
*
|
||||
* SPDX-License-Identifier: EPL-2.0
|
||||
*/
|
||||
package org.openhab.core.semantics.model;
|
||||
package org.openhab.core.semantics;
|
||||
|
||||
import static java.lang.annotation.ElementType.TYPE;
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
@ -29,13 +29,13 @@ import org.openhab.core.items.ItemRegistryChangeListener;
|
||||
import org.openhab.core.items.Metadata;
|
||||
import org.openhab.core.items.MetadataKey;
|
||||
import org.openhab.core.items.MetadataProvider;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.Location;
|
||||
import org.openhab.core.semantics.Point;
|
||||
import org.openhab.core.semantics.Property;
|
||||
import org.openhab.core.semantics.SemanticTags;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.Location;
|
||||
import org.openhab.core.semantics.model.Point;
|
||||
import org.openhab.core.semantics.model.Property;
|
||||
import org.openhab.core.semantics.model.Tag;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Tag;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
import org.osgi.service.component.annotations.Activate;
|
||||
import org.osgi.service.component.annotations.Component;
|
||||
import org.osgi.service.component.annotations.Deactivate;
|
||||
|
@ -27,13 +27,13 @@ import org.openhab.core.items.ItemRegistry;
|
||||
import org.openhab.core.items.Metadata;
|
||||
import org.openhab.core.items.MetadataKey;
|
||||
import org.openhab.core.items.MetadataRegistry;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.Location;
|
||||
import org.openhab.core.semantics.Point;
|
||||
import org.openhab.core.semantics.SemanticTags;
|
||||
import org.openhab.core.semantics.SemanticsPredicates;
|
||||
import org.openhab.core.semantics.SemanticsService;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.Location;
|
||||
import org.openhab.core.semantics.model.Point;
|
||||
import org.openhab.core.semantics.model.Tag;
|
||||
import org.openhab.core.semantics.Tag;
|
||||
import org.osgi.service.component.annotations.Activate;
|
||||
import org.osgi.service.component.annotations.Component;
|
||||
import org.osgi.service.component.annotations.Reference;
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Alarm System.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Back Door.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Battery.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Blinds.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Boiler.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Camera.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Car.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Ceiling Fan.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Cellar Door.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Cleaning Robot.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Dishwasher.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Door.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Doorbell.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Dryer.
|
||||
|
@ -17,7 +17,7 @@ import java.util.Set;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
|
||||
/**
|
||||
* This class provides a stream of all defined equipments.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Fan.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Freezer.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Front Door.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Garage Door.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Gate.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a HVAC.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Inner Door.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Inverter.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Kitchen Hood.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Lawn Mower.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Light Stripe.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Lightbulb.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Lock.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Motion Detector.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Network Appliance.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Oven.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Power Outlet.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Projector.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Pump.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Radiator Control.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Receiver.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Refrigerator.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Remote Control.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Screen.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Sensor.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Side Door.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Siren.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Smartphone.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Smoke Detector.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Speaker.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Television.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Valve.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Voice Assistant.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Wall Switch.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Washing Machine.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Weather Service.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Web Service.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a White Good.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.equipment;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Equipment;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Equipment;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Window.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Apartment.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Attic.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Basement.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Bathroom.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Bedroom.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Boiler Room.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Building.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Carport.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Cellar.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Corridor.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Dining Room.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Driveway.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Entry.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Family Room.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a First Floor.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Floor.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Garage.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Garden.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Ground Floor.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Guest Room.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a House.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Location;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Location;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Indoor.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Kitchen.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Laundry Room.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Living Room.
|
||||
|
@ -17,7 +17,7 @@ import java.util.Set;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Location;
|
||||
import org.openhab.core.semantics.Location;
|
||||
|
||||
/**
|
||||
* This class provides a stream of all defined locations.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Office.
|
||||
|
@ -13,8 +13,8 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.Location;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.Location;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Outdoor.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Patio.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Porch.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Room.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Second Floor.
|
||||
|
@ -13,7 +13,7 @@
|
||||
package org.openhab.core.semantics.model.location;
|
||||
|
||||
import org.eclipse.jdt.annotation.NonNullByDefault;
|
||||
import org.openhab.core.semantics.model.TagInfo;
|
||||
import org.openhab.core.semantics.TagInfo;
|
||||
|
||||
/**
|
||||
* This class defines a Shed.
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user