abstract ArchBaseNameValuePairs(coreNameValuePairs)

new abstract ArchBaseNameValuePairs(coreNameValuePairs)

Creates a new ArchBaseNameValuePairs instance.

Parameters:
Name Type Description
coreNameValuePairs Object

( Internal ) an Architect core name value pair object.

Extends

Members

static, readonly displayTypeName :string

Returns the display type name string 'ArchBaseNameValuePairs'.

static, readonly isArchBaseNameValuePairs :boolean

Returns true indicating that this is an ArchBaseNameValuePairs instance.

readonly isArchBaseValueContainer :boolean

Returns true indicating that this is an ArchBaseValueContainer instance.

Inherited From:

length :number

Returns the number of name value pairs contained within this ArchBaseNameValuePairs.

Methods

getNamedValueByIndex(index) → {ArchBaseNameValuePair}

Gets the name value pair at the given index.

Parameters:
Name Type Description
index number

the zero based index of the name value pair to retrieve. This value should be a non-negative integer. For example, to retrieve the first name value pair, pass in 0 assuming there is at least one name value pair in this instance.

Throws:

Attempting to access an item at an invalid index will throw an error.