com.plumtree.portalpages.admin.ptutilities.migrationutility.exp
Class DependencyBundle

java.lang.Object
  extended by com.plumtree.portalpages.admin.ptutilities.migrationutility.exp.DependencyBundle

public class DependencyBundle
extends java.lang.Object

Author:
jennifersu

Field Summary
protected  int m_nObjectID
          Object ID of this IPTMigrationElement
protected  IPTMigrationElement m_ptME
          The IPTMigrationElement that this is a dependency bundle for
protected  XPArrayList m_xparDependencies
          XPArrayList of all dependent IPTMigrationElements
protected  XPHashtable m_xphtUUIDs
          XPHashtable of dependents.
 
Constructor Summary
DependencyBundle(IPTMigrationElement ptME, int nObjectID)
           
 
Method Summary
 void AddDependentObject(IPTMigrationElement ptME)
          Adds an IPTMigrationElement as a dependent on the main object.
 boolean DependencyExistsInBundle(java.lang.String strUUID)
          Looks up the UUID to see if it is a dependent in this bundle.
 XPArrayList GetDependentObjects()
          Get the array list of dependent objects (IPTMigrationElements)
 IPTMigrationElement GetMainObject()
          Get the IPTMigrationELement that this bundle depends on
 int GetMainObjectID()
          Get the object ID of the main IPTMigrationElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_ptME

protected IPTMigrationElement m_ptME
The IPTMigrationElement that this is a dependency bundle for


m_xparDependencies

protected XPArrayList m_xparDependencies
XPArrayList of all dependent IPTMigrationElements


m_xphtUUIDs

protected XPHashtable m_xphtUUIDs
XPHashtable of dependents. Key=UUID; Value=IPTMigrationElement


m_nObjectID

protected int m_nObjectID
Object ID of this IPTMigrationElement

Constructor Detail

DependencyBundle

public DependencyBundle(IPTMigrationElement ptME,
                        int nObjectID)
Parameters:
ptME -
nObjectID -
Method Detail

GetMainObject

public IPTMigrationElement GetMainObject()
Get the IPTMigrationELement that this bundle depends on

Returns:
IPTMigrationElement

GetDependentObjects

public XPArrayList GetDependentObjects()
Get the array list of dependent objects (IPTMigrationElements)

Returns:
XPArrayList

GetMainObjectID

public int GetMainObjectID()
Get the object ID of the main IPTMigrationElement

Returns:
int

AddDependentObject

public void AddDependentObject(IPTMigrationElement ptME)
Adds an IPTMigrationElement as a dependent on the main object.

Parameters:
ptME -

DependencyExistsInBundle

public boolean DependencyExistsInBundle(java.lang.String strUUID)
Looks up the UUID to see if it is a dependent in this bundle.

Parameters:
strUUID -
Returns:
boolean



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.