wt.step
Class ExportSelection

java.lang.Object
  extended bywt.step.ExportSelection
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AssemblyExportSelection, BaselineExportSelection

public abstract class ExportSelection
extends Object
implements Serializable

Specifies the content of and constraints on a STEP Export.

See Also:
Serialized Form

Field Summary
private  boolean _areFilesExported
           
private  String _contentName
           
private  String _exportSchema
           
private  WTDocument _exportToDocument
           
private  String _stepFileName
           
 
Constructor Summary
protected ExportSelection(WTDocument exportToDocument, String exportSchema, String contentName, String stepFileName, boolean areFilesExported)
           
 
Method Summary
 boolean areFilesExported()
           
 String getContentName()
           
abstract  String getDescription()
           
 WTDocument getExportHolder()
           
 String getSchema()
           
abstract  WTObject[] getSelectedContent()
          Calculates and returns the collection of objects defined by this selection
 String getStepFileName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_exportToDocument

private WTDocument _exportToDocument

_exportSchema

private String _exportSchema

_contentName

private String _contentName

_stepFileName

private String _stepFileName

_areFilesExported

private boolean _areFilesExported
Constructor Detail

ExportSelection

protected ExportSelection(WTDocument exportToDocument,
                          String exportSchema,
                          String contentName,
                          String stepFileName,
                          boolean areFilesExported)
Method Detail

getDescription

public abstract String getDescription()
Returns:
A description of the content and constraints on this export selection.

getSelectedContent

public abstract WTObject[] getSelectedContent()
                                       throws TransferException
Calculates and returns the collection of objects defined by this selection

Throws:
TransferException

getExportHolder

public WTDocument getExportHolder()

getSchema

public String getSchema()

getStepFileName

public String getStepFileName()

getContentName

public String getContentName()

areFilesExported

public boolean areFilesExported()