public interface ReplaceComponentBuilder extends Builder
ReplaceComponentBuilder
builder AssemblyManager.createReplaceComponentBuilder()
Property | Value |
---|---|
ComponentLayer | 1 |
ComponentLayerOptionType | Maintain |
ComponentName | |
ComponentNameType | AsSpecified |
MaintainRelationships | 1 |
ReplaceAllOccurrences | 0 |
Modifier and Type | Interface and Description |
---|---|
static class |
ReplaceComponentBuilder.ComponentLayerOption
Represents possible layer option for replacement part
|
static class |
ReplaceComponentBuilder.ComponentNameOption
Represents possible component name option for replace operation
|
static class |
ReplaceComponentBuilder.ComponentReferenceSet
Represents possible reference set for replacement part
|
static class |
ReplaceComponentBuilder.ComponentReferenceSetTypeData
This class holds the data returned from
getComponentReferenceSetType() |
Modifier and Type | Method and Description |
---|---|
boolean |
allowTemporaryPartsToReplace()
Returns the flag to determine whether unsaved parts are allowed to replace.
|
int |
componentLayer()
Returns the layer for the new replacement part.
|
ReplaceComponentBuilder.ComponentLayerOption |
componentLayerOptionType()
Returns the layer options
License requirements: None. |
String |
componentName()
Returns the component name
License requirements: None. |
ReplaceComponentBuilder.ComponentNameOption |
componentNameType()
Returns the component name options
License requirements: None. |
SelectDisplayableObjectList |
componentsToReplace()
Returns the objects to be replaced.
|
ReplaceComponentBuilder.ComponentReferenceSetTypeData |
getComponentReferenceSetType()
Get the reference set
License requirements: None. |
ErrorList |
getErrorList()
Get the list of components that failed to replace with their corresponding error codes.
|
boolean |
maintainRelationships()
Returns the maintain relationships
License requirements: None. |
PartLoadStatus |
registerReplacePartLoadStatus()
Register the part load status with the replace operation.
|
boolean |
replaceAllOccurrences()
Returns the replace all occurrences
License requirements: None. |
String |
replacementPart()
Returns the replacement part.
|
void |
setAllowTemporaryPartsToReplace(boolean allowTemporaryPartsToReplace)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setComponentLayer(int componentLayer)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setComponentLayerOptionType(ReplaceComponentBuilder.ComponentLayerOption componentLayerOption)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setComponentName(String componentName)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setComponentNameType(ReplaceComponentBuilder.ComponentNameOption componentNameOption)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setComponentReferenceSetType(ReplaceComponentBuilder.ComponentReferenceSet componentReferenceSet,
String referenceSetName)
Set the reference set
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setMaintainRelationships(boolean maintainRelationships)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setReplaceAllOccurrences(boolean replaceAllOccurrences)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
void |
setReplacementPart(String replacementPart)
License requirements: assemblies ("ASSEMBLIES MODULE") . |
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
SelectDisplayableObjectList componentsToReplace() throws NXException, RemoteException
NXException
RemoteException
String replacementPart() throws NXException, RemoteException
NXException
RemoteException
void setReplacementPart(String replacementPart) throws NXException, RemoteException
replacementPart
- NXException
RemoteException
boolean maintainRelationships() throws NXException, RemoteException
NXException
RemoteException
void setMaintainRelationships(boolean maintainRelationships) throws NXException, RemoteException
maintainRelationships
- NXException
RemoteException
boolean replaceAllOccurrences() throws NXException, RemoteException
NXException
RemoteException
void setReplaceAllOccurrences(boolean replaceAllOccurrences) throws NXException, RemoteException
replaceAllOccurrences
- NXException
RemoteException
ReplaceComponentBuilder.ComponentNameOption componentNameType() throws NXException, RemoteException
NXException
RemoteException
void setComponentNameType(ReplaceComponentBuilder.ComponentNameOption componentNameOption) throws NXException, RemoteException
componentNameOption
- NXException
RemoteException
String componentName() throws NXException, RemoteException
NXException
RemoteException
void setComponentName(String componentName) throws NXException, RemoteException
componentName
- NXException
RemoteException
ReplaceComponentBuilder.ComponentReferenceSetTypeData getComponentReferenceSetType() throws NXException, RemoteException
NXException
RemoteException
void setComponentReferenceSetType(ReplaceComponentBuilder.ComponentReferenceSet componentReferenceSet, String referenceSetName) throws NXException, RemoteException
componentReferenceSet
- Reference setreferenceSetName
- Name of the reference set. Used only when componentReferenceSet is ReplaceComponentBuilder.ComponentReferenceSet.OTHERS
NXException
RemoteException
ReplaceComponentBuilder.ComponentLayerOption componentLayerOptionType() throws NXException, RemoteException
NXException
RemoteException
void setComponentLayerOptionType(ReplaceComponentBuilder.ComponentLayerOption componentLayerOption) throws NXException, RemoteException
componentLayerOption
- NXException
RemoteException
int componentLayer() throws NXException, RemoteException
NXException
RemoteException
void setComponentLayer(int componentLayer) throws NXException, RemoteException
componentLayer
- NXException
RemoteException
PartLoadStatus registerReplacePartLoadStatus() throws NXException, RemoteException
NXException
RemoteException
boolean allowTemporaryPartsToReplace() throws NXException, RemoteException
NXException
RemoteException
void setAllowTemporaryPartsToReplace(boolean allowTemporaryPartsToReplace) throws NXException, RemoteException
allowTemporaryPartsToReplace
- NXException
RemoteException
ErrorList getErrorList() throws NXException, RemoteException
NXException
RemoteException
Copyright 2011 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.