getPK() Method

Usage

public java.lang.String getPK(java.lang.String pPropertyName)

Description

This method returns information relative to the primary key of a datastore during a check procedure. 

In an action, this method returns information related to the primary key currently handled by the DDL command.

Parameters

Parameter

Type

Description

pPropertyName

String

String that contains the name of the requested property.

The following table lists the different possible values for pPropertyName 

Parameter value

Description

ID

Internal number of the PK constraint.

KEY_NAME

Name of the primary key

MESS

Error message relative to the primary key constraint.

FULL_NAME

Full name of the PK generated with the local object mask.

<flexfield code>

Flexfield value for the primary key.

Examples

The primary key of my table is called: <%=odiRef.getPK("KEY_NAME")%>