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

NameDescription
AllowsDuplicatesAllowsDuplicates indicates whether the collection allows duplicates Inherited from Collection (PRIM_COLL)
ComponentClassNameComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)
ComponentMembersComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)
ComponentPatternNameComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)
ComponentTagGeneric space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)
ComponentTypeComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)
ComponentTypeNameComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)
IsEmptyIsEmpty indicates whether the collection contains any items. Inherited from Collection (PRIM_COLL)
IsOrderedIsOrdered indicates whether the collection is ordered. Inherited from Collection (PRIM_COLL)
ItemProvides access to a particular item in a collection
ItemCountItemCount is the number of items in a collection Inherited from Collection (PRIM_COLL)
NameName identifies the component Inherited from Object (PRIM_OBJT)
OwnerOwner owns this component Inherited from Object (PRIM_OBJT)
ParentThe 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

NameDescription
CreateInstanceCreateInstance is signalled when an instance of a component is created Inherited from Object (PRIM_OBJT)
DestroyInstanceDestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Object (PRIM_OBJT)

Methods

NameDescription
CalculateHashCalculateHash calculates a hash value Inherited from Collection (PRIM_COLL)
Result, Value
CreateIteratorCreateIterator method creates an iterator component that enables iteration through the collection
Result

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2