Description Usage Arguments Format Value Validator methods Validation Class Parameters Author(s) See Also
Validator
Class responsible for validation of requests pertaining to:
Object Create and Read: Requests to create and read object internal representation.
Composition and Aggregation: Requests to manipulate aggregate and composite objects
History: Requests to read historical records for an object or objects.#'
State: Requests to read, save, and restore object states
Document I/O: Requests to read and write documents.
1 |
object |
Originator object |
target |
Object which is the target of a query. Used by the Curator methods |
content |
Character vector containing content to be written by a write originator. |
An object of class R6ClassGenerator
of length 24.
A logical, TRUE if validation criteria are met, FALSE, otherwise.
This section summarizes the methods in the Validator class.
Object Create and Read Methods:
new()
Creates an object of Validator class
init(object)
Dispatches the initialization validation visitor, via the accept method of object.
exposeObject(object)
Dispatches the exposeObject validation visitor, via the accept method of object.
Composition and Aggregation Methods:
addChild(object)
Dispatches the addChild validation visitor, via the accept method of object.
removeChild(object)
Dispatches the removeChild validation visitor, via the accept method of object.
setParent(object, parent)
Dispatches the setParent validation visitor, via the accept method of object.
Curator Methods:
setQueryTarget(object, target)
Dispatches the setQueryTarget validation visitor, via the accept method of object.
submitQuery(object)
Dispatches the removeChild validation visitor, via the accept method of object.
History Methods:
readHistory(object)
Dispatches the readHistory validation visitor, via the accept method of object.
State Methods:
readStates(object)
Dispatches the readStates validation visitor, via the accept method of object.
saveState(object)
Dispatches the saveState validation visitor, via the accept method of object.
restoreState(object)
Dispatches the restoreState validation visitor, via the accept method of object.
Document I/O Methods:
read(object)
Dispatches the read validation visitor, via the accept method of object.
write(object)
Dispatches the write validation visitor, via the accept method of object.
NA
John James, jjames@datasciencesalon.org
Other Validation Classes: Authorizer
,
Validator0
, ValidatorClass
,
ValidatorDate
,
ValidatorExists
,
ValidatorLogical
,
ValidatorName
,
ValidatorNoSpaces
,
ValidatorNotEmpty
,
ValidatorNumeric
,
ValidatorPath
,
ValidatorString
, ValidatorUrl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.