Skip to content

Commit

Permalink
[semantics] Ontology enhanced (openhab#1814)
Browse files Browse the repository at this point in the history
Related to openhab#1791

Also-by: Christoph Weitkamp <[email protected]>
Also-by: Mark <[email protected]>
Signed-off-by: Laurent Garnier <[email protected]>
GitOrigin-RevId: f6d3f1d
  • Loading branch information
lolodomo authored and splatch committed Jul 11, 2023
1 parent a4228e6 commit 92bebd8
Show file tree
Hide file tree
Showing 58 changed files with 1,346 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
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;

/**
* This class defines a Alarm System.
*
* @author Generated from generateTagClasses.groovy - Initial contribution
*/
@NonNullByDefault
@TagInfo(id = "Equipment_AlarmSystem", label = "Alarm System", synonyms = "Alarm Systems", description = "")
public interface AlarmSystem extends Equipment {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.openhab.core.semantics.model.equipment;

import org.eclipse.jdt.annotation.NonNullByDefault;
import org.openhab.core.semantics.model.TagInfo;

/**
* This class defines a Back Door.
*
* @author Generated from generateTagClasses.groovy - Initial contribution
*/
@NonNullByDefault
@TagInfo(id = "Equipment_Door_BackDoor", label = "Back Door", synonyms = "Back Doors", description = "")
public interface BackDoor extends Door {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
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;

/**
* This class defines a Boiler.
*
* @author Generated from generateTagClasses.groovy - Initial contribution
*/
@NonNullByDefault
@TagInfo(id = "Equipment_Boiler", label = "Boiler", synonyms = "Boilers", description = "")
public interface Boiler extends Equipment {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.openhab.core.semantics.model.equipment;

import org.eclipse.jdt.annotation.NonNullByDefault;
import org.openhab.core.semantics.model.TagInfo;

/**
* This class defines a Ceiling Fan.
*
* @author Generated from generateTagClasses.groovy - Initial contribution
*/
@NonNullByDefault
@TagInfo(id = "Equipment_Fan_CeilingFan", label = "Ceiling Fan", synonyms = "Ceiling Fans", description = "")
public interface CeilingFan extends Fan {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.openhab.core.semantics.model.equipment;

import org.eclipse.jdt.annotation.NonNullByDefault;
import org.openhab.core.semantics.model.TagInfo;

/**
* This class defines a Cellar Door.
*
* @author Generated from generateTagClasses.groovy - Initial contribution
*/
@NonNullByDefault
@TagInfo(id = "Equipment_Door_CellarDoor", label = "Cellar Door", synonyms = "Cellar Doors", description = "")
public interface CellarDoor extends Door {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.openhab.core.semantics.model.equipment;

import org.eclipse.jdt.annotation.NonNullByDefault;
import org.openhab.core.semantics.model.TagInfo;

/**
* This class defines a Dishwasher.
*
* @author Generated from generateTagClasses.groovy - Initial contribution
*/
@NonNullByDefault
@TagInfo(id = "Equipment_WhiteGood_Dishwasher", label = "Dishwasher", synonyms = "Dishwashers", description = "")
public interface Dishwasher extends WhiteGood {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
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;

/**
* This class defines a Doorbell.
*
* @author Generated from generateTagClasses.groovy - Initial contribution
*/
@NonNullByDefault
@TagInfo(id = "Equipment_Doorbell", label = "Doorbell", synonyms = "Doorbells", description = "")
public interface Doorbell extends Equipment {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.openhab.core.semantics.model.equipment;

import org.eclipse.jdt.annotation.NonNullByDefault;
import org.openhab.core.semantics.model.TagInfo;

/**
* This class defines a Dryer.
*
* @author Generated from generateTagClasses.groovy - Initial contribution
*/
@NonNullByDefault
@TagInfo(id = "Equipment_WhiteGood_Dryer", label = "Dryer", synonyms = "Dryers", description = "")
public interface Dryer extends WhiteGood {
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,56 @@ public class Equipments {

static {
EQUIPMENTS.add(Equipment.class);
EQUIPMENTS.add(AlarmSystem.class);
EQUIPMENTS.add(BackDoor.class);
EQUIPMENTS.add(Battery.class);
EQUIPMENTS.add(Blinds.class);
EQUIPMENTS.add(Boiler.class);
EQUIPMENTS.add(Camera.class);
EQUIPMENTS.add(Car.class);
EQUIPMENTS.add(CeilingFan.class);
EQUIPMENTS.add(CellarDoor.class);
EQUIPMENTS.add(CleaningRobot.class);
EQUIPMENTS.add(Dishwasher.class);
EQUIPMENTS.add(Door.class);
EQUIPMENTS.add(Doorbell.class);
EQUIPMENTS.add(Dryer.class);
EQUIPMENTS.add(Fan.class);
EQUIPMENTS.add(Freezer.class);
EQUIPMENTS.add(FrontDoor.class);
EQUIPMENTS.add(GarageDoor.class);
EQUIPMENTS.add(Gate.class);
EQUIPMENTS.add(HVAC.class);
EQUIPMENTS.add(InnerDoor.class);
EQUIPMENTS.add(Inverter.class);
EQUIPMENTS.add(KitchenHood.class);
EQUIPMENTS.add(LawnMower.class);
EQUIPMENTS.add(LightStripe.class);
EQUIPMENTS.add(Lightbulb.class);
EQUIPMENTS.add(Lock.class);
EQUIPMENTS.add(MotionDetector.class);
EQUIPMENTS.add(NetworkAppliance.class);
EQUIPMENTS.add(Oven.class);
EQUIPMENTS.add(PowerOutlet.class);
EQUIPMENTS.add(Projector.class);
EQUIPMENTS.add(Pump.class);
EQUIPMENTS.add(RadiatorControl.class);
EQUIPMENTS.add(Receiver.class);
EQUIPMENTS.add(Refrigerator.class);
EQUIPMENTS.add(RemoteControl.class);
EQUIPMENTS.add(Screen.class);
EQUIPMENTS.add(Sensor.class);
EQUIPMENTS.add(SideDoor.class);
EQUIPMENTS.add(Siren.class);
EQUIPMENTS.add(Smartphone.class);
EQUIPMENTS.add(SmokeDetector.class);
EQUIPMENTS.add(Speaker.class);
EQUIPMENTS.add(Television.class);
EQUIPMENTS.add(Valve.class);
EQUIPMENTS.add(VoiceAssistant.class);
EQUIPMENTS.add(WallSwitch.class);
EQUIPMENTS.add(WashingMachine.class);
EQUIPMENTS.add(WeatherService.class);
EQUIPMENTS.add(WebService.class);
EQUIPMENTS.add(WhiteGood.class);
EQUIPMENTS.add(Window.class);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
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;

/**
* This class defines a Fan.
*
* @author Generated from generateTagClasses.groovy - Initial contribution
*/
@NonNullByDefault
@TagInfo(id = "Equipment_Fan", label = "Fan", synonyms = "Fans", description = "")
public interface Fan extends Equipment {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.openhab.core.semantics.model.equipment;

import org.eclipse.jdt.annotation.NonNullByDefault;
import org.openhab.core.semantics.model.TagInfo;

/**
* This class defines a Freezer.
*
* @author Generated from generateTagClasses.groovy - Initial contribution
*/
@NonNullByDefault
@TagInfo(id = "Equipment_WhiteGood_Freezer", label = "Freezer", synonyms = "Freezers", description = "")
public interface Freezer extends WhiteGood {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.openhab.core.semantics.model.equipment;

import org.eclipse.jdt.annotation.NonNullByDefault;
import org.openhab.core.semantics.model.TagInfo;

/**
* This class defines a Gate.
*
* @author Generated from generateTagClasses.groovy - Initial contribution
*/
@NonNullByDefault
@TagInfo(id = "Equipment_Door_Gate", label = "Gate", synonyms = "Gates", description = "")
public interface Gate extends Door {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/**
* Copyright (c) 2010-2020 Contributors to the openHAB project
*
* See the NOTICE file(s) distributed with this work for additional
* information.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.openhab.core.semantics.model.equipment;

import org.eclipse.jdt.annotation.NonNullByDefault;
import org.openhab.core.semantics.model.TagInfo;

/**
* This class defines a Inner Door.
*
* @author Generated from generateTagClasses.groovy - Initial contribution
*/
@NonNullByDefault
@TagInfo(id = "Equipment_Door_InnerDoor", label = "Inner Door", synonyms = "Inner Doors", description = "")
public interface InnerDoor extends Door {
}
Loading

0 comments on commit 92bebd8

Please sign in to comment.