Class: AttributeTypeList

AttributeTypeList

This class represents a list for AttributeType.

new AttributeTypeList()

Extends

Requires

  • module:easejs
  • module:AbstractList
  • module:AttributeType

Members

protectedcounterinteger

Number of items.

protecteditemsAttributeTypeList

ItemList

Methods

Clears this list.
Creates a clone of the current list.

contains(_item){boolean}

Verifies whether the given item is included in this list.
Name Type Description
_item AttributeType AttributeType that should be verified.

inherited containsKey(_key){boolean}

Verifies whether an item exists for the specified key.
Name Type Description
_key string Key that should be verified.

equals(_list){boolean}

Compare the specified AttributeTypeList with this instance.
Name Type Description
_list AttributeTypeList AttributeTypeList that should be compared.
Returns the attribute type that matches the provided identifier.
Name Type Description
_identifier string The identifier that should be searched for.

inherited virtualgetItems(){Array}

Returns all items.

inherited getKeys(){Array}

Returns the keys of all items.

inherited isEmpty(){boolean}

Verifies whether the list is empty.
Adds the specified item to the itemList.
Name Type Description
_attributeType AttributeType AttributeType

putAll(_attributeTypeList)

Adds all items in the specified list to the itemList.
Name Type Description
_attributeTypeList AttributeTypeList | Array AttributeTypeList

inherited removeItem(_key)

Removes the item from this list for the specified key.
Name Type Description
_key string key that should be searched for
Returns the number of items that are included.

withItems(_attributeTypeList){AttributeTypeList}

Builder for item list.
Name Type Description
_attributeTypeList AttributeTypeList AttributeTypeList