diff --git a/city_model_structure/traffic_network.py b/city_model_structure/traffic_network.py index 9f56d066..832b3f4b 100644 --- a/city_model_structure/traffic_network.py +++ b/city_model_structure/traffic_network.py @@ -14,6 +14,7 @@ from city_model_structure.transport.join_exclude import JoinExclude from city_model_structure.transport.edge import Edge from city_model_structure.transport.roundabout import Roundabout from city_model_structure.transport.connection import Connection +from city_model_structure.transport.prohibition import Prohibition from city_model_structure.transport.crossing import Crossing from city_model_structure.transport.walking_area import WalkingArea from city_model_structure.transport.traffic_light_logic import TrafficLightLogic @@ -114,6 +115,17 @@ class TrafficNetwork(CityObject): """ self._connections = value + @property + def prohibitions(self) -> List[Prohibition]: + return self._prohibitions + + @prohibitions.setter + def prohibitions(self, value): + """ + :param value: [Prohibition] + """ + self._prohibitions = value + @property def crossings(self) -> List[Crossing]: return self._crossings