com.ptc.windchill.upgrade.history
Class UpgradePhase

java.lang.Object
  extended bycom.ptc.windchill.upgrade.history.Invalidateable
      extended bycom.ptc.windchill.upgrade.history.UpgradePhase

public final class UpgradePhase
extends Invalidateable


Field Summary
private  Boolean complete_
           
private  int id_
           
private  Installation installation_
           
private  ArrayList iuApplications_
           
private  HashMap iuApplicationsKeyedCache_
           
private  IUHPersistenceDelegate persistenceDelegate_
           
private  UpgradePhaseType phaseType_
           
 
Constructor Summary
(package private) UpgradePhase(IUHPersistenceDelegate persistence_delegate, Installation installation, int id, UpgradePhaseType phase_type, boolean complete)
           
 
Method Summary
 IUApplication addIUApplication(UUID uuid, String name)
           
protected  void assertValidity()
           
(package private)  IUApplication findIUApplicationFor(UUID uuid)
           
(package private)  int getId()
           
 Installation getInstallation()
           
 IUApplication[] getIUApplications()
           
 UpgradePhaseType getPhaseType()
           
 boolean isComplete()
           
 void markComplete()
           
(package private)  void markIncomplete()
           
protected  void onInvalidate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

persistenceDelegate_

private IUHPersistenceDelegate persistenceDelegate_

installation_

private Installation installation_

id_

private int id_

phaseType_

private UpgradePhaseType phaseType_

complete_

private Boolean complete_

iuApplications_

private ArrayList iuApplications_

iuApplicationsKeyedCache_

private HashMap iuApplicationsKeyedCache_
Constructor Detail

UpgradePhase

UpgradePhase(IUHPersistenceDelegate persistence_delegate,
             Installation installation,
             int id,
             UpgradePhaseType phase_type,
             boolean complete)
Method Detail

getInstallation

public Installation getInstallation()

getIUApplications

public IUApplication[] getIUApplications()
                                  throws IUHException
Throws:
IUHException

addIUApplication

public IUApplication addIUApplication(UUID uuid,
                                      String name)
                               throws IUHException
Throws:
IUHException

findIUApplicationFor

IUApplication findIUApplicationFor(UUID uuid)
                             throws IUHException
Returns:
possibly null IUApplication
Throws:
IUHException

markComplete

public void markComplete()
                  throws IUHException
Throws:
IUHException

markIncomplete

void markIncomplete()
              throws IUHException
Throws:
IUHException

getId

int getId()

isComplete

public boolean isComplete()
                   throws IUHException
Throws:
IUHException

getPhaseType

public UpgradePhaseType getPhaseType()

onInvalidate

protected void onInvalidate()
Overrides:
onInvalidate in class Invalidateable

assertValidity

protected void assertValidity()