hasPK() Method

Usage

public java.lang.Boolean hasPK()

Description

This method returns a boolean. The returned value is true if the datastore for which a web service is being generated has a primary key.

This method can only be used in SKMs.

Examples

<% if (odiRef.hasPK()) { %>

There is a PK :

<%=odiRef.getPK("KEY_NAME")%> : <%=odiRef.getPKColList("{", "\u0022[COL_NAME]\u0022", ", ", "}")%>

<% } else {%>

There is NO PK.

<% } %>