<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Visual Paradigm Know-how</title>
	<atom:link href="http://knowhow.visual-paradigm.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://knowhow.visual-paradigm.com</link>
	<description>Business modeling, software development techniques</description>
	<lastBuildDate>Wed, 11 Apr 2012 01:51:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Hashing your project contents using VP Project Anonymous Tool</title>
		<link>http://knowhow.visual-paradigm.com/technical-support/project-anonymous-tool/</link>
		<comments>http://knowhow.visual-paradigm.com/technical-support/project-anonymous-tool/#comments</comments>
		<pubDate>Fri, 30 Mar 2012 06:18:05 +0000</pubDate>
		<dc:creator>VP Team</dc:creator>
				<category><![CDATA[Technical Support]]></category>
		<category><![CDATA[Technical support]]></category>

		<guid isPermaLink="false">http://knowhow.visual-paradigm.com/?p=4646</guid>
		<description><![CDATA[Visual Paradigm is always committed to deliver the best possible service to users. When users experience issues that seem to be too complex to diagnose over emails, users could send over their project files for us to better understand their &#8230;<p class="read-more"><a href="http://knowhow.visual-paradigm.com/technical-support/project-anonymous-tool/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Visual Paradigm is always committed to deliver the best possible service to users. When users experience issues that seem to be too complex to diagnose over emails, users could send over their project files for us to better understand their problems and come back with a solution faster. However, we also understand that users might be concerned with passing along project files which contain sensitive or even confidential business information. To address this concern, we have developed the <strong>Project Anonymous Tool</strong> for users to hash their project data into meaningless information and make it safe to send in for diagnosis.</p>
<p><span id="more-4646"></span></p>
<div id="attachment_4697" class="wp-caption alignnone" style="width: 510px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/03/00_project_anonymous_tool-fitted.png"><img class="size-full wp-image-4697" title="00_project_anonymous_tool (fitted)" src="http://knowhow.visual-paradigm.com/know-how_files/2012/03/00_project_anonymous_tool-fitted.png" alt="Visual Paradigm Project Anonymous Tool" width="500" height="375" /></a><p class="wp-caption-text">Visual Paradigm Project Anonymous Tool</p></div>
<h2>What is VP Project Anonymous Tool?</h2>
<p class="size-full wp-image-4653" title="The anonymized project">VP Project Anonymous Tool is a small utility for users to hash project data into meaningless information. It is bundled in VP’s product<strong>*</strong> and you don’t need any extra work for setup. It replaces the names and documentations of all models in a project with meaningless information by converting the original text to random letters of the same length. This helps to preserve the model size while &#8220;erasing&#8221; all contents. Note that this anonymization process is <span style="text-decoration: underline;">irreversible</span>. As there is no way to revert an anonymized project back to its original form (not even Visual Paradigm), it’s safe to send it to us for diagnosis.</p>
<div id="attachment_4661" class="wp-caption alignnone" style="width: 610px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/03/01_project_anonymization.png"><img class="size-full wp-image-4661 " title="What is project anonymization" src="http://knowhow.visual-paradigm.com/know-how_files/2012/03/01_project_anonymization.png" alt="What is project anonymization" width="600" height="149" /></a><p class="wp-caption-text">The original model (shown on left) and the anonymized model (shown on right).</p></div>
<h2></h2>
<h2>How to anonymize your project file</h2>
<p>To anonymize your project:</p>
<ol>
<li>Go to the <strong>scripts</strong> folder under the installation directory and execute the <em>ProjectAnonymousTool  </em>script.
<p><div id="attachment_4692" class="wp-caption alignnone" style="width: 509px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/03/02_launching_project_anonymous_tool.png"><img class="size-full wp-image-4692" title="02_launching_project_anonymous_tool" src="http://knowhow.visual-paradigm.com/know-how_files/2012/03/02_launching_project_anonymous_tool.png" alt="Launching Project Anonymous Tool" width="499" height="412" /></a><p class="wp-caption-text">Launching Project Anonymous Tool</p></div></li>
<li>Click the <strong>Browse</strong> button next to the <strong>Source</strong> field to open the file chooser and select the project file that you want to anonymize.</li>
<li>The anonymized file will be placed into a folder called “<em>anonymized</em>” within the folder containing the source project. You can change the default output path either by editing it directly in the box or by clicking the <strong>Browse</strong> button next to the <strong>Target  </strong>file using the file chooser.</li>
<li>A summary of the projects involved as well as the target output location will be listed in the <strong>Project list</strong>.
<p><div id="attachment_4693" class="wp-caption alignnone" style="width: 495px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/03/03_auto_filled_output_file1.png"><img class="size-full wp-image-4693  " title="03_auto_filled_output_file" src="http://knowhow.visual-paradigm.com/know-how_files/2012/03/03_auto_filled_output_file1.png" alt="The Project Anonymous Tool will fill in the output location automatically upon selecting the source file." width="485" height="194" /></a><p class="wp-caption-text">The Project Anonymous Tool will fill in the output location automatically upon selecting the source file.</p></div></li>
<li>Once you have specified the path, click the <strong>Start</strong> button to start the process.</li>
<li>The original name and the anonymized name of the model element will be shown in the <strong>Anonymization log</strong>. You can right click on the list and select <strong>Copy to system clipboard  </strong>to make a copy.
<p><div id="attachment_4694" class="wp-caption alignnone" style="width: 502px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/03/04_copy_log_to_clipboard1.png"><img class="size-full wp-image-4694" title="04_copy_log_to_clipboard" src="http://knowhow.visual-paradigm.com/know-how_files/2012/03/04_copy_log_to_clipboard1.png" alt="You can copy the anonymization log to system clipboard, and paste it to a text file for future reference." width="492" height="253" /></a><p class="wp-caption-text">You can copy the anonymization log to system clipboard, and paste it to a text file for future reference.</p></div></li>
</ol>
<h2></h2>
<h2>Handling of linked projects</h2>
<p>Linked projects will be identified and automatically added to the <strong>Project list</strong>. All linked projects will also be outputted to the <em>anonymized</em>  folder as the source project. The Project Anonymous Tool will resolve the linkages when performing anonymization and make sure that an anonymized project is appropriately linked to other anonymized project(s) but not the original project file.</p>
<div id="attachment_4695" class="wp-caption alignnone" style="width: 442px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/03/05_resolving_linked_projects1.png"><img class="size-full wp-image-4695" title="05_resolving_linked_projects" src="http://knowhow.visual-paradigm.com/know-how_files/2012/03/05_resolving_linked_projects1.png" alt="The Project Anonymous Tool will resolve the linked projects and add them to the Project List." width="432" height="179" /></a><p class="wp-caption-text">The Project Anonymous Tool will resolve the linked projects and add them to the Project List.</p></div>
<h2>Project versions</h2>
<p>The Project Anonymous Tool can anonymize any Visual Paradigm’s projects saved by any version of Visual Paradigm products. The outputted file will remain at the same version as your original project file.</p>
<h2></h2>
<h2>Use with caution</h2>
<p>Please note the following when using the Project Anonymous Tool.</p>
<ol>
<li>The anonymization process is <span style="color: #ff0000;">irreversible</span>. You cannot reverse an anonymized project back to its original form. Although the tool will output the anonymized file to another location, it is always recommended to make a backup for your original project files before performing anonymization.</li>
<li><span style="color: #ff0000;">Do not overwrite</span> your working project with the anonymized project.</li>
<li><span style="color: #ff0000;">Do not commit</span> the anonymized project to Teamwork Server. This will overwrite the models in Teamwork Repository.</li>
</ol>
<h2></h2>
<h2>Send us your work for diagnosis</h2>
<p>Once you have anonymized your project, you can <a href="http://www.visual-paradigm.com/support/technicalsupport.jsp" target="_blank">send us</a> the anonymized project for diagnosis.</p>
<p>* Project Anonymous Tool is bundled in Visual Paradigm’s product starting from VP-UML 9.0, Agilian 4.0 and BP-VA 5.0 (build 20120327aw).</p>
<h2></h2>
<h2>Related links</h2>
<p><a title="How to report bug for VP-UML, BP-VA, AG, DB-VA" href="http://knowhow.visual-paradigm.com/technical-support/how-to-report-bug-for-vp-uml-bp-va-ag-db-va/">How to report bug for VP-UML, BP-VA and AG</a></p>
<p><a title="How to report bug for Teamwork Server" href="http://knowhow.visual-paradigm.com/technical-support/teamwork-server-report-bug/">How to report bug for Teamwork Server</a></p>
<p><a title="Download VP-UML" href="http://www.visual-paradigm.com/download/vpuml.jsp" target="_blank">Download latest version of VP-UML</a></p>
<p><a title="Update VP Product to Latest Patch" href="http://www.visual-paradigm.com/support/articles/update-to-latest-patch.jsp" target="_blank">Update VP Product to Latest Patch</a></p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.visual-paradigm.com/technical-support/project-anonymous-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Obtaining a Key for Evaluation/Community Edition</title>
		<link>http://knowhow.visual-paradigm.com/license-key-2/obtain-vp-eval-and-activation-key/</link>
		<comments>http://knowhow.visual-paradigm.com/license-key-2/obtain-vp-eval-and-activation-key/#comments</comments>
		<pubDate>Fri, 23 Mar 2012 02:35:20 +0000</pubDate>
		<dc:creator>VP Team</dc:creator>
				<category><![CDATA[License Key]]></category>
		<category><![CDATA[activation key]]></category>
		<category><![CDATA[evaluation key]]></category>
		<category><![CDATA[evaluation period]]></category>
		<category><![CDATA[product evaluation]]></category>
		<category><![CDATA[product trial]]></category>

		<guid isPermaLink="false">http://knowhow.visual-paradigm.com/?p=4565</guid>
		<description><![CDATA[You are welcomed to evaluate any Visual Paradigm software products before purchase. Without a key, you can try any edition and evaluate it for up to 10 days. If you request and import an evaluation key, you can extend the &#8230;<p class="read-more"><a href="http://knowhow.visual-paradigm.com/license-key-2/obtain-vp-eval-and-activation-key/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>You are welcomed to evaluate any <a title="Visual Paradigm products" href="http://www.visual-paradigm.com/product/?favor=vpuml" target="_blank">Visual Paradigm software products</a> before purchase. Without a key, you can try any edition and evaluate it for up to 10 days. If you request and import an evaluation key, you can extend the trial period to 30 days.</p>
<p>For those who are interested in <a title="VP-UML" href="http://www.visual-paradigm.com/product/vpuml/provides/" target="_blank">Visual Paradigm for UML (VP-UML)</a>, there is an additional option available. You could try its <a title="VP-UML community edition" href="http://www.visual-paradigm.com/product/vpuml/provides/?edition=ce" target="_blank">community edition</a>. Once activated with an activation key, it won&#8217;t expire. There are some usage limitations, however, and we will go over them later.</p>
<p>In this article, we will walk through how to obtain <strong>(1) an evaluation key</strong> and <strong>(2) an activation key</strong>.</p>
<p><span id="more-4565"></span></p>
<h2>Obtaining a Key for Evaluation</h2>
<p>Whenever you run a Visual Paradigm software, the <strong>Key Manager</strong> will prompt you for a valid license key if you haven&#8217;t imported one yet. At which, there are two ways to enable your evaluation copy:</p>
<ul>
<li>Click <strong>Try without key</strong> to start the evaluation immediately for 10 days.</li>
<li>Click <strong>Request Key</strong> to request an evaluation key for 30-day trial. Fill the form below and click <strong>Sign up and Request Key</strong>.
<div id="attachment_4573" class="wp-caption alignnone" style="width: 410px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/03/01-request-key.png"><img class="size-full wp-image-4573" title="01-request-key" src="http://knowhow.visual-paradigm.com/know-how_files/2012/03/01-request-key.png" alt="01-request-key" width="400" height="281" /></a><p class="wp-caption-text">01-request-key</p></div>
<p>You will then receive an email with the evaluation key file itself or instructions on downloading the file. After you get the file, you need to import it into the <strong>Key Manager</strong> by clicking <strong>Import key</strong>. Click <strong>Close</strong> to start the 30-day evaluation.</p>
<p>If you don&#8217;t hear from us after a while, please check the Junk box of your email program to make sure that our email wasn&#8217;t filtered out. If you have any problem getting the evaluation key file, feel free to <a title="contact our support team" href="http://www.visual-paradigm.com/support/technicalsupport.jsp" target="_blank">contact our support team</a>.</li>
</ul>
<p>When the evaluation period expires (after 10 days or 30 days), you will no longer be able to launch the software. However, if you were evaluating Visual Paradigm for UML (VP-UML), you could switch to the community edition at this time. To do that, simply run the edition manager under <strong>%PRODUCT-INSTALL-DIR%\bin</strong>. Note that any evaluation key you imported previously, regardless of the edition it supports, is capable of unlocking the community edition. In other words, you do not need to request any key file again.</p>
<p>Technical support is available even during your evaluation period. You are welcomed to <a title="contact us" href="http://www.visual-paradigm.com/support/technicalsupport.jsp" target="_blank">contact us</a> if you have any questions or requests.</p>
<h3>Restrictions of Evaluation</h3>
<p>Evaluation copy is solely for evaluation purpose. Use of evaluation copy for any production or commercial purposes is prohibited. In terms of functionality, the only limitations are the patterned watermarks appearing on both image outputs and images embedded inside an output (e.g. a generated report).</p>
<h3>Want to Evaluate Another Edition/Product?</h3>
<p>To find out which edition/product best suits your needs, sometimes you may want to evaluate more than one edition or product.</p>
<p>Changing edition does not require any re-installation. You only need to run the edition manager under <strong>%PRODUCT-INSTALL-DIR%\bin</strong> to select a different edition. If you are switching to a lower edition (compared to your current edition), you do not need to request another key. Note that your evaluation period will be carried over with the switching and does not start over again.</p>
<p>If you want to evaluate another product, download it in the <a title="Visual Paradigm product download" href="http://www.visual-paradigm.com/download/" target="_blank">Visual Paradigm Products Download</a> page and follow the steps described in the previous section to obtain a valid evaluation key. Note that this downloading of a different product comes with a new evaluation period.</p>
<h2>Obtaining a Key for Community Edition</h2>
<p>Unlike evaluation copies, the community edition of VP-UML has no time limit. You can continue to use it for as long as you like with zero cost. Note that out of the various Visual Paradigm modeling software products, only VP-UML offers the community edition.</p>
<p>When you run VP-UML without having imported a valid license key, the <strong>Key Manager</strong> will prompt you to import one. You can close the <strong>Key Manager</strong> by clicking <strong>Use CE without key</strong>. By doing so, you can continue running the software, but the <strong>Key Manager</strong> will prompt again after an hour. If you want to stop the prompting permanently, click <strong>Request Key</strong> to request an activation key. Fill the web form and click <strong>Sign up and Request Key</strong>.</p>
<div id="attachment_4573" class="wp-caption alignnone" style="width: 410px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/03/01-request-key.png"><img class="size-full wp-image-4573" title="01-request-key" src="http://knowhow.visual-paradigm.com/know-how_files/2012/03/01-request-key.png" alt="01-request-key" width="400" height="281" /></a><p class="wp-caption-text">01-request-key</p></div>
<p>An email with the activation key file itself or instructions on downloading the file will be sent to you. After you get the key file, simply import it into the <strong>Key Manager</strong> by clicking <strong>Import key</strong>. Click <strong>Close</strong> to continue.</p>
<p>If you don&#8217;t hear from us after a while, please check the Junk box of your email program to make sure that our email wasn&#8217;t filtered out. If you have any problem activating the community edition, feel free to <a title="contact our support team" href="http://www.visual-paradigm.com/support/technicalsupport.jsp" target="_blank">contact our support team</a>.</p>
<h3>Restrictions of Community Edition</h3>
<p>Community edition is solely for personal and non-commercial purposes. Use of community edition for production or commercial purposes is prohibited. In terms of functionality, you are limited to create at most one diagram per diagram type only.</p>
<p>If you didn&#8217;t go over the diagram limit, there will be a single line watermark on the image outputs. If you created more than one diagram per type, there will be patterned watermarks covering the entire outputs.</p>
<h2>Related Links</h2>
<p><a title="download VP-UML" href="http://www.visual-paradigm.com/download/vpuml.jsp" target="_blank">Download Visual Paradigm for UML (VP-UML)</a><br />
<a title="download BP-VA" href="http://www.visual-paradigm.com/download/bpva.jsp" target="_blank"> Download Business Process Visual ARCHITECT (BP-VA)</a><br />
<a title="download Agilian" href="http://www.visual-paradigm.com/download/ag.jsp" target="_blank"> Download Agilian</a></p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.visual-paradigm.com/license-key-2/obtain-vp-eval-and-activation-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Organize Data Models Under Use Cases</title>
		<link>http://knowhow.visual-paradigm.com/diagramming/organize-data-models-under-use-cases/</link>
		<comments>http://knowhow.visual-paradigm.com/diagramming/organize-data-models-under-use-cases/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 07:54:15 +0000</pubDate>
		<dc:creator>VP Team</dc:creator>
				<category><![CDATA[Diagramming]]></category>
		<category><![CDATA[data model]]></category>
		<category><![CDATA[entity relationship diagram]]></category>
		<category><![CDATA[ERD]]></category>
		<category><![CDATA[relate diagrams]]></category>
		<category><![CDATA[Use Case]]></category>

		<guid isPermaLink="false">http://knowhow.visual-paradigm.com/?p=4523</guid>
		<description><![CDATA[In helping you organize your modeling project, use cases can act as generic containers for all software development artifacts. Development teams can group and locate design artifacts by navigating use cases. In this tutorial we are going to show you &#8230;<p class="read-more"><a href="http://knowhow.visual-paradigm.com/diagramming/organize-data-models-under-use-cases/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>In helping you organize your modeling project, <a title="use case" href="http://en.wikipedia.org/wiki/Use_case" target="_blank">use cases</a> can act as generic containers for all software development artifacts. Development teams can group and locate design artifacts by navigating use cases.</p>
<p>In this tutorial we are going to show you how to create a new <a title="data model" href="http://en.wikipedia.org/wiki/Data_model" target="_blank">data model</a> (i.e. <a title="entity relationship diagram" href="http://en.wikipedia.org/wiki/Entity_relationship_diagram" target="_blank">entity relationship diagram</a>) and associate that with a use case. And in future, you can easily identify existing associations as such by use cases and conveniently, be taken to the related diagrams right on the spot in just a few clicks.</p>
<p><span id="more-4523"></span></p>
<p><strong>Software we’ll use</strong><br />
In the demo, we&#8217;ll be using <a title="Agilian Standard Edition" href="http://www.visual-paradigm.com/product/ag/provides/?edition=se" target="_blank">Agilian Standard Edition</a>. If you like, you are welcome to <a title="download a free evaluation copy of Agilian" href="http://www.visual-paradigm.com/download/ag.jsp" target="_blank">download a free evaluation copy</a> and the sample project files below to follow the example with.</p>
<ul>
<li><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/02/PatientInformation_before.zip">PatientInformation_before.vpp</a></li>
<li><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/02/PatientInformation_after.zip">PatientInformation_after.vpp</a></li>
</ul>
<h4>Steps to create a data model and associate it with a use case</h4>
<p>We’ll begin with the sample use case diagram below.</p>
<div id="attachment_4530" class="wp-caption alignnone" style="width: 355px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/02/01-sample-use-case-diagram.png"><img class="size-full wp-image-4530" title="01 - sample use case diagram" src="http://knowhow.visual-paradigm.com/know-how_files/2012/02/01-sample-use-case-diagram.png" alt="01 - sample use case diagram" width="345" height="299" /></a><p class="wp-caption-text">01 - sample use case diagram</p></div>
<ol>
<ol>
<li>Select the use case <strong>Record patient visit report</strong>. Click on the icon <strong>Sub-diagrams</strong>.
<p><div id="attachment_4531" class="wp-caption alignnone" style="width: 405px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/02/02-the-sub-diagram-icon-on-use-case.png"><img class="size-full wp-image-4531" title="02 - the sub-diagram icon on use case" src="http://knowhow.visual-paradigm.com/know-how_files/2012/02/02-the-sub-diagram-icon-on-use-case.png" alt="02 - the sub-diagram icon on use case" width="395" height="136" /></a><p class="wp-caption-text">02 - the sub-diagram icon on use case</p></div></li>
<li>From the popup menu, select <strong>Add &gt; Other Diagrams &gt; Database Modeling &gt; Entity Relationship Diagram</strong>.
<p><div id="attachment_4532" class="wp-caption alignnone" style="width: 510px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/02/03-select-to-create-an-entity-relationship-diagram.png"><img class="size-full wp-image-4532" title="03 - select to create an entity relationship diagram" src="http://knowhow.visual-paradigm.com/know-how_files/2012/02/03-select-to-create-an-entity-relationship-diagram.png" alt="03 - select to create an entity relationship diagram" width="500" height="220" /></a><p class="wp-caption-text">03 - select to create an entity relationship diagram</p></div></li>
<li>A new entity relationship diagram (ERD) will open. (Initially, it is named <em>Record patient visit report</em> after the use case but you are free to change it as you wish.) At the top right corner, select <strong>Conceptual Model</strong>.
<p><div id="attachment_4533" class="wp-caption alignnone" style="width: 510px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/02/04-a-new-entity-relationship-diagram-with-the-same-name-as-the-use-case.png"><img class="size-full wp-image-4533" title="04 - a new entity relationship diagram with the same name as the use case" src="http://knowhow.visual-paradigm.com/know-how_files/2012/02/04-a-new-entity-relationship-diagram-with-the-same-name-as-the-use-case.png" alt="04 - a new entity relationship diagram with the same name as the use case" width="500" height="162" /></a><p class="wp-caption-text">04 - a new entity relationship diagram with the same name as the use case</p></div></li>
<li>From the diagram toolbar, drag <strong>Entity </strong>onto the diagram.
<p><div id="attachment_4534" class="wp-caption alignnone" style="width: 424px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/02/05-drag-an-entity-onto-diagram.png"><img class="size-full wp-image-4534" title="05 - drag an entity onto diagram" src="http://knowhow.visual-paradigm.com/know-how_files/2012/02/05-drag-an-entity-onto-diagram.png" alt="05 - drag an entity onto diagram" width="414" height="193" /></a><p class="wp-caption-text">05 - drag an entity onto diagram</p></div></li>
<li>Name the new entity <em>Patient</em>. Right click on it and then select New column to create 2 columns – <em>name</em> and <em>address</em>.
<p><div id="attachment_4535" class="wp-caption alignnone" style="width: 547px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/02/06-add-new-columns-to-an-entity.png"><img class="size-full wp-image-4535" title="06 - add new columns to an entity" src="http://knowhow.visual-paradigm.com/know-how_files/2012/02/06-add-new-columns-to-an-entity.png" alt="06 - add new columns to an entity" width="537" height="121" /></a><p class="wp-caption-text">06 - add new columns to an entity</p></div></li>
<li>Create a relationship from the entity <strong>Patient</strong>. Select <strong>Patient</strong> and drag the icon <strong>One-to-Many Relationship -&gt; Entity </strong>to the right. Release your mouse button at where you want to place the new entity.
<p><div id="attachment_4536" class="wp-caption alignnone" style="width: 292px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/02/07-create-a-new-one-to-many-relationship.png"><img class="size-full wp-image-4536" title="07 - create a new one-to-many relationship" src="http://knowhow.visual-paradigm.com/know-how_files/2012/02/07-create-a-new-one-to-many-relationship.png" alt="07 - create a new one-to-many relationship" width="282" height="160" /></a><p class="wp-caption-text">07 - create a new one-to-many relationship</p></div></li>
<li>Name the new entity <em>Visit</em>. Add 3 columns to it – <em>visitDate</em>, <em>visitTime</em> and <em>description</em>.
<p><div id="attachment_4537" class="wp-caption alignnone" style="width: 367px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/02/08-the-entity-visit.png"><img class="size-full wp-image-4537" title="08 - the entity visit" src="http://knowhow.visual-paradigm.com/know-how_files/2012/02/08-the-entity-visit.png" alt="08 - the entity visit" width="357" height="109" /></a><p class="wp-caption-text">08 - the entity visit</p></div></li>
</ol>
</ol>
<h4>How to view the list of existing diagram associations and jump to one</h4>
<p>Let’s say some time in the future you’re studying the sample use case diagram again. And you want to check and see which diagrams are related to the use case.</p>
<p>To do that, simply select the use case <strong>Record patient visit report</strong> and click the icon <strong>Sub Diagrams</strong>. On the popup menu, you will see its related diagrams listed at the top (i.e. Record patient visit report). If you click it, the entity relationship diagram we drew earlier will open. So you won’t have to search around to locate it.</p>
<div id="attachment_4538" class="wp-caption alignnone" style="width: 442px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/02/09-see-list-of-existing-associated-diagrams.png"><img class="size-full wp-image-4538" title="09 - see list of existing associated diagrams" src="http://knowhow.visual-paradigm.com/know-how_files/2012/02/09-see-list-of-existing-associated-diagrams.png" alt="09 - see list of existing associated diagrams" width="432" height="296" /></a><p class="wp-caption-text">09 - see list of existing associated diagrams</p></div>
<h4>Related Links</h4>
<p><a title="the video version of this tutorial" href="http://www.youtube.com/watch?v=sqUOV6e4SE8" target="_blank">Watch the video version of this tutorial</a><br />
<a title="YouTube video - how to define a custom property for use case" href="http://www.youtube.com/watch?v=mNfst13fFEE" target="_blank">YouTube video – how to define a custom property for use case</a><br />
<a title="YouTube video - how to drill down from business process diagram to data model" href="http://www.youtube.com/watch?v=cWpIPjs35sM" target="_blank"> YouTube video &#8211; Drill down from Business Process Diagram to Data Model</a><br />
<a title="know-how - how to list out all use cases in the current project" href="http://knowhow.visual-paradigm.com/uml/how-to-list-out-all-use-cases-in-the-current-project/">know-how &#8211; how to list out all use cases in the current project</a></p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.visual-paradigm.com/diagramming/organize-data-models-under-use-cases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show Details of Model Elements in Tabular Form</title>
		<link>http://knowhow.visual-paradigm.com/diagramming/show-details-of-model-elements-in-tabular-form/</link>
		<comments>http://knowhow.visual-paradigm.com/diagramming/show-details-of-model-elements-in-tabular-form/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 07:17:37 +0000</pubDate>
		<dc:creator>VP Team</dc:creator>
				<category><![CDATA[Diagramming]]></category>
		<category><![CDATA[archimate]]></category>
		<category><![CDATA[attribute]]></category>
		<category><![CDATA[custom attribute]]></category>
		<category><![CDATA[tagged value]]></category>

		<guid isPermaLink="false">http://knowhow.visual-paradigm.com/?p=4436</guid>
		<description><![CDATA[When the default attributes do not suffice to describe your model elements, you can add your own custom ones by using tagged values. These custom attributes can be added to model elements in various diagrams, such as an actor in &#8230;<p class="read-more"><a href="http://knowhow.visual-paradigm.com/diagramming/show-details-of-model-elements-in-tabular-form/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>When the default attributes do not suffice to describe your model elements, you can add your own custom ones by using <strong>tagged values</strong>. These custom attributes can be added to model elements in various diagrams, such as an <a title="actor" href="http://en.wikipedia.org/wiki/Actor_%28UML%29" target="_blank">actor</a> in <a title="use case diagram" href="http://www.visual-paradigm.com/product/vpuml/provides/umlmodeling.jsp#usecasediagram" target="_blank">use case diagram</a>.</p>
<p>So if you are looking at model elements in a diagram, just how do you show their tagged values? This tutorial will show you how.</p>
<p>As an example, we will walk you through how to show tagged values associated with devices in an <a title="ArchiMate" href="http://en.wikipedia.org/wiki/ArchiMate" target="_blank">ArchiMate</a> diagram.</p>
<p><span id="more-4436"></span></p>
<h4>What we are using in the examples</h4>
<p>The below examples are all referring to the sample ArchiMate diagram below, which is composed of several devices (i.e. <strong>Firewall</strong>, <strong>Application Server</strong>). The software tool is called <a title="Visual Paradigm for UML" href="http://www.visual-paradigm.com/product/vpuml/" target="_blank">Visual Paradigm for UML (VP-UML)</a>.</p>
<p><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/Server_architecture.zip">Download the sample project file</a></p>
<div id="attachment_4463" class="wp-caption alignnone" style="width: 510px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/01-sample-ArchiMate-diagram.png"><img class="size-full wp-image-4463" title="01 - sample ArchiMate diagram" src="http://knowhow.visual-paradigm.com/know-how_files/2012/01/01-sample-ArchiMate-diagram.png" alt="01 - sample ArchiMate diagram" width="500" height="279" /></a><p class="wp-caption-text">01 - sample ArchiMate diagram</p></div>
<h4></h4>
<h4>Example 1: View tagged values of a model element</h4>
<p>Let’s say we want to look at the tagged values for the device called <strong>Firewall</strong> in the diagram.</p>
<ol>
<li>Right click on <strong>Firewall</strong> and select <strong><strong>Open Specification…</strong></strong>
<p><div id="attachment_4464" class="wp-caption alignnone" style="width: 494px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/02-right-click-on-Firewall-and-select-Open-Specification.png"><img class="size-full wp-image-4464" title="02 - right click on Firewall and select Open Specification" src="http://knowhow.visual-paradigm.com/know-how_files/2012/01/02-right-click-on-Firewall-and-select-Open-Specification.png" alt="02 - right click on Firewall and select Open Specification" width="484" height="224" /></a><p class="wp-caption-text">02 - right click on Firewall and select Open Specification</p></div></li>
<li>In the dialog box opened, select the <strong>Tagged Values</strong> tab.<br />
Under it, you will see a tag called <strong>IP</strong> (value = 192.168.1.100) and another one called <strong>Setup Time</strong> (value= 5, July 2011).<br />
Since we were viewing only (without any changes), click <strong>Cancel </strong>to close the dialog box.</p>
<p><div id="attachment_4465" class="wp-caption alignnone" style="width: 454px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/03-view-the-tagged-values-of-the-device-Firewall.png"><img class="size-full wp-image-4465" title="03 - view the tagged values of the device (Firewall)" src="http://knowhow.visual-paradigm.com/know-how_files/2012/01/03-view-the-tagged-values-of-the-device-Firewall.png" alt="03 - view the tagged values of the device (Firewall)" width="444" height="379" /></a><p class="wp-caption-text">03 - view the tagged values of the device (Firewall)</p></div></li>
</ol>
<h4>Example 2: View tagged values of multiple model elements without repeatedly opening the dialog box</h4>
<p>Let’s say we are now interested in viewing tagged values for all devices in the diagram. So based on what we’ve just seen above, does it mean we must right click on every single device and repeatedly open and close the dialog box?</p>
<p>Well, that’s one way. Here’s a better way:</p>
<ol>
<li>To begin, (just like before) right click on any of the devices and select <strong>Open Specification…</strong></li>
<li>Open the <strong>Tagged Values</strong> tab and you’ll see the tagged values of the device currently being selected.</li>
<li>(Different steps) Do <span style="text-decoration: underline;">not</span> click <strong>Cancel</strong> to close the dialog box yet. Instead, go to the upper right corner to click the <strong>Pin </strong>button.
<p><div id="attachment_4466" class="wp-caption alignnone" style="width: 458px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/04-click-the-Pin-button-in-the-dialog-box.png"><img class="size-full wp-image-4466" title="04 - click the Pin button in the dialog box" src="http://knowhow.visual-paradigm.com/know-how_files/2012/01/04-click-the-Pin-button-in-the-dialog-box.png" alt="04 - click the Pin button in the dialog box" width="448" height="196" /></a><p class="wp-caption-text">04 - click the Pin button in the dialog box</p></div></li>
<li>Once you&#8217;ve clicked the <strong>Pin</strong> button, the button below it (with the tooltip saying &#8220;<strong>Auto open specification when select</strong>&#8220;) should be enabled. Click on it.
<p><div id="attachment_4467" class="wp-caption alignnone" style="width: 489px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/05-click-to-Auto-Open-Specification-When-Select.png"><img class="size-full wp-image-4467" title="05 - click to Auto Open Specification When Select" src="http://knowhow.visual-paradigm.com/know-how_files/2012/01/05-click-to-Auto-Open-Specification-When-Select.png" alt="05 - click to Auto Open Specification When Select" width="479" height="162" /></a><p class="wp-caption-text">05 - click to Auto Open Specification When Select</p></div></li>
<li>Select another device (i.e. <strong>Application Server</strong>) and you’ll see that the tagged values in the dialog box are updated to Application Server’s. The dialog box continues to show tagged values of the model element currently being selected.</li>
</ol>
<h4>Example 3: View tagged values of model elements in tabular form</h4>
<p>To view all tagged values across model elements in the same diagram, we will next create a grid and then populate it with those tagged values.</p>
<ol>
<li>From the main toolbar, select <strong>Diagrams &gt; Grid Diagram</strong>.
<p><div id="attachment_4468" class="wp-caption alignnone" style="width: 467px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/07-select-to-create-a-Grid-diagram.png"><img class="size-full wp-image-4468" title="07 - select to create a Grid diagram" src="http://knowhow.visual-paradigm.com/know-how_files/2012/01/07-select-to-create-a-Grid-diagram.png" alt="07 - select to create a Grid diagram" width="457" height="422" /></a><p class="wp-caption-text">07 - select to create a Grid diagram</p></div></li>
<li>In the new Grid, click the down arrow next to <strong>Model Element</strong> to select <strong>Device</strong>. (Note: if <strong>Device</strong> is not listed initially, click <strong>More…</strong> at the bottom of the list and <strong>Device </strong>should show up then.)
<div id="attachment_4469" class="wp-caption alignnone" style="width: 320px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/08-click-More-to-list-Device-for-selection.png"><img class="size-full wp-image-4469" title="08 - click More to list Device for selection" src="http://knowhow.visual-paradigm.com/know-how_files/2012/01/08-click-More-to-list-Device-for-selection.png" alt="08 - click More to list Device for selection" width="310" height="261" /></a><p class="wp-caption-text">08 - click More to list Device for selection</p></div>
<p>Select <strong>Device</strong>.</p>
<div id="attachment_4470" class="wp-caption alignnone" style="width: 233px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/09-select-Device-in-the-list-for-Model-Element.png"><img class="size-full wp-image-4470" title="09 - select Device in the list for Model Element" src="http://knowhow.visual-paradigm.com/know-how_files/2012/01/09-select-Device-in-the-list-for-Model-Element.png" alt="09 - select Device in the list for Model Element" width="223" height="177" /></a><p class="wp-caption-text">09 - select Device in the list for Model Element</p></div>
<p>The grid is now populated with all devices from the diagram.</p>
<p><div id="attachment_4471" class="wp-caption alignnone" style="width: 332px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/10-all-devices-listed-in-the-grid.png"><img class="size-full wp-image-4471" title="10 - all devices listed in the grid" src="http://knowhow.visual-paradigm.com/know-how_files/2012/01/10-all-devices-listed-in-the-grid.png" alt="10 - all devices listed in the grid" width="322" height="287" /></a><p class="wp-caption-text">10 - all devices listed in the grid</p></div></li>
<li>Click <strong><strong>Configure columns…</strong></strong>
<p><div id="attachment_4472" class="wp-caption alignnone" style="width: 384px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/11-click-the-Configure-columns-button.png"><img class="size-full wp-image-4472" title="11 - click the Configure columns button" src="http://knowhow.visual-paradigm.com/know-how_files/2012/01/11-click-the-Configure-columns-button.png" alt="11 - click the Configure columns button" width="374" height="126" /></a><p class="wp-caption-text">11 - click the Configure columns button</p></div></li>
<li>In the dialog box opened, you will see the two default columns given initially – <strong>Name</strong> and <strong>Documentation</strong>.<br />
As we don’t need the <strong>Documentation </strong>column, select it and click the left green arrow for removal.</p>
<p><div id="attachment_4473" class="wp-caption alignnone" style="width: 507px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/12-remove-the-Documentation-column.png"><img class="size-full wp-image-4473" title="12 - remove the Documentation column" src="http://knowhow.visual-paradigm.com/know-how_files/2012/01/12-remove-the-Documentation-column.png" alt="12 - remove the Documentation column" width="497" height="298" /></a><p class="wp-caption-text">12 - remove the Documentation column</p></div></li>
<li>In the dialog box, click the <strong>Tagged Values</strong> tab. Select <strong>IP </strong>and then click the right green arrow to insert that column.
<p><div id="attachment_4474" class="wp-caption alignnone" style="width: 506px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/13-add-the-IP-column.png"><img class="size-full wp-image-4474" title="13 - add the IP column" src="http://knowhow.visual-paradigm.com/know-how_files/2012/01/13-add-the-IP-column.png" alt="13 - add the IP column" width="496" height="291" /></a><p class="wp-caption-text">13 - add the IP column</p></div></li>
<li>Repeat similar steps above to add the <strong>Setup Time</strong> column. The dialog box should look something like this after you are done. Click <strong>OK</strong>.
<p><div id="attachment_4475" class="wp-caption alignnone" style="width: 489px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/14-dialog-box-after-adding-the-IP-and-Setup-Time-columns.png"><img class="size-full wp-image-4475" title="14 - dialog box after adding the IP and Setup Time columns" src="http://knowhow.visual-paradigm.com/know-how_files/2012/01/14-dialog-box-after-adding-the-IP-and-Setup-Time-columns.png" alt="14 - dialog box after adding the IP and Setup Time columns" width="479" height="337" /></a><p class="wp-caption-text">14 - dialog box after adding the IP and Setup Time columns</p></div></li>
<li>Upon closing the dialog box above, the grid will display the tagged values for all devices in the diagram.
<p><div id="attachment_4476" class="wp-caption alignnone" style="width: 480px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2012/01/15-the-final-grid-displaying-tagged-values-for-all-devices-in-the-diagram.png"><img class="size-full wp-image-4476" title="15 - the final grid displaying tagged values for all devices in the diagram" src="http://knowhow.visual-paradigm.com/know-how_files/2012/01/15-the-final-grid-displaying-tagged-values-for-all-devices-in-the-diagram.png" alt="15 - the final grid displaying tagged values for all devices in the diagram" width="470" height="304" /></a><p class="wp-caption-text">15 - the final grid displaying tagged values for all devices in the diagram</p></div></li>
</ol>
<h4>Related Links</h4>
<p><a title="Show Details of Model Elements in Tabular Form" href="http://www.youtube.com/watch?v=PfuVwtpHvjM" target="_blank">Watch this tutorial in YouTube</a><br />
<a title="ArchiMate for Modeling Enterprise Architecture" href="http://www.youtube.com/watch?v=dkZSu06kCnU" target="_blank">YouTube Video &#8211; ArchiMate for Modeling Enterprise Architecture</a><br />
<a title="How to define stereotype and tagged values using Open API" href="http://knowhow.visual-paradigm.com/openapi/stereotype-and-tagged-values-api/">How to define stereotype and tagged values using Open API</a><br />
<a title="Define and specify stereotype in BPD" href="http://knowhow.visual-paradigm.com/business-process-modeling/bpd-stereotype/"> Define and specify stereotype in BPD</a><br />
<a title="How to create a ArchiMate diagram" href="http://www.visual-paradigm.com/support/documents/vpumluserguide/2011/1276_archimatedia.html" target="_blank"> How to create a ArchiMate diagram</a><br />
<a title="More on what Grid diagrams can do for you" href="http://www.visual-paradigm.com/support/documents/vpumluserguide/1281/1324/40452_creatinggrid.html" target="_blank"> More on what Grid diagrams can do for you</a></p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.visual-paradigm.com/diagramming/show-details-of-model-elements-in-tabular-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Sync Requirements to A&#179; Platform</title>
		<link>http://knowhow.visual-paradigm.com/requirements/sync-requirements-to-a3-platform/</link>
		<comments>http://knowhow.visual-paradigm.com/requirements/sync-requirements-to-a3-platform/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 09:35:06 +0000</pubDate>
		<dc:creator>VP Team</dc:creator>
				<category><![CDATA[Requirements]]></category>
		<category><![CDATA[milestone]]></category>
		<category><![CDATA[project management]]></category>
		<category><![CDATA[requirement]]></category>
		<category><![CDATA[requirement diagram]]></category>

		<guid isPermaLink="false">http://knowhow.visual-paradigm.com/?p=4178</guid>
		<description><![CDATA[Visual Paradigm for UML (VP-UML) is designed to help you focus on your modeling work. So it purposely doesn’t overwhelm you with any information unnecessary in an immediate sense. To help you project manage your software development life cycle (SDLC), &#8230;<p class="read-more"><a href="http://knowhow.visual-paradigm.com/requirements/sync-requirements-to-a3-platform/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><a title="Visual Paradigm for UML" href="http://www.visual-paradigm.com/product/vpuml/" target="_blank">Visual Paradigm for UML (VP-UML)</a> is designed to help you focus on your modeling work. So it purposely doesn’t overwhelm you with any information unnecessary in an immediate sense. To help you project manage your <a title="software development life cycle" href="http://en.wikipedia.org/wiki/Systems_Development_Life_Cycle" target="_blank">software development life cycle (SDLC)</a>, Visual Paradigm offers another product called <a title="A3 Platform" href="http://www.visual-paradigm.com/product/a3platform/" target="_blank">A³ Platform</a> to do just that.</p>
<p>One of the nice things about A³ Platform is that it can actually talk to VP-UML to get software design requirements and feed them to A³ Platform for setting project milestones automatically.</p>
<p>In this tutorial we will show you how to sync requirements from VP-UML to A³ Platform.</p>
<p><span id="more-4178"></span><strong>Note:</strong> Here we are using <strong>VP-UML Standard Edition</strong>.</p>
<h2>Background Information</h2>
<ol>
<li>In <strong>VP-UML</strong>, let’s just say that we’ve drawn a requirements diagram for a software design.<br />
And we’re interested in setting project milestones for these requirements, without copying and pasting them over to A³ Platform manually.<br />
In particular, we want to set the target date for the requirement of <strong>Less than 10s for Text Content </strong>as shown below.</p>
<p><div id="attachment_4183" class="wp-caption alignnone" style="width: 496px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/01-Requirements-Diagram-in-VP-UML.png"><img class="size-full wp-image-4183" title="01 - Requirements Diagram in VP-UML" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/01-Requirements-Diagram-in-VP-UML.png" alt="01 - Requirements Diagram in VP-UML" width="486" height="413" /></a><p class="wp-caption-text">01 - Requirements Diagram in VP-UML</p></div></li>
<li>In <strong>A³ Platform</strong>, the <strong>Process </strong>page is where you’ll see an overview of project milestones in a chart. In our example, we are going to fill the cell with a requirement targeted for completion under iteration 1 (I1) between Dec 9 and Jan 8 for the Fire Safety Department project.
<p><div id="attachment_4189" class="wp-caption alignnone" style="width: 510px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/02-intro-to-Process-page-in-A3-Platform.png"><img class="size-full wp-image-4189" title="02 - intro to Process page in A3 Platform" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/02-intro-to-Process-page-in-A3-Platform.png" alt="02 - intro to Process page in A3 Platform" width="500" height="379" /></a><p class="wp-caption-text">02 - intro to Process page in A3; Platform</p></div></li>
</ol>
<h2>Steps to Sync Requirements to A³ Platform</h2>
<ol>
<li>In VP-UML, right click on the requirement of interest (e.g. the requirement of <strong>Less than 10s for Text Content</strong>) and select <strong><strong>A³ Platform &gt; Synchronize to A³ Platform…</strong></strong>
<p><div id="attachment_4190" class="wp-caption alignnone" style="width: 509px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/03-right-click-to-select-Sync-function.png"><img class="size-full wp-image-4190" title="03 - right click to select Sync function" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/03-right-click-to-select-Sync-function.png" alt="03 - right click to select Sync function" width="499" height="480" /></a><p class="wp-caption-text">03 - right click to select Sync function</p></div></li>
<li>In the dialog box opened, enter the <strong>Server URL</strong>, <strong>username</strong> and <strong>password </strong>to login to A³ Platform.
<p><div id="attachment_4191" class="wp-caption alignnone" style="width: 373px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/04-login-to-A3-Platform.png"><img class="size-full wp-image-4191" title="04 - login to A3 Platform" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/04-login-to-A3-Platform.png" alt="04 - login to A3 Platform" width="363" height="239" /></a><p class="wp-caption-text">04 - login to A3 Platform</p></div></li>
<li>In another dialog box opened, select your project of interest in A³ Platform (e.g. Fire Safety Department).<br />
Then click in the cell where you want to set the corresponding milestone in A³ Platform.<br />
Click <strong>OK</strong>.</p>
<p><div id="attachment_4192" class="wp-caption alignnone" style="width: 505px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/05-select-process-cell-in-VP-UML.png"><img class="size-full wp-image-4192" title="05 - select process cell in VP-UML" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/05-select-process-cell-in-VP-UML.png" alt="05 - select process cell in VP-UML" width="495" height="469" /></a><p class="wp-caption-text">05 - select process cell in VP-UML</p></div></li>
<li>If you go back to the <strong>Process</strong> page in <strong>A³ Platform</strong>, click on the bar to go to the requirements summary.
<p><div id="attachment_4193" class="wp-caption alignnone" style="width: 496px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/06-Requirement-already-been-fed-to-A3-Platform.png"><img class="size-full wp-image-4193" title="06 - Requirement already been fed to A3 Platform" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/06-Requirement-already-been-fed-to-A3-Platform.png" alt="06 - Requirement already been fed to A³ Platform" width="486" height="469" /></a><p class="wp-caption-text">06 - Requirement already been fed to A3 Platform</p></div></li>
<li>Click the link to the requirement (we’ve just added to our milestones) to view its details.
<p><div id="attachment_4194" class="wp-caption alignnone" style="width: 507px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/07-Summary-page-for-requirements-under-phase-1.0-and-interation-1.png"><img class="size-full wp-image-4194" title="07 - Summary page for requirements under phase 1.0 and interation 1 (I1)" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/07-Summary-page-for-requirements-under-phase-1.0-and-interation-1.png" alt="07 - Summary page for requirements under phase 1.0 and interation 1 (I1)" width="497" height="236" /></a><p class="wp-caption-text">07 - Summary page for requirements under phase 1.0 and interation 1 (I1)</p></div></li>
<li>On the details page, you&#8217;ll see that information of the requirement (from VP-UML) has been parsed into various fields in A³ Platform.
<p><div id="attachment_4195" class="wp-caption alignnone" style="width: 448px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/08-detail-page-of-the-newly-added-requirement-in-A3-Platform.png"><img class="size-full wp-image-4195" title="08 - detail page of the newly added requirement in A3 Platform" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/08-detail-page-of-the-newly-added-requirement-in-A3-Platform.png" alt="08 - detail page of the newly added requirement in A3 Platform" width="438" height="532" /></a><p class="wp-caption-text">08 - detail page of the newly added requirement in A³ Platform</p></div></li>
<li>In the follow-up section, you can leave notes for others to take action.
<p><div id="attachment_4196" class="wp-caption alignnone" style="width: 490px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/09-Add-things-for-others-to-follow-up-on.png"><img class="size-full wp-image-4196" title="09 - Add things for others to follow up on" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/09-Add-things-for-others-to-follow-up-on.png" alt="09 - Add things for others to follow up on" width="480" height="371" /></a><p class="wp-caption-text">09 - Add things for others to follow up on</p></div></li>
<li>If you like, you can also ask a team member a question. Simply click the <strong>Ask Question </strong>tab to enter one.
<p><div id="attachment_4197" class="wp-caption alignnone" style="width: 501px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/10-ask-a-colleague-a-question.png"><img class="size-full wp-image-4197" title="10 - ask a colleague a question" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/10-ask-a-colleague-a-question.png" alt="10 - ask a colleague a question" width="491" height="265" /></a><p class="wp-caption-text">10 - ask a colleague a question</p></div></li>
</ol>
<h2>Related Links</h2>
<p><a title="Watch this tutorial in YouTube" href="http://www.youtube.com/user/VisualParadigm#p/a/u/1/wLyV68UGeLE" target="_blank">Watch this tutorial in YouTube</a><br />
<a title="Requirement Diagrams in VP-UML" href="http://linkvp.com/gsvgdqta" target="_blank">Requirement Diagrams in VP-UML</a><br />
<a title="Requirements Management in A3 Platform" href="http://www.visual-paradigm.com/product/a3platform/provides/requirementsmgmt.jsp" target="_blank">Requirements Management in A³ Platform</a><br />
<a title="How to write testable requirements in requirement diagram" href="http://knowhow.visual-paradigm.com/?p=1834">How to write testable requirements in requirement diagram</a><br />
<a title="How to customize requirement types for specific business need" href="http://knowhow.visual-paradigm.com/?p=1847">How to customize requirement types for specific business need</a></p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.visual-paradigm.com/requirements/sync-requirements-to-a3-platform/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to define stereotype and tagged values using Open API</title>
		<link>http://knowhow.visual-paradigm.com/openapi/stereotype-and-tagged-values-api/</link>
		<comments>http://knowhow.visual-paradigm.com/openapi/stereotype-and-tagged-values-api/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 08:19:35 +0000</pubDate>
		<dc:creator>VP Team</dc:creator>
				<category><![CDATA[Open API]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[stereotype]]></category>
		<category><![CDATA[tagged values]]></category>

		<guid isPermaLink="false">http://knowhow.visual-paradigm.com/?p=4157</guid>
		<description><![CDATA[Stereotype is one of the extension mechanisms in the Unified Modeling Language (UML). By defining stereotype, you can extend new notations by deriving from an existing one. You can define new properties to your derived notations using tagged values. In &#8230;<p class="read-more"><a href="http://knowhow.visual-paradigm.com/openapi/stereotype-and-tagged-values-api/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>Stereotype is one of the extension mechanisms in the <a title="Unified Modeling Language" href="http://www.uml.org/" target="_blank">Unified Modeling Language (UML)</a>. By defining stereotype, you can extend new notations by deriving from an existing one. You can define new properties to your derived notations using tagged values. In <a href="http://www.visual-paradigm.com/" target="_blank">Visual Paradigm</a>, it is not necessary to stereotypes and tagged values using <a href="http://www.visual-paradigm.com/support/documents/vpumluserguide/26/177/6562_configureste.html" target="_blank">application’s user interface</a>. You can also do this using <a href="http://www.visual-paradigm.com/support/documents/pluginuserguide.jsp" target="_blank">Open API</a>. This article will show you how to create stereotype and tagged values using Open API.<span id="more-4157"></span></p>
<h2>Create Stereotype</h2>
<p>You can create a new stereotype by calling <a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/factory/IModelElementFactory.html#createStereotype%28%29" target="_blank">createStereotype()</a> from <a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/factory/IModelElementFactory.html" target="_blank">ModelElementFactory</a>. But this is not yet done. A stereotype is bound to a specific model type. So, after you create a stereotype model, you have to specify what type model element it is bounding to.</p>
<table class="wp-caption alignnone" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td><a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/factory/IModelElementFactory.html#createStereotype%28%29" target="_blank">IStereotype lStereotype = IModelElementFactory.instance().createStereotype();</a>lStereotype.setName(&#8220;OpenAPI_Stereotype&#8221;);<br />
<a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/IStereotype.html#setBaseType%28java.lang.String%29" target="_blank">lStereotype.setBaseType(IModelElementFactory.MODEL_TYPE_CLASS);</a></td>
</tr>
</tbody>
</table>
<h2>Create Tagged Values Definition</h2>
<p>Once you created the stereotype, you can start defining your custom properties using tagged values definition through the <a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/ITaggedValueDefinitionContainer.html" target="_blank">TaggedValueDefinitionContainer</a>. The tagged values definition will be create into tagged value automatically when you apply the stereotype to model element.</p>
<table class="wp-caption alignnone" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td><a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/factory/IModelElementFactory.html#createTaggedValueDefinitionContainer%28%29" target="_blank">lTaggedValueDefinitionContainer = IModelElementFactory.instance().createTaggedValueDefinitionContainer();</a></td>
</tr>
</tbody>
</table>
<p>Once you created the TaggedValueDefinitionContainer, you have to set it to your target stereotype.</p>
<table class="wp-caption alignnone" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td><a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/IStereotype.html#setTaggedValueDefinitions%28com.vp.plugin.model.ITaggedValueDefinitionContainer%29" target="_blank">lStereotype.setTaggedValueDefinitions(lTaggedValueDefinitionContainer);</a></td>
</tr>
</tbody>
</table>
<p>To create tagged values, you can call <a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/ITaggedValueDefinitionContainer.html#createTaggedValueDefinition%28%29" target="_blank">lTaggedValueDefinitionContainer.createTaggedValueDefinition();</a></p>
<p>Similar to stereotype, you have define the type once you created it.</p>
<p>There are 7 types of tagged values you can create:</p>
<table class="wp-caption alignnone" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td><strong>Single line textual tagged values</strong><br />
lTaggedValueDefinition.setType(<a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/ITaggedValueDefinition.html#TYPE_TEXT" target="_blank">ITaggedValueDefinition.TYPE_TEXT</a>);<strong>Multi-line textual tagged value</strong><br />
lTaggedValueDefinition.setType(<a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/ITaggedValueDefinition.html#TYPE_MULTI_LINE_TEXT" target="_blank">ITaggedValueDefinition.TYPE_MULTI_LINE_TEXT</a>);<strong>Integer tagged value</strong><br />
lTaggedValueDefinition.setType(<a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/ITaggedValueDefinition.html#TYPE_INTEGER" target="_blank">ITaggedValueDefinition.TYPE_INTEGER</a>);<strong>Floating point number tagged value</strong><br />
lTaggedValueDefinition.setType(<a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/ITaggedValueDefinition.html#TYPE_FLOATING_POINT_NUMBER" target="_blank">ITaggedValueDefinition.TYPE_FLOATING_POINT_NUMBER</a>);<strong>Boolean tagged value</strong><br />
lTaggedValueDefinition.setType(<a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/ITaggedValueDefinition.html#TYPE_BOOLEAN" target="_blank">ITaggedValueDefinition.TYPE_BOOLEAN</a>);<strong>Enumeration tagged value</strong><br />
lTaggedValueDefinition.setType(<a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/ITaggedValueDefinition.html#TYPE_ENUMERATION" target="_blank">ITaggedValueDefinition.TYPE_ENUMERATION</a>);</p>
<p><strong>Model element tagged value</strong><br />
lTaggedValueDefinition.setType(<a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/ITaggedValueDefinition.html#TYPE_MODEL_ELEMENT" target="_blank">ITaggedValueDefinition.TYPE_MODEL_ELEMENT</a>);</td>
</tr>
</tbody>
</table>
<p>For Enumeration tagged value, you can define the ValueSpecification and add it as the numeration value</p>
<table class="wp-caption alignnone" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td><a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/factory/IModelElementFactory.html#createValueSpecification%28%29">IValueSpecification lItem = IModelElementFactory.instance().createValueSpecification();</a><br />
lItem.setName(&#8220;Item1&#8243;);<br />
lItem.setValue(&#8220;value1&#8243;);<br />
<a href="http://www.visual-paradigm.com/support/documents/pluginjavadoc/com/vp/plugin/model/ITaggedValueDefinition.html#addEnumerationValue%28com.vp.plugin.model.IValueSpecification%29">lTaggedValueDefinition.addEnumerationValue(lItem);</a></td>
</tr>
</tbody>
</table>
<p>And for ModelElement tagged value, you can assign the model element only when creating the actual tagged value. Once the tagged value is created from definition, you can assign the model element using the setValue() method.</p>
<h2>Sample Plugins</h2>
<p>This sample plugin demonstrate how to create stereotype and definitions on classes. After deploy the plugin to VP applications, you can click on the plugin button in application toolbar to trigger it.</p>
<div id="attachment_4172" class="wp-caption alignnone" style="width: 365px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/plugin_button.png"><img class="size-full wp-image-4172" title="Trigger sample plugin" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/plugin_button.png" alt="Trigger sample plugin" width="355" height="193" /></a><p class="wp-caption-text">Trigger sample plugin</p></div>
<h2>Download Sample Plugin</h2>
<p>You can download the sample plugins at <a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/com.vp_.plugin.sample.stereotypetags.zip">here</a>.</p>
<h2>Related Articles</h2>
<p><a title="Create and Access Logical View via Open API" href="http://knowhow.visual-paradigm.com/?p=3860">Create and Access Logical View via Open API</a></p>
<p><a title="How to add stereotypes from reference project to model element using Open API" href="http://knowhow.visual-paradigm.com/?p=2378">How to add stereotypes from reference project to model element using Open API</a></p>
<p><a title="How to create containment relationship with Open API" href="http://knowhow.visual-paradigm.com/?p=2743">How to create containment relationship with Open API</a></p>
<p><a title="How to insert model reference to documentation using Open API" href="http://knowhow.visual-paradigm.com/?p=2286">How to insert model reference to documentation using Open API</a></p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.visual-paradigm.com/openapi/stereotype-and-tagged-values-api/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Model Gates in Sequence Diagrams</title>
		<link>http://knowhow.visual-paradigm.com/uml/sequence-diagram-gate/</link>
		<comments>http://knowhow.visual-paradigm.com/uml/sequence-diagram-gate/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 06:12:33 +0000</pubDate>
		<dc:creator>VP Team</dc:creator>
				<category><![CDATA[UML]]></category>
		<category><![CDATA[gate]]></category>
		<category><![CDATA[interaction fragment]]></category>
		<category><![CDATA[interaction use]]></category>
		<category><![CDATA[Sequence Diagram]]></category>

		<guid isPermaLink="false">http://knowhow.visual-paradigm.com/?p=4077</guid>
		<description><![CDATA[To pass a message between two sequence diagrams in UML modeling, we can make use of gates. Through modeling gates, we could relate the message outside an interaction fragment with message inside another interaction fragment. Graphically a gate, with an &#8230;<p class="read-more"><a href="http://knowhow.visual-paradigm.com/uml/sequence-diagram-gate/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>To pass a message between two <a title="Sequence Diagram" href="http://linkvp.com/vfifsowo" target="_blank">sequence diagrams</a> in UML modeling, we can make use of gates. Through modeling <strong>gates</strong>, we could relate the message outside an <a title="interaction fragment" href="http://www.uml-diagrams.org/sequence-diagrams.html#interaction-fragment" target="_blank">interaction fragment</a> with message inside another interaction fragment.</p>
<p>Graphically a gate, with an arrowed line, connects to the sequence diagram’s frame edge with one end and the other end connected to a lifeline.</p>
<p>In this tutorial we will show you how to model gates in sequence diagrams using <a title="VP-UML" href="http://www.visual-paradigm.com/product/vpuml" target="_blank">Visual Paradigm for UML (VP-UML)</a>.</p>
<p><span id="more-4077"></span></p>
<h2>Steps to model gates</h2>
<ol>
<li>Let’s say we have a simple sequence diagram as shown below.
<p><div id="attachment_4090" class="wp-caption alignnone" style="width: 363px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/01-a-simple-sequence-diagram-to-begin-with.png"><img class="size-full wp-image-4090" title="01 - a simple sequence diagram to begin with" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/01-a-simple-sequence-diagram-to-begin-with.png" alt="01 - a simple sequence diagram to begin with" width="353" height="211" /></a><p class="wp-caption-text">01 - a simple sequence diagram to begin with</p></div></li>
<li>Suppose there’s a back-end component represented by an <a title="interaction use" href="http://www.uml-diagrams.org/sequence-diagrams.html#interaction-use" target="_blank">interaction use</a>.<br />
From the <strong>Diagram Toolbar</strong>, drag <strong>Interaction Use </strong>onto the sequence diagram.</p>
<p><div id="attachment_4091" class="wp-caption alignnone" style="width: 421px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/02-add-an-interaction-use-to-the-diagram.png"><img class="size-full wp-image-4091" title="02 - add an ( interaction use ) to the diagram" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/02-add-an-interaction-use-to-the-diagram.png" alt="02 - add an ( interaction use ) to the diagram" width="411" height="307" /></a><p class="wp-caption-text">02 - add an ( interaction use ) to the diagram</p></div></li>
<li>Right click on the interaction use and select <strong>Refers to &gt; New Sequence Diagram</strong>.
<p><div id="attachment_4092" class="wp-caption alignnone" style="width: 505px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/03-select-to-elaborate-the-interaction-use.png"><img class="size-full wp-image-4092" title="03 - select to elaborate the interaction use" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/03-select-to-elaborate-the-interaction-use.png" alt="03 - select to elaborate the interaction use" width="495" height="185" /></a><p class="wp-caption-text">03 - select to elaborate the interaction use</p></div></li>
<li>Rename Sequence Diagram 2 to <em>withdraw money </em>inside the tab in the corner.
<p><div id="attachment_4093" class="wp-caption alignnone" style="width: 329px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/04-rename-Sequence-Diagram-2-to-withdraw-money-.png"><img class="size-full wp-image-4093" title="04 - rename Sequence Diagram 2 to ( withdraw money )" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/04-rename-Sequence-Diagram-2-to-withdraw-money-.png" alt="04 - rename Sequence Diagram 2 to ( withdraw money )" width="319" height="159" /></a><p class="wp-caption-text">04 - rename Sequence Diagram 2 to ( withdraw money )</p></div></li>
<li>Back in Sequence Diagram 1, drag the <strong>Message -&gt; LifeLine</strong> icon (from <strong>ATM Controller</strong>) to <strong>withdraw money</strong>. Release your mouse when you reach the frame’s edge.
<p><div id="attachment_4094" class="wp-caption alignnone" style="width: 487px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/05-add-a-message-to-the-interaction-use.png"><img class="size-full wp-image-4094" title="05 - add a message to the interaction use" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/05-add-a-message-to-the-interaction-use.png" alt="05 - add a message to the interaction use" width="477" height="264" /></a><p class="wp-caption-text">05 - add a message to the interaction use</p></div></li>
<li>When prompted, select <strong>&lt;New Gate&gt;</strong>.
<p><div id="attachment_4095" class="wp-caption alignnone" style="width: 401px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/06-a-gate-appears.png"><img class="size-full wp-image-4095" title="06 - a gate appears" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/06-a-gate-appears.png" alt="06 - a gate appears" width="391" height="353" /></a><p class="wp-caption-text">06 - a gate appears</p></div></li>
<li>Double click on the text “withdraw money” (inside the interaction use) to go to that sequence diagram. In it, you should see the <strong>Gate </strong>automatically inserted for what you’ve just drawn in Sequence Diagram 1.
<p><div id="attachment_4096" class="wp-caption alignnone" style="width: 346px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/07-the-same-gate-appears-on-the-withdraw-money-sequence-diagram.png"><img class="size-full wp-image-4096" title="07 - the same gate appears on the withdraw money sequence diagram" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/07-the-same-gate-appears-on-the-withdraw-money-sequence-diagram.png" alt="07 - the same gate appears on the withdraw money sequence diagram" width="336" height="205" /></a><p class="wp-caption-text">07 - the same gate appears on the withdraw money sequence diagram</p></div></li>
<li>Drag the <strong>Message -&gt; LifeLine </strong>icon (from <strong>Gate</strong>) to the right and release mouse to create a new lifeline.
<p><div id="attachment_4097" class="wp-caption alignnone" style="width: 454px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/08-create-a-new-lifeline-in-the-withdraw-money-sequence-diagram.png"><img class="size-full wp-image-4097" title="08 - create a new lifeline in the withdraw money sequence diagram" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/08-create-a-new-lifeline-in-the-withdraw-money-sequence-diagram.png" alt="08 - create a new lifeline in the withdraw money sequence diagram" width="444" height="201" /></a><p class="wp-caption-text">08 - create a new lifeline in the withdraw money sequence diagram</p></div></li>
<li>Back in Sequence Diagram 1, add another gate. Drag <strong>Gate</strong> from the <strong>Diagram Toolbar</strong> to <strong>withdraw money</strong> (Note: You would see a letter ‘<strong>M</strong>’ displayed to indicate that it is a master view).
<p><div id="attachment_4098" class="wp-caption alignnone" style="width: 487px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/09-add-another-gate-to-the-interaction-use.png"><img class="size-full wp-image-4098" title="09 - add another gate to the interaction use" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/09-add-another-gate-to-the-interaction-use.png" alt="09 - add another gate to the interaction use" width="477" height="207" /></a><p class="wp-caption-text">09 - add another gate to the interaction use</p></div></li>
<li>If you look at the <strong>withdraw money</strong> sequence diagram, you should see <strong>Gate2 </strong>which has been automatically inserted with our new addition from the previous step.
<p><div id="attachment_4099" class="wp-caption alignnone" style="width: 255px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/10-Gate2-automatically-appears-in-the-other-sequence-diagram.png"><img class="size-full wp-image-4099" title="10 - Gate2 automatically appears in the other sequence diagram" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/10-Gate2-automatically-appears-in-the-other-sequence-diagram.png" alt="10 - Gate2 automatically appears in the other sequence diagram" width="245" height="200" /></a><p class="wp-caption-text">10 - Gate2 automatically appears in the other sequence diagram</p></div></li>
<li>We’ll now send a message from <strong>LifeLine</strong> back to <strong>Gate2</strong>.<br />
Place <strong>Gate2 </strong>below Gate.<br />
Select <strong>LifeLine</strong> and drag the <strong>Message -&gt; LifeLine</strong> icon to the left. Release your mouse when you reach the right edge of <strong>Gate2</strong>.</p>
<p><div id="attachment_4100" class="wp-caption alignnone" style="width: 503px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/11-connect-lifeline-to-Gate2-the-other-sequence-diagram.png"><img class="size-full wp-image-4100" title="11 - connect lifeline to Gate2 (the other sequence diagram)" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/11-connect-lifeline-to-Gate2-the-other-sequence-diagram.png" alt="11 - connect lifeline to Gate2 (the other sequence diagram)" width="493" height="254" /></a><p class="wp-caption-text">11 - connect lifeline to Gate2 (the other sequence diagram)</p></div></li>
<li>Back in Sequence Diagram 1, drag the <strong>Message -&gt; LifeLine</strong> icon backwards (from <strong>Gate2</strong>) to <strong>ATM Controller</strong>.
<p><div id="attachment_4101" class="wp-caption alignnone" style="width: 506px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/12-connect-Gate2-to-ATM-Controller.png"><img class="size-full wp-image-4101" title="12 - connect Gate2 to ATM Controller" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/12-connect-Gate2-to-ATM-Controller.png" alt="12 - connect Gate2 to ATM Controller" width="496" height="272" /></a><p class="wp-caption-text">12 - connect Gate2 to ATM Controller</p></div></li>
<li>You should end up with a diagram that looks something like this.
<p><div id="attachment_4102" class="wp-caption alignnone" style="width: 479px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/13-The-sequence-diagram-you-would-end-up-with.png"><img class="size-full wp-image-4102" title="13 - The sequence diagram you would end up with" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/13-The-sequence-diagram-you-would-end-up-with.png" alt="13 - The sequence diagram you would end up with" width="469" height="225" /></a><p class="wp-caption-text">13 - The sequence diagram you would end up with</p></div></li>
</ol>
<h2>What happens if you change the label of a gate in one of the diagrams?</h2>
<p>Gates in <strong>Sequence Diagram 1</strong> and the <strong>withdraw money</strong> sequence diagram share the same models in repository. So changes to them will be synced across these diagrams.</p>
<p>For example, if you rename the top gate to “input” in <strong>Sequence Diagram 1</strong>, you’ll see that the gate in the <strong>withdraw money</strong> sequence diagram will also be renamed to &#8220;input&#8221; automatically.</p>
<div id="attachment_4103" class="wp-caption alignnone" style="width: 508px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/14-change-reflected-across.png"><img class="size-full wp-image-4103" title="14 - change reflected across" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/14-change-reflected-across.png" alt="14 - change reflected across" width="498" height="446" /></a><p class="wp-caption-text">14 - change reflected across</p></div>
<h2>Related Links</h2>
<p><a title="Modeling Gates in Sequence Diagrams" href="http://www.youtube.com/user/VisualParadigm#p/a/u/2/i8sSWJ4anew" target="_blank">Watch this tutorial in YouTube</a><br />
<a title="Sequence Diagram" href="http://linkvp.com/vfifsowo" target="_blank">Sequence diagram</a><br />
<a title="Sharing models between class diagram and sequence diagram" href="http://knowhow.visual-paradigm.com/?p=1605">Sharing models between class diagram and sequence diagram</a><br />
<a title="Using alternative combined fragments in sequence diagram" href="http://knowhow.visual-paradigm.com/?p=788">Using alternative combined fragments in sequence diagram</a><br />
<a title="When reversing Java code to sequence diagram, why can’t I select an operation?" href="http://knowhow.visual-paradigm.com/?p=2936">When reversing Java code to sequence diagram, why can’t I select an operation?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.visual-paradigm.com/uml/sequence-diagram-gate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Personalize Database Connection Settings to Aid in Team Development</title>
		<link>http://knowhow.visual-paradigm.com/hibernate/personalize-database-connection-settings/</link>
		<comments>http://knowhow.visual-paradigm.com/hibernate/personalize-database-connection-settings/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 03:49:51 +0000</pubDate>
		<dc:creator>VP Team</dc:creator>
				<category><![CDATA[Database Engineering]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[ERD]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[Teamwork]]></category>

		<guid isPermaLink="false">http://knowhow.visual-paradigm.com/?p=4143</guid>
		<description><![CDATA[When a development team is developing a system that requires accessing a database, it is a common practice to setup local databases on each of the development environment and populate them with all the required schema of the system so &#8230;<p class="read-more"><a href="http://knowhow.visual-paradigm.com/hibernate/personalize-database-connection-settings/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>When a development team is developing a system that requires accessing a database, it is a common practice to setup local databases on each of the development environment and populate them with all the required schema of the system so that developers can develop and test the function they implement with test data in their own database, rather than working with actual data with production database.</p>
<p><span id="more-4143"></span></p>
<div id="attachment_4144" class="wp-caption alignnone" style="width: 407px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/01-illustration.png"><img class="size-full wp-image-4144" title="01-illustration" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/01-illustration.png" alt="Working with testing data in development environment" width="397" height="257" /></a><p class="wp-caption-text">Working with testing data in development environment</p></div>
<p>Visual Paradigm supports <a title="designing database schema" href="http://www.visual-paradigm.com/product/dbva/provides/dbmodeling.jsp" target="_blank">designing database schema</a> with Entity Relationship Diagram (ERD), <a title="exporting the design to a database" href="http://www.visual-paradigm.com/product/dbva/provides/dbengine.jsp#dbgen" target="_blank">exporting the design to a database</a> and <a title="generating Hibernate ORM code" href="http://www.visual-paradigm.com/product/dbva/provides/javaobjectpersistence.jsp#gendbcode" target="_blank">generating Hibernate ORM code</a> for accessing database. We also enable users to share the design through <a title="team collaboration" href="http://www.visual-paradigm.com/product/dbva/provides/teamwork.jsp" target="_blank">team collaboration</a> function, so that all the development and production environments can work consistently with the same and latest database design. Although different environments can share the same database design, it is impractical to have them share the same set of database connection information. For instance, developer Peter may have &#8216;demo&#8217; as database name, with &#8216;peter&#8217; as login, while developer Mary may have &#8216;dev&#8217; as database name and &#8216;mary&#8217; as login. The production environment, certainly won&#8217;t name the database as &#8216;demo&#8217; or &#8216;dev&#8217;, but with more meaningful name like &#8216;shop&#8217; that reflect the nature of the system.</p>
<div id="attachment_4145" class="wp-caption alignnone" style="width: 620px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/02-illustration.png"><img class="size-full wp-image-4145" title="02-illustration" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/02-illustration.png" alt="Different environments have their own database settings" width="610" height="223" /></a><p class="wp-caption-text">Different environments have their own database settings</p></div>
<p>Due to fact that different environments can have their own set of database settings, it is a bad idea to bind the database connection setting required in generating ORM code and updating database along with the design. If that&#8217;s the case, all users will require a re-configuration of setting for their own environments prior to generating ORM code and/or updating database schema. This is not just cumbersome, but may corrupt important data in database if a wrong connection setting is supplied by mistake. For these reasons, Visual Paradigm supports personalizing the database connection information so that each user can have their own set of database connection setting. To be specific, the personalized setting is stored within workspace instead of project. Therefore, it will not affect any other user and the production environment. It affects only the generated Hibernate files and the database in specific environment.</p>
<p>Let&#8217;s take a look at how to personalize the database connection information. When you generate ORM code (<strong>Tools &gt; Hibernate &gt; Generate Code&#8230;</strong>) or database (<strong>Tools &gt; Database &gt; Generate Database&#8230;</strong>), you will be prompted the window where you can configure code and/or the way of generating database. In order to proceed with generation, you must supply the database connection information under the <strong>Database</strong> tab. At the bottom of the tab you can see the <strong>Database Configuration</strong> section where you can set the connection information. By default, the settings showed are made for production database. See the drop down menu <strong>Production</strong>:</p>
<div id="attachment_4146" class="wp-caption alignnone" style="width: 491px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/03-production.png"><img class="size-full wp-image-4146" title="03-production" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/03-production.png" alt="Connection settings for production database" width="481" height="206" /></a><p class="wp-caption-text">Connection settings for production database</p></div>
<p>You usually update the production database only when the development activities are completed, tested and confirmed to be stable. If you are going to generate code/database for the production database and you need to change the connection setting, click <strong>Database Options</strong> and update the setting in the popup window.</p>
<p>If you are going to generate code/database for development or any other environments, click on the <strong>Production</strong> drop down menu and select <strong>Personal</strong>.</p>
<div id="attachment_4147" class="wp-caption alignnone" style="width: 491px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/04-personal.png"><img class="size-full wp-image-4147" title="04-personal" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/04-personal.png" alt="Switch to production settings" width="481" height="206" /></a><p class="wp-caption-text">Switch to production settings</p></div>
<p>Then, the <strong>Connection URL</strong>, <strong>User</strong> and <strong>Password</strong> field will become editable. Edit them by entering the settings that matches your environment.</p>
<div id="attachment_4148" class="wp-caption alignnone" style="width: 491px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/12/05-personallized-conn-settings.png"><img class="size-full wp-image-4148" title="05-personallized-conn-settings" src="http://knowhow.visual-paradigm.com/know-how_files/2011/12/05-personallized-conn-settings.png" alt="Personalize database connection setting entered" width="481" height="212" /></a><p class="wp-caption-text">Personalize database connection setting entered-</p></div>
<p>From now on, when you update your Hibernate code or database, you can apply your own database connection setting without overwriting anyone else setting.</p>
<h2>Related Links</h2>
<p><a title="Patch Database with ERD" href="http://www.youtube.com/user/VisualParadigm?feature=mhee#p/search/4/tiKAgTbmjo0" target="_blank">Video: Patch Database with ERD</a></p>
<p><a title="How to Generate DDL from Your ERD" href="http://www.youtube.com/user/VisualParadigm?feature=mhee#p/search/3/EJpeh9AhdS8" target="_blank">Video: How to Generate DDL from Your ERD</a></p>
<p><a title="Tutorial: Relational Database Design with ERD" href="http://www.visual-paradigm.com/product/dbva/tutorials/databasedesign.jsp" target="_blank">Tutorial: Relational Database Design with ERD</a></p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.visual-paradigm.com/hibernate/personalize-database-connection-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Model Permissions on Use Case for Actors</title>
		<link>http://knowhow.visual-paradigm.com/uml/actor-usecase-permission/</link>
		<comments>http://knowhow.visual-paradigm.com/uml/actor-usecase-permission/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 05:37:59 +0000</pubDate>
		<dc:creator>VP Team</dc:creator>
				<category><![CDATA[UML]]></category>
		<category><![CDATA[actor]]></category>
		<category><![CDATA[chart diagram]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[relationships]]></category>
		<category><![CDATA[Use Case]]></category>
		<category><![CDATA[Use Case Diagram]]></category>

		<guid isPermaLink="false">http://knowhow.visual-paradigm.com/?p=3993</guid>
		<description><![CDATA[In use case diagram, associations between actors and use cases are explicitly shown. We can see it clearly when an actor carries out a use case (or goal) from a line drawn between them. However, what if an actor does &#8230;<p class="read-more"><a href="http://knowhow.visual-paradigm.com/uml/actor-usecase-permission/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>In <a title="Use Case Diagram" href="http://linkvp.com/siaqnwou" target="_blank">use case diagram</a>, associations between actors and use cases are explicitly shown. We can see it clearly when an actor carries out a use case (or goal) from a line drawn between them. However, what if an actor does not carry out a use case but do refer to the output from it? How do we model that?</p>
<p><span id="more-3993"></span>For example, the manager reorders stock but he/she may refer to orders placed by customers (while he/she does not actually carry out the order placing).</p>
<div id="attachment_4007" class="wp-caption alignnone" style="width: 505px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/01-an-example-of-a-use-case-diagram.png"><img class="size-full wp-image-4007" title="An example of a use case diagram" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/01-an-example-of-a-use-case-diagram.png" alt="An example of a use case diagram" width="495" height="251" /></a><p class="wp-caption-text">An example of a use case diagram</p></div>
<p>In this tutorial, we will show you one way to model relationships that are not so explicit. We will make use of <a title="Chart Diagram" href="http://www.visual-paradigm.com/support/documents/vpumluserguide/447/1952_chartdiagram.html" target="_blank">chart diagram</a> to create a matrix to store the permissions.</p>
<p>First, in a new chart diagram, we’ll create a new <strong>code type</strong> called <strong>Permission</strong> and 3 possible values under it – <strong>Read</strong>, <strong>Write</strong> and <strong>Execute</strong>. Then, we’ll create a matrix to list all combinations of actors and use cases (i.e. associations). In cells where appropriate, we use one of the 3 values to describe their associations. For example, if an actor actually carries out a use case, we give it the value, <strong>Execute</strong>. If an actor refers to output from a use case, we describe the relationship by the value, <strong>Read</strong>.</p>
<p>Note: The following example is shown using <a title="Visual Paradigm for UML" href="http://www.visual-paradigm.com/product/vpuml/" target="_blank">Visual Paradigm for UML (VP-UML)</a> Professional edition.</p>
<h2>Steps to Model Permissions</h2>
<ol>
<li>
<h3>Define your own permissions code</h3>
<p>Go to the toolbar on the top. Click on <strong>Diagrams &gt; Chart Diagram</strong>.</p>
<div id="attachment_4011" class="wp-caption alignnone" style="width: 450px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/02-Create-a-new-chart-diagram-from-toolbar.png"><img class="size-full wp-image-4011" title="Create a new chart diagram from toolbar" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/02-Create-a-new-chart-diagram-from-toolbar.png" alt="Create a new chart diagram from toolbar" width="440" height="246" /></a><p class="wp-caption-text">Create a new chart diagram from toolbar</p></div>
<p>In the new chart diagram, locate the <strong>Code Type</strong> field and click the <strong>… </strong>button to the right.</p>
<div id="attachment_4012" class="wp-caption alignnone" style="width: 494px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/03-Click-button-to-configure-code-types.png"><img class="size-full wp-image-4012" title="Click button to configure code types" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/03-Click-button-to-configure-code-types.png" alt="Click button to configure code types" width="484" height="243" /></a><p class="wp-caption-text">Click button to configure code types</p></div>
<p>In the dialog box opened, (at the lower left corner) click <strong>Add</strong> and then select <strong>Code Type</strong>.</p>
<div id="attachment_4013" class="wp-caption alignnone" style="width: 388px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/04-select-to-begin-creating-a-new-code-type.png"><img class="size-full wp-image-4013" title="select to begin creating a new code type" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/04-select-to-begin-creating-a-new-code-type.png" alt="select to begin creating a new code type" width="378" height="293" /></a><p class="wp-caption-text">select to begin creating a new code type</p></div>
<p>Enter <em>Permission</em> for <strong>code type</strong>.</p>
<div id="attachment_4014" class="wp-caption alignnone" style="width: 504px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/05-Name-the-new-code-type-Permission.png"><img class="size-full wp-image-4014" title="Name the new code type Permission" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/05-Name-the-new-code-type-Permission.png" alt="Name the new code type Permission" width="494" height="307" /></a><p class="wp-caption-text">Name the new code type Permission</p></div>
<p>Next, we’ll add 3 new codes under the <strong>Permission</strong> code type that we’ve just created.<br />
To add a new code, click <strong>Add</strong> and select <strong>Code</strong>.</p>
<div id="attachment_4017" class="wp-caption alignnone" style="width: 401px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/06-Click-to-add-a-new-code-under-Permission.png"><img class="size-full wp-image-4017" title="Click to add a new code under Permission" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/06-Click-to-add-a-new-code-under-Permission.png" alt="Click to add a new code under Permission" width="391" height="299" /></a><p class="wp-caption-text">Click to add a new code under Permission</p></div>
<p>Enter <em>Read</em> for <strong>Name</strong>. Then enter <em>R</em> for <strong>Code</strong>.</p>
<div id="attachment_4018" class="wp-caption alignnone" style="width: 510px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/07-Enter-the-1st-new-code.png"><img class="size-full wp-image-4018" title="Enter the 1st new code" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/07-Enter-the-1st-new-code.png" alt="Enter the 1st new code" width="500" height="300" /></a><p class="wp-caption-text">Enter the 1st new code</p></div>
<p>To add the second new code, just click <strong>Add</strong> and select <strong>Code </strong>again.<br />
You’ll notice that the <strong>Read </strong>code we’ve just created shows up in the list and that to the right, it is ready for you to enter another new code.</p>
<div id="attachment_4019" class="wp-caption alignnone" style="width: 315px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/08-1st-new-code-shows-up-in-the-list.png"><img class="size-full wp-image-4019" title="1st new code shows up in the list" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/08-1st-new-code-shows-up-in-the-list.png" alt="1st new code shows up in the list" width="305" height="305" /></a><p class="wp-caption-text">1st new code shows up in the list</p></div>
<p>Repeat to enter the following 2 codes.<br />
<strong>Name = Write; Code = W</strong><br />
<strong> Name = Execute; Code = E</strong><br />
After you enter the <strong>Execute</strong> code, click <strong>OK</strong>.</p>
<div id="attachment_4020" class="wp-caption alignnone" style="width: 509px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/09-Enter-the-third-new-code.png"><img class="size-full wp-image-4020" title="Enter the third new code" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/09-Enter-the-third-new-code.png" alt="Enter the third new code" width="499" height="310" /></a><p class="wp-caption-text">Enter the third new code</p></div>
<p>Note: Clicking <strong>OK</strong> will close the dialog box above. But if you want to look at your new list of codes, you can always click the <strong>… </strong>button to open it again.</p>
<p><div id="attachment_4021" class="wp-caption alignnone" style="width: 472px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/10-Check-your-new-list-of-codes.png"><img class="size-full wp-image-4021" title="Check your new list of codes" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/10-Check-your-new-list-of-codes.png" alt="Check your new list of codes" width="462" height="209" /></a><p class="wp-caption-text">Check your new list of codes</p></div></li>
<li>
<h3>Set up a permissions matrix</h3>
<p>In this section, we’ll set up a matrix to display all combinations of actors and use cases.<br />
To specify the matrix row, select <strong>Actor </strong>and then click the top green right arrow.</p>
<div id="attachment_4023" class="wp-caption alignnone" style="width: 506px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/11-Select-Actor-for-row-in-matrix.png"><img class="size-full wp-image-4023" title="Select Actor for row in matrix" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/11-Select-Actor-for-row-in-matrix.png" alt="Select Actor for row in matrix" width="496" height="274" /></a><p class="wp-caption-text">Select Actor for row in matrix</p></div>
<p>To specify the matrix column, select <strong>Use Case </strong>and then click the lower green right arrow.</p>
<div id="attachment_4024" class="wp-caption alignnone" style="width: 508px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/12-Select-Use-Case-for-column-in-matrix.png"><img class="size-full wp-image-4024" title="Select Use Case for column in matrix" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/12-Select-Use-Case-for-column-in-matrix.png" alt="Select Use Case for column in matrix" width="498" height="273" /></a><p class="wp-caption-text">Select Use Case for column in matrix</p></div>
<p>Remember the <strong>Permission</strong> code type we added earlier? This is where we’ll put it into use.<br />
To specify possible values that can go into the individual cells of the matrix, go to the <strong>Code Type</strong> field.<br />
Click the down arrow to the right and select <strong>Permission</strong>.</p>
<div id="attachment_4025" class="wp-caption alignnone" style="width: 496px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/13-Select-the-code-type-for-possible-values-in-matrixs-cells.png"><img class="size-full wp-image-4025" title="Select the code type for possible values in matrix's cells" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/13-Select-the-code-type-for-possible-values-in-matrixs-cells.png" alt="Select the code type for possible values in matrix's cells" width="486" height="220" /></a><p class="wp-caption-text">Select the code type for possible values in matrix&#39;s cells</p></div>
<p>Click <strong>OK</strong>.</p>
<p><div id="attachment_4026" class="wp-caption alignnone" style="width: 510px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/14-Click-OK-to-generate-matrix.png"><img class="size-full wp-image-4026" title="Click OK to generate matrix" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/14-Click-OK-to-generate-matrix.png" alt="Click OK to generate matrix" width="500" height="258" /></a><p class="wp-caption-text">Click OK to generate matrix</p></div></li>
<li>
<h3>Set permissions for individual actors on various use cases</h3>
<p>In the matrix opened, you’ll see the 4 actors in rows and the 5 use cases in columns. Each cell in the matrix represents a combination of an actor and a use case. In it, that’s where we are going to specify the corresponding permissions (Read, Write or Execute).</p>
<div id="attachment_4029" class="wp-caption alignnone" style="width: 373px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/15-A-fresh-matrix.png"><img class="size-full wp-image-4029" title="A fresh matrix" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/15-A-fresh-matrix.png" alt="A fresh matrix" width="363" height="295" /></a><p class="wp-caption-text">A fresh matrix</p></div>
<p>A lot of times, we’d probably begin with the first row and column. But here, we’ll look at another combination first, just so we can address the manager’s case which is mentioned in the beginning of this tutorial. Then we’ll look at the other cases.</p>
<p><span style="text-decoration: underline;">To model that the manager is authorized to reorder stock</span><br />
Right click on the cell that intersects <strong>Manager</strong> and <strong>Reorder stock</strong>. Select <strong>E: Execute</strong> from the list. <strong>E</strong> should appear in that cell.</p>
<div id="attachment_4030" class="wp-caption alignnone" style="width: 510px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/16-Model-Execute-permission-on-Reorder-Stock-for-Manager.png"><img class="size-full wp-image-4030" title="Model Execute permission on Reorder Stock for Manager" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/16-Model-Execute-permission-on-Reorder-Stock-for-Manager.png" alt="Model Execute permission on Reorder Stock for Manager" width="500" height="304" /></a><p class="wp-caption-text">Model Execute permission on Reorder Stock for Manager</p></div>
<p><span style="text-decoration: underline;">To model that the manager can have a look at sales orders</span><br />
Right click on the cell that intersects <strong>Manager</strong> and <strong>Process order</strong>. Select <strong>R: Read</strong> from the list. <strong>R</strong> should appear in that cell.</p>
<div id="attachment_4031" class="wp-caption alignnone" style="width: 506px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/17-Model-Read-permission-on-Process-Order-for-Manager.png"><img class="size-full wp-image-4031" title="Model Read permission on Process Order for Manager" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/17-Model-Read-permission-on-Process-Order-for-Manager.png" alt="Model Read permission on Process Order for Manager" width="496" height="343" /></a><p class="wp-caption-text">Model Read permission on Process Order for Manager</p></div>
<p>Repeat to set the remaining permissions as shown.</p>
<ol>
<li><strong>Customers</strong> place orders <strong>(E)</strong> and write comments <strong>(E)</strong> for feedback.</li>
<li><strong>Delivery staff</strong> makes delivery <strong>(E)</strong> for items ordered.</li>
<li><strong>Sales clerks</strong> process orders <strong>(E)</strong> and sometimes refer to delivery orders for information <strong>(R)</strong>.
<p><div id="attachment_4032" class="wp-caption alignnone" style="width: 253px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/18-Matrix-completed.png"><img class="size-full wp-image-4032" title="Matrix completed" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/18-Matrix-completed.png" alt="Matrix completed" width="243" height="217" /></a><p class="wp-caption-text">Matrix completed</p></div></li>
</ol>
</li>
</ol>
<h2>So what happens to the matrix if I add a new use case afterwards?</h2>
<p>Let’s just say that we add a new use case called <strong>Do Survey </strong>to the use case diagram (after we’ve completed the matrix with the steps above).</p>
<div id="attachment_4033" class="wp-caption alignnone" style="width: 510px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/19-Added-a-new-use-case-to-the-use-case-diagram.png"><img class="size-full wp-image-4033" title="Added a new use case to the use case diagram" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/19-Added-a-new-use-case-to-the-use-case-diagram.png" alt="Added a new use case to the use case diagram" width="500" height="300" /></a><p class="wp-caption-text">Added a new use case to the use case diagram</p></div>
<p>If you return to the matrix, you’ll see that a new column called <strong>Do Survey </strong>has been inserted into the matrix to reflect the new addition to the diagram.</p>
<div id="attachment_4034" class="wp-caption alignnone" style="width: 279px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/20-New-column-for-the-new-use-case.png"><img class="size-full wp-image-4034" title="New column for the new use case automatically" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/20-New-column-for-the-new-use-case.png" alt="New column for the new use case automatically" width="269" height="218" /></a><p class="wp-caption-text">New column for the new use case automatically</p></div>
<h2>Related Links</h2>
<p><a title="Use Case Diagram" href="http://linkvp.com/siaqnwou" target="_blank">Use Case Diagram</a><br />
<a title="How to List Out All Use Cases in the Current Project" href="http://knowhow.visual-paradigm.com/?p=2723">How to List Out All Use Cases in the Current Project</a><br />
<a title="Customize the rder of Elements on Reports" href="http://knowhow.visual-paradigm.com/?p=3192">Customize the Order of Elements on Reports</a><br />
<a title="How to import Microsoft Visio stencils" href="http://knowhow.visual-paradigm.com/?p=3874">How to import Microsoft Visio stencils</a></p>
<p><a title="Video - How to Model Permissions on Use Case or Actors" href="http://www.youtube.com/user/VisualParadigm?feature=mhee#p/a/u/0/o24l7OMN1lY" target="_blank">Watch this tutorial in YouTube</a></p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.visual-paradigm.com/uml/actor-usecase-permission/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Reset Admin Password for VP Server 5.3</title>
		<link>http://knowhow.visual-paradigm.com/technical-support/server-configuration/reset-admin-pwd/</link>
		<comments>http://knowhow.visual-paradigm.com/technical-support/server-configuration/reset-admin-pwd/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 08:08:40 +0000</pubDate>
		<dc:creator>VP Team</dc:creator>
				<category><![CDATA[Server Configuration]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[reset]]></category>
		<category><![CDATA[VP Server]]></category>

		<guid isPermaLink="false">http://knowhow.visual-paradigm.com/?p=3908</guid>
		<description><![CDATA[In the event that the admin password for your existing VP Server 5.3 is lost and cannot be retrieved, there is a way to reset it. This tutorial will show you how. For VP Server older than version 5.3, please &#8230;<p class="read-more"><a href="http://knowhow.visual-paradigm.com/technical-support/server-configuration/reset-admin-pwd/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>In the event that the admin password for your existing <a title="VP Server" href="http://www.visual-paradigm.com/product/vpts/" target="_blank"><strong>VP Server 5.3</strong></a> is lost and cannot be retrieved, there is a way to reset it. This tutorial will show you how.</p>
<p>For VP Server older than version 5.3, please refer <a title="How to reset Teamwork Server/ License Server admin password?" href="http://knowhow.visual-paradigm.com/?p=2049">here</a>.</p>
<p><span id="more-3908"></span></p>
<h2>Before you start, please note&#8230;</h2>
<ol>
<li>Shut down your VP Server before actually carrying out the steps below.</li>
<li>Our example assumes that the VP Server is installed on C Drive:
<ul>
<li>So the folder hierarchy would be <strong>C:\VPServer</strong> for our demo.</li>
<li>If you installed yours in a different location, you would need to change the path in the steps below accordingly (e.g. C:\Apps\VPServer ).</li>
<li>However, the relative structure under the VPServer folder remains unchanged (e.g. <strong>\VPServer\scripts</strong> or <strong>\VPServer\webserver</strong> ).</li>
</ul>
</li>
</ol>
<h2>Step 1 – Prepare Script</h2>
<ol>
<li>Make a copy of the script file, <strong>migrate.bat</strong> (located under the <strong>\VPServer\scripts </strong>folder).<br />
Right click <strong>migrate.bat</strong> and select <strong>Copy</strong>.</p>
<div id="attachment_3917" class="wp-caption alignnone" style="width: 352px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/01-Copy-the-script-file.png"><img class="size-full wp-image-3917" title="Copy the script file" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/01-Copy-the-script-file.png" alt="Copy the script file" width="342" height="401" /></a><p class="wp-caption-text">Copy the script file</p></div>
<p>In the same folder, right click on white space and select <strong>Paste</strong>.</p>
<p><div id="attachment_3918" class="wp-caption alignnone" style="width: 267px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/02-Paste-the-script-file.png"><img class="size-full wp-image-3918" title="Paste the script file" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/02-Paste-the-script-file.png" alt="Paste the script file" width="257" height="307" /></a><p class="wp-caption-text">Paste the script file</p></div></li>
<li>Right click the file copy and select <strong>Rename</strong>.<br />
Name it anything you like <strong><strong>(e.g. password.bat)</strong></strong></p>
<p><div id="attachment_3919" class="wp-caption alignnone" style="width: 323px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/03-Rename-the-script-file.png"><img class="size-full wp-image-3919" title="Rename the script file" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/03-Rename-the-script-file.png" alt="Rename the script file" width="313" height="459" /></a><p class="wp-caption-text">Rename the script file</p></div></li>
<li>Open <strong>password.bat</strong> (or however you named it above) in a text editor. Towards the end of the file, change the very last parameter value from <strong><span style="color: #ff0000;">migration.ExportVPServerMain</span></strong> to <strong><span style="color: #ff0000;">v.ResetAdmin </span></strong>and then save the file.
<p><div id="attachment_3920" class="wp-caption alignnone" style="width: 510px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/04-Edit-the-script-file.png"><img class="size-full wp-image-3920" title="Edit the script file" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/04-Edit-the-script-file.png" alt="Edit the script file" width="500" height="126" /></a><p class="wp-caption-text">Edit the script file</p></div></li>
</ol>
<h2>Step 2 – Run Script</h2>
<ol>
<li>At the command prompt, change your directory to the VP Server’s script folder.<br />
Example:<br />
<strong><strong>cd C:\VPServer\scripts</strong></strong></p>
<p><div id="attachment_3922" class="wp-caption alignnone" style="width: 355px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/05-Change-to-the-VPServer-directory.png"><img class="size-full wp-image-3922" title="Change to the VPServer directory" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/05-Change-to-the-VPServer-directory.png" alt="Change to the VPServer directory" width="345" height="116" /></a><p class="wp-caption-text">Change to the VPServer directory</p></div></li>
<li>Execute the following command.<br />
<strong>password.bat &lt; path &gt;</strong><br />
Example:<br />
<strong>password.bat “C:\VPServer\webserver\webapps\ROOT”</strong><br />
(Note: There is no “\” after ROOT)</p>
<p><div id="attachment_3923" class="wp-caption alignnone" style="width: 510px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/06-Execute-the-command-to-run-script.png"><img class="size-full wp-image-3923" title="Execute the command to run script" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/06-Execute-the-command-to-run-script.png" alt="Execute the command to run script" width="500" height="56" /></a><p class="wp-caption-text">Execute the command to run script</p></div></li>
<li>To confirm proceeding with the reset indeed, you will be given a math problem to solve.
<p><div id="attachment_3924" class="wp-caption alignnone" style="width: 510px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/07-Prompted-to-confirm-with-a-math-question.png"><img class="size-full wp-image-3924" title="Prompted to confirm with a math question" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/07-Prompted-to-confirm-with-a-math-question.png" alt="Prompted to confirm with a math question" width="500" height="60" /></a><p class="wp-caption-text">Prompted to confirm with a math question</p></div></li>
<li>Upon entering the correct calculation result, a new admin password will be generated for you.
<p><div id="attachment_3925" class="wp-caption alignnone" style="width: 383px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/08-Enter-the-calculation-result-to-confirm-and-be-given-a-new-password.png"><img class="size-full wp-image-3925" title="Enter the calculation result to confirm and be given a new password" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/08-Enter-the-calculation-result-to-confirm-and-be-given-a-new-password.png" alt="Enter the calculation result to confirm and be given a new password" width="373" height="131" /></a><p class="wp-caption-text">Enter the calculation result to confirm and be given a new password</p></div></li>
</ol>
<h2>Step 3 – Delete Script</h2>
<p>To avoid accidental changes, delete the script file (e.g. password.bat) after use.</p>
<h2>Step 4 – Login Using the Reset Password</h2>
<ol>
<li>Start the VP Server and login with the reset password by going to <strong>localhost:1999/admin.jsp</strong></li>
<li>Click the <strong>Reset Admin. Password </strong>link at the top to change your password if you like.
<p><div id="attachment_3926" class="wp-caption alignnone" style="width: 507px"><a href="http://knowhow.visual-paradigm.com/know-how_files/2011/11/09-After-login-with-temp-password-change-your-admin-password.png"><img class="size-full wp-image-3926" title="After login with temp password, change your admin password" src="http://knowhow.visual-paradigm.com/know-how_files/2011/11/09-After-login-with-temp-password-change-your-admin-password.png" alt="After login with temp password, change your admin password" width="497" height="239" /></a><p class="wp-caption-text">After login with temp password, change your admin password</p></div></li>
</ol>
<h2>Related Links</h2>
<p><a title="How to Upgrade to VP Server Version 5.3" href="http://knowhow.visual-paradigm.com/?p=3771">How to Upgrade to VP Server Version 5.3</a><br />
<a title="How to Setup Microsoft SQL Server for VP Server" href="http://knowhow.visual-paradigm.com/?p=3552">How to Setup Microsoft SQL Server for VP Server</a><br />
<a title="How to deploy VP Server to Apache Tomcat as WAR" href="http://knowhow.visual-paradigm.com/?p=2709">How to deploy VP Server to Apache Tomcat as WAR</a><br />
<a title="Setup VP Teamwork Server on Secure Connection with Self-Signed Certificate" href="http://knowhow.visual-paradigm.com/?p=3152">Setup VP Teamwork Server on Secure Connection with Self-Signed Certificate</a></p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.visual-paradigm.com/technical-support/server-configuration/reset-admin-pwd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

