Tool Mentor: Designing Classes Using Rational XDE Developer
This tool mentor describes how to perform Class Design with Rational XDE Developer.
Tool: Rational XDE Developer
Relationships
Related Elements
Main Description

Overview

This tool mentor supports performing Class Design with Rational XDE Developer - Java Platform Edition.

This tool mentor assumes that a structured Design Model has been created as part of Task: Architectural Analysis following the steps outlined in Tool Mentor: Performing Architectural Analysis Using Rational XDE.

Use Design Patterns and Mechanisms

Incorporating a pattern and/or mechanism is effectively performing many of the subsequent steps in this tool mentor (adding new classes, operations, attributes, and relationships), but in accordance with the rules defined by the pattern or mechanism.

Additional information on using patterns:

  • helpbook iconApplying Patterns

Create Initial Design Classes

  1. Add a class diagram to the model. See helpbook iconAdding Diagrams .
  2. Add design classes to the class diagram. See helpbook iconAdding Shapes to Diagrams .
  3. Document each class. See helpbook iconDocumenting Model Elements .

Reference: helpbook iconWorking with Class Diagrams .

Identify Persistent Classes

A class can be marked as persistent. Reference: helpbook iconSpecifying Persistence .

In J2EE development, persistency is commonly implemented using entity EJBs. See Tool Mentor: Identifying Design Elements using Rational XDE for details.

Define Class Visibility

For each class, determine the class visibility within the package where it resides.

Reference: helpbook iconSpecifying Visibility .

Define Operations

  1. Add operations to each class. See helpbook iconAdding Operations to Classifiers .
  2. Add parameters to operations. See helpbook iconAdding Parameters to Operations .
  3. Specify visibility of operations. See helpbook iconSpecifying Visibility .

Reference: helpbook iconAdding and Modifying Attributes and Operations in Classifiers .

Define Methods

A description of how an operation is to be implemented might be added to the operation description.

A sequence diagram might optionally be used to describe a method. See the XDE online Help topic helpbook iconDocumenting Model Elements .

Reference: helpbook iconWorking with Interaction (Sequence) Diagrams .

Define States

A state machine might optionally be used.

Reference: helpbook iconWorking with Statechart Diagrams .

Define Attributes

  1. Define attributes. See helpbook iconAttributes .
  2. Add attributes to classifiers. See helpbook iconAdding Attributes to Classifiers .
  3. Specify visibility. See helpbook iconSpecifying Visibility .

Define Dependencies

Reference: helpbook iconAdding Dependency Relationships .

Define Associations

  1. Add association relationships. See helpbook iconAdding Association Relationships .
  2. Specify the kind of each association. See helpbook iconSpecifying Kinds of Association Relationships .

Define Generalizations

Reference: helpbook iconAdding Generalization Relationships .

Resolve Use-Case Collisions

Reference: helpbook iconSpecifying the Type of Concurrency for Operations .

Handle Nonfunctional Requirements in General

Nonfunctional requirements often drive a class to incorporate specific design mechanisms using collaborations and patterns. Often the use of a framework component is sufficient to satisfy a nonfunctional requirement. (See Tool Mentor: Identifying Design Elements Using Rational XDE.)

Reference:

  • helpbook iconJ2EE Pattern-Driven Development
  • helpbook iconApplying Patterns

Evaluate the Results

There is no Rational XDE specific guidance for this step.