public class ReverseService
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ReverseService.DataStoreSelection
DataStoreSelection enum is used to select the datastore types to be reversed.
|
Constructor and Description |
---|
ReverseService() |
Modifier and Type | Method and Description |
---|---|
static OdiDataStore |
doCobolCopyBookReverse(OdiInstance pOdiInstance,
java.io.Serializable pDataStoreId,
java.lang.String pathAndNameOfCopyBookFile,
java.lang.String encoding,
boolean copyBookisEbcdic,
boolean dataIsEbcdic)
This method is used to reverse the cobol copybook datastore.
|
static ExecutionInfo |
doCustomReverse(OdiInstance pOdiInstance,
java.io.Serializable pModelId,
java.lang.Integer logLevel)
This method is used for custom reverse engineering of a odiModel.
|
static OdiDataStore |
doFileReverse(OdiInstance pOdiInstance,
java.io.Serializable pDataStoreId)
This mehod is used to reverse the file datastore.
|
static OdiDataStore |
doHDFSReverse(OdiInstance pOdiInstance,
java.io.Serializable pDataStoreId)
This mehod is used to reverse the HDFS file datastore.
|
static OdiModel |
doStandardReverse(OdiInstance pOdiInstance,
java.io.Serializable pModelId,
ReverseService.DataStoreSelection pDataStoreSelection,
java.util.List pDataStoreList)
This method is used for standard and selective reverse engineering of a model.
|
static java.util.List |
getNewDataStores(OdiInstance pOdiInstance,
java.io.Serializable pModelId)
This method is used to get the information about the datastores which are not yet reversed in the repository.
|
public static OdiModel doStandardReverse(OdiInstance pOdiInstance, java.io.Serializable pModelId, ReverseService.DataStoreSelection pDataStoreSelection, java.util.List pDataStoreList) throws java.lang.Exception
pOdiInstance
- - odiInstance to be used.pModelId
- - Id of modelpDataStoreSelection
- - The type of datastores to be reversed.(All, new, existing or selected )pDataStoreList
- - List of datastores to be used. The list needs to be supplied only for SELECTED datstore selection type. For other values it should be null.java.lang.Exception
public static java.util.List getNewDataStores(OdiInstance pOdiInstance, java.io.Serializable pModelId) throws java.lang.Exception
pOdiInstance
- - odiInstance to be usedpModelId
- - OdiModel Idjava.lang.Exception
public static OdiDataStore doFileReverse(OdiInstance pOdiInstance, java.io.Serializable pDataStoreId) throws java.lang.Exception
pOdiInstance
- - odiInstancepDataStoreId
- - DataStore Idjava.lang.Exception
public static OdiDataStore doHDFSReverse(OdiInstance pOdiInstance, java.io.Serializable pDataStoreId) throws java.lang.Exception
pOdiInstance
- - odiInstancepDataStoreId
- - DataStore Idjava.lang.Exception
public static ExecutionInfo doCustomReverse(OdiInstance pOdiInstance, java.io.Serializable pModelId, java.lang.Integer logLevel) throws java.lang.Exception
pOdiInstance
- -odiInstancepModelId
- - OdiModel IdlogLevel
- - logLevel valuejava.lang.Exception
public static OdiDataStore doCobolCopyBookReverse(OdiInstance pOdiInstance, java.io.Serializable pDataStoreId, java.lang.String pathAndNameOfCopyBookFile, java.lang.String encoding, boolean copyBookisEbcdic, boolean dataIsEbcdic) throws java.lang.Exception
pOdiInstance
- - odiInstancepDataStoreId
- - odiDataStore IdpathAndNameOfCopyBookFile
- - path Name of cobol copybook file nameencoding
- - encoding usedcopyBookisEbcdic
- - is copy book in Ebcdic formatdataIsEbcdic-
- is data in Ebcdic formatjava.lang.Exception