Chapter 6 Generating a Conceptual Data Model from an Object-Oriented Model

Translating OOM data types for a CDM

PowerDesigner supports both Java and conceptual data types. When you generate objects from an OOM to a CDM, Java data types are translated by PowerDesigner into conceptual data types. PowerDesigner conceptual data types cannot be modified.

Translating Java data types for a CDM

The following table lists the Java data types to which the object language file assigns translations:

Java data type

char

boolean

byte

short

integer

long

float

double

String

Code in

CDM

A

BL

BT

SI

I

LI

F

N

TXT

What it stores

Character

Two opposing values (true/false; yes/no; 1/0)

256values 16-bit integer 32-bit integer

32-bit integer

32-bit floating decimal numbers Numbers with a fixed decimal point Character strings

203

Page 213
Image 213
Sybase 7.5 manual Translating OOM data types for a CDM, Translating Java data types for a CDM, 203, Code