wt.step
Class AssemblyExportSelection
java.lang.Object
wt.step.ExportSelection
wt.step.AssemblyExportSelection
- All Implemented Interfaces:
- Serializable
- public class AssemblyExportSelection
- extends ExportSelection
An export selection based on a number of root parts were the export
contains all items in the assembly under those root parts.
A ConfigSpec may also be specified to select the assembly.
- See Also:
- Serialized Form
_iterationsSelector
private WTPartConfigSpec _iterationsSelector
_rootParts
private Vector _rootParts
AssemblyExportSelection
public AssemblyExportSelection(WTDocument exportToDocument,
String exportSchema,
String contentName,
String stepFileName,
boolean areFilesExported,
WTPartConfigSpec iterationsSelector)
- Constructs an assembly export selection
- Parameters:
exportToDocument
- the document which will hold the exported Step
package.exportSchema
- the name of the Step export Schema to usecontentName
- the name of the Step export package content filestepFileName
- the name of the Step file within the export packageareFilesExported
- wether the content of files should be includediterationsSelector
- a config spec for selection of iterations
whilst traversing the assembly
addRootPart
public void addRootPart(WTPart part)
getDescription
public String getDescription()
- Specified by:
getDescription
in class ExportSelection
- Returns:
- A description of the content and constraints on this export
selection.
toString
public String toString()
getSelectedContent
public WTObject[] getSelectedContent()
throws TransferException
- Description copied from class:
ExportSelection
- Calculates and returns the collection of objects defined by this selection
- Specified by:
getSelectedContent
in class ExportSelection
- Throws:
TransferException
collectAssemblyPartsAndDocuments
private void collectAssemblyPartsAndDocuments(WTPart part,
Vector objectCollector)
throws TransferException
- Throws:
TransferException
collectAssociatedDocuments
private void collectAssociatedDocuments(WTPart part,
Vector objectCollector)
throws TransferException
- Throws:
TransferException