Method DetailString getError() Returns the generic error, if any. Returns: String Since: 11-01-2012 Data getErrors() If validation fails, this returns the data along with the reason for failed validation. For example, if a column name is FirstName and it fails validation there will be an error message with key FirstNameError. Returns: Data Since: 08-04-2012 int getPage() When used with SmartDocuments, this returns the page number containing invalid data. Returns: int Since: 11-01-2012 boolean isValid() Returns true if the data passes validation. Returns: boolean Since: 08-04-2012 setError(String error) Sets the main error
Parameters:
Since: 04-15-2020 setErrors(Data errorData) Sets errors if any
Parameters:
Since: 04-15-2020 setValid(boolean valid) Sets valid
Parameters:
Since: 04-15-2020 String toString() Returns a description of this object. Returns: String Since: 08-04-2012 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Dec 03, 2024 10:24 AM |