How to define a class Road to be equivalent to a set of objects with the same value of hasRoadNumber data property

与世无争的帅哥 提交于 2019-12-11 04:26:09

问题


I defined class RoadSegment and datatype property hasRoadNumber. So, now I want to define class Road and state that a Road is a set of RoadSegments with the same road number. How it can be done?

来源:https://stackoverflow.com/questions/57937212/how-to-define-a-class-road-to-be-equivalent-to-a-set-of-objects-with-the-same-va

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!