Skip to main content

If you don't have an IBM ID and password, register here.

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. This profile includes the first name, last name, and display name you identified when you registered with developerWorks. Select information in your developerWorks profile is displayed to the public, but you may edit the information at any time. Your first name, last name (unless you choose to hide them), and display name will accompany the content that you post.

All information submitted is secure.

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

Implementing a domain-specific constraint in IBM Rational Systems Developer

Steven Hovater (svhovater@us.ibm.com), IBM Rational Tech Rep, EMC
Steven Hovater
Steve is an IBM Rational Lab Services (ISSR) technical representative in the NorthEast. He is a 14 year Rational veteran, and has supported Raytheon, Lockheed-Martin, General Dynamics, BAE Systems, Naval Undersea Warfare Center, among other mil-aero customers over the past 10 years on a variety of products including Rational Apex (Ada), Rational Rose, and most recently Rational Software Architect (RSA). Steve holds a Masters Degree in Physics from the University of Alabama. He has been a developer at Rational, sales technical representative, and is the principal designer and author of the IBM Rational DoDAF plugin. Steve has specialized in the extension of Rational tools to meet customer requirements and drive sales, whether it's writing embedded Ada network drivers, extending Rational Rose, or writing custom Eclipse plugins. He currently resides in Portsmouth, New Hampshire.

Summary:  In this tutorial, you will learn how to use UML2 (Unified Modeling Language 2) to model a systems scenario, specifically, one using electrical current for assemblies and sub-assemblies. You will create a UML profile, followed by a model validation constraint designed to detect over-current conditions. This constraint will be realized by an Eclipse plug-in.

Date:  31 Oct 2006
Level:  Introductory PDF:  A4 and Letter (4856 KB | 50 pages)Get Adobe® Reader®

Comments:  

Before you start

Learn what to expect from this tutorial, and how to get the most out of it.

About this tutorial

This tutorial explains how to create validation constraints in IBM® Rational® Systems Developer. This will allow you to detect potential problems in your model early. Problems detected earlier in the product development lifecycle are easier and less expensive to fix.


Objectives

In this tutorial, you learn about creating a validation constraint. To do so, you'll create a UML profile, create a stereotype, and add stereotype attributes. Then, you will prototype your constraint using a pluglet, migrate what you learn to a model validation constraint plugin, and then test that new constraint against a sample model.


Prerequisites

This tutorial is written for programmers whose skills and experience are at a beginning to intermediate level. You should have a general familiarity with using Rational Systems Developer and UML.


System requirements

In order to complete this tutorial, you should have the following installed:

  • Rational Systems Developer V 6.0.1

1 of 10 | Next

Comments



Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational
ArticleID=171654
TutorialTitle=Implementing a domain-specific constraint in IBM Rational Systems Developer
publish-date=10312006
author1-email=svhovater@us.ibm.com
author1-email-cc=

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).