Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

oracle.apps.fnd.applcore.dt.setid.piLayout.validator
Class SetIdChildTableValidator

java.lang.Object
  extended by oracle.bali.xml.util.XmlContextVetoableChangeAdapter
      extended by oracle.apps.fnd.applcore.dt.setid.piLayout.validator.SetIdChildTableValidator
All Implemented Interfaces:
java.beans.VetoableChangeListener, java.util.EventListener

public class SetIdChildTableValidator
extends oracle.bali.xml.util.XmlContextVetoableChangeAdapter

A validation class that for implementing validation on Set Id Child Table field.


Constructor Summary
SetIdChildTableValidator()
          Default constructor.
 
Method Summary
static boolean isSetIdChildTableHidden(oracle.bali.xml.model.XmlModel model)
          This method indicates whether the Set Id Child Table field should be shown based on the current value of Set Id Pattern selected.
protected  void vetoableChange(oracle.bali.xml.model.XmlContext xmlContext, org.w3c.dom.Node node, java.lang.String string, java.lang.Object oldValue, java.lang.Object newValue)
          This method provides a validation to ensure that any value entered into the Set Id Child Table field is a valid table in the current database connection.
 
Methods inherited from class oracle.bali.xml.util.XmlContextVetoableChangeAdapter
vetoableChange
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetIdChildTableValidator

public SetIdChildTableValidator()
Default constructor.

Method Detail

isSetIdChildTableHidden

public static boolean isSetIdChildTableHidden(oracle.bali.xml.model.XmlModel model)
This method indicates whether the Set Id Child Table field should be shown based on the current value of Set Id Pattern selected.

Parameters:
model - The current XmlModel
Returns:
boolean indicating whether the field should be hidden.

vetoableChange

protected void vetoableChange(oracle.bali.xml.model.XmlContext xmlContext,
                              org.w3c.dom.Node node,
                              java.lang.String string,
                              java.lang.Object oldValue,
                              java.lang.Object newValue)
This method provides a validation to ensure that any value entered into the Set Id Child Table field is a valid table in the current database connection. An error message is raised if the field value does not match a table name.

Specified by:
vetoableChange in class oracle.bali.xml.util.XmlContextVetoableChangeAdapter
Parameters:
xmlContext -
node -
string -
oldValue -
newValue -

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 7 (11.1.7)

E22562-07

Copyright © 2013 Oracle. All Rights Reserved.