getAK() method

Usage

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

Description

This method returns information relative to the alternate key of a datastore during a check procedure. It is only accessible from a Check Knowledge Module if the current task is tagged "alternate key".

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

Parameters

Parameter

Type

Description

pPropertyName

String

String containing the name of the requested property.

The following table lists the different possible values for pPropertyName 

Parameter value

Description

ID

Internal number of the AK constraint.

KEY_NAME

Name of the alternate key

MESS

Error message relative to the constraint of the alternate key

FULL_NAME

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

<flexfield code>

Value of the flexfield for this AK.

Examples

The alternate key of my table is named: <%=odiRef.getAK("KEY_NAME")%>