Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.1.0)

E10653-02

oracle.jbodt.common
Class ValidationManagerImpl

java.lang.Object
  extended by oracle.jbodt.common.ValidationManagerImpl
All Implemented Interfaces:
ValidationManager

public class ValidationManagerImpl
extends java.lang.Object
implements ValidationManager


Constructor Summary
ValidationManagerImpl(java.lang.String attrNameArg, java.lang.String fullNameArg, java.lang.String bindingIdArg, java.lang.String[] attrNamesArg, boolean acceptsVal)
           
 
Method Summary
 void addValidator(BaseValidator validator)
          Adds this attribute object to this object.
 void addValidator(BaseValidator validator, int index)
          Adds this attribute object to this object at the specified index.
 boolean canAcceptValidators()
           
 java.lang.String[] getAttrNames()
           
 java.lang.String getBindingId()
           
 java.lang.String getFullName()
          Retrieves the fully-qualified name of this object.
 java.lang.String getName()
           
 ResourceOwner getResourceOwner()
           
 BaseValidator getValidator(int index)
          Retrieves the validator of the specified index.
 BaseValidator[] getValidators()
          Retrieves an array containing all the validators for this object.
 int getValidatorsCount()
           
 java.util.ArrayList getValidatorsList()
          Retrieves the ArrayList object containing all the validators for this object.
 void removeValidator(BaseValidator val)
          Removes the given validator if found
 void removeValidatorAt(int index)
          Removes a validator at the given index.
 void replaceValidator(BaseValidator oldVal, BaseValidator newVal)
          Replaces an old validator with a new one.
 void setResourceOwner(ResourceOwner owner)
           
 void setValidatorsList(java.util.ArrayList validatorVector)
          Allows the batch setting of the mValidators for the object.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationManagerImpl

public ValidationManagerImpl(java.lang.String attrNameArg,
                             java.lang.String fullNameArg,
                             java.lang.String bindingIdArg,
                             java.lang.String[] attrNamesArg,
                             boolean acceptsVal)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface ValidationManager

getFullName

public java.lang.String getFullName()
Description copied from interface: ValidationManager
Retrieves the fully-qualified name of this object.

Specified by:
getFullName in interface ValidationManager
Returns:
the name of the object.

getAttrNames

public java.lang.String[] getAttrNames()

getBindingId

public java.lang.String getBindingId()

canAcceptValidators

public boolean canAcceptValidators()
Specified by:
canAcceptValidators in interface ValidationManager

getValidatorsCount

public int getValidatorsCount()
Specified by:
getValidatorsCount in interface ValidationManager

setValidatorsList

public void setValidatorsList(java.util.ArrayList validatorVector)
Allows the batch setting of the mValidators for the object.

Specified by:
setValidatorsList in interface ValidationManager

getValidatorsList

public java.util.ArrayList getValidatorsList()
Retrieves the ArrayList object containing all the validators for this object.

Specified by:
getValidatorsList in interface ValidationManager

getValidator

public BaseValidator getValidator(int index)
Retrieves the validator of the specified index.

Specified by:
getValidator in interface ValidationManager

getValidators

public BaseValidator[] getValidators()
Retrieves an array containing all the validators for this object.

Specified by:
getValidators in interface ValidationManager

addValidator

public void addValidator(BaseValidator validator)
Adds this attribute object to this object.

Specified by:
addValidator in interface ValidationManager

addValidator

public void addValidator(BaseValidator validator,
                         int index)
Adds this attribute object to this object at the specified index.

Specified by:
addValidator in interface ValidationManager

replaceValidator

public void replaceValidator(BaseValidator oldVal,
                             BaseValidator newVal)
Replaces an old validator with a new one.

Specified by:
replaceValidator in interface ValidationManager

removeValidatorAt

public void removeValidatorAt(int index)
Removes a validator at the given index.

Specified by:
removeValidatorAt in interface ValidationManager

removeValidator

public void removeValidator(BaseValidator val)
Removes the given validator if found

Specified by:
removeValidator in interface ValidationManager

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setResourceOwner

public void setResourceOwner(ResourceOwner owner)

getResourceOwner

public ResourceOwner getResourceOwner()

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.1.0)

E10653-02

Copyright © 1997, 2009, Oracle. All rights reserved.