Class: EntityBase

(protected) EntityBase()

Base entity.

Constructor

(protected) new EntityBase()

Author:
  • Bruno Morceli - pirofagista@gmail.com
Source:

Methods

setData(rawData) → {this}

Set all fields of a object.
Parameters:
Name Type Description
rawData object Raw data containing all object information.
Source:
Returns:
Current context.
Type
this

toJSON() → {object}

Create a new JavaScript Object Literal containing all class properties.
Source:
Returns:
Type
object