ASSOCIATION_TYPE Table

The ASSOCIATION_TYPE table exposes the associations between rows in the OBJECT_TYPE table and rows in the PROPERTY_TYPE table. The following table describes the base columns in the ASSOCIATION_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.

PARTICIPATING_OBJECT_REF

INTEGER

The ID of the object type instance.

PARTICIPATING_PROPERTY_REF

INTEGER

The ID of the property type instance.

TAG_IS_PREFETCH

CHAR(1)

Is the value of the property sometimes calculated when read instead of stored in the model?

Use a query similar to the following to find all the properties that may be applied to a model object:

SELECT NAME
FROM M1.ASSOCIATION_TYPE
WHERE PARTICIPATING_OBJECT_REF = 
(SELECT ID@ FROM M1.OBJECT_TYPE WHERE NAME = 'MODEL')

Back to Top