Primitive Types
A primitive type is used to group characteristics shared by several attributes. Primitive types are implemented as classes.
To access primitive types in HOPEX IT Architecture V2, the administrator must import the “Information Architecture” solution pack. See Prerequisite: Importing the Primitive Types.
Prerequisite: Importing the Primitive Types
To access primitive types in HOPEX IT Architecture V2, the administrator must import the “Information Architecture” solution pack.
Preparing the import
Files to be imported are delivered in compressed files that you must decompress before importing them into a repository.
1. In the folder in which HOPEX is installed, open the Utilities folder, then the Solutions Pack folder.
2. Double-click the Information Architecture.exe file.
3. Extract the Contents of the file.
Importing the solution pack
To import the solution pack:
1. Launch "Administration.exe" and connect as a user with data administration rights.
*The "System" identifier enables connection with the "Administrator" user. This user is created by default, with repository administration rights. It has no profile (it has all rights) and no password is assigned at installation.
2. Select the environment then the repository on which you want to work.
3. Right-click the repository and select Object Management > Import a Solution Pack.
A dialog box with a list of solution packs appears.
4. Sélect Information Architecture - DataType and Information Architecture - XsdType and click OK.
5. Exit the Administration application.
 
Defining a Primitive Type
Primitive types are defined in a class diagram.
These are classes for which the following is specified:
They are of the "Primitive Type” stereotype.
They are "Abstract” classes because they will not be instantiated.
They are "Non-persistent" classes. They should not have a corresponding table in the database.
To specify types of class attributes:
1. Open the properties of the class and select the Internal Characteristics page.
2. Expand the Attributes section.
3. Click the Type expression field and select the attribute type using the arrow.
The following classes are in the standard list:
 
Alphanumeric types
 
Other Information
M-Char
Alphanumeric string of fixed length
Length
M-Varchar
Alphanumeric string of variable length
 
Numeric types
 
 
M-Numeric
Number
Length, decimal places
M-Amount
Amount expressed as currency
Length, decimal places
Date types
 
 
M-Date
Date
 
M-Time
Time
 
M-Datetime
Date and time
 
Binary types
 
 
M-Timestamp
Identification automatically generated from the date and time, expressed in thousandths of seconds since January 1, 1970
 
M-Bool
Boolean, equals 0 or 1
 
M-Multimedia
Binary string