Namespace: OpenEdge.Core.Collections
Type: 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

LOGICAL Add (Object)

Parameters:
newObject Progress.Lang.Object
 
Returns LOGICAL
 
Top

LOGICAL AddAll (ICollection)

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

LOGICAL AddArray (Object[])

Parameters:
o Progress.Lang.Object
 
Returns LOGICAL
 
Top

Clear ()

Top

LOGICAL Contains (Object)

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

LOGICAL ContainsAll (ICollection)

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

LOGICAL IsEmpty ()

Returns LOGICAL
 
Top

OpenEdge.Core.Collections.IIterator Iterator ()

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

LOGICAL Remove (Object)

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

LOGICAL RemoveAll (ICollection)

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

LOGICAL RetainAll (ICollection)

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

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

ToTable (table-handle)

Parameters:
tt TABLE-HANDLE
 


Constructor Detail
Top

MapBackedCollection (IMap, handle, character)

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


Property Detail
Top

HANDLE KeyField

Returns HANDLE
 
Top

HANDLE OwningBuffer

Returns HANDLE
 
Top

OpenEdge.Core.Collections.IMap OwningMap

Returns OpenEdge.Core.Collections.IMap
 
Top

INTEGER Size

Returns INTEGER