| | |
| | | private static final String SPATAILSCHEMA = "ORGSCHEMA"; |
| | | private static final String CONVERTDB = "CONVERTDB"; |
| | | private static final String CONVERTFILE = "CONVERTFILE"; |
| | | private static final String ELEMLOG = "ELEMLOG"; |
| | | private static final String ORAHOST = "ORAHOST"; |
| | | private static final String ORAINST = "ORAINST"; |
| | | private static final String ORAPORT = "ORAPORT"; |
| | |
| | | protected String _password; |
| | | protected String _convertDB; |
| | | protected String _convertFile; |
| | | protected String _elementLogging; |
| | | protected ArrayList<String> _orgSchema = new ArrayList<String>(); |
| | | protected boolean _testMode = false; |
| | | protected int _testCount = -1; |
| | |
| | | _password = dataMap.getString(ORAPASS); |
| | | _convertDB = dataMap.getString(CONVERTDB); |
| | | _convertFile = dataMap.getString(CONVERTFILE); |
| | | _elementLogging = dataMap.getString(ELEMLOG); |
| | | |
| | | String strSchema = dataMap.getString(SPATAILSCHEMA); |
| | | StringTokenizer st = new StringTokenizer(strSchema, ","); |
| | |
| | | return _convertFile != null && !_convertFile.equalsIgnoreCase("false") && |
| | | !_convertFile.equalsIgnoreCase("no") && !_convertFile.equalsIgnoreCase("0"); |
| | | } |
| | | |
| | | public String getElementLogging() |
| | | { |
| | | return _elementLogging; |
| | | } |
| | | |
| | | public void setElementLogging(String elementLogging) |
| | | { |
| | | this._elementLogging = elementLogging; |
| | | } |
| | | |
| | | public boolean checkElementLogging() |
| | | { |
| | | return _elementLogging != null && !_elementLogging.equalsIgnoreCase("false") && |
| | | !_elementLogging.equalsIgnoreCase("no") && !_elementLogging.equalsIgnoreCase("0"); |
| | | } |
| | | } |