CATEGORY_TYPE and CATEGORY_MEMBERSHIP Tables
The CATEGORY_TYPE table exposes the category definitions found in erwin DM's metamodel. The CATEGORY_MEMBER table defines the members of the categories. Categories are collections of object and/or property types that are similar in some way significant to erwin DM. The following table describes the columns in the CATEGORY_TYPE table:
Column Name |
Data Type |
Description |
---|---|---|
ID@ |
INTEGER |
The ID of the object in the model. Though this is a short ID, it never changes. |
NAME |
VARCHAR |
The name of the type. |
LONG_ID |
CHAR(67) |
The long ID of the type. This is provided for consistency with M0. |
DEFINITION |
VARCHAR |
The definition of the type. |
TAG_IS_DEPRECATED |
CHAR(1) |
Has this type been deprecated? |
TAG_DEPRECATION_LEVEL |
INTEGER |
A value of 2 indicates that the type is still in the metamodel, but is no longer active. A value of 3 indicates the type is no longer in the metamodel. A value of -1 indicates the type is for a future release. |
TAG_RELEASE_DEPRECATED |
VARCHAR |
The release in which the type was deprecated. If the type is deprecated, but this value is NULL, then the release was 7.0. |
TAG_RELEASE_ADDED |
VARCHAR |
The release in which the type was added. |
The following table describes the columns in the CATEGORY_MEMBER table:
Column Name |
Data Type |
Description |
---|---|---|
ID@ |
INTEGER |
The category's ID. |
MEMBER@ |
INTEGER |
The ID of the member object. |
Use a query similar to the following to show the members of the various categories as they are used in the Action Log Metamodel Filter dialog:
SELECT C.NAME, T.NAME
FROM M1.CATEGORY_TYPE C INNER JOIN M1.CATEGORY_MEMBER M ON C.ID@ = M.ID@
INNER JOIN M1.ABSTRACT_TYPE T ON M.MEMBER@ = T.ID@
ORDER BY 1,2
Copyright © 2018 erwin, Inc.
All rights reserved.
|
|