Class: EMLMissingValueCodes

EMLMissingValueCodes()

A collection of EMLMissingValueCodes.

Constructor

new EMLMissingValueCodes()

Since:
  • 2.26.0
Source:

Extends

  • Backbone.Collection

Members

model :Backbone.Model

The reference to the model class that this collection is made of.
Type:
  • Backbone.Model
Source:

Methods

parse(objectDOM)

Parse the incoming XML nodes
Parameters:
Name Type Description
objectDOM jQuery | Element The XML DOM element that represents
Source:

removeEmptyModels()

Remove any empty models from the collection
Source:

updateDOM() → {Array.<Element>}

Update the DOM with the current model state for each model in the collection, then return the set of updated DOMs.
Source:
Returns:
An array of updated DOM elements
Type
Array.<Element>

validate() → {Array}

Validate the collection of missing value codes. This will remove any empty models from the collection.
Source:
Returns:
An array of error messages
Type
Array