/**
 * Copyright (c) 2010-2021 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.location;

import java.util.HashSet;
import java.util.Set;
import java.util.stream.Stream;

import org.eclipse.jdt.annotation.NonNullByDefault;
import org.openhab.core.semantics.Location;

/**
 * This class provides a stream of all defined locations.
 *
 * @author Generated from generateTagClasses.groovy - Initial contribution
 */
@NonNullByDefault
public class Locations {

    static final Set<Class<? extends Location>> LOCATIONS = new HashSet<>();

    static {
        LOCATIONS.add(Location.class);
        LOCATIONS.add(Apartment.class);
        LOCATIONS.add(Attic.class);
        LOCATIONS.add(Basement.class);
        LOCATIONS.add(Bathroom.class);
        LOCATIONS.add(Bedroom.class);
        LOCATIONS.add(BoilerRoom.class);
        LOCATIONS.add(Building.class);
        LOCATIONS.add(Carport.class);
        LOCATIONS.add(Cellar.class);
        LOCATIONS.add(Corridor.class);
        LOCATIONS.add(DiningRoom.class);
        LOCATIONS.add(Driveway.class);
        LOCATIONS.add(Entry.class);
        LOCATIONS.add(FamilyRoom.class);
        LOCATIONS.add(FirstFloor.class);
        LOCATIONS.add(Floor.class);
        LOCATIONS.add(Garage.class);
        LOCATIONS.add(Garden.class);
        LOCATIONS.add(GroundFloor.class);
        LOCATIONS.add(GuestRoom.class);
        LOCATIONS.add(House.class);
        LOCATIONS.add(Indoor.class);
        LOCATIONS.add(Kitchen.class);
        LOCATIONS.add(LaundryRoom.class);
        LOCATIONS.add(LivingRoom.class);
        LOCATIONS.add(Office.class);
        LOCATIONS.add(Outdoor.class);
        LOCATIONS.add(Patio.class);
        LOCATIONS.add(Porch.class);
        LOCATIONS.add(Room.class);
        LOCATIONS.add(SecondFloor.class);
        LOCATIONS.add(Shed.class);
        LOCATIONS.add(SummerHouse.class);
        LOCATIONS.add(Terrace.class);
        LOCATIONS.add(ThirdFloor.class);
        LOCATIONS.add(Veranda.class);
    }

    public static Stream<Class<? extends Location>> stream() {
        return LOCATIONS.stream();
    }
}
