{"id":701,"date":"2016-02-02T14:36:50","date_gmt":"2016-02-02T14:36:50","guid":{"rendered":"http:\/\/onefact-migrate.zipfish-sites.io\/?p=701"},"modified":"2020-12-16T16:10:22","modified_gmt":"2020-12-16T16:10:22","slug":"2-views","status":"publish","type":"post","link":"https:\/\/onefact.net\/2-views\/","title":{"rendered":"2 Views"},"content":{"rendered":"<p>When modeling an application, you may encounter\u00a0subject matters\u00a0that deal\u00a0with the same information but addressing different requirements. \u00a0When the requirements are varied enough, it may make sense to model parts of the application on separate class diagrams&#8230; each with its own <em>view<\/em> of the data.<\/p>\n<p>For example, here is a model of the syntax of a language. \u00a0This model focuses on the content, form and inter-relationships of the elements of the language.<\/p>\n<p><a href=\"https:\/\/onefact.net\/wp-content\/uploads\/2016\/02\/modeling.png\" rel=\"attachment wp-att-699\"><img fetchpriority=\"high\" alt='modeling-9841392' class=\"alignnone size-full wp-image-699\" src='https:\/\/onefact.net\/wp-content\/uploads\/2016\/02\/modeling-9841392.png' alt=\"modeling\" width=\"414\" height=\"167\" \/><\/a><\/p>\n<p>This language can be <em>marked<\/em> with options that affect its translation. \u00a0Marking deals with the same information but is addressing a separate and substantially different requirement. \u00a0So, a new view of the data is modeled that focuses on the requirements of providing the needed translation options. \u00a0In xtUML, this is done with an<em> imported class<\/em> (or class reference) that is depicted on more than one class diagram.<\/p>\n<p><a href=\"https:\/\/onefact.net\/wp-content\/uploads\/2016\/02\/marking.png\" rel=\"attachment wp-att-700\"><img alt='marking-1769092' class=\"alignnone size-full wp-image-700\" src='https:\/\/onefact.net\/wp-content\/uploads\/2016\/02\/marking-1769092.png' alt=\"marking\" width=\"537\" height=\"169\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When modeling an application, you may encounter\u00a0subject matters\u00a0that deal\u00a0with the same information but addressing different requirements. \u00a0When the requirements are varied enough, it may make sense to model parts of the application on separate class diagrams&#8230; each with its own view of the data. For example, here is a model of the syntax of a [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1352,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-701","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-announcements"],"jetpack_featured_media_url":"https:\/\/onefact.net\/wp-content\/uploads\/2016\/02\/marking-1769092.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/posts\/701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/comments?post=701"}],"version-history":[{"count":1,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/posts\/701\/revisions"}],"predecessor-version":[{"id":1564,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/posts\/701\/revisions\/1564"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/media\/1352"}],"wp:attachment":[{"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/media?parent=701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/categories?post=701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onefact.net\/wp-json\/wp\/v2\/tags?post=701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}