| Package | system.models |
| Class | public class KernelModel |
| Inheritance | KernelModel Object |
| Implements | Model |
| Subclasses | ChangeModel |
Model interface, to minimize the effort required to implement this interface.
| Method | Defined By | ||
|---|---|---|---|
Creates a new KernelModel instance. | KernelModel | ||
isLocked():Boolean
Returns true if the object is locked. | KernelModel | ||
lock():void
Locks the object. | KernelModel | ||
supports(value:*):Boolean
Returns true if the Validator object validate the value. | KernelModel | ||
unlock():void
Unlocks the display. | KernelModel | ||
validate(value:*):void
Evaluates the specified value and throw a TypeError object if the value is not valid. | KernelModel | ||
| KernelModel | () | Constructor |
public function KernelModel()Creates a new KernelModel instance.
| isLocked | () | method |
public function isLocked():Boolean
Returns true if the object is locked.
Boolean — true if the object is locked.
|
| lock | () | method |
public function lock():voidLocks the object.
| supports | () | method |
public function supports(value:*):Boolean
Returns true if the Validator object validate the value. Overrides this method in your concrete Model class.
Parameters
value:* — the object to validate.
|
Boolean — true is this specific value is valid.
|
| unlock | () | method |
public function unlock():voidUnlocks the display.
| validate | () | method |
public function validate(value:*):void
Evaluates the specified value and throw a TypeError object if the value is not valid.
Parameters
value:* |
Error — if the value is not valid.
|