JAVA Methods

You can refer to all public allowable JAVA methods inside the Business Object instance and public static methods in supported Advantage helper classes within the expression provided in the Validation field on the Configurable Validation page. This may have an adverse impact when certain methods referenced within the expression changing the state of data being validated while executing the expression. To prevent side effects, the Advantage application enforces additional checks and allows only certain method patterns in the expression assuming those methods are built using JAVA standards and are safe to use.

Note: This is not applicable to Advantage Performance Budgeting.

The Advantage application allows methods starting with the following patterns from Advantage classes to refer within the validation expression. This limitation is specifically for Advantage Helper:

By default, Advantage supports reference of public static methods from all the Advantage helper classes inside the advantage.jar module. In addition to that, the following internal and external classes outside the advantage.jar module are supported to utilize extended helper functions within the expression.

Class Name

Internal / External Package

AMSCommonConstants

com.amsinc.gems.adv.common

AMSSecurity

 com.amsinc.gems.adv.common

AMSSPARConstants

com.amsinc.gems.adv.common

StringUtils

 org.apache.commons.lang3