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

Copyright (c) 2013 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 ()
# A LOGICAL Contains (Object) /* abstract because this could be a key or value */
# A 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. */
# A LOGICAL Remove (Object) /* abstract because this could be a collection of keys or values */
# A LOGICAL RemoveAll (ICollection) /* abstract because this could be a collection of keys or values */
# A 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

PROTECTED LOGICAL Add (Object)

Parameters:
newObject Progress.Lang.Object
Returns LOGICAL
Top

PROTECTED LOGICAL AddAll (ICollection)

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

PROTECTED LOGICAL AddArray (Object[])

Parameters:
o Progress.Lang.Object
Returns LOGICAL
Top

PROTECTED Clear ()

Top

PROTECTED LOGICAL Contains (Object)

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

PROTECTED LOGICAL ContainsAll (ICollection)

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

PROTECTED LOGICAL IsEmpty ()

Returns LOGICAL
Top

PROTECTED OpenEdge.Core.Collections.IIterator Iterator ()

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

PROTECTED LOGICAL Remove (Object)

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

PROTECTED LOGICAL RemoveAll (ICollection)

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

PROTECTED LOGICAL RetainAll (ICollection)

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

PROTECTED 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

PROTECTED ToTable (table-handle)

Parameters:
tt TABLE-HANDLE


Constructor Detail
Top

PROTECTED 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

PROTECTED INTEGER Size

Returns INTEGER


10.27.2015 12:36:24