Oracle Fusion Middleware Java API Reference for Oracle ADF Model Business Editor Objects
11g Release 1 (11.1.1.7.0)

E36215-01

oracle.adf.businesseditor.objects
Interface AttributeValidator

All Known Implementing Classes:
AttributeValidatorImpl

public interface AttributeValidator

A validator for an attribute.


Method Summary
 java.lang.String getDefintion()
          Returns the definition to evaluate whether the framework attempts to validate the object during changes.
 java.lang.String getDescription()
          Returns the description of the object.
 java.lang.String getErrorMessage()
          Returns the error message to display to the user when validation fails.
 java.lang.String getName()
          Returns the name of the object.
 void setDefintion(java.lang.String definition)
          The definition to evaluate whether the framework attempts to validate the object during changes.
 void setDescription(java.lang.String text)
          Sets the description of the object.
 void setErrorMessage(java.lang.String errorMessage)
          Register the error message to display to the user when validation fails.
 void setName(java.lang.String name)
          Sets the name of this validator.
 

Method Detail

setName

void setName(java.lang.String name)
Sets the name of this validator.

Parameters:
name - definition of this validator

getName

java.lang.String getName()
Returns the name of the object.

Returns:
the name of the object
Throws:

setDescription

void setDescription(java.lang.String text)
Sets the description of the object.

Parameters:
text - description of the object
Throws:

getDescription

java.lang.String getDescription()
Returns the description of the object.

Returns:
the description of the object
Throws:

setDefintion

void setDefintion(java.lang.String definition)
The definition to evaluate whether the framework attempts to validate the object during changes.

Parameters:
definition - definition of this validator

getDefintion

java.lang.String getDefintion()
Returns the definition to evaluate whether the framework attempts to validate the object during changes.

Returns:
the definition of this validator

setErrorMessage

void setErrorMessage(java.lang.String errorMessage)
Register the error message to display to the user when validation fails.

Parameters:
errorMessage - error message

getErrorMessage

java.lang.String getErrorMessage()
Returns the error message to display to the user when validation fails.

Returns:
the error message

Oracle Fusion Middleware Java API Reference for Oracle ADF Model Business Editor Objects
11g Release 1 (11.1.1.7.0)

E36215-01

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