Presents: ObjectRoleModeling.com Tuesday, January 06, 2009
 Search
Register Login
Forums
 
 

Note: To post to a thread, you must be logged in.

  Forums  
 
SearchForum Home
     
  Orthogonal Toolbox  Support  no import of ty...
 no import of typed objects without predicates
 
imgOfflineGuennadi V. Vanine
170 posts
5th
Joined
5/28/2005

no import of typed objects without predicates
Posted: 06 Jun 05 6:38 PM

[1] tells:
"If a line contains only object types, only object types will be created. In other words, you must have at least one word of predicate text in order to create a fact type. If no predicate text is supplied, the object types will still be imported."
I tried to import the text file with the only line:
One
or
One Two


Well, it doesn't import any objects (to me)

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

But is it possible to create isolated typed objects (without predicate) in any other way than drag&dropping from "ORM Source" stencil?

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?

[1]
Orthogonal Toolbox 1.5 Release Notes (
OrthoNotes.rtf )


thanks god, i.e. Scot, saving the ORM cause in all EMEA by patiently answering ALL questions, Геннадий Владимирович Ванин (aka Guennadi Vladimirovitch Vanine or Vanin Gennady )
imgOfflineScot Becker
223 posts
www.orthogonalsoftware.com
4th
Joined
9/24/2004

Re: no import of typed objects without predicates
Posted: 06 Jun 05 7:01 PM

 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.

  Orthogonal Toolbox  Support  no import of ty...
 
  Syndication  
   
 
© 2003 - 2009 Orthogonal Software Corporation. All rights reserved. Terms Of Use Privacy Statement