coldbox.system.validation.result

Interface IValidationError

WEB-INF.cftags.interface
        extended by coldbox.system.validation.result.IValidationError
Class Attributes:
None
All Known Implementing Classes:
ValidationError
Method Summary
string getField()
     Get the error field.
string getMessage()
     Get the error message.
any getRejectedValue()
     Get the rejected value.
string getValidationData()
     Get the error validation data.
string getValidationType()
     Get the error validation type.
IValidationError setField(string field)
     Set the field.
IValidationError setMessage(string message)
     Set the error message.
IValidationError setRejectedValue(any value)
     Set the rejected value.
IValidationError setValidationData(any data)
     Set the validator data.
IValidationError setValidationType(any validationType)
     Set the validator type name that rejected.
 
Methods inherited from class WEB-INF.cftags.interface
None

Method Detail

getField

public string getField()

Get the error field


getMessage

public string getMessage()

Get the error message


getRejectedValue

public any getRejectedValue()

Get the rejected value


getValidationData

public string getValidationData()

Get the error validation data


getValidationType

public string getValidationType()

Get the error validation type


setField

public IValidationError setField(string field)

Set the field

Parameters:
field

setMessage

public IValidationError setMessage(string message)

Set the error message

Parameters:
message - The error message

setRejectedValue

public IValidationError setRejectedValue(any value)

Set the rejected value

Parameters:
value - The rejected value

setValidationData

public IValidationError setValidationData(any data)

Set the validator data

Parameters:
data - The data of the validator

setValidationType

public IValidationError setValidationType(any validationType)

Set the validator type name that rejected

Parameters:
validationType - The name of the rejected validator