Copyright 2015 Randal L Kamradt Sr.
Object creation.
(require("meta-data/meta-create"))(json) → {Object}
factory for creating a set of model definitions from json.
This is mostly a container for a set of model definitions
and most functionality is in the model definitions themselves.
Parameters:
Name | Type | Description |
---|---|---|
json |
Object | the parsed json that defines the model |
- Source:
Returns:
An API Object
- Type
- Object
- Source:
Members
(inner) modelFactory
An API for dealing with object manipulation
- Source:
Methods
(inner) getModel(modelName) → {Object}
Find a model with a given name
Parameters:
Name | Type | Description |
---|---|---|
modelName |
String | the model name |
- Source:
Returns:
the Model
- Type
- Object