From 4b3d784ae20cd4909fceb54483304801893b448f Mon Sep 17 00:00:00 2001 From: ?? ? <ulysseskao@ximple.com.tw> Date: Mon, 19 May 2008 09:30:05 +0800 Subject: [PATCH] update for EOFM-90 --- xdgnjobs/ximple-spatialjob/src/main/java/com/ximple/eofms/jobs/AbstractDgnFileJobContext.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/xdgnjobs/ximple-spatialjob/src/main/java/com/ximple/eofms/jobs/AbstractDgnFileJobContext.java b/xdgnjobs/ximple-spatialjob/src/main/java/com/ximple/eofms/jobs/AbstractDgnFileJobContext.java index 313c4d2..6c8718a 100644 --- a/xdgnjobs/ximple-spatialjob/src/main/java/com/ximple/eofms/jobs/AbstractDgnFileJobContext.java +++ b/xdgnjobs/ximple-spatialjob/src/main/java/com/ximple/eofms/jobs/AbstractDgnFileJobContext.java @@ -20,6 +20,7 @@ private Dgn7fileReader reader = null; private String filename = null; + private String _elementLogging = null; public AbstractDgnFileJobContext(String dataPath) { @@ -68,4 +69,20 @@ { this.filename = filename; } + + 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"); + } } -- Gitblit v0.0.0-SNAPSHOT