Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

oracle.apps.fnd.applcore.flex.runtime.util.common
Class ValidatorUtilDate

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.runtime.util.common.Validator
      extended by oracle.apps.fnd.applcore.flex.runtime.util.common.ValidatorUtilDate

public class ValidatorUtilDate
extends Validator

A validator for flexfield date, date-time or time values.


Constructor Summary
ValidatorUtilDate(ValueSetUsage vsu)
          Constructs a validator for value data type DATE, TIMESTAMP or VARCHAR2_TIME.
 
Method Summary
 java.util.List<ValidationRule> getValidationRules(java.lang.Class attrType)
          Gets the validation rules based on the Java type of the attribute to be validated.
 
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.util.common.Validator
getLOVDef, getValidator, getValueSetUsage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorUtilDate

public ValidatorUtilDate(ValueSetUsage vsu)
Constructs a validator for value data type DATE, TIMESTAMP or VARCHAR2_TIME.

Parameters:
vsu - the value-set usage
Method Detail

getValidationRules

public java.util.List<ValidationRule> getValidationRules(java.lang.Class attrType)
Gets the validation rules based on the Java type of the attribute to be validated. This method never returns null.

Overrides:
getValidationRules in class Validator
Parameters:
attrType - the Java type of the attribute to be validated
Returns:
the validation rules; an empty list if no validation rules are defined

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.1.5)

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.