OBJECT_TYPE Table
The OBJECT_TYPE table contains information about the types of objects permitted in a erwin DM model. In other words, rows in this table will correspond to tables exposed by the M0 schema. The following table describes the base columns in the OBJECT_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_ABSTRACT |
CHAR(1) |
Does the object type represent an abstract object (one that cannot be created in the model)? Abstract object types are not exposed by the M0 schema. |
TAG_IS_INTERNAL |
CHAR(1) |
Is the object type marked as Internal? Internal types are not exposed by the M0 schema. |
PARENT_REF |
INTEGER |
If the object type is derived from an abstract type, this is the abstract type's ID. |
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. |
Use a query similar to the following to find the active, physical-only object types:
SELECT NAME
FROM M1.OBJECT_TYPE
WHERE TAG_IS_LOGICAL = 'F' AND TAG_IS_ABSTRACT = 'F'
AND TAG_IS_INTERNAL = 'F' AND TAG_IS_DEPRECATED = 'F'
Copyright © 2018 erwin, Inc.
All rights reserved.
|
|