wt.container.batch.impl
Class BatchContainerImpl

java.lang.Object
  extended bywt.container.batch.impl.BatchContainerImpl
All Implemented Interfaces:
BatchContainer, Serializable
Direct Known Subclasses:
RoleBatchContainerImpl

public class BatchContainerImpl
extends Object
implements BatchContainer, Serializable

Class used to implement a general purpose BatchContainer. The set of objects associated with instances of this BatchContainer is determined by the application.

Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  com.objectspace.jgl.HashSet elements
           
private static String RESOURCE
           
private  TransactionContainerImpl transactionContainer
           
 
Fields inherited from interface wt.container.batch.BatchContainer
ELEMENTS
 
Constructor Summary
BatchContainerImpl(TransactionContainer txnContainer)
          

Supported API: false
 
Method Summary
 boolean add(Object element)
          

Supported API: false
 boolean clearAll()
          

Supported API: false
 boolean contains(Object element)
          

Supported API: false
 Enumeration elements()
          

Supported API: false
 boolean populate(Enumeration a_Elements)
          

Supported API: false
 boolean populate(Object a_Element)
          Operation to allow the pre-population of container elements.
 boolean remove(Object element)
          

Supported API: false
 boolean replace(Object element)
          

Supported API: false
 int size()
          

Supported API: false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

transactionContainer

private TransactionContainerImpl transactionContainer

elements

private com.objectspace.jgl.HashSet elements
Constructor Detail

BatchContainerImpl

public BatchContainerImpl(TransactionContainer txnContainer)


Supported API: false

Parameters:
txnContainer -
Method Detail

add

public boolean add(Object element)


Supported API: false

Specified by:
add in interface BatchContainer
Parameters:
element -
Returns:
boolean

remove

public boolean remove(Object element)


Supported API: false

Specified by:
remove in interface BatchContainer
Parameters:
element -
Returns:
boolean

replace

public boolean replace(Object element)


Supported API: false

Specified by:
replace in interface BatchContainer
Parameters:
element -
Returns:
boolean

elements

public Enumeration elements()


Supported API: false

Specified by:
elements in interface BatchContainer
Returns:
Enumeration

contains

public boolean contains(Object element)


Supported API: false

Specified by:
contains in interface BatchContainer
Parameters:
element -
Returns:
boolean

size

public int size()


Supported API: false

Specified by:
size in interface BatchContainer
Returns:
int

clearAll

public boolean clearAll()


Supported API: false

Returns:
boolean

populate

public boolean populate(Enumeration a_Elements)


Supported API: false

Specified by:
populate in interface BatchContainer
Parameters:
a_Elements -
Returns:
boolean

populate

public boolean populate(Object a_Element)
Operation to allow the pre-population of container elements. This allows objects to be added to the container without creating a corresponding Assertion. Returns true if the BatchContainer changed due to this operation.

Supported API: false

Specified by:
populate in interface BatchContainer
Parameters:
a_Element -
Returns:
boolean