Namespace: OpenEdge.Core.Collections
Class
MapBackedCollection
Parent classes:
Inherits: Progress.Lang.Object
Implements: OpenEdge.Core.Collections.ICollection

Copyright (c) 2013, 2017 by Progress Software Corporation. All rights reserved.
File:BackedTTAbstractCollection
Author(s):pjudge
Created:Mon Dec 16 16:24:45 EST 2013




Method Summary
Options Name Purpose
LOGICAL Add (Object)
LOGICAL AddAll (ICollection)
LOGICAL AddArray (Object[])
Clear ()
LOGICAL Contains (Object) /* abstract because this could be a key or value */
LOGICAL ContainsAll (ICollection) /* abstract because this could be a collection of keys or values */
LOGICAL IsEmpty ()
OpenEdge.Core.Collections.IIterator Iterator () /* Returns a new IIterator over the collection. */
LOGICAL Remove (Object) /* abstract because this could be a collection of keys or values */
LOGICAL RemoveAll (ICollection) /* abstract because this could be a collection of keys or values */
LOGICAL RetainAll (ICollection) /* abstract because this could be a collection of keys or values */
Progress.Lang.Object ToArray () /* ToArray should not be used with large collections If there is too much data the ABL will throw: Attempt to update data exceeding 32000. (12371) */
ToTable (table-handle)

Constructor Summary
Options Name Purpose
MapBackedCollection (IMap, handle, character)

Property Summary
Options Name Purpose
HANDLE KeyField
HANDLE OwningBuffer
OpenEdge.Core.Collections.IMap OwningMap
INTEGER Size


Method Detail
Top

PUBLIC LOGICAL Add (Object)

Parameters:
newObject Progress.Lang.Object
Returns LOGICAL
Top

PUBLIC LOGICAL AddAll (ICollection)

Parameters:
newCollection OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PUBLIC LOGICAL AddArray (Object[])

Parameters:
o Progress.Lang.Object
Returns LOGICAL
Top

PUBLIC Clear ()

Top

PUBLIC LOGICAL Contains (Object)

/* abstract because this could be a key or value
Parameters:
checkObject Progress.Lang.Object
Returns LOGICAL
Top

PUBLIC LOGICAL ContainsAll (ICollection)

/* abstract because this could be a collection of keys or values
Parameters:
poCollection OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PUBLIC LOGICAL IsEmpty ()

Returns LOGICAL
Top

PUBLIC OpenEdge.Core.Collections.IIterator Iterator ()

/* Returns a new IIterator over the collection.
Returns OpenEdge.Core.Collections.IIterator
Top

PUBLIC LOGICAL Remove (Object)

/* abstract because this could be a collection of keys or values
Parameters:
poOld Progress.Lang.Object
Returns LOGICAL
Top

PUBLIC LOGICAL RemoveAll (ICollection)

/* abstract because this could be a collection of keys or values
Parameters:
poRemoveCol OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PUBLIC LOGICAL RetainAll (ICollection)

/* abstract because this could be a collection of keys or values
Parameters:
poRetainCollection OpenEdge.Core.Collections.ICollection
Returns LOGICAL
Top

PUBLIC Progress.Lang.Object ToArray ()

/* ToArray should not be used with large collections
If there is too much data the ABL will throw:
Attempt to update data exceeding 32000. (12371)
Returns Progress.Lang.Object
Top

PUBLIC ToTable (table-handle)

Parameters:
tt TABLE-HANDLE


Constructor Detail
Top

PUBLIC MapBackedCollection (IMap, handle, character)

Parameters:
poMap OpenEdge.Core.Collections.IMap
phTT HANDLE
pcValuefield CHARACTER


Property Detail
Top

PROTECTED HANDLE KeyField

Returns HANDLE
Top

PROTECTED HANDLE OwningBuffer

Returns HANDLE
Top

PROTECTED OpenEdge.Core.Collections.IMap OwningMap

Returns OpenEdge.Core.Collections.IMap
Top

PUBLIC INTEGER Size

Returns INTEGER


Copyright © 2019 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 12.0.0