|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.clients.replication.unit.ConfigSpecItem
ConfigSpecItem is a wrapper class for manipulating wt.vc.config.ConfigSpec objects.
It provides useful methods for creating, displaying, and modifying ConfigSpec objects.
Supported API: false
Extendable: false
ConfigSpec
Field Summary | |
private Baseline |
baseline
|
private boolean |
checkedOut
|
private WTPartConfigSpec |
configSpec
|
private View |
realView
|
private State |
state
|
private String |
view
|
Constructor Summary | |
ConfigSpecItem()
Construct a default ConfigSpecItem. |
|
ConfigSpecItem(WTPartConfigSpec spec)
Construct a ConfigSpecItem to contain the specified ConfigSpec. |
Method Summary | |
Baseline |
getBaseline()
Return the Baseline specified in the BaselineQualification |
WTPartConfigSpec |
getConfigSpec()
Return the contained ConfigSpec. |
ConfigurationItem |
getConfigurationItem()
|
WTPartBaselineConfigSpec |
getPartBaselineConfigSpec()
|
WTPartEffectivityConfigSpec |
getPartEffectivityConfigSpec()
|
WTPartStandardConfigSpec |
getPartStandardConfigSpec()
|
State |
getState()
Return the State specified in the LifeCycleQualification |
View |
getView()
Get the name of the view specified in the ViewQualification. |
boolean |
isBaselineActive()
|
boolean |
isCheckedOut()
Return the checkout flag from the WorkInProgressQualification |
boolean |
isEffectivityActive()
|
boolean |
isStandardActive()
|
void |
save(boolean persistChanges)
Save the contained ConfigSpec. |
void |
setBaseline(Baseline a_baseline)
Set the Baseline specified in the BaselineQualification |
void |
setBaselineActive()
|
void |
setCheckedOut(boolean a_checkedOut)
Set the checkout flag for the WorkInProgressQualification |
void |
setConfigSpec(WTPartConfigSpec spec)
Set the contained ConfigSpec |
void |
setConfigurationItem(ConfigurationItem ci)
|
void |
setEffectivityActive()
|
void |
setPartBaselineConfigSpec(WTPartBaselineConfigSpec a_PartBaselineConfigSpec)
|
void |
setPartEffectivityConfigSpec(WTPartEffectivityConfigSpec a_PartEffectivityConfigSpec)
|
void |
setPartStandardConfigSpec(WTPartStandardConfigSpec a_PartStandardConfigSpec)
|
void |
setStandardActive()
|
void |
setState(State a_state)
Set the State specified in the LifeCycleQualification |
void |
setView(View a_view)
Set the View name specified in the ViewQualification |
String |
toString()
Return a string used for debugging. |
void |
validate()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private WTPartConfigSpec configSpec
private String view
private View realView
private boolean checkedOut
private State state
private Baseline baseline
Constructor Detail |
public ConfigSpecItem() throws WTException
WTException
- if there is an error creating the contained ConfigSpecpublic ConfigSpecItem(WTPartConfigSpec spec)
spec
- the ConfigSpec to contain.Method Detail |
public WTPartConfigSpec getConfigSpec()
public void setConfigSpec(WTPartConfigSpec spec)
public ConfigurationItem getConfigurationItem()
public void setConfigurationItem(ConfigurationItem ci) throws WTPropertyVetoException
WTPropertyVetoException
public Baseline getBaseline()
public void setBaseline(Baseline a_baseline) throws WTPropertyVetoException
WTPropertyVetoException
public State getState()
public void setState(State a_state)
public View getView()
public void setView(View a_view) throws WTPropertyVetoException
a_view
- the view name to specify in the ViewQualification
WTPropertyVetoException
public boolean isCheckedOut()
public void setCheckedOut(boolean a_checkedOut) throws WTPropertyVetoException
a_checkedOut
- the checkout flag to use in the WorkInProgressQualification
WTPropertyVetoException
public void save(boolean persistChanges) throws WTException
persistChanges
- if true, persist the ConfigSpec to the database. Otherwise, save
for use in the current PartExplorer.
WTException
public String toString()
public void setPartBaselineConfigSpec(WTPartBaselineConfigSpec a_PartBaselineConfigSpec)
public WTPartBaselineConfigSpec getPartBaselineConfigSpec()
public void setPartEffectivityConfigSpec(WTPartEffectivityConfigSpec a_PartEffectivityConfigSpec)
public WTPartEffectivityConfigSpec getPartEffectivityConfigSpec()
public void setPartStandardConfigSpec(WTPartStandardConfigSpec a_PartStandardConfigSpec)
public WTPartStandardConfigSpec getPartStandardConfigSpec()
public void setBaselineActive()
public boolean isBaselineActive()
public void setStandardActive()
public boolean isStandardActive()
public void setEffectivityActive()
public boolean isEffectivityActive()
public void validate() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |