wt.epm.structure
Class EPMNavigateUtility.IdSet

java.lang.Object
  extended bywt.epm.structure.EPMNavigateUtility.IdSet
Enclosing class:
EPMNavigateUtility

protected static class EPMNavigateUtility.IdSet
extends Object

Represents a collection of one or more object identifiers.


Field Summary
private  long[] databaseIDs
           
private  HashSet objectIDs
           
 
Constructor Summary
protected EPMNavigateUtility.IdSet(OidHolder[] oidHolders)
          Constructs a set of object identifiers from an array of OidHolders removing duplicates.
protected EPMNavigateUtility.IdSet(Persistable object)
           
protected EPMNavigateUtility.IdSet(Persistable[] objects)
          Constructs a set of object identifiers from an array of Persistable objects removing duplicates.
protected EPMNavigateUtility.IdSet(Versioned[] objects)
          Constructs a set of Branch identifiers from an array of Persistable objects removing duplicates.
 
Method Summary
protected  long[] getDatabaseIDs()
           
protected  Collection getObjectIDs()
           
protected  SearchCondition getSearchCondition(Class objectClass, String attribute)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objectIDs

private HashSet objectIDs

databaseIDs

private long[] databaseIDs
Constructor Detail

EPMNavigateUtility.IdSet

protected EPMNavigateUtility.IdSet(Persistable object)

EPMNavigateUtility.IdSet

protected EPMNavigateUtility.IdSet(OidHolder[] oidHolders)
                            throws WTException
Constructs a set of object identifiers from an array of OidHolders removing duplicates.


EPMNavigateUtility.IdSet

protected EPMNavigateUtility.IdSet(Persistable[] objects)
Constructs a set of object identifiers from an array of Persistable objects removing duplicates.


EPMNavigateUtility.IdSet

protected EPMNavigateUtility.IdSet(Versioned[] objects)
                            throws WTException
Constructs a set of Branch identifiers from an array of Persistable objects removing duplicates.

Method Detail

getSearchCondition

protected SearchCondition getSearchCondition(Class objectClass,
                                             String attribute)
                                      throws WTException
Throws:
WTException

getDatabaseIDs

protected long[] getDatabaseIDs()

getObjectIDs

protected Collection getObjectIDs()