Class: CardinalityValue

CardinalityValue(card, value)

new CardinalityValue(card, value)

Creates a new instance of CardinalityValue.
Parameters:
Name Type Description
card String
value Object
Source:

Methods

(static) list(value) → {CardinalityValue}

Create a value with list cardinality.
Parameters:
Name Type Description
value Array
Source:
Returns:
Type
CardinalityValue

(static) set(value) → {CardinalityValue}

Create a value with set cardinality.
Parameters:
Name Type Description
value Array
Source:
Returns:
Type
CardinalityValue

(static) single(value) → {CardinalityValue}

Create a value with single cardinality.
Parameters:
Name Type Description
value Array
Source:
Returns:
Type
CardinalityValue