|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.mdm.service.ImportSpec
Defines the features of an import.
For being valid, an instance of this class must at least define a XML source and a target adaptation.
ProcedureContext.doImport(ImportSpec)
Constructor Summary | |
ImportSpec()
|
Method Summary | |
File |
getSourceFile()
|
InputStream |
getSourceStream()
|
Adaptation |
getTargetAdaptation()
|
void |
setSourceFile(File aSource)
Specifies the XML document that serves as the source of the import. |
void |
setSourceStream(InputStream aSource)
Specifies that the import process must read the document from the stream specified. |
void |
setTargetAdaptation(Adaptation aTarget)
Specifies the target of the import (mandatory property). |
String |
toString()
|
String |
toStringInfo()
Returns information about the main attributes of this instance. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ImportSpec()
Method Detail |
public Adaptation getTargetAdaptation()
setTargetAdaptation(Adaptation)
public void setTargetAdaptation(Adaptation aTarget)
aTarget
- the adaptation that will be updated with the imported XML content.public File getSourceFile()
setSourceFile(File)
public void setSourceFile(File aSource)
aSource
- the XML document to import.public InputStream getSourceStream()
setSourceStream(InputStream)
public void setSourceStream(InputStream aSource)
The source stream is a more general alternative than the source file.
It is up to the caller of this method to provide a buffered input stream (if needed for performance).
aSource
- the stream containing the XML content to import.public String toStringInfo()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.