Guennadi V. Vanine wrote
I tried to import the text file with the only line:
One
or
One Two
Well, it doesn't import any objects (to me)
This works for me. A file with the above two lines creates two Object types, One and Two. I noticed that the object types window sometimes does not refresh. Ditto for the fact types/Object types pane of the Business Rules window. For the latter, you can right-click and select "Refresh. For the former, try closing and re-opening the window.
Guennadi V. Vanine wrote
BTW, it is impossible to have such rule (rule without predicate) in VEA. If I drag&drop an object onto a diagram, it doesn't show up in "Fact Editor | Object (tab) | Select object:" list
That selection window contains object in the given fact, not the model. If you drag and drop a new object and use it in some fact, it will appear when you click on that window. Besides, if you really want an object with no predicate, why do anything in the Fact Editor anyway?
Guennadi V. Vanine wrote
But is it possible to create isolated typed objects (without predicate) in any other way than drag&dropping from "ORM Source" stencil?
Yes. The OT can import them, you can drag and drop them, and you can create new ones from the Object Types Tab of the Business Rules Window.
Guennadi V. Vanine wrote
This is strange to me. So, if I create "ClassRoom is Subtype of Room", it is not rule, has no semantics and only graphic annotation?
It is a rule, just not (technically, or at least not to VEA) a fact type. There is an implied fact type, but VEA ignores that as the semantics expressed by subtyping are stronger than the implied fact type.
Also, just to be clear, the Toolbox only imports objects and facts and not subtype relationships. You'll have to create those manually.
Scot.