com.softwareag.mdm.service
Class ArchiveImportSpec

java.lang.Object
  extended bycom.softwareag.mdm.service.ArchiveImportSpec

public class ArchiveImportSpec
extends Object

Defines the features of an archive import.

For being valid, an instance of this class must at least define an archive source. If no adaptations are specified, then all the archive content will be imported.

See Also:
ProcedureContext.doImportArchive(ArchiveImportSpec)

Constructor Summary
ArchiveImportSpec()
           
 
Method Summary
 void addInstance(AdaptationName anAdaptation, boolean includeAllDescendants)
          Adds an instance to import.
 Archive getArchive()
          Returns the archive to import.
 void setArchive(Archive archive)
          Specifies the archive to import.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchiveImportSpec

public ArchiveImportSpec()
Method Detail

addInstance

public void addInstance(AdaptationName anAdaptation,
                        boolean includeAllDescendants)
Adds an instance to import.

Parameters:
anAdaptation - the instance to be exported
includeAllDescendants - indicates if the children will be imported if they are not specified

getArchive

public Archive getArchive()
Returns the archive to import.


setArchive

public void setArchive(Archive archive)
Specifies the archive to import.



(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.