Class PlantStandardConfigSpec
- All Implemented Interfaces:
Externalizable,Serializable,wt.fc._NetFactor,wt.fc._ObjectMappable,NetFactor,ObjectMappable,ConfigSpec
This ConfigSpec considers only versions (latest iterations) of Plants, and returns at most one version per master (the latest eligible version) of Datable.
If the State value is set, only those parts whose plants are at that particular state are eligible.
If the view is set, only those parts whose plants are in the view are eligible.
While parts owned by any user other than the current principal are never eligible, the user's own versions are only eligible when workingIncluded is set to true (the default).
Use the PlantStandardConfigSpec static factory method(s),
not the PlantStandardConfigSpec 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._PlantStandardConfigSpec
LIFE_CYCLE_STATE, WORKING_INCLUDED -
Method Summary
Modifier and TypeMethodDescriptiongetView()Gets the value of the attribute: VIEW.protected voidSupports initialization, following construction of an instance.protected voidinitialize(View view) Supports initialization, following construction of an instance.protected voidinitialize(View view, State lifeCycleState) Supports initialization, following construction of an instance.static PlantStandardConfigSpecConstruct a default PlantStandardConfigSpec.static PlantStandardConfigSpecConstruct a PlantStandardConfigSpec, setting the view to the passed-in values.static PlantStandardConfigSpecnewPlantStandardConfigSpec(View view, State lifeCycleState) Construct a PlantStandardConfigSpec, setting the view and lifeCycleState to the passed-in values.voidSets the value of the attribute: VIEW.Methods inherited from class wt.part._PlantStandardConfigSpec
getLifeCycleState, isWorkingIncluded, setLifeCycleState, setWorkingIncluded
-
Method Details
-
getView
Gets the value of the attribute: VIEW. If set, only those objects assigned to the view or view-independent are returned. If no WTParts match the view, the parent is checked (until there is either at least one match or no parent). If not set, only view-independent parts are returned.
Supported API: true- Returns:
- View
-
setView
Sets the value of the attribute: VIEW. If set, only those objects assigned to the view or view-independent are returned. If no WTParts match the view, the parent is checked (until there is either at least one match or no parent). If not set, only view-independent parts are returned.
Supported API: true- Parameters:
a_View-- Throws:
WTPropertyVetoException
-
newPlantStandardConfigSpec
Construct a default PlantStandardConfigSpec.
Supported API: true- Returns:
- PlantStandardConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Throws:
WTException
-
newPlantStandardConfigSpec
Construct a PlantStandardConfigSpec, setting the view to the passed-in values.
Supported API: true- Parameters:
view-lifeCycleState-- Returns:
- PlantStandardConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
view-lifeCycleState-- Throws:
WTException
-
newPlantStandardConfigSpec
public static PlantStandardConfigSpec newPlantStandardConfigSpec(View view, State lifeCycleState) throws WTException Construct a PlantStandardConfigSpec, setting the view and lifeCycleState to the passed-in values.
Supported API: true- Parameters:
view-lifeCycleState-- Returns:
- PlantStandardConfigSpec
- Throws:
WTException
-
initialize
Supports initialization, following construction of an instance. Invoked by "new" factory having the same signature.
Supported API: true- Parameters:
view-lifeCycleState-- Throws:
WTException
-