Class: CertificationtypeWithoutRequiredConstraint

CertificationtypeWithoutRequiredConstraint(data)

certificationtype-without-required-constraint model class

Constructor

new CertificationtypeWithoutRequiredConstraint(data)

Create a new certificationtype-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

CertificationtypeWithoutRequiredConstraint
CertificationtypeWithoutRequiredConstraint

Members

categories :Array.<certificationcategory>

Array of certificationcategory's or array of FK's when creating / updating / not populated

Type:
  • Array.<certificationcategory>
Source:

categories :Array.<certificationcategory>

Array of certificationcategory's or array of FK's when creating / updating / not populated

Type:
  • Array.<certificationcategory>
Source:

certifications :Array.<certification>

Array of certification's or array of FK's when creating / updating / not populated

Type:
  • Array.<certification>
Source:

certifications :Array.<certification>

Array of certification's or array of FK's when creating / updating / not populated

Type:
  • Array.<certification>
Source:

classificationLevels :Array.<classificationlevel>

Array of classificationlevel's or array of FK's when creating / updating / not populated

Type:
  • Array.<classificationlevel>
Source:

classificationLevels :Array.<classificationlevel>

Array of classificationlevel's or array of FK's when creating / updating / not populated

Type:
  • Array.<classificationlevel>
Source:

code :string

Unique identifier code for the certification type

Type:
  • string
Source:

code :string

Unique identifier code for the certification type

Type:
  • string
Source:

createdAt :number

Type:
  • number
Source:

createdAt :number

Type:
  • number
Source:

createdBy :any

The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

createdBy :any

The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

defaultValidityPeriod :number

Default validity period in months (if applicable)

Type:
  • number
Source:

defaultValidityPeriod :number

Default validity period in months (if applicable)

Type:
  • number
Source:

description :string

Detailed description of the certification type

Type:
  • string
Source:

description :string

Detailed description of the certification type

Type:
  • string
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

name :string

Display name of the certification type

Type:
  • string
Source:

name :string

Display name of the certification type

Type:
  • string
Source:

requiresRenewal :boolean

Whether this certification type requires periodic renewal

Type:
  • boolean
Source:

requiresRenewal :boolean

Whether this certification type requires periodic renewal

Type:
  • boolean
Source:

updatedAt :number

Type:
  • number
Source:

updatedAt :number

Type:
  • number
Source:

Methods

toJSON() → {Object}

Convert the model to a plain object

Source:
Returns:
  • Plain object representation
Type
Object

toJSON() → {Object}

Convert the model to a plain object

Source:
Returns:
  • Plain object representation
Type
Object

validate() → {Object}

Validate the model

Source:
Returns:
  • Validation result {valid: boolean, errors: Object}
Type
Object

validate() → {Object}

Validate the model

Source:
Returns:
  • Validation result {valid: boolean, errors: Object}
Type
Object

(static) fromJSON(data)

Create a certificationtype-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CertificationtypeWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

Create a certificationtype-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CertificationtypeWithoutRequiredConstraint - New model instance

CertificationtypeWithoutRequiredConstraintCertificationtypeWithoutRequiredConstraint(data)

certificationtype-without-required-constraint model class

Constructor

new CertificationtypeWithoutRequiredConstraint(data)

Create a new certificationtype-without-required-constraint instance

Parameters:
Name Type Description
data Object

Initial data

Source:

Classes

CertificationtypeWithoutRequiredConstraint
CertificationtypeWithoutRequiredConstraint

Members

categories :Array.<certificationcategory>

Array of certificationcategory's or array of FK's when creating / updating / not populated

Type:
  • Array.<certificationcategory>
Source:

categories :Array.<certificationcategory>

Array of certificationcategory's or array of FK's when creating / updating / not populated

Type:
  • Array.<certificationcategory>
Source:

certifications :Array.<certification>

Array of certification's or array of FK's when creating / updating / not populated

Type:
  • Array.<certification>
Source:

certifications :Array.<certification>

Array of certification's or array of FK's when creating / updating / not populated

Type:
  • Array.<certification>
Source:

classificationLevels :Array.<classificationlevel>

Array of classificationlevel's or array of FK's when creating / updating / not populated

Type:
  • Array.<classificationlevel>
Source:

classificationLevels :Array.<classificationlevel>

Array of classificationlevel's or array of FK's when creating / updating / not populated

Type:
  • Array.<classificationlevel>
Source:

code :string

Unique identifier code for the certification type

Type:
  • string
Source:

code :string

Unique identifier code for the certification type

Type:
  • string
Source:

createdAt :number

Type:
  • number
Source:

createdAt :number

Type:
  • number
Source:

createdBy :any

The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

createdBy :any

The user who created this record JSON dictionary representing the person instance or FK when creating / updating / not populated

Type:
  • any
Source:

defaultValidityPeriod :number

Default validity period in months (if applicable)

Type:
  • number
Source:

defaultValidityPeriod :number

Default validity period in months (if applicable)

Type:
  • number
Source:

description :string

Detailed description of the certification type

Type:
  • string
Source:

description :string

Detailed description of the certification type

Type:
  • string
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

id :integer

Note Sails special attributes: autoIncrement

Type:
  • integer
Source:

name :string

Display name of the certification type

Type:
  • string
Source:

name :string

Display name of the certification type

Type:
  • string
Source:

requiresRenewal :boolean

Whether this certification type requires periodic renewal

Type:
  • boolean
Source:

requiresRenewal :boolean

Whether this certification type requires periodic renewal

Type:
  • boolean
Source:

updatedAt :number

Type:
  • number
Source:

updatedAt :number

Type:
  • number
Source:

Methods

toJSON() → {Object}

Convert the model to a plain object

Source:
Returns:
  • Plain object representation
Type
Object

toJSON() → {Object}

Convert the model to a plain object

Source:
Returns:
  • Plain object representation
Type
Object

validate() → {Object}

Validate the model

Source:
Returns:
  • Validation result {valid: boolean, errors: Object}
Type
Object

validate() → {Object}

Validate the model

Source:
Returns:
  • Validation result {valid: boolean, errors: Object}
Type
Object

(static) fromJSON(data)

Create a certificationtype-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CertificationtypeWithoutRequiredConstraint - New model instance

(static) fromJSON(data)

Create a certificationtype-without-required-constraint instance from JSON data

Parameters:
Name Type Description
data Object

JSON data

Source:
Returns:

CertificationtypeWithoutRequiredConstraint - New model instance