wt.ixb.objectset
Class PagedObjectVisitor

java.lang.Object
  extended bywt.ixb.objectset.PagedObjectVisitor
All Implemented Interfaces:
ObjectVisitor
Direct Known Subclasses:
ObjectSetHelper.ComputeObjectSetVisitor

public abstract class PagedObjectVisitor
extends Object
implements ObjectVisitor

This is a base class for handling large size of objects during product structure navigation and export to avoid memory shortage problems.

Supported API: false

Extendable: false


Field Summary
private static String CLASSNAME
           
private  int pageSize
           
private static String RESOURCE
           
private  WTHashSet resultSet
           
 
Constructor Summary
PagedObjectVisitor(WTHashSet resultSet, int pageSize)
          

Supported API: false
 
Method Summary
 int getPageSize()
          Gets the value of the attribute: pageSize; The size limit that the resultSet can hold.
 WTHashSet getResultSet()
          Gets the value of the attribute: resultSet; The hash set WTHashSet to hold the visited objects.
 int getSize()
           
 void setPageSize(int a_PageSize)
          Sets the value of the attribute: pageSize; The size limit that the resultSet can hold.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface wt.ixb.objectset.ObjectVisitor
visit
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

resultSet

private WTHashSet resultSet

pageSize

private int pageSize
Constructor Detail

PagedObjectVisitor

public PagedObjectVisitor(WTHashSet resultSet,
                          int pageSize)


Supported API: false

Parameters:
resultSet -
pageSize -
Method Detail

getResultSet

public WTHashSet getResultSet()
Gets the value of the attribute: resultSet; The hash set WTHashSet to hold the visited objects.

Supported API: false

Returns:
WTHashSet

getPageSize

public int getPageSize()
Gets the value of the attribute: pageSize; The size limit that the resultSet can hold.

Supported API: false

Returns:
int

setPageSize

public void setPageSize(int a_PageSize)
                 throws WTPropertyVetoException
Sets the value of the attribute: pageSize; The size limit that the resultSet can hold.

Supported API: false

Parameters:
a_PageSize -
Throws:
WTPropertyVetoException

getSize

public int getSize()