Validator: Validator

Description Usage Arguments Format Value Validator methods Validation Class Parameters Author(s) See Also

Description

Validator Class responsible for validation of requests pertaining to:

Usage

1

Arguments

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.

Format

An object of class R6ClassGenerator of length 24.

Value

A logical, TRUE if validation criteria are met, FALSE, otherwise.

Validator methods

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.

Validation Class Parameters

NA

Author(s)

John James, jjames@datasciencesalon.org

See Also

Other Validation Classes: Authorizer, Validator0, ValidatorClass, ValidatorDate, ValidatorExists, ValidatorLogical, ValidatorName, ValidatorNoSpaces, ValidatorNotEmpty, ValidatorNumeric, ValidatorPath, ValidatorString, ValidatorUrl


j2scode/NLPStudio documentation built on May 7, 2019, 8:58 p.m.