Package wt.part
Class WTPartConfigSpec
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.enterprise._Simple
wt.enterprise.Simple
wt.part._WTPartConfigSpec
wt.part.WTPartConfigSpec
- All Implemented Interfaces:
Externalizable,Serializable,wt.access._AccessControlled,wt.access._PolicyAccessControlled,wt.access._SecurityLabeled,AccessControlled,wt.access.PolicyAccessControlled,SecurityLabeled,wt.admin._DomainAdministered,DomainAdministered,wt.fc._NetFactor,wt.fc._ObjectMappable,wt.fc._Persistable,wt.fc.adminlock._AdministrativelyLockable,AdministrativelyLockable,wt.fc.BusinessInformation,NetFactor,ObjectMappable,Persistable,DisplayIdentification,wt.notify._Notifiable,Notifiable,wt.ownership._Ownable,wt.ownership.Ownable,wt.vc.config._PersistableConfigSpec,ConfigSpec,wt.vc.config.PersistableConfigSpec
@GenAsPersistable(superClass=Simple.class,interfaces={wt.ownership.Ownable.class,wt.vc.config.PersistableConfigSpec.class},versions={1190597049873292629L,-5366828040797622042L},properties={@GeneratedProperty(name="baselineActive",type=boolean.class,supportedAPI=PUBLIC,javaDoc="If true, the WTPartBaselineConfigSpec is active.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="effectivityActive",type=boolean.class,supportedAPI=PUBLIC,javaDoc="If true, the WTPartEffectivityConfigSpec is active.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="promotionNoticeActive",type=boolean.class,supportedAPI=PUBLIC,javaDoc="If true, the WTPartPromotionNoticeConfigSpec is active.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="standardActive",type=boolean.class,initialValue="true",supportedAPI=PUBLIC,javaDoc="If true, the WTPartStandardConfigSpec is active.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="sandboxActive",type=boolean.class,supportedAPI=PUBLIC,javaDoc="If true, the SandboxConfigSpec is active.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="plantStandardActive",type=boolean.class,supportedAPI=PUBLIC,javaDoc="If true, the PlantStandardConfigSpec is active.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="plantEffectivityActive",type=boolean.class,supportedAPI=PUBLIC,javaDoc="If true, the PlantEffectivityConfigSpec is active.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="sandbox",type=SandboxConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={}),columnProperties=@ColumnProperties(columnType=SMALL_BLOB)),@GeneratedProperty(name="standard",type=WTPartStandardConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="baseline",type=WTPartBaselineConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="effectivity",type=WTPartEffectivityConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="promotionNotice",type=WTPartPromotionNoticeConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="asMaturedActive",type=boolean.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="asMatured",type=WTPartAsMaturedConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="lotBaselineActive",type=boolean.class,supportedAPI=PUBLIC,javaDoc="If true, the LotBaselineConfigSpec is active.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="lotBaseline",type=LotBaselineConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="plantStandard",type=PlantStandardConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="plantEffectivity",type=PlantEffectivityConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="customActive",type=boolean.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="custom",type=WTPartCustomConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="changeActive",type=boolean.class,supportedAPI=PUBLIC,javaDoc="If true, the WTPartChangeConfigSpec is active.",accessors=@PropertyAccessors(setExceptions={})),@GeneratedProperty(name="change",type=WTPartChangeConfigSpec.class,supportedAPI=PUBLIC,accessors=@PropertyAccessors(setExceptions={}))},tableProperties=@TableProperties(compositeUnique1="+NVL(NULLIF(ownership.owner.key.id,0), idA2A2)"),iconProperties=@IconProperties(standardIcon="wt/clients/images/configspec.gif",openIcon="wt/clients/images/configspec.gif"))
public class WTPartConfigSpec
extends _WTPartConfigSpec
The reference implementation of a user visible config spec, used to select WTParts, which aggregates
WTPartBaselineConfigSpec, WTPartEffectivityConfigSpec, WTPartPromotionNoticeConfigSpec,
SandboxConfigSpec, WTPartAsMaturedConfigSpec, LotBaselineConfigSpec and
WTPartStandardConfigSpec. Only one of these aggregated config specs may be active at one time.
Use the newWTPartConfigSpec static factory method(s), not the WTPartConfigSpec constructor,
to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure
proper initialization of the instance.
Supported API: true
Extendable: false
- See Also:
-
Field Summary
Fields inherited from class wt.part._WTPartConfigSpec
AS_MATURED, AS_MATURED_ACTIVE, BASELINE, BASELINE_ACTIVE, CHANGE, CHANGE_ACTIVE, CUSTOM, CUSTOM_ACTIVE, EFFECTIVITY, EFFECTIVITY_ACTIVE, LOT_BASELINE, LOT_BASELINE_ACTIVE, PLANT_EFFECTIVITY, PLANT_EFFECTIVITY_ACTIVE, PLANT_STANDARD, PLANT_STANDARD_ACTIVE, PROMOTION_NOTICE, PROMOTION_NOTICE_ACTIVE, SANDBOX, SANDBOX_ACTIVE, STANDARD, STANDARD_ACTIVE -
Method Summary
Modifier and TypeMethodDescriptionGet the active ConfigSpec.protected voidinitialize(LotBaselineConfigSpec lotBaselineCS) Supports initialization, following construction of an instance.protected voidinitialize(PlantEffectivityConfigSpec plantEffectivity) Supports initialization, following construction of an instance.protected voidinitialize(PlantStandardConfigSpec plantStandard) Supports initialization, following construction of an instance.protected voidinitialize(WTPartAsMaturedConfigSpec asMatured) Supports initialization, following construction of an instance.protected voidinitialize(WTPartBaselineConfigSpec baseline) Supports initialization, following construction of an instance.protected voidinitialize(WTPartBaselineConfigSpec baseline, WTPartEffectivityConfigSpec effectivity, WTPartPromotionNoticeConfigSpec promotionNotice, WTPartStandardConfigSpec standard) Supports initialization, following construction of an instance.protected voidinitialize(WTPartBaselineConfigSpec baseline, WTPartEffectivityConfigSpec effectivity, WTPartStandardConfigSpec standard) Supports initialization, following construction of an instance.protected voidinitialize(WTPartChangeConfigSpec change) Supports initialization, following construction of an instance.protected voidinitialize(WTPartEffectivityConfigSpec effectivity) Supports initialization, following construction of an instance.protected voidinitialize(WTPartPromotionNoticeConfigSpec promotionNotice) Supports initialization, following construction of an instance.protected voidinitialize(WTPartStandardConfigSpec standard) Supports initialization, following construction of an instance.protected voidinitialize(SandboxConfigSpec sandbox) Supports initialization, following construction of an instance.static WTPartConfigSpec
Supported API: truestatic WTPartConfigSpecnewWTPartConfigSpec(LotBaselineConfigSpec lotBaselineCS) Wraps the input lot baseline configuration specification in a newly created WTPartConfigSpec instance, and returns the latter after initializing it as appropriate.static WTPartConfigSpecnewWTPartConfigSpec(PlantEffectivityConfigSpec plantEffectivity)
Supported API: truestatic WTPartConfigSpecnewWTPartConfigSpec(PlantStandardConfigSpec plantStandard)
Supported API: truestatic WTPartConfigSpecnewWTPartConfigSpec(WTPartAsMaturedConfigSpec asMatured)
Supported API: truestatic WTPartConfigSpecnewWTPartConfigSpec(WTPartBaselineConfigSpec baseline)
Supported API: truestatic WTPartConfigSpecnewWTPartConfigSpec(WTPartBaselineConfigSpec baseline, WTPartEffectivityConfigSpec effectivity, WTPartPromotionNoticeConfigSpec promotionNotice, WTPartStandardConfigSpec standard)
Supported API: truestatic WTPartConfigSpecnewWTPartConfigSpec(WTPartBaselineConfigSpec baseline, WTPartEffectivityConfigSpec effectivity, WTPartStandardConfigSpec standard)
Supported API: truestatic WTPartConfigSpec
Supported API: truestatic WTPartConfigSpecnewWTPartConfigSpec(WTPartEffectivityConfigSpec effectivity)
Supported API: truestatic WTPartConfigSpecnewWTPartConfigSpec(WTPartPromotionNoticeConfigSpec promotionNotice)
Supported API: truestatic WTPartConfigSpecnewWTPartConfigSpec(WTPartStandardConfigSpec standard)
Supported API: truestatic WTPartConfigSpecnewWTPartConfigSpec(SandboxConfigSpec sandbox)
Supported API: truevoidsetAsMaturedActive(boolean a_AsMaturedActive) Sets the value of the attribute: ASMATURED_ACTIVE.voidsetBaselineActive(boolean a_BaselineActive) Sets the value of the attribute: BASELINE_ACTIVE.voidsetChangeActive(boolean a_ChangeActive) Sets the value of the attribute: CHANGE_ACTIVE.voidsetCustomActive(boolean custom_active) Sets the value of the attribute: CUSTOM_ACTIVE.voidsetEffectivityActive(boolean a_EffectivityActive) Sets the value of the attribute: EFFECTIVITY_ACTIVE.voidsetLotBaselineActive(boolean lotBaseline_active) Sets the value of the attribute: LOT_BASELINE_ACTIVE.voidsetPlantEffectivityActive(boolean plantEffectivity_active) Sets the value of the attribute: PLANT_EFFECTIVITY_ACTIVE.voidsetPlantStandardActive(boolean plantStandrad_active) Sets the value of the attribute: Plant_Standard_ACTIVE.voidsetPromotionNoticeActive(boolean a_PromotionNoticeActive) Sets the value of the attribute: PROMOTION_NOTICE_ACTIVE.voidsetSandboxActive(boolean a_SandboxActive) Sets the value of the attribute: SANDBOX_ACTIVE.voidsetStandardActive(boolean a_StandardActive) Sets the value of the attribute: STANDARD_ACTIVE.Methods inherited from class wt.part._WTPartConfigSpec
getAsMatured, getBaseline, getChange, getCustom, getEffectivity, getLotBaseline, getPlantEffectivity, getPlantStandard, getPromotionNotice, getSandbox, getStandard, isAsMaturedActive, isBaselineActive, isChangeActive, isCustomActive, isEffectivityActive, isLotBaselineActive, isPlantEffectivityActive, isPlantStandardActive, isPromotionNoticeActive, isSandboxActive, isStandardActive, setAsMatured, setBaseline, setChange, setCustom, setEffectivity, setLotBaseline, setPlantEffectivity, setPlantStandard, setPromotionNotice, setSandbox, setStandardMethods inherited from class wt.fc.WTObject
getDisplayIdentifier, getDisplayIdentity, getDisplayType
-
Method Details
-
setBaselineActive
public void setBaselineActive(boolean a_BaselineActive) Sets the value of the attribute: BASELINE_ACTIVE. If true, the WTPartBaselineConfigSpec is active.
Supported API: true- Overrides:
setBaselineActivein class_WTPartConfigSpec- Parameters:
a_BaselineActive-- See Also:
-
setEffectivityActive
public void setEffectivityActive(boolean a_EffectivityActive) Sets the value of the attribute: EFFECTIVITY_ACTIVE. If true, the WTPartEffectivityConfigSpec is active.
Supported API: true- Overrides:
setEffectivityActivein class_WTPartConfigSpec- Parameters:
a_EffectivityActive-- See Also:
-
setPromotionNoticeActive
public void setPromotionNoticeActive(boolean a_PromotionNoticeActive) Sets the value of the attribute: PROMOTION_NOTICE_ACTIVE. If true, the WTPartPromotionNoticeConfigSpec is active.
Supported API: true- Overrides:
setPromotionNoticeActivein class_WTPartConfigSpec- Parameters:
a_PromotionNoticeActive-- See Also:
-
setStandardActive
public void setStandardActive(boolean a_StandardActive) Sets the value of the attribute: STANDARD_ACTIVE. If true, the WTPartStandardConfigSpec is active.
Supported API: true- Overrides:
setStandardActivein class_WTPartConfigSpec- Parameters:
a_StandardActive-- See Also:
-
setChangeActive
public void setChangeActive(boolean a_ChangeActive) Sets the value of the attribute: CHANGE_ACTIVE. If true, the WTPartChangeConfigSpec is active.
Supported API: true- Overrides:
setChangeActivein class_WTPartConfigSpec- Parameters:
a_ChangeActive-- See Also:
-
setSandboxActive
public void setSandboxActive(boolean a_SandboxActive) Sets the value of the attribute: SANDBOX_ACTIVE. If true, the SandboxConfigSpec is active.
Supported API: true- Overrides:
setSandboxActivein class_WTPartConfigSpec- Parameters:
a_SandboxActive-- See Also:
-
setAsMaturedActive
public void setAsMaturedActive(boolean a_AsMaturedActive) Sets the value of the attribute: ASMATURED_ACTIVE. If true, the AsMaturedConfigSpec is active.
Supported API: true- Overrides:
setAsMaturedActivein class_WTPartConfigSpec- Parameters:
a_AsMaturedActive-- See Also:
-
setLotBaselineActive
public void setLotBaselineActive(boolean lotBaseline_active) Sets the value of the attribute: LOT_BASELINE_ACTIVE. If true, the LotBaselineConfigSpec is active.
Supported API: true- Overrides:
setLotBaselineActivein class_WTPartConfigSpec- Parameters:
lotBaseline_active- Value to set the attribute to.- See Also:
-
setPlantStandardActive
public void setPlantStandardActive(boolean plantStandrad_active) Sets the value of the attribute: Plant_Standard_ACTIVE. If true, the PlantStandardConfigSpec is active.
Supported API: true- Overrides:
setPlantStandardActivein class_WTPartConfigSpec- Parameters:
lotBaseline_active- Value to set the attribute to.- See Also:
-
setPlantEffectivityActive
public void setPlantEffectivityActive(boolean plantEffectivity_active) Sets the value of the attribute: PLANT_EFFECTIVITY_ACTIVE. If true, the PlantEffectivityConfigSpec is active.
Supported API: true- Overrides:
setPlantEffectivityActivein class_WTPartConfigSpec- Parameters:
lotBaseline_active- Value to set the attribute to.- See Also:
-
setCustomActive
public void setCustomActive(boolean custom_active) Sets the value of the attribute: CUSTOM_ACTIVE. If true, the CustomConfigSpec is active.
Supported API: true- Overrides:
setCustomActivein class_WTPartConfigSpec- Parameters:
custom_active- Value to set the attribute to.- See Also:
-
getActive
Get the active ConfigSpec. Returns null if there is no active one or if the active one is null.
Supported API: true- Returns:
- ConfigSpec
-
newWTPartConfigSpec
Supported API: true- Returns:
- WTPartConfigSpec
- Throws:
WTException
-
newWTPartConfigSpec
public static WTPartConfigSpec newWTPartConfigSpec(WTPartBaselineConfigSpec baseline) throws WTException
Supported API: true- Parameters:
baseline-- Returns:
- WTPartConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
baseline-- Throws:
WTException
-
newWTPartConfigSpec
public static WTPartConfigSpec newWTPartConfigSpec(WTPartEffectivityConfigSpec effectivity) throws WTException
Supported API: true- Parameters:
effectivity-- Returns:
- WTPartConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
effectivity-- Throws:
WTException
-
newWTPartConfigSpec
public static WTPartConfigSpec newWTPartConfigSpec(WTPartPromotionNoticeConfigSpec promotionNotice) throws WTException
Supported API: true- Parameters:
promotionNotice-- Returns:
- WTPartConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
promotionNotice-- Throws:
WTException
-
newWTPartConfigSpec
public static WTPartConfigSpec newWTPartConfigSpec(WTPartStandardConfigSpec standard) throws WTException
Supported API: true- Parameters:
standard-- Returns:
- WTPartConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
standard-- Throws:
WTException
-
newWTPartConfigSpec
public static WTPartConfigSpec newWTPartConfigSpec(WTPartChangeConfigSpec change) throws WTException
Supported API: true- Parameters:
standard-- Returns:
- WTPartConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
standard-- Throws:
WTException
-
newWTPartConfigSpec
public static WTPartConfigSpec newWTPartConfigSpec(WTPartBaselineConfigSpec baseline, WTPartEffectivityConfigSpec effectivity, WTPartStandardConfigSpec standard) throws WTException
Supported API: true- Parameters:
baseline-effectivity-standard-- Returns:
- WTPartConfigSpec
- Throws:
WTException
-
initialize
protected void initialize(WTPartBaselineConfigSpec baseline, WTPartEffectivityConfigSpec effectivity, WTPartStandardConfigSpec standard) throws WTException Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
baseline-effectivity-standard-- Throws:
WTException
-
newWTPartConfigSpec
public static WTPartConfigSpec newWTPartConfigSpec(WTPartBaselineConfigSpec baseline, WTPartEffectivityConfigSpec effectivity, WTPartPromotionNoticeConfigSpec promotionNotice, WTPartStandardConfigSpec standard) throws WTException
Supported API: true- Parameters:
baseline-effectivity-promotionNotice-standard-- Returns:
- WTPartConfigSpec
- Throws:
WTException
-
initialize
protected void initialize(WTPartBaselineConfigSpec baseline, WTPartEffectivityConfigSpec effectivity, WTPartPromotionNoticeConfigSpec promotionNotice, WTPartStandardConfigSpec standard) throws WTException Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
baseline-effectivity-promotionNotice-standard-- Throws:
WTException
-
newWTPartConfigSpec
Supported API: true- Parameters:
sandbox-- Returns:
- WTPartConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
sandbox-- Throws:
WTException
-
newWTPartConfigSpec
public static WTPartConfigSpec newWTPartConfigSpec(WTPartAsMaturedConfigSpec asMatured) throws WTException
Supported API: true- Parameters:
sandbox-- Returns:
- WTPartConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
sandbox-- Throws:
WTException
-
newWTPartConfigSpec
public static WTPartConfigSpec newWTPartConfigSpec(LotBaselineConfigSpec lotBaselineCS) throws WTException Wraps the input lot baseline configuration specification in a newly created WTPartConfigSpec instance, and returns the latter after initializing it as appropriate.
Supported API: true- Parameters:
lotBaselineCS- - Input lot baseline configuration specification.- Returns:
- WTPartConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by the factory method having the same signature.
Supported API: true- Parameters:
lotBaselineCS- - Input lot baseline configuration specification.- Throws:
WTException
-
newWTPartConfigSpec
public static WTPartConfigSpec newWTPartConfigSpec(PlantStandardConfigSpec plantStandard) throws WTException
Supported API: true- Parameters:
plantStandard-- Returns:
- WTPartConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
sandbox-- Throws:
WTException
-
newWTPartConfigSpec
public static WTPartConfigSpec newWTPartConfigSpec(PlantEffectivityConfigSpec plantEffectivity) throws WTException
Supported API: true- Parameters:
plantEffectivity-- Returns:
- WTPartConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
sandbox-- Throws:
WTException
-