Primitive Collection (PRIM_PCOL)

Base class for all collection types

Ancestors - Collection (PRIM_COLL)Object (PRIM_OBJT)

Details

The Primitive Collection (PRIM_PCOL) is the base class for all LANSA collection types.
 
Array Collection
List Collection
Keyed Collection
Dictionary Collection
Sorted Array Collection
Sorted Dictionary Collection
 

Properties

Name Description
AllowsDuplicates AllowsDuplicates indicates whether the collection allows duplicates Inherited from Collection (PRIM_COLL)
ComponentClassName ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembers ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternName ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTag Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentType ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeName ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
IsEmpty IsEmpty indicates whether the collection contains any items. Inherited from Collection (PRIM_COLL)
IsOrdered IsOrdered indicates whether the collection is ordered. Inherited from Collection (PRIM_COLL)
Item Provides access to a particular item in a collection
ItemCount ItemCount is the number of items in a collection Inherited from Collection (PRIM_COLL)
Name Name identifies the component Inherited from Object (PRIM_OBJT)
Owner Owner owns this component Inherited from Object (PRIM_OBJT)
Parent The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT)

Events

Name Description
CreateInstance CreateInstance is signalled when an instance of a component is created Inherited from Object (PRIM_OBJT)
DestroyInstance DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Object (PRIM_OBJT)

Methods

Name Description
CalculateHash CalculateHash calculates a hash value Inherited from Collection (PRIM_COLL)
Result, Value
CreateIterator CreateIterator method creates an iterator component that enables iteration through the collection
Result

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020