public class SQLConverter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
END_POINT_DIR |
static java.lang.String |
ENTERPRICE_SERVICE_DIR |
static java.lang.String |
EXTERNAL_SYSTEM_DIR |
static java.lang.String |
INVOKE_CHANNEL_DIR |
static java.lang.String |
MEA_DIR |
static java.lang.String |
OS_DIR |
static java.lang.String |
OSLC_RESOURCE_DIR |
static java.lang.String |
PUBLISH_CHANNEL_DIR |
static java.lang.String |
TABLE_DIR |
static java.lang.String |
WS_REGISTRY_DIR |
Constructor and Description |
---|
SQLConverter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
convertArtifacts(java.lang.String data)
Get parent tables name
|
java.lang.String |
convertBYOSArtifacts(java.lang.String data)
Get parent tables name
|
void |
convertData(java.lang.String data)
Get parent tables name
|
java.lang.String |
convertInteraction(java.lang.String data)
Get parent tables name
|
java.lang.String |
convertMEAArtifacts(java.lang.String data)
Get parent tables name
|
java.lang.String |
convertTable(java.lang.String data)
Get parent tables name
|
int |
writeDBCEndPoint(java.io.PrintStream out,
SQLConverterUtil util,
int numLines,
java.lang.String name)
Build where clases to set to DM packge
|
int |
writeDBCEnterpriseService(java.io.PrintStream out,
SQLConverterUtil util,
int numLines,
java.lang.String name,
java.lang.String extSystem)
Build where clases to set to DM packge
|
int |
writeDBCExternalSystem(java.io.PrintStream out,
SQLConverterUtil util,
int numLines,
java.lang.String name)
Build where clases to set to DM packge
|
void |
writeDBCInteraction(java.io.PrintStream out,
SQLConverterUtil util,
int numLines,
java.lang.String name)
Build where clases to set to DM packge
|
int |
writeDBCInteractionMap(java.io.PrintStream out,
SQLConverterUtil util,
int numLines,
InteractionInfo interactionInfo)
Build where clases to set to DM packge
|
int |
writeDBCInvokeChannel(java.io.PrintStream out,
SQLConverterUtil util,
int numLines,
java.lang.String name)
Build where clases to set to DM packge
|
int |
writeDBCObjects(java.io.PrintStream out,
SQLConverterUtil util,
int numLines,
InteractionInfo interactionInfo)
Build where clases to set to DM packge
|
int |
writeDBCObjectStructure(java.io.PrintStream out,
SQLConverterUtil util,
int numLines,
java.lang.String whereClause)
Build where clases to set to DM packge
|
int |
writeDBCOslcResource(java.io.PrintStream out,
SQLConverterUtil util,
int numLines,
java.lang.String whereClause)
Build where clases to set to DM packge
|
int |
writeDBCPublishChannel(java.io.PrintStream out,
SQLConverterUtil util,
int numLines,
java.lang.String name,
java.lang.String extSystem)
Build where clases to set to DM packge
|
int |
writeDBCRules(java.io.PrintStream out,
SQLConverterUtil util,
int numLines,
java.lang.String name,
java.lang.String useWith)
Build where clases to set to DM packge
|
int |
writeDBCUI(java.io.PrintStream out,
SQLConverterUtil util,
int numLines,
InteractionInfo interactionInfo,
boolean addHeader)
Build where clases to set to DM packge
|
int |
writeDBCWSRegistry(java.io.PrintStream out,
SQLConverterUtil util,
int numLines,
java.lang.String name)
Build where clases to set to DM packge
|
public static final java.lang.String OS_DIR
public static final java.lang.String MEA_DIR
public static final java.lang.String TABLE_DIR
public static final java.lang.String PUBLISH_CHANNEL_DIR
public static final java.lang.String INVOKE_CHANNEL_DIR
public static final java.lang.String ENTERPRICE_SERVICE_DIR
public static final java.lang.String END_POINT_DIR
public static final java.lang.String WS_REGISTRY_DIR
public static final java.lang.String EXTERNAL_SYSTEM_DIR
public static final java.lang.String OSLC_RESOURCE_DIR
public void convertData(java.lang.String data) throws MXException, java.rmi.RemoteException
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionpublic java.lang.String convertInteraction(java.lang.String data) throws java.lang.Exception
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public java.lang.String convertArtifacts(java.lang.String data) throws java.lang.Exception
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public java.lang.String convertMEAArtifacts(java.lang.String data) throws java.lang.Exception
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public java.lang.String convertTable(java.lang.String data) throws java.lang.Exception
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public int writeDBCObjects(java.io.PrintStream out, SQLConverterUtil util, int numLines, InteractionInfo interactionInfo) throws java.lang.Exception
out
- print streamMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public int writeDBCUI(java.io.PrintStream out, SQLConverterUtil util, int numLines, InteractionInfo interactionInfo, boolean addHeader) throws java.lang.Exception
out
- print streamMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public int writeDBCPublishChannel(java.io.PrintStream out, SQLConverterUtil util, int numLines, java.lang.String name, java.lang.String extSystem) throws java.lang.Exception
out
- print streamMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public int writeDBCEnterpriseService(java.io.PrintStream out, SQLConverterUtil util, int numLines, java.lang.String name, java.lang.String extSystem) throws java.lang.Exception
out
- print streamMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public int writeDBCRules(java.io.PrintStream out, SQLConverterUtil util, int numLines, java.lang.String name, java.lang.String useWith) throws java.lang.Exception
out
- print streamMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public int writeDBCEndPoint(java.io.PrintStream out, SQLConverterUtil util, int numLines, java.lang.String name) throws java.lang.Exception
out
- print streamMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public int writeDBCInvokeChannel(java.io.PrintStream out, SQLConverterUtil util, int numLines, java.lang.String name) throws java.lang.Exception
out
- print streamMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public int writeDBCExternalSystem(java.io.PrintStream out, SQLConverterUtil util, int numLines, java.lang.String name) throws java.lang.Exception
out
- print streamMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public int writeDBCWSRegistry(java.io.PrintStream out, SQLConverterUtil util, int numLines, java.lang.String name) throws java.lang.Exception
out
- print streamMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public int writeDBCObjectStructure(java.io.PrintStream out, SQLConverterUtil util, int numLines, java.lang.String whereClause) throws java.lang.Exception
out
- print streamMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public int writeDBCOslcResource(java.io.PrintStream out, SQLConverterUtil util, int numLines, java.lang.String whereClause) throws java.lang.Exception
out
- print streamMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public java.lang.String convertBYOSArtifacts(java.lang.String data) throws java.lang.Exception
MXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public int writeDBCInteractionMap(java.io.PrintStream out, SQLConverterUtil util, int numLines, InteractionInfo interactionInfo) throws java.lang.Exception
defName
- DM package definition nameMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception
public void writeDBCInteraction(java.io.PrintStream out, SQLConverterUtil util, int numLines, java.lang.String name) throws java.lang.Exception
defName
- DM package definition nameMXException
- Maximo Exceptionjava.rmi.RemoteException
- Remote Exceptionjava.lang.Exception