public interface VariantConfigurationBuilder extends TaggedObject, IComponentBuilder
Modifier and Type | Interface and Description |
---|---|
static class |
VariantConfigurationBuilder.VariantRuleTableInformationData
This class holds the data returned from
getVariantRuleTableInformation() |
Modifier and Type | Method and Description |
---|---|
void |
addMultipleVariantRules(String[] contextIds,
String[] variantRules)
Adds given variant rules in case of multiple variant rules to
VariantConfigurationBuilder
The input contextIds comprising of multifield key and itemRev_id:
In case of default domain: contextId should contain Teamcenter item ID. |
String[] |
askAvailableVariantRules(String contextId,
String revId)
Returns the saved variant rules for the give context ID
The input contextId:
In case of default domain: it should be Teamcenter item ID.
|
VariantConfigurationBuilder.VariantRuleTableInformationData |
getVariantRuleTableInformation()
Returns selected variant rules stored inside
VariantConfigurationBuilder
The input contextIds comprising of multifield key and itemRev_id:
In case of default domain: contextId should contain Teamcenter item ID. |
void |
removeVariantRule(String contextId,
String variantRule)
Removes the given variant rule from
VariantConfigurationBuilder if applicable
The input contextId comprising of multifield key and itemRev_id:
In case of default domain: contextId should contain Teamcenter item ID. |
printTestData, printTestData, tag, tagValue
validate
String[] askAvailableVariantRules(String contextId, String revId) throws NXException, RemoteException
contextId
- multifield key in case of product assembly or collaborative design idrevId
- itemRev_id in case of product assemblyNXException
RemoteException
VariantConfigurationBuilder.VariantRuleTableInformationData getVariantRuleTableInformation() throws NXException, RemoteException
VariantConfigurationBuilder
The input contextIds comprising of multifield key and itemRev_id:
In case of default domain: contextId should contain Teamcenter item ID.
In case of non-default domain: contextId should contain the multifield keys.
e.g. %#MFK#%,=item_id=001, object_type=SupplierPart, supplier_code=x
NXException
RemoteException
void removeVariantRule(String contextId, String variantRule) throws NXException, RemoteException
VariantConfigurationBuilder
if applicable
The input contextId comprising of multifield key and itemRev_id:
In case of default domain: contextId should contain Teamcenter item ID.
In case of non-default domain: contextId should contain the multifield keys.
e.g. %#MFK#%,=item_id=001, object_type=SupplierPart, supplier_code=x
contextId
- context id comprising of multifield key and itemRev_id in which variant rule residesvariantRule
- variant rule to be removedNXException
RemoteException
void addMultipleVariantRules(String[] contextIds, String[] variantRules) throws NXException, RemoteException
VariantConfigurationBuilder
The input contextIds comprising of multifield key and itemRev_id:
In case of default domain: contextId should contain Teamcenter item ID.
In case of non-default domain: contextId should contain the multifield keys.
e.g. %#MFK#%,=item_id=001, object_type=SupplierPart, supplier_code=x
contextIds
- context id comprising of multifield key and itemRev_id in which variant rule residesvariantRules
- variant rules of corresponding context ids to be addedNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.