Method Summary
Public Methods | ||
public |
Override of Backbone.Model.defaults. |
|
public |
initialize(options: object) Initializes the model. |
|
public |
Override of Backbone.Model.parse. |
Inherited Summary
From class BaseModel | ||
public |
Override of destroy to allow for generic handling. |
|
public |
Override of fetch to allow for generic handling. |
|
public |
Returns descriptive string for model. |
|
public |
parseIdFromUrl(url: string): string Parses ID out of resource type URL. |
|
public |
Override of save to allow for generic handling. |
|
public |
URL override to add trailing slash. |
Public Methods
public defaults(): object source
Override of Backbone.Model.defaults. Sets 'input_port_types' and 'output_port_types' to null.
TODO:
- is this needed?
public initialize(options: object) source
Initializes the model. Upon initialization the 'input_port_types' and 'output_port_types' will be set as Backbone.Collections.
Params:
Name | Type | Attribute | Description |
options | object | Backbone.Model options object; 'options.input_port_types' and 'options.output_port_types' may be given |