Oracle Fusion Middleware extensions for XML based Datamodel Framework
11g Release 1 (11.1.1.6)

E22566-04

oracle.apps.fnd.applxdf.jdev.validation
Class UserPropertyValidation

java.lang.Object
  extended by oracle.apps.fnd.applxdf.jdev.validation.UserPropertyValidation
All Implemented Interfaces:
OfflineDBValidationManager.Validator

public class UserPropertyValidation
extends java.lang.Object
implements OfflineDBValidationManager.Validator

Validation Class to enforce User Property standards.


Constructor Summary
UserPropertyValidation()
           
 
Method Summary
static java.lang.String getUDP(DBObject dbObj, java.lang.String szKey)
          Retrieve UDP value from a DB object with a given key.
static boolean isObsolet(DBObject dbObj)
          Retrieve obsolet value of a object status UDP
static void setUDP(DBObject dbObj, java.lang.String szKey, java.lang.String szValue)
          Set an UDP value.
 void validateObject(OfflineDBObjectProvider oProvider, DBObject original, DBObject update, java.lang.String property)
          Validate object Property standards.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserPropertyValidation

public UserPropertyValidation()
Method Detail

validateObject

public void validateObject(OfflineDBObjectProvider oProvider,
                           DBObject original,
                           DBObject update,
                           java.lang.String property)
                    throws ValidationException
Validate object Property standards.

Specified by:
validateObject in interface OfflineDBValidationManager.Validator
Parameters:
oProvider - - offline db object provider
original - - original table column, null if new cretion
update - - updated table column
property - - the property name going to validate
Throws:
ValidationException

setUDP

public static void setUDP(DBObject dbObj,
                          java.lang.String szKey,
                          java.lang.String szValue)
Set an UDP value.

Parameters:
dbObj - - a DB Object
szKey - - the key name of the UDP
szValue - - the UDP value which to be set

getUDP

public static java.lang.String getUDP(DBObject dbObj,
                                      java.lang.String szKey)
Retrieve UDP value from a DB object with a given key. Note: this mathod return the default UDP value as null. so only safe to get a non-default value

Parameters:
dbObj - - a DB Object
szKey - - the UDP key name
Returns:
String - the UDP value

isObsolet

public static boolean isObsolet(DBObject dbObj)
Retrieve obsolet value of a object status UDP

Parameters:
dbObj - - a DB Object
szKey - - the UDP key name
Returns:
String - the UDP value

Oracle Fusion Middleware extensions for XML based Datamodel Framework
11g Release 1 (11.1.1.6)

E22566-04

Copyright © 2012 Oracle. All Rights Reserved.