Interface: Model

system.models. Model

The Model interface defines all models in the application.

Extends

Methods


isLocked()

Returns true if the object is locked.

Inherited From:
Returns:

true if the object is locked.


lock()

Locks the object.

Inherited From:

supports(value)

Returns true if the specific value is valid.

Parameters:
Name Type Description
value *

The value to check.

Returns:

true if the specific value is valid.


toString()

Returns the string representation of this instance.

Returns:

The string representation of this instance.


unlock()

Unlocks the object.

Inherited From:

validate()

Evaluates the specified value and throw an Error object if the value is not valid.

Throws:

Error if the value is not valid.