Package com.ptc.windchill.option.bean
Class VariantSpecLoadOutputBean
java.lang.Object
com.ptc.windchill.option.bean.VariantSpecLoadOutputBean
- All Implemented Interfaces:
Serializable
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets status of loading
Supported API: truevoidsetCreateVariants(boolean createVariants) Sets Create Variants
Supported API: truevoidsetFilterMode(int filterMode) Sets filter mode
Supported API: truevoidsetIsApplyToTopPresent(boolean applyToTop) Sets apply to top flag
Supported API: truevoidsetNavigationCriteria(NavigationCriteria navigationCriteria) Sets Navigation Criteria
Supported API: truevoidsetOptionSet(OptionSet optionSet) Sets Option set
Supported API: truevoidSets ordered user selected option name or number
Supported API: truevoidsetRowNo(long rowNo) Sets Row number
Supported API: truevoidsets type of variant spec
Supported API: truevoidsetUserSelectedOptionChoiceNameMap(Map<String, List<String>> userSelectedOptionChoiceNameMap) Sets user selected option choice name map
Supported API: truevoidsetVariantSpecFolder(Folder variantSpecFolder) Sets Variant spec folder
Supported API: truevoidsetVariantSpecIBAs(Map<String, Object> variantSpecIBAs) Provide a map whose keys are the internal names of the IBA soft attributes, and whose values are the new values to set for the IBAs.voidsetVariantSpecLifeCycleState(String lifeCycleState) Sets Variant spec Life cycle state
Supported API: truevoidsetVariantSpecLifeCycleTemplate(String lifeCycleTemplate) Sets Variant spec life cycle template
Supported API: truevoidsetVariantSpecName(String variantSpecName) Sets Variant spec name
Supported API: truevoidsetVariantSpecPart(WTPart variantSpecPart) Sets Variant spec part
Supported API: true
-
Method Details
-
setRowNo
public void setRowNo(long rowNo) Sets Row number
Supported API: true- Parameters:
long- rownumber
-
setVariantSpecName
Sets Variant spec name
Supported API: true- Parameters:
String- variant spec name
-
setVariantSpecLifeCycleTemplate
Sets Variant spec life cycle template
Supported API: true- Parameters:
String- LifeCycleTemplate
-
setVariantSpecLifeCycleState
Sets Variant spec Life cycle state
Supported API: true- Parameters:
String- LifeCycleState
-
setVariantSpecIBAs
Provide a map whose keys are the internal names of the IBA soft attributes, and whose values are the new values to set for the IBAs. Specify a value of null to delete the value.
Supported API: trueValues must be in the correct form for the type of IBA attribute: Mapinvalid input: '<'String, Object> ibas = new HashMapinvalid input: '<'>(); ibas.put(stringIBA, "first test value"); ibas.put(intIBA, 5); ibas.put(booleanIBA, false); ibas.put(realIBA, FloatingPoint.valueOf("5.7")); ibas.put(realWithUnitsIBA, FloatingPointWithUnits.valueOf("12.0253 kg")); ibas.put(dateIBA, new WrappedTimestamp("09 01 2020 02:30:00 GMT", 0)); ibas.put(linkIBA, new Hyperlink("http://www.ptc.com", "PTC")); ibas.put(multiValueIBA, new Object[] {"first test value", "second test value"});- Parameters:
variantSpecIBAs-
-
setVariantSpecFolder
Sets Variant spec folder
Supported API: true- Parameters:
Folder- variant spec folder
-
setCreateVariants
public void setCreateVariants(boolean createVariants) Sets Create Variants
Supported API: true- Parameters:
boolean- createVariants
-
setVariantSpecPart
Sets Variant spec part
Supported API: true- Parameters:
WTPart- variant spec part
-
setOptionSet
Sets Option set
Supported API: true- Parameters:
option- set
-
setUserSelectedOptionChoiceNameMap
public void setUserSelectedOptionChoiceNameMap(Map<String, List<String>> userSelectedOptionChoiceNameMap) Sets user selected option choice name map
Supported API: true- Parameters:
userSelectedOptionChoiceNameMap- the userSelectedOptionChoiceNameMap to set
-
getLoadStatus
Gets status of loading
Supported API: true- Returns:
- the loadStatus
-
setFilterMode
public void setFilterMode(int filterMode) Sets filter mode
Supported API: true- Parameters:
filterMode-
-
setType
sets type of variant spec
Supported API: true- Parameters:
VariantSpecType-
-
setIsApplyToTopPresent
public void setIsApplyToTopPresent(boolean applyToTop) Sets apply to top flag
Supported API: true- Parameters:
applyToTop-
-
setOrderedUserSelectedOptionNamesOrNumbers
Sets ordered user selected option name or number
Supported API: true- Parameters:
List-options
-