CZ_RULE_TEMPLATES

CZ_RULE_TEMPLATES stores CDL rule template definitions.

Details

  • Schema: FUSION

  • Object owner: CZ

  • Object type: TABLE

  • Tablespace: REFERENCE

Primary Key

Name Columns

CZ_RULE_TEMPLATES_PK

TEMPLATE_CODE

Columns

Name Datatype Length Precision Not-null Comments
TEMPLATE_CODE VARCHAR2 48 Yes Primary Key, for System Properties values are elements from the Type.SystemAttributeType enumeration.
TEMPLATE_TYPE VARCHAR2 30 Yes Indicates the type of the record: 'TEMPLATE' or 'SYSTEM_PROPERTY'
SIGNATURE_CODE VARCHAR2 48 Yes Foreign key to CZ_SIGNATURES
TEMPLATE_TOKEN VARCHAR2 30 This field stores the token of the template. Only required for primitive templates, in case of a function ??? NAME column is used.
NAME VARCHAR2 128 Name of the template
DESCRIPTION VARCHAR2 1000 Description of the template
PRIMITIVE_FLAG VARCHAR2 1 This field specifies whether this template is a primitive template
TOP_LEVEL_FLAG VARCHAR2 1 Specifies if the templates having this signature are only allowed as top-level constraints: Y=top-level only N=nested only
SEEDED_FLAG VARCHAR2 1 Yes Indicates whether this is a seeded or user-created template
DELETED_FLAG NUMBER 18 Yes This flag indicates the logical deletion of the row. The Non-Zero value represents deleted state and 0 represents not-deleted state. A user controlled background purge process will actually delete the orphaned rows with the Non-Zero flag value.
CONSTRAINT_FLAG VARCHAR2 1 'Y' indicates that this template can be used in Modeler's constraints
DEFAULT_DECISION_FLAG VARCHAR2 1 'Y' indicates that this template can be used in Modeler's default decisions.
SEARCH_DECISION_FLAG VARCHAR2 1 'Y' indicates that this template can be used in Modeler's search decisions.
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
SEED_DATA_SOURCE VARCHAR2 512 Source of seed data record. A value of 'BULK_SEED_DATA_SCRIPT' indicates that record was bulk loaded. Otherwise, specifies the name of the seed data file.
ORA_SEED_SET1 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET1. Context values are Y or N.
ORA_SEED_SET2 VARCHAR2 1 Yes Oracle internal use only. Indicates the edition-based redefinition (EBR) context of the row for SET2. Context values are Y or N.

Foreign Keys

Table Foreign Table Foreign Key Column
CZ_RULE_TEMPLATES cz_signatures SIGNATURE_CODE
cz_expression_nodes cz_rule_templates TEMPLATE_CODE

Indexes

Index Uniqueness Tablespace Columns
CZ_RULE_TEMPLATES_U1 Unique Default TEMPLATE_CODE, ORA_SEED_SET1
CZ_RULE_TEMPLATES_U11 Unique Default TEMPLATE_CODE, ORA_SEED_SET2