Class: SchemaUnitClass

SchemaUnitClass(name, booleanAttributes, valueAttributes, units)

SchemaUnitClass class

Constructor

new SchemaUnitClass(name, booleanAttributes, valueAttributes, units)

Constructor.
Parameters:
Name Type Description
name string The name of this unit class.
booleanAttributes Set.<SchemaAttribute> The boolean attributes for this unit class.
valueAttributes Map.<SchemaAttribute, *> The value attributes for this unit class.
units Map.<string, SchemaUnit> The units for this unit class.
Source:

Classes

SchemaUnitClass

Members

_units :Map.<string, SchemaUnit>

The units for this unit class.
Type:
Source:

defaultUnit

Get the default unit for this unit class.
Source:

units

Get the units for this unit class.
Source:

Methods

extractUnit() → {Array}

Extracts the Unit class and remainder
Source:
Returns:
[SchemaUnit, string, string] containing unit class, unit string, and value string
Type
Array