You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2008/01/08 17:38:51 UTC

svn commit: r610062 [4/12] - in /incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor: ./ src/main/java/org/apache/uima/aae/deployment/ src/main/java/org/apache/uima/aae/deployment/impl/ src/main/java/org/apache/uima/application/metadata/...

Modified: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/AsyncPrimitiveErrorConfiguration_Impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/AsyncPrimitiveErrorConfiguration_Impl.java?rev=610062&r1=610061&r2=610062&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/AsyncPrimitiveErrorConfiguration_Impl.java (original)
+++ incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/AsyncPrimitiveErrorConfiguration_Impl.java Tue Jan  8 08:38:45 2008
@@ -1,443 +1,443 @@
-/**
- * 
- * Project UIMA Tooling
- * 
- * 
- * creation date: Aug 11, 2007, 10:24:35 PM
- * source:  AsyncPrimitiveErrorConfiguration_Impl.java
- */
-package org.apache.uima.aae.deployment.impl;
-
-import org.apache.uima.aae.deployment.AEDeploymentConstants;
-import org.apache.uima.aae.deployment.AsyncAEErrorConfiguration;
-import org.apache.uima.aae.deployment.AsyncPrimitiveErrorConfiguration;
-import org.apache.uima.aae.deployment.CollectionProcessCompleteErrors;
-import org.apache.uima.aae.deployment.GetMetadataErrors;
-import org.apache.uima.aae.deployment.ProcessCasErrors;
-import org.apache.uima.internal.util.XMLUtils;
-import org.apache.uima.resource.metadata.impl.MetaDataObject_impl;
-import org.apache.uima.resource.metadata.impl.XmlizationInfo;
-import org.apache.uima.util.InvalidXMLException;
-import org.apache.uima.util.XMLParser;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
-import org.xml.sax.ContentHandler;
-import org.xml.sax.SAXException;
-import org.xml.sax.helpers.AttributesImpl;
-
-
-/**
- * 
- *
- */
-public class AsyncPrimitiveErrorConfiguration_Impl extends MetaDataObject_impl
-                    implements AEDeploymentConstants, AsyncPrimitiveErrorConfiguration
-{
-    private static final long serialVersionUID = 397306920555478205L;
-    
-    protected DeploymentMetaData_Impl parentObject; 
-
-    protected String        name = "";
-    protected String        description = "";
-    protected String        version = "";
-    protected String        vendor = "";
-
-    protected String        importedDescriptor;
-    protected boolean       hasImport = false;
-    protected boolean       importByLocation = false;
-
-    protected GetMetadataErrors    getMetadataErrors;
-    protected ProcessCasErrors     processCasErrors;
-    protected CollectionProcessCompleteErrors collectionProcessCompleteErrors;
-    
-    /*************************************************************************/
-
-    public AsyncPrimitiveErrorConfiguration_Impl() 
-    {
-        processCasErrors = new ProcessCasErrors_Impl(this);
-        collectionProcessCompleteErrors = new CollectionProcessCompleteErrors_Impl(this);       
-    }
-    
-    public AsyncAEErrorConfiguration clone()
-    {
-        AsyncAEErrorConfiguration clone = new AsyncPrimitiveErrorConfiguration_Impl();
-        clone.setName(getName());
-        clone.setDescription(getDescription());
-        clone.setVersion(getVersion());
-        clone.setVendor(getVendor());
-
-        if (processCasErrors != null) {
-            clone.setProcessCasErrors(processCasErrors.clone(clone));
-        }
-        if (collectionProcessCompleteErrors != null) {
-            clone.setCollectionProcessCompleteErrors(collectionProcessCompleteErrors.clone(clone));
-        }
-        return clone;
-    }
-    
-    /*************************************************************************/
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#buildFromXMLElement(org.w3c.dom.Element, org.apache.uima.util.XMLParser, org.apache.uima.util.XMLParser.ParsingOptions)
-     */
-    public void buildFromXMLElement (Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions)
-                            throws InvalidXMLException
-    {
-        String val;
-        
-        NodeList childNodes = aElement.getChildNodes();
-        for (int i = 0; i < childNodes.getLength(); i++) {
-            Node curNode = childNodes.item(i);
-            if (curNode instanceof Element) {
-                Element elem = (Element)curNode;
-                if (TAG_NAME.equalsIgnoreCase(elem.getTagName())) {
-                    setName(XMLUtils.getText(elem));
-
-                } else if (TAG_DESCRIPTION.equalsIgnoreCase(elem.getTagName())) {
-                    setDescription(XMLUtils.getText(elem));
-
-                } else if (TAG_VERSION.equalsIgnoreCase(elem.getTagName())) {
-                    setVersion(XMLUtils.getText(elem));
-
-                } else if (TAG_VENDOR.equalsIgnoreCase(elem.getTagName())) {
-                    setVendor(XMLUtils.getText(elem));
-
-                } else if (TAG_IMPORT.equalsIgnoreCase(elem.getTagName())) {
-                    String topDescr = "";
-                    if (elem.getAttribute(TAG_ATTR_LOCATION) != null) {
-                        // Trace.err("An import location=" + ((Element)n).getAttribute(TAG_ATTR_LOCATION));
-                        topDescr = elem.getAttribute(TAG_ATTR_LOCATION);
-                        setImportByLocation(true);
-                    } else if (elem.getAttribute(TAG_ATTR_NAME) != null) {
-                        topDescr = elem.getAttribute(TAG_ATTR_NAME);
-                    } else {
-                        throw new InvalidXMLException(
-                                InvalidXMLException.UNKNOWN_ELEMENT,
-                                new Object[]{elem.getTagName()});
-                    }
-                    setHasImport(true);
-                    setImportedDescriptor(topDescr);
-
-                } else if (TAG_PROCESS_CAS_ERRORS.equalsIgnoreCase(elem.getTagName())) {
-                  setAttributesForProcessCasErrors(elem);
-
-                } else if (TAG_COLLECTION_PROCESS_COMPLETE_ERRORS.equalsIgnoreCase(elem.getTagName())) {
-                  setAttributesForCollectionProcessCompleteErrors(elem);
-
-                } else {
-                    throw new InvalidXMLException(
-                            InvalidXMLException.UNKNOWN_ELEMENT,
-                            new Object[]{elem.getTagName()});
-                }
-            }
-        }
-    }
-    
-    protected void setAttributesForProcessCasErrors (Element aElement) throws InvalidXMLException {
-      NamedNodeMap map = aElement.getAttributes();
-      if (map != null) {
-        for (int i=0; i<map.getLength(); ++i) {
-          Node item = map.item(i);
-          String name = item.getNodeName();
-          String val = item.getNodeValue();
-          if (val == null) {
-            val = "";
-          } else {
-            val = val.trim();
-          }
-          if (TAG_ATTR_THRESHOLD_COUNT.equalsIgnoreCase(name)) {
-            if (val.length() > 0) {
-              processCasErrors.setThresholdCount(Integer.parseInt(val));
-            }
-          } else if (TAG_ATTR_THRESHOLD_WINDOW.equalsIgnoreCase(name)) {
-            if (val.length() > 0) {
-              processCasErrors.setThresholdWindow(Integer.parseInt(val));
-            }
-          } else if (TAG_ATTR_THRESHOLD_ACTION.equalsIgnoreCase(name)) {
-            if (val.length() > 0) {
-              processCasErrors.setThresholdAction(val);
-            }
-           
-          } else {
-            throw new InvalidXMLException(InvalidXMLException.UNKNOWN_ELEMENT, new Object[]{name});
-          }
-        }
-      }
-    }
-    
-    protected void setAttributesForCollectionProcessCompleteErrors (Element aElement) throws InvalidXMLException {
-      NamedNodeMap map = aElement.getAttributes();
-      if (map != null) {
-        for (int i=0; i<map.getLength(); ++i) {
-          Node item = map.item(i);
-          String name = item.getNodeName();
-          String val = item.getNodeValue();
-          if (val == null) {
-            val = "";
-          } else {
-            val = val.trim();
-          }
-          if (TAG_ATTR_TIMEOUT.equalsIgnoreCase(name)) {
-            if (val.length() > 0) {
-              collectionProcessCompleteErrors.setTimeout(Integer.parseInt(val));
-            }
-          } else if (TAG_ATTR_ADDITIONAL_ERROR_ACTION.equalsIgnoreCase(name)) {
-            if (val.length() > 0) {
-              collectionProcessCompleteErrors.setAdditionalErrorAction(val);
-            }
-          } else {
-            throw new InvalidXMLException(InvalidXMLException.UNKNOWN_ELEMENT, new Object[]{name});
-          }
-        }
-      }
-    }
-
-    /*************************************************************************/
-    
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#toXML(org.xml.sax.ContentHandler, boolean)
-     */
-    public void toXML(ContentHandler aContentHandler, boolean aWriteDefaultNamespaceAttribute)
-        throws SAXException
-    {
-        AttributesImpl attrs = new AttributesImpl();
-        aContentHandler.startElement("", TAG_ASYNC_PRIMITIVE_ERROR_CONFIGURATION,
-                TAG_ASYNC_PRIMITIVE_ERROR_CONFIGURATION, attrs);
-/*        
-        // <name>  </name>
-        aContentHandler.startElement("", "", "name", attrs);
-        String valStr = getName();
-        aContentHandler.characters(valStr.toCharArray(), 0, valStr.length());
-        aContentHandler.endElement("", "", "name");
-
-        // <description>  </description>
-        aContentHandler.startElement("", "", TAG_DESCRIPTION,attrs);
-        valStr = getDescription();
-        aContentHandler.characters(valStr.toCharArray(), 0, valStr.length());
-        aContentHandler.endElement("", "", TAG_DESCRIPTION);
-
-        // <version>  </version>
-        aContentHandler.startElement("", "","version",attrs);
-        valStr = getVersion();
-        aContentHandler.characters(valStr.toCharArray(), 0, valStr.length());
-        aContentHandler.endElement("", "", "version");
-
-        // <vendor>  </vendor>
-        aContentHandler.startElement("", "", "vendor", attrs);
-        valStr = getVendor();
-        aContentHandler.characters(valStr.toCharArray(), 0, valStr.length());
-        aContentHandler.endElement("", "", "vendor");
-*/
-        // <import location=.../>
-        if ( hasImport ) {
-            if (isImportByLocation()) {
-                attrs.addAttribute("", TAG_ATTR_LOCATION, TAG_ATTR_LOCATION,
-                    null, getImportedDescriptor());
-            } else {
-                attrs.addAttribute("", TAG_ATTR_NAME, TAG_ATTR_NAME,
-                        null, getImportedDescriptor());
-            }
-            aContentHandler.startElement("", TAG_IMPORT, TAG_IMPORT, attrs);
-            aContentHandler.endElement("", "", TAG_IMPORT);
-            attrs.clear();
-        }                
-        
-        // <ProcessCasErrors ...>
-        if (processCasErrors != null) {            
-            attrs.addAttribute("", TAG_ATTR_THRESHOLD_COUNT, TAG_ATTR_THRESHOLD_COUNT,
-                    null, Integer.toString(processCasErrors.getThresholdCount()));
-            attrs.addAttribute("", TAG_ATTR_THRESHOLD_WINDOW, TAG_ATTR_THRESHOLD_WINDOW,
-                    null, Integer.toString(processCasErrors.getThresholdWindow()));
-            attrs.addAttribute("", TAG_ATTR_THRESHOLD_ACTION, TAG_ATTR_THRESHOLD_ACTION,
-                    null, processCasErrors.getThresholdAction());
-            
-            aContentHandler.startElement("", TAG_PROCESS_CAS_ERRORS, TAG_PROCESS_CAS_ERRORS, attrs);
-            aContentHandler.endElement("", "", TAG_PROCESS_CAS_ERRORS);
-            attrs.clear();
-        }
-        
-        // <CollectionProcessCompleteErrors ...>
-        if (collectionProcessCompleteErrors != null) {
-            attrs.addAttribute("", TAG_ATTR_TIMEOUT, TAG_ATTR_TIMEOUT,
-                    null, Integer.toString(collectionProcessCompleteErrors.getTimeout()));
-            attrs.addAttribute("", TAG_ATTR_ADDITIONAL_ERROR_ACTION, TAG_ATTR_ADDITIONAL_ERROR_ACTION,
-                    null, collectionProcessCompleteErrors.getAdditionalErrorAction());
-            
-            aContentHandler.startElement("", TAG_COLLECTION_PROCESS_COMPLETE_ERRORS, 
-                    TAG_COLLECTION_PROCESS_COMPLETE_ERRORS, attrs);
-            aContentHandler.endElement("", "", TAG_COLLECTION_PROCESS_COMPLETE_ERRORS);
-            attrs.clear();
-        }
-        
-        aContentHandler.endElement("", "", TAG_ASYNC_PRIMITIVE_ERROR_CONFIGURATION);
-
-    }
-    
-
-    @Override
-    protected XmlizationInfo getXmlizationInfo() {
-        // TODO Auto-generated method stub
-        return null;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getCollectionProcessCompleteErrors()
-     */
-    public CollectionProcessCompleteErrors getCollectionProcessCompleteErrors() {
-        return collectionProcessCompleteErrors;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setCollectionProcessCompleteErrors(com.ibm.uima.aae.deployment.CollectionProcessCompleteErrors)
-     */
-    public void setCollectionProcessCompleteErrors(
-            CollectionProcessCompleteErrors collectionProcessCompleteErrors) {
-        this.collectionProcessCompleteErrors = collectionProcessCompleteErrors;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getDescription()
-     */
-    public String getDescription() {
-        return description;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setDescription(java.lang.String)
-     */
-    public void setDescription(String description) {
-        this.description = description;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getGetMetadataErrors()
-     */
-    public GetMetadataErrors getGetMetadataErrors() {
-        return getMetadataErrors;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setGetMetadataErrors(com.ibm.uima.aae.deployment.GetMetadataErrors)
-     */
-    public void setGetMetadataErrors(GetMetadataErrors getMetadataErrors) {
-        this.getMetadataErrors = getMetadataErrors;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getName()
-     */
-    public String getName() {
-        return name;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setName(java.lang.String)
-     */
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getProcessCasErrors()
-     */
-    public ProcessCasErrors getProcessCasErrors() {
-        return processCasErrors;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setProcessCasErrors(com.ibm.uima.aae.deployment.ProcessCasErrors)
-     */
-    public void setProcessCasErrors(ProcessCasErrors processCasErrors) {
-        this.processCasErrors = processCasErrors;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getVendor()
-     */
-    public String getVendor() {
-        return vendor;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setVendor(java.lang.String)
-     */
-    public void setVendor(String vendor) {
-        this.vendor = vendor;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getVersion()
-     */
-    public String getVersion() {
-        return version;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setVersion(java.lang.String)
-     */
-    public void setVersion(String version) {
-        this.version = version;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#hasImport()
-     */
-    public boolean hasImport() {
-        return hasImport;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setHasImport(boolean)
-     */
-    public void setHasImport(boolean hasImport) {
-        this.hasImport = hasImport;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#isImportByLocation()
-     */
-    public boolean isImportByLocation() {
-        return importByLocation;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setImportByLocation(boolean)
-     */
-    public void setImportByLocation(boolean importByLocation) {
-        this.importByLocation = importByLocation;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getImportedDescriptor()
-     */
-    public String getImportedDescriptor() {
-        return importedDescriptor;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setImportedDescriptor(java.lang.String)
-     */
-    public void setImportedDescriptor(String importedDescriptor) {
-        this.importedDescriptor = importedDescriptor;
-    }
-
-    /**
-     * @return the parentObject
-     */
-    public DeploymentMetaData_Impl gParentObject() {
-      return parentObject;
-    }
-
-    /**
-     * @param parentObject the parentObject to set
-     */
-    public void sParentObject(DeploymentMetaData_Impl parentObject) {
-      this.parentObject = parentObject;
-    }
-
-    /*************************************************************************/
-
-
-}
+/**
+ * 
+ * Project UIMA Tooling
+ * 
+ * 
+ * creation date: Aug 11, 2007, 10:24:35 PM
+ * source:  AsyncPrimitiveErrorConfiguration_Impl.java
+ */
+package org.apache.uima.aae.deployment.impl;
+
+import org.apache.uima.aae.deployment.AEDeploymentConstants;
+import org.apache.uima.aae.deployment.AsyncAEErrorConfiguration;
+import org.apache.uima.aae.deployment.AsyncPrimitiveErrorConfiguration;
+import org.apache.uima.aae.deployment.CollectionProcessCompleteErrors;
+import org.apache.uima.aae.deployment.GetMetadataErrors;
+import org.apache.uima.aae.deployment.ProcessCasErrors;
+import org.apache.uima.internal.util.XMLUtils;
+import org.apache.uima.resource.metadata.impl.MetaDataObject_impl;
+import org.apache.uima.resource.metadata.impl.XmlizationInfo;
+import org.apache.uima.util.InvalidXMLException;
+import org.apache.uima.util.XMLParser;
+import org.w3c.dom.Element;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+import org.xml.sax.ContentHandler;
+import org.xml.sax.SAXException;
+import org.xml.sax.helpers.AttributesImpl;
+
+
+/**
+ * 
+ *
+ */
+public class AsyncPrimitiveErrorConfiguration_Impl extends MetaDataObject_impl
+                    implements AEDeploymentConstants, AsyncPrimitiveErrorConfiguration
+{
+    private static final long serialVersionUID = 397306920555478205L;
+    
+    protected DeploymentMetaData_Impl parentObject; 
+
+    protected String        name = "";
+    protected String        description = "";
+    protected String        version = "";
+    protected String        vendor = "";
+
+    protected String        importedDescriptor;
+    protected boolean       hasImport = false;
+    protected boolean       importByLocation = false;
+
+    protected GetMetadataErrors    getMetadataErrors;
+    protected ProcessCasErrors     processCasErrors;
+    protected CollectionProcessCompleteErrors collectionProcessCompleteErrors;
+    
+    /*************************************************************************/
+
+    public AsyncPrimitiveErrorConfiguration_Impl() 
+    {
+        processCasErrors = new ProcessCasErrors_Impl(this);
+        collectionProcessCompleteErrors = new CollectionProcessCompleteErrors_Impl(this);       
+    }
+    
+    public AsyncAEErrorConfiguration clone()
+    {
+        AsyncAEErrorConfiguration clone = new AsyncPrimitiveErrorConfiguration_Impl();
+        clone.setName(getName());
+        clone.setDescription(getDescription());
+        clone.setVersion(getVersion());
+        clone.setVendor(getVendor());
+
+        if (processCasErrors != null) {
+            clone.setProcessCasErrors(processCasErrors.clone(clone));
+        }
+        if (collectionProcessCompleteErrors != null) {
+            clone.setCollectionProcessCompleteErrors(collectionProcessCompleteErrors.clone(clone));
+        }
+        return clone;
+    }
+    
+    /*************************************************************************/
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#buildFromXMLElement(org.w3c.dom.Element, org.apache.uima.util.XMLParser, org.apache.uima.util.XMLParser.ParsingOptions)
+     */
+    public void buildFromXMLElement (Element aElement, XMLParser aParser, XMLParser.ParsingOptions aOptions)
+                            throws InvalidXMLException
+    {
+        String val;
+        
+        NodeList childNodes = aElement.getChildNodes();
+        for (int i = 0; i < childNodes.getLength(); i++) {
+            Node curNode = childNodes.item(i);
+            if (curNode instanceof Element) {
+                Element elem = (Element)curNode;
+                if (TAG_NAME.equalsIgnoreCase(elem.getTagName())) {
+                    setName(XMLUtils.getText(elem));
+
+                } else if (TAG_DESCRIPTION.equalsIgnoreCase(elem.getTagName())) {
+                    setDescription(XMLUtils.getText(elem));
+
+                } else if (TAG_VERSION.equalsIgnoreCase(elem.getTagName())) {
+                    setVersion(XMLUtils.getText(elem));
+
+                } else if (TAG_VENDOR.equalsIgnoreCase(elem.getTagName())) {
+                    setVendor(XMLUtils.getText(elem));
+
+                } else if (TAG_IMPORT.equalsIgnoreCase(elem.getTagName())) {
+                    String topDescr = "";
+                    if (elem.getAttribute(TAG_ATTR_LOCATION) != null) {
+                        // Trace.err("An import location=" + ((Element)n).getAttribute(TAG_ATTR_LOCATION));
+                        topDescr = elem.getAttribute(TAG_ATTR_LOCATION);
+                        setImportByLocation(true);
+                    } else if (elem.getAttribute(TAG_ATTR_NAME) != null) {
+                        topDescr = elem.getAttribute(TAG_ATTR_NAME);
+                    } else {
+                        throw new InvalidXMLException(
+                                InvalidXMLException.UNKNOWN_ELEMENT,
+                                new Object[]{elem.getTagName()});
+                    }
+                    setHasImport(true);
+                    setImportedDescriptor(topDescr);
+
+                } else if (TAG_PROCESS_CAS_ERRORS.equalsIgnoreCase(elem.getTagName())) {
+                  setAttributesForProcessCasErrors(elem);
+
+                } else if (TAG_COLLECTION_PROCESS_COMPLETE_ERRORS.equalsIgnoreCase(elem.getTagName())) {
+                  setAttributesForCollectionProcessCompleteErrors(elem);
+
+                } else {
+                    throw new InvalidXMLException(
+                            InvalidXMLException.UNKNOWN_ELEMENT,
+                            new Object[]{elem.getTagName()});
+                }
+            }
+        }
+    }
+    
+    protected void setAttributesForProcessCasErrors (Element aElement) throws InvalidXMLException {
+      NamedNodeMap map = aElement.getAttributes();
+      if (map != null) {
+        for (int i=0; i<map.getLength(); ++i) {
+          Node item = map.item(i);
+          String name = item.getNodeName();
+          String val = item.getNodeValue();
+          if (val == null) {
+            val = "";
+          } else {
+            val = val.trim();
+          }
+          if (TAG_ATTR_THRESHOLD_COUNT.equalsIgnoreCase(name)) {
+            if (val.length() > 0) {
+              processCasErrors.setThresholdCount(Integer.parseInt(val));
+            }
+          } else if (TAG_ATTR_THRESHOLD_WINDOW.equalsIgnoreCase(name)) {
+            if (val.length() > 0) {
+              processCasErrors.setThresholdWindow(Integer.parseInt(val));
+            }
+          } else if (TAG_ATTR_THRESHOLD_ACTION.equalsIgnoreCase(name)) {
+            if (val.length() > 0) {
+              processCasErrors.setThresholdAction(val);
+            }
+           
+          } else {
+            throw new InvalidXMLException(InvalidXMLException.UNKNOWN_ELEMENT, new Object[]{name});
+          }
+        }
+      }
+    }
+    
+    protected void setAttributesForCollectionProcessCompleteErrors (Element aElement) throws InvalidXMLException {
+      NamedNodeMap map = aElement.getAttributes();
+      if (map != null) {
+        for (int i=0; i<map.getLength(); ++i) {
+          Node item = map.item(i);
+          String name = item.getNodeName();
+          String val = item.getNodeValue();
+          if (val == null) {
+            val = "";
+          } else {
+            val = val.trim();
+          }
+          if (TAG_ATTR_TIMEOUT.equalsIgnoreCase(name)) {
+            if (val.length() > 0) {
+              collectionProcessCompleteErrors.setTimeout(Integer.parseInt(val));
+            }
+          } else if (TAG_ATTR_ADDITIONAL_ERROR_ACTION.equalsIgnoreCase(name)) {
+            if (val.length() > 0) {
+              collectionProcessCompleteErrors.setAdditionalErrorAction(val);
+            }
+          } else {
+            throw new InvalidXMLException(InvalidXMLException.UNKNOWN_ELEMENT, new Object[]{name});
+          }
+        }
+      }
+    }
+
+    /*************************************************************************/
+    
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#toXML(org.xml.sax.ContentHandler, boolean)
+     */
+    public void toXML(ContentHandler aContentHandler, boolean aWriteDefaultNamespaceAttribute)
+        throws SAXException
+    {
+        AttributesImpl attrs = new AttributesImpl();
+        aContentHandler.startElement("", TAG_ASYNC_PRIMITIVE_ERROR_CONFIGURATION,
+                TAG_ASYNC_PRIMITIVE_ERROR_CONFIGURATION, attrs);
+/*        
+        // <name>  </name>
+        aContentHandler.startElement("", "", "name", attrs);
+        String valStr = getName();
+        aContentHandler.characters(valStr.toCharArray(), 0, valStr.length());
+        aContentHandler.endElement("", "", "name");
+
+        // <description>  </description>
+        aContentHandler.startElement("", "", TAG_DESCRIPTION,attrs);
+        valStr = getDescription();
+        aContentHandler.characters(valStr.toCharArray(), 0, valStr.length());
+        aContentHandler.endElement("", "", TAG_DESCRIPTION);
+
+        // <version>  </version>
+        aContentHandler.startElement("", "","version",attrs);
+        valStr = getVersion();
+        aContentHandler.characters(valStr.toCharArray(), 0, valStr.length());
+        aContentHandler.endElement("", "", "version");
+
+        // <vendor>  </vendor>
+        aContentHandler.startElement("", "", "vendor", attrs);
+        valStr = getVendor();
+        aContentHandler.characters(valStr.toCharArray(), 0, valStr.length());
+        aContentHandler.endElement("", "", "vendor");
+*/
+        // <import location=.../>
+        if ( hasImport ) {
+            if (isImportByLocation()) {
+                attrs.addAttribute("", TAG_ATTR_LOCATION, TAG_ATTR_LOCATION,
+                    null, getImportedDescriptor());
+            } else {
+                attrs.addAttribute("", TAG_ATTR_NAME, TAG_ATTR_NAME,
+                        null, getImportedDescriptor());
+            }
+            aContentHandler.startElement("", TAG_IMPORT, TAG_IMPORT, attrs);
+            aContentHandler.endElement("", "", TAG_IMPORT);
+            attrs.clear();
+        }                
+        
+        // <ProcessCasErrors ...>
+        if (processCasErrors != null) {            
+            attrs.addAttribute("", TAG_ATTR_THRESHOLD_COUNT, TAG_ATTR_THRESHOLD_COUNT,
+                    null, Integer.toString(processCasErrors.getThresholdCount()));
+            attrs.addAttribute("", TAG_ATTR_THRESHOLD_WINDOW, TAG_ATTR_THRESHOLD_WINDOW,
+                    null, Integer.toString(processCasErrors.getThresholdWindow()));
+            attrs.addAttribute("", TAG_ATTR_THRESHOLD_ACTION, TAG_ATTR_THRESHOLD_ACTION,
+                    null, processCasErrors.getThresholdAction());
+            
+            aContentHandler.startElement("", TAG_PROCESS_CAS_ERRORS, TAG_PROCESS_CAS_ERRORS, attrs);
+            aContentHandler.endElement("", "", TAG_PROCESS_CAS_ERRORS);
+            attrs.clear();
+        }
+        
+        // <CollectionProcessCompleteErrors ...>
+        if (collectionProcessCompleteErrors != null) {
+            attrs.addAttribute("", TAG_ATTR_TIMEOUT, TAG_ATTR_TIMEOUT,
+                    null, Integer.toString(collectionProcessCompleteErrors.getTimeout()));
+            attrs.addAttribute("", TAG_ATTR_ADDITIONAL_ERROR_ACTION, TAG_ATTR_ADDITIONAL_ERROR_ACTION,
+                    null, collectionProcessCompleteErrors.getAdditionalErrorAction());
+            
+            aContentHandler.startElement("", TAG_COLLECTION_PROCESS_COMPLETE_ERRORS, 
+                    TAG_COLLECTION_PROCESS_COMPLETE_ERRORS, attrs);
+            aContentHandler.endElement("", "", TAG_COLLECTION_PROCESS_COMPLETE_ERRORS);
+            attrs.clear();
+        }
+        
+        aContentHandler.endElement("", "", TAG_ASYNC_PRIMITIVE_ERROR_CONFIGURATION);
+
+    }
+    
+
+    @Override
+    protected XmlizationInfo getXmlizationInfo() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getCollectionProcessCompleteErrors()
+     */
+    public CollectionProcessCompleteErrors getCollectionProcessCompleteErrors() {
+        return collectionProcessCompleteErrors;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setCollectionProcessCompleteErrors(com.ibm.uima.aae.deployment.CollectionProcessCompleteErrors)
+     */
+    public void setCollectionProcessCompleteErrors(
+            CollectionProcessCompleteErrors collectionProcessCompleteErrors) {
+        this.collectionProcessCompleteErrors = collectionProcessCompleteErrors;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getDescription()
+     */
+    public String getDescription() {
+        return description;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setDescription(java.lang.String)
+     */
+    public void setDescription(String description) {
+        this.description = description;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getGetMetadataErrors()
+     */
+    public GetMetadataErrors getGetMetadataErrors() {
+        return getMetadataErrors;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setGetMetadataErrors(com.ibm.uima.aae.deployment.GetMetadataErrors)
+     */
+    public void setGetMetadataErrors(GetMetadataErrors getMetadataErrors) {
+        this.getMetadataErrors = getMetadataErrors;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getName()
+     */
+    public String getName() {
+        return name;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setName(java.lang.String)
+     */
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getProcessCasErrors()
+     */
+    public ProcessCasErrors getProcessCasErrors() {
+        return processCasErrors;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setProcessCasErrors(com.ibm.uima.aae.deployment.ProcessCasErrors)
+     */
+    public void setProcessCasErrors(ProcessCasErrors processCasErrors) {
+        this.processCasErrors = processCasErrors;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getVendor()
+     */
+    public String getVendor() {
+        return vendor;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setVendor(java.lang.String)
+     */
+    public void setVendor(String vendor) {
+        this.vendor = vendor;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getVersion()
+     */
+    public String getVersion() {
+        return version;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setVersion(java.lang.String)
+     */
+    public void setVersion(String version) {
+        this.version = version;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#hasImport()
+     */
+    public boolean hasImport() {
+        return hasImport;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setHasImport(boolean)
+     */
+    public void setHasImport(boolean hasImport) {
+        this.hasImport = hasImport;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#isImportByLocation()
+     */
+    public boolean isImportByLocation() {
+        return importByLocation;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setImportByLocation(boolean)
+     */
+    public void setImportByLocation(boolean importByLocation) {
+        this.importByLocation = importByLocation;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#getImportedDescriptor()
+     */
+    public String getImportedDescriptor() {
+        return importedDescriptor;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.AsyncPrimitiveErrorConfiguration#setImportedDescriptor(java.lang.String)
+     */
+    public void setImportedDescriptor(String importedDescriptor) {
+        this.importedDescriptor = importedDescriptor;
+    }
+
+    /**
+     * @return the parentObject
+     */
+    public DeploymentMetaData_Impl gParentObject() {
+      return parentObject;
+    }
+
+    /**
+     * @param parentObject the parentObject to set
+     */
+    public void sParentObject(DeploymentMetaData_Impl parentObject) {
+      this.parentObject = parentObject;
+    }
+
+    /*************************************************************************/
+
+
+}

Propchange: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/AsyncPrimitiveErrorConfiguration_Impl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/CollectionProcessCompleteErrors_Impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/CollectionProcessCompleteErrors_Impl.java?rev=610062&r1=610061&r2=610062&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/CollectionProcessCompleteErrors_Impl.java (original)
+++ incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/CollectionProcessCompleteErrors_Impl.java Tue Jan  8 08:38:45 2008
@@ -1,97 +1,97 @@
-/**
- * 
- * Project UIMA Tooling
- * 
- * 
- * creation date: Aug 11, 2007, 10:29:51 PM
- * source:  GetMetadataErrors.java
- */
-package org.apache.uima.aae.deployment.impl;
-
-import org.apache.uima.aae.deployment.AEDeploymentConstants;
-import org.apache.uima.aae.deployment.AsyncAEErrorConfiguration;
-import org.apache.uima.aae.deployment.CollectionProcessCompleteErrors;
-import org.apache.uima.resource.metadata.impl.MetaDataObject_impl;
-import org.apache.uima.resource.metadata.impl.XmlizationInfo;
-
-
-/**
- * 
- *
- */
-public class CollectionProcessCompleteErrors_Impl extends MetaDataObject_impl
-                    implements AEDeploymentConstants, CollectionProcessCompleteErrors
-{
-    private static final long serialVersionUID = 789434854750231933L;
-    
-    protected AsyncAEErrorConfiguration parent;
-
-    protected int           timeout = DEFAULT_COLLPROCESSCOMPLETEERROR_TIMEOUT;
-    protected String        additionalErrorAction = DEFAULT_ADDITIONAL_ERROR_ACTION;
-
-    /*************************************************************************/
-
-    public CollectionProcessCompleteErrors_Impl(AsyncAEErrorConfiguration parent) {
-        this.parent = parent;
-    }
-    
-    public CollectionProcessCompleteErrors clone(AsyncAEErrorConfiguration parent) 
-    {
-        CollectionProcessCompleteErrors clone = new CollectionProcessCompleteErrors_Impl(parent);
-        clone.setTimeout(getTimeout());
-        clone.setAdditionalErrorAction(getAdditionalErrorAction());
-    
-        return clone;
-    }
-    
-    /*************************************************************************/
-
-    public AsyncAEErrorConfiguration getParent() {
-        return parent;
-    }
-
-    @Override
-    protected XmlizationInfo getXmlizationInfo() {
-        // TODO Auto-generated method stub
-        return null;
-    }
-    
-    public void setValueById (int id, Object value) {
-        if (id == KIND_TIMEOUT) {
-            timeout = ((Integer) value).intValue();
-        } else if (id == KIND_ADDITIONA_ERROR_ACTION) {
-            additionalErrorAction = (String) value;
-        }
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.CollectionProcessCompleteErrors#getAdditionalErrorAction()
-     */
-    public String getAdditionalErrorAction() {
-        return additionalErrorAction;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.CollectionProcessCompleteErrors#setAdditionalErrorAction(java.lang.String)
-     */
-    public void setAdditionalErrorAction(String additionalErrorAction) {
-        this.additionalErrorAction = additionalErrorAction;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.CollectionProcessCompleteErrors#getTimeout()
-     */
-    public int getTimeout() {
-        return timeout;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.CollectionProcessCompleteErrors#setTimeout(int)
-     */
-    public void setTimeout(int timeout) {
-        this.timeout = timeout;
-    }
-    
-    /*************************************************************************/
-
-}
+/**
+ * 
+ * Project UIMA Tooling
+ * 
+ * 
+ * creation date: Aug 11, 2007, 10:29:51 PM
+ * source:  GetMetadataErrors.java
+ */
+package org.apache.uima.aae.deployment.impl;
+
+import org.apache.uima.aae.deployment.AEDeploymentConstants;
+import org.apache.uima.aae.deployment.AsyncAEErrorConfiguration;
+import org.apache.uima.aae.deployment.CollectionProcessCompleteErrors;
+import org.apache.uima.resource.metadata.impl.MetaDataObject_impl;
+import org.apache.uima.resource.metadata.impl.XmlizationInfo;
+
+
+/**
+ * 
+ *
+ */
+public class CollectionProcessCompleteErrors_Impl extends MetaDataObject_impl
+                    implements AEDeploymentConstants, CollectionProcessCompleteErrors
+{
+    private static final long serialVersionUID = 789434854750231933L;
+    
+    protected AsyncAEErrorConfiguration parent;
+
+    protected int           timeout = DEFAULT_COLLPROCESSCOMPLETEERROR_TIMEOUT;
+    protected String        additionalErrorAction = DEFAULT_ADDITIONAL_ERROR_ACTION;
+
+    /*************************************************************************/
+
+    public CollectionProcessCompleteErrors_Impl(AsyncAEErrorConfiguration parent) {
+        this.parent = parent;
+    }
+    
+    public CollectionProcessCompleteErrors clone(AsyncAEErrorConfiguration parent) 
+    {
+        CollectionProcessCompleteErrors clone = new CollectionProcessCompleteErrors_Impl(parent);
+        clone.setTimeout(getTimeout());
+        clone.setAdditionalErrorAction(getAdditionalErrorAction());
+    
+        return clone;
+    }
+    
+    /*************************************************************************/
+
+    public AsyncAEErrorConfiguration getParent() {
+        return parent;
+    }
+
+    @Override
+    protected XmlizationInfo getXmlizationInfo() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+    
+    public void setValueById (int id, Object value) {
+        if (id == KIND_TIMEOUT) {
+            timeout = ((Integer) value).intValue();
+        } else if (id == KIND_ADDITIONA_ERROR_ACTION) {
+            additionalErrorAction = (String) value;
+        }
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.CollectionProcessCompleteErrors#getAdditionalErrorAction()
+     */
+    public String getAdditionalErrorAction() {
+        return additionalErrorAction;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.CollectionProcessCompleteErrors#setAdditionalErrorAction(java.lang.String)
+     */
+    public void setAdditionalErrorAction(String additionalErrorAction) {
+        this.additionalErrorAction = additionalErrorAction;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.CollectionProcessCompleteErrors#getTimeout()
+     */
+    public int getTimeout() {
+        return timeout;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.CollectionProcessCompleteErrors#setTimeout(int)
+     */
+    public void setTimeout(int timeout) {
+        this.timeout = timeout;
+    }
+    
+    /*************************************************************************/
+
+}

Propchange: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/CollectionProcessCompleteErrors_Impl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DDEInvalidXMLException.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DDEInvalidXMLException.java?rev=610062&r1=610061&r2=610062&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DDEInvalidXMLException.java (original)
+++ incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DDEInvalidXMLException.java Tue Jan  8 08:38:45 2008
@@ -1,50 +1,50 @@
-package org.apache.uima.aae.deployment.impl;
-
-import org.apache.uima.util.InvalidXMLException;
-
-public class DDEInvalidXMLException extends InvalidXMLException 
-{
-    /**
-     * The name of the {@link java.util.ResourceBundle ResourceBundle} containing the standard DDE
-     * Exception messages.
-     */
-    public static final String STANDARD_MESSAGE_CATALOG = "org.apache.uima.aae.deployment.DDEException_Messages";
-
-    /**
-     * Message key for a standard UIMA exception message: "Expected an element of type {0}, but found
-     * an element of type {1}."
-     */
-    public static final String INVALID_ELEMENT_TYPE     = "invalid_element_type";
-    
-    public static final String DELEGATE_KEY_NOT_FOUND   = "delegate_key_not_found";
-
-    
-    protected DDEInvalidXMLException() {
-        super();
-        // TODO Auto-generated constructor stub
-    }
-
-    protected DDEInvalidXMLException(String aMessageKey, Object[] aArguments, Throwable aCause) {
-        super(aMessageKey, aArguments, aCause);
-    }
-
-    public DDEInvalidXMLException(String aMessageKey, Object[] aArguments) {
-        super(STANDARD_MESSAGE_CATALOG, aMessageKey, aArguments);
-    }
-
-    protected DDEInvalidXMLException(String arg0, String arg1, Object[] arg2, Throwable arg3) {
-        super(arg0, arg1, arg2, arg3);
-        // TODO Auto-generated constructor stub
-    }
-
-    protected DDEInvalidXMLException(String arg0, String arg1, Object[] arg2) {
-        super(arg0, arg1, arg2);
-        // TODO Auto-generated constructor stub
-    }
-
-    protected DDEInvalidXMLException(Throwable arg0) {
-        super(arg0);
-        // TODO Auto-generated constructor stub
-    }
-
-}
+package org.apache.uima.aae.deployment.impl;
+
+import org.apache.uima.util.InvalidXMLException;
+
+public class DDEInvalidXMLException extends InvalidXMLException 
+{
+    /**
+     * The name of the {@link java.util.ResourceBundle ResourceBundle} containing the standard DDE
+     * Exception messages.
+     */
+    public static final String STANDARD_MESSAGE_CATALOG = "org.apache.uima.aae.deployment.DDEException_Messages";
+
+    /**
+     * Message key for a standard UIMA exception message: "Expected an element of type {0}, but found
+     * an element of type {1}."
+     */
+    public static final String INVALID_ELEMENT_TYPE     = "invalid_element_type";
+    
+    public static final String DELEGATE_KEY_NOT_FOUND   = "delegate_key_not_found";
+
+    
+    protected DDEInvalidXMLException() {
+        super();
+        // TODO Auto-generated constructor stub
+    }
+
+    protected DDEInvalidXMLException(String aMessageKey, Object[] aArguments, Throwable aCause) {
+        super(aMessageKey, aArguments, aCause);
+    }
+
+    public DDEInvalidXMLException(String aMessageKey, Object[] aArguments) {
+        super(STANDARD_MESSAGE_CATALOG, aMessageKey, aArguments);
+    }
+
+    protected DDEInvalidXMLException(String arg0, String arg1, Object[] arg2, Throwable arg3) {
+        super(arg0, arg1, arg2, arg3);
+        // TODO Auto-generated constructor stub
+    }
+
+    protected DDEInvalidXMLException(String arg0, String arg1, Object[] arg2) {
+        super(arg0, arg1, arg2);
+        // TODO Auto-generated constructor stub
+    }
+
+    protected DDEInvalidXMLException(Throwable arg0) {
+        super(arg0);
+        // TODO Auto-generated constructor stub
+    }
+
+}

Propchange: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DDEInvalidXMLException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DDParserUtil.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DDParserUtil.java?rev=610062&r1=610061&r2=610062&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DDParserUtil.java (original)
+++ incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DDParserUtil.java Tue Jan  8 08:38:45 2008
@@ -1,56 +1,56 @@
-package org.apache.uima.aae.deployment.impl;
-
-import org.apache.uima.util.InvalidXMLException;
-import org.w3c.dom.Element;
-import org.w3c.dom.NamedNodeMap;
-import org.w3c.dom.Node;
-
-public class DDParserUtil {
-
-
-  /**
-   * Check and get the attribute value 
-   * 
-   * @param parentElementName
-   * @param attributeName
-   * @param aElement
-   * @throws InvalidXMLException
-   * @return String
-   */
-  static public String checkAndGetAttributeValue (String parentElementName, String attributeName, 
-          Element aElement) throws InvalidXMLException {
-    // Check for attributeName attribute
-    boolean found = false;
-    String val = null;
-    NamedNodeMap map = aElement.getAttributes();
-    if (map != null) {
-      for (int i=0; i<map.getLength(); ++i) {
-        Node item = map.item(i);
-        String name = item.getNodeName();
-        val = item.getNodeValue();
-        if (val == null) {
-          val = "";
-        } else {
-          val = val.trim();
-        }
-        if (attributeName.equalsIgnoreCase(name)) {
-          // Found
-          found = true;
-          break;
-
-        } else {
-          throw new InvalidXMLException(InvalidXMLException.UNKNOWN_ELEMENT,
-                  new Object[]{name, parentElementName});
-        }
-      }
-    }
-
-    // Check for missing attributes
-    if (!found) {
-      throw new InvalidXMLException(InvalidXMLException.ELEMENT_NOT_FOUND,
-              new Object[]{attributeName, parentElementName});
-    }
-    return val;
-  }
-
-}
+package org.apache.uima.aae.deployment.impl;
+
+import org.apache.uima.util.InvalidXMLException;
+import org.w3c.dom.Element;
+import org.w3c.dom.NamedNodeMap;
+import org.w3c.dom.Node;
+
+public class DDParserUtil {
+
+
+  /**
+   * Check and get the attribute value 
+   * 
+   * @param parentElementName
+   * @param attributeName
+   * @param aElement
+   * @throws InvalidXMLException
+   * @return String
+   */
+  static public String checkAndGetAttributeValue (String parentElementName, String attributeName, 
+          Element aElement) throws InvalidXMLException {
+    // Check for attributeName attribute
+    boolean found = false;
+    String val = null;
+    NamedNodeMap map = aElement.getAttributes();
+    if (map != null) {
+      for (int i=0; i<map.getLength(); ++i) {
+        Node item = map.item(i);
+        String name = item.getNodeName();
+        val = item.getNodeValue();
+        if (val == null) {
+          val = "";
+        } else {
+          val = val.trim();
+        }
+        if (attributeName.equalsIgnoreCase(name)) {
+          // Found
+          found = true;
+          break;
+
+        } else {
+          throw new InvalidXMLException(InvalidXMLException.UNKNOWN_ELEMENT,
+                  new Object[]{name, parentElementName});
+        }
+      }
+    }
+
+    // Check for missing attributes
+    if (!found) {
+      throw new InvalidXMLException(InvalidXMLException.ELEMENT_NOT_FOUND,
+              new Object[]{attributeName, parentElementName});
+    }
+    return val;
+  }
+
+}

Propchange: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DDParserUtil.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DeploymentMetaData_Impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DeploymentMetaData_Impl.java?rev=610062&r1=610061&r2=610062&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DeploymentMetaData_Impl.java (original)
+++ incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DeploymentMetaData_Impl.java Tue Jan  8 08:38:45 2008
@@ -1,57 +1,57 @@
-/**
- * 
- * Project UIMA Tooling
- * 
- * 
- * creation date: Aug 28, 2007, 10:40:13 AM
- * source:  DeploymentMetaData_Impl.java
- */
-package org.apache.uima.aae.deployment.impl;
-
-import org.apache.uima.aae.deployment.AEDeploymentMetaData;
-import org.apache.uima.resource.metadata.impl.MetaDataObject_impl;
-import org.apache.uima.resource.metadata.impl.XmlizationInfo;
-
-
-/**
- *  Common abstract class for AEDeploymentMetaData_Impl and RemoteAEDeploymentMetaData_Impl
- *
- */
-public abstract class DeploymentMetaData_Impl extends MetaDataObject_impl {
-
-    protected AEDeploymentMetaData  parent;
-    protected String key;
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.AEDeploymentMetaData#getParent()
-     */
-    public AEDeploymentMetaData getParent() {
-        return parent;
-    }
-
-    /**
-     * @param parent the parent to set
-     */
-    public void setParent(AEDeploymentMetaData parent) {
-        this.parent = parent;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see com.ibm.uima.aae.deployment.impl.AEDeploymentMetaData#getKey()
-     */
-    public String getKey() {
-      return key;
-    }
-
-    /*
-     * (non-Javadoc)
-     * 
-     * @see com.ibm.uima.aae.deployment.impl.AEDeploymentMetaData#setKey(java.lang.String)
-     */
-    public void setKey(String key) {
-      this.key = key;
-    }
-
-}
+/**
+ * 
+ * Project UIMA Tooling
+ * 
+ * 
+ * creation date: Aug 28, 2007, 10:40:13 AM
+ * source:  DeploymentMetaData_Impl.java
+ */
+package org.apache.uima.aae.deployment.impl;
+
+import org.apache.uima.aae.deployment.AEDeploymentMetaData;
+import org.apache.uima.resource.metadata.impl.MetaDataObject_impl;
+import org.apache.uima.resource.metadata.impl.XmlizationInfo;
+
+
+/**
+ *  Common abstract class for AEDeploymentMetaData_Impl and RemoteAEDeploymentMetaData_Impl
+ *
+ */
+public abstract class DeploymentMetaData_Impl extends MetaDataObject_impl {
+
+    protected AEDeploymentMetaData  parent;
+    protected String key;
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.AEDeploymentMetaData#getParent()
+     */
+    public AEDeploymentMetaData getParent() {
+        return parent;
+    }
+
+    /**
+     * @param parent the parent to set
+     */
+    public void setParent(AEDeploymentMetaData parent) {
+        this.parent = parent;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see com.ibm.uima.aae.deployment.impl.AEDeploymentMetaData#getKey()
+     */
+    public String getKey() {
+      return key;
+    }
+
+    /*
+     * (non-Javadoc)
+     * 
+     * @see com.ibm.uima.aae.deployment.impl.AEDeploymentMetaData#setKey(java.lang.String)
+     */
+    public void setKey(String key) {
+      this.key = key;
+    }
+
+}

Propchange: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/DeploymentMetaData_Impl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/GetMetadataErrors_Impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/GetMetadataErrors_Impl.java?rev=610062&r1=610061&r2=610062&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/GetMetadataErrors_Impl.java (original)
+++ incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/GetMetadataErrors_Impl.java Tue Jan  8 08:38:45 2008
@@ -1,117 +1,117 @@
-/**
- * 
- * Project UIMA Tooling
- * 
- * 
- * creation date: Aug 11, 2007, 10:29:51 PM
- * source:  GetMetadataErrors.java
- */
-package org.apache.uima.aae.deployment.impl;
-
-import org.apache.uima.aae.deployment.AEDeploymentConstants;
-import org.apache.uima.aae.deployment.AEDeploymentMetaData;
-import org.apache.uima.aae.deployment.AsyncAEErrorConfiguration;
-import org.apache.uima.aae.deployment.GetMetadataErrors;
-import org.apache.uima.resource.metadata.impl.MetaDataObject_impl;
-import org.apache.uima.resource.metadata.impl.XmlizationInfo;
-import org.apache.uima.tools.debug.util.Trace;
-
-
-/**
- * 
- *
- */
-public class GetMetadataErrors_Impl extends MetaDataObject_impl
-                    implements AEDeploymentConstants, GetMetadataErrors
-{
-    private static final long serialVersionUID = 789496854750231918L;
-    
-    protected AsyncAEErrorConfiguration parent;
-    
-    protected int           maxRetries = DEFAULT_MAX_RETRIES;
-    protected int           timeout = DEFAULT_GETMETADATA_TIMEOUT;
-    protected String        errorAction = DEFAULT_ERROR_ACTION;
-
-    /*************************************************************************/
-
-    public GetMetadataErrors_Impl(AsyncAEErrorConfiguration parent) {
-        this.parent = parent;
-    }
-    
-    public GetMetadataErrors clone(AsyncAEErrorConfiguration parent) 
-    {
-        GetMetadataErrors clone = new GetMetadataErrors_Impl(parent);
-        clone.setErrorAction(getErrorAction());
-        clone.setMaxRetries(getMaxRetries());
-        clone.setTimeout(getTimeout());
-        
-        return clone;
-    }
-    
-    /*************************************************************************/
-    
-    public AsyncAEErrorConfiguration getParent() {
-        return parent;
-    }
-
-    @Override
-    protected XmlizationInfo getXmlizationInfo() {
-        // TODO Auto-generated method stub
-        return null;
-    }
-    
-    public void setValueById (int id, Object value) {
-        if (id == KIND_TIMEOUT) {
-            timeout = ((Integer) value).intValue();
-        } else if (id == KIND_MAX_RETRIES) {
-            maxRetries = ((Integer) value).intValue();
-        } else if (id == KIND_ERRORACTION) {
-            errorAction = (String) value;
-        }
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.GetMetadataErrors#getErrorAction()
-     */
-    public String getErrorAction() {
-        return errorAction;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.GetMetadataErrors#setErrorAction(java.lang.String)
-     */
-    public void setErrorAction(String errorAction) {
-        this.errorAction = errorAction;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.GetMetadataErrors#getMaxRetries()
-     */
-    public int getMaxRetries() {
-        return maxRetries;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.GetMetadataErrors#setMaxRetries(int)
-     */
-    public void setMaxRetries(int maxRetries) {
-        this.maxRetries = maxRetries;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.GetMetadataErrors#getTimeout()
-     */
-    public int getTimeout() {
-        return timeout;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.GetMetadataErrors#setTimeout(int)
-     */
-    public void setTimeout(int timeout) {
-        this.timeout = timeout;
-    }
-    
-    /*************************************************************************/
-
-}
+/**
+ * 
+ * Project UIMA Tooling
+ * 
+ * 
+ * creation date: Aug 11, 2007, 10:29:51 PM
+ * source:  GetMetadataErrors.java
+ */
+package org.apache.uima.aae.deployment.impl;
+
+import org.apache.uima.aae.deployment.AEDeploymentConstants;
+import org.apache.uima.aae.deployment.AEDeploymentMetaData;
+import org.apache.uima.aae.deployment.AsyncAEErrorConfiguration;
+import org.apache.uima.aae.deployment.GetMetadataErrors;
+import org.apache.uima.resource.metadata.impl.MetaDataObject_impl;
+import org.apache.uima.resource.metadata.impl.XmlizationInfo;
+import org.apache.uima.tools.debug.util.Trace;
+
+
+/**
+ * 
+ *
+ */
+public class GetMetadataErrors_Impl extends MetaDataObject_impl
+                    implements AEDeploymentConstants, GetMetadataErrors
+{
+    private static final long serialVersionUID = 789496854750231918L;
+    
+    protected AsyncAEErrorConfiguration parent;
+    
+    protected int           maxRetries = DEFAULT_MAX_RETRIES;
+    protected int           timeout = DEFAULT_GETMETADATA_TIMEOUT;
+    protected String        errorAction = DEFAULT_ERROR_ACTION;
+
+    /*************************************************************************/
+
+    public GetMetadataErrors_Impl(AsyncAEErrorConfiguration parent) {
+        this.parent = parent;
+    }
+    
+    public GetMetadataErrors clone(AsyncAEErrorConfiguration parent) 
+    {
+        GetMetadataErrors clone = new GetMetadataErrors_Impl(parent);
+        clone.setErrorAction(getErrorAction());
+        clone.setMaxRetries(getMaxRetries());
+        clone.setTimeout(getTimeout());
+        
+        return clone;
+    }
+    
+    /*************************************************************************/
+    
+    public AsyncAEErrorConfiguration getParent() {
+        return parent;
+    }
+
+    @Override
+    protected XmlizationInfo getXmlizationInfo() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+    
+    public void setValueById (int id, Object value) {
+        if (id == KIND_TIMEOUT) {
+            timeout = ((Integer) value).intValue();
+        } else if (id == KIND_MAX_RETRIES) {
+            maxRetries = ((Integer) value).intValue();
+        } else if (id == KIND_ERRORACTION) {
+            errorAction = (String) value;
+        }
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.GetMetadataErrors#getErrorAction()
+     */
+    public String getErrorAction() {
+        return errorAction;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.GetMetadataErrors#setErrorAction(java.lang.String)
+     */
+    public void setErrorAction(String errorAction) {
+        this.errorAction = errorAction;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.GetMetadataErrors#getMaxRetries()
+     */
+    public int getMaxRetries() {
+        return maxRetries;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.GetMetadataErrors#setMaxRetries(int)
+     */
+    public void setMaxRetries(int maxRetries) {
+        this.maxRetries = maxRetries;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.GetMetadataErrors#getTimeout()
+     */
+    public int getTimeout() {
+        return timeout;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.GetMetadataErrors#setTimeout(int)
+     */
+    public void setTimeout(int timeout) {
+        this.timeout = timeout;
+    }
+    
+    /*************************************************************************/
+
+}

Propchange: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/GetMetadataErrors_Impl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/InputQueue.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/InputQueue.java?rev=610062&r1=610061&r2=610062&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/InputQueue.java (original)
+++ incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/InputQueue.java Tue Jan  8 08:38:45 2008
@@ -1,25 +1,25 @@
-package org.apache.uima.aae.deployment.impl;
-
-public interface InputQueue {
-
-    /**
-     * @return the brokerURL
-     */
-    public String getBrokerURL();
-
-    /**
-     * @param brokerURL the brokerURL to set
-     */
-    public void setBrokerURL(String brokerURL);
-
-    /**
-     * @return the endPoint
-     */
-    public String getEndPoint();
-
-    /**
-     * @param endPoint the endPoint to set
-     */
-    public void setEndPoint(String endPoint);
-
+package org.apache.uima.aae.deployment.impl;
+
+public interface InputQueue {
+
+    /**
+     * @return the brokerURL
+     */
+    public String getBrokerURL();
+
+    /**
+     * @param brokerURL the brokerURL to set
+     */
+    public void setBrokerURL(String brokerURL);
+
+    /**
+     * @return the endPoint
+     */
+    public String getEndPoint();
+
+    /**
+     * @param endPoint the endPoint to set
+     */
+    public void setEndPoint(String endPoint);
+
 }

Propchange: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/InputQueue.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/InputQueue_Impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/InputQueue_Impl.java?rev=610062&r1=610061&r2=610062&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/InputQueue_Impl.java (original)
+++ incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/InputQueue_Impl.java Tue Jan  8 08:38:45 2008
@@ -1,57 +1,57 @@
-package org.apache.uima.aae.deployment.impl;
-
-import org.apache.uima.aae.deployment.AEDeploymentConstants;
-import org.apache.uima.resource.metadata.impl.MetaDataObject_impl;
-import org.apache.uima.resource.metadata.impl.XmlizationInfo;
-
-
-public class InputQueue_Impl extends MetaDataObject_impl 
-                        implements AEDeploymentConstants, InputQueue
-{
-    private static final long serialVersionUID = -3427240441303143531L;
-    
-    protected String        endPoint = "";
-    protected String        brokerURL = "";
-    
-    /*************************************************************************/
-
-    public InputQueue_Impl() {
-    }
-    
-    /*************************************************************************/
-
-    @Override
-    protected XmlizationInfo getXmlizationInfo() {
-        // TODO Auto-generated method stub
-        return null;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.InputQueue#getBrokerURL()
-     */
-    public String getBrokerURL() {
-        return brokerURL;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.InputQueue#setBrokerURL(java.lang.String)
-     */
-    public void setBrokerURL(String brokerURL) {
-        this.brokerURL = brokerURL;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.InputQueue#getEndPoint()
-     */
-    public String getEndPoint() {
-        return endPoint;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.InputQueue#setEndPoint(java.lang.String)
-     */
-    public void setEndPoint(String endPoint) {
-        this.endPoint = endPoint;
-    }
-
-}
+package org.apache.uima.aae.deployment.impl;
+
+import org.apache.uima.aae.deployment.AEDeploymentConstants;
+import org.apache.uima.resource.metadata.impl.MetaDataObject_impl;
+import org.apache.uima.resource.metadata.impl.XmlizationInfo;
+
+
+public class InputQueue_Impl extends MetaDataObject_impl 
+                        implements AEDeploymentConstants, InputQueue
+{
+    private static final long serialVersionUID = -3427240441303143531L;
+    
+    protected String        endPoint = "";
+    protected String        brokerURL = "";
+    
+    /*************************************************************************/
+
+    public InputQueue_Impl() {
+    }
+    
+    /*************************************************************************/
+
+    @Override
+    protected XmlizationInfo getXmlizationInfo() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.InputQueue#getBrokerURL()
+     */
+    public String getBrokerURL() {
+        return brokerURL;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.InputQueue#setBrokerURL(java.lang.String)
+     */
+    public void setBrokerURL(String brokerURL) {
+        this.brokerURL = brokerURL;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.InputQueue#getEndPoint()
+     */
+    public String getEndPoint() {
+        return endPoint;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.InputQueue#setEndPoint(java.lang.String)
+     */
+    public void setEndPoint(String endPoint) {
+        this.endPoint = endPoint;
+    }
+
+}

Propchange: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/InputQueue_Impl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/ProcessCasErrors_Impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/ProcessCasErrors_Impl.java?rev=610062&r1=610061&r2=610062&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/ProcessCasErrors_Impl.java (original)
+++ incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/ProcessCasErrors_Impl.java Tue Jan  8 08:38:45 2008
@@ -1,171 +1,171 @@
-/**
- * 
- * Project UIMA Tooling
- * 
- * 
- * creation date: Aug 11, 2007, 10:29:51 PM
- * source:  GetMetadataErrors.java
- */
-package org.apache.uima.aae.deployment.impl;
-
-import org.apache.uima.aae.deployment.AEDeploymentConstants;
-import org.apache.uima.aae.deployment.AsyncAEErrorConfiguration;
-import org.apache.uima.aae.deployment.ProcessCasErrors;
-import org.apache.uima.resource.metadata.impl.MetaDataObject_impl;
-import org.apache.uima.resource.metadata.impl.XmlizationInfo;
-
-
-/**
- * 
- *
- */
-public class ProcessCasErrors_Impl extends MetaDataObject_impl
-                    implements AEDeploymentConstants, ProcessCasErrors
-{
-    private static final long serialVersionUID = 789496854750231933L;
-    
-    protected AsyncAEErrorConfiguration parent;
-
-    protected int           maxRetries = DEFAULT_MAX_RETRIES;
-    protected int           timeout = DEFAULT_PROCESSCASERROR_TIMEOUT;
-    protected boolean       continueOnRetryFailure = DEFAULT_CONTINUE_ON_RETRY_FAILURE;
-
-    protected int           thresholdCount = DEFAULT_THRESHOLD_COUNT;
-    protected int           thresholdWindow = DEFAULT_THRESHOLD_WINDOW;
-    protected String        thresholdAction = DEFAULT_THRESHOLD_ACTION;
-
-    /*************************************************************************/
-
-    public ProcessCasErrors_Impl(AsyncAEErrorConfiguration parent) {
-        this.parent = parent;
-    }
-    
-    public ProcessCasErrors clone(AsyncAEErrorConfiguration parent) 
-    {
-        ProcessCasErrors clone = new ProcessCasErrors_Impl(parent);
-        clone.setThresholdCount(getThresholdCount());
-        clone.setThresholdWindow(getThresholdWindow());
-        clone.setThresholdAction(getThresholdAction());
-        clone.setMaxRetries(getMaxRetries());
-        clone.setTimeout(getTimeout());
-        clone.setContinueOnRetryFailure(isContinueOnRetryFailure());
-        
-        return clone;
-    }
-    
-    
-    /*************************************************************************/
-
-    public AsyncAEErrorConfiguration getParent() {
-        return parent;
-    }
-
-    @Override
-    protected XmlizationInfo getXmlizationInfo() {
-        // TODO Auto-generated method stub
-        return null;
-    }
-
-    public void setValueById (int id, Object value) {
-        if (id == KIND_TIMEOUT) {
-            timeout = ((Integer) value).intValue();
-        } else if (id == KIND_MAX_RETRIES) {
-            maxRetries = ((Integer) value).intValue();
-        } else if (id == KIND_THRESHOLD_COUNT) {
-            thresholdCount = ((Integer) value).intValue();
-        } else if (id == KIND_THRESHOLD_WINDOW) {
-            thresholdWindow = ((Integer) value).intValue();
-        } else if (id == KIND_THRESHOLD_ACTION) {
-            thresholdAction = (String) value;
-        } else if (id == KIND_CONTINUE_ON_RETRY) {
-            continueOnRetryFailure = ((Boolean) value).booleanValue();
-        }
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#isContinueOnRetryFailure()
-     */
-    public boolean isContinueOnRetryFailure() {
-        return continueOnRetryFailure;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#setContinueOnRetryFailure(boolean)
-     */
-    public void setContinueOnRetryFailure(boolean continueOnRetryFailure) {
-        this.continueOnRetryFailure = continueOnRetryFailure;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#getMaxRetries()
-     */
-    public int getMaxRetries() {
-        return maxRetries;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#setMaxRetries(int)
-     */
-    public void setMaxRetries(int maxRetries) {
-        this.maxRetries = maxRetries;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#getThresholdAction()
-     */
-    public String getThresholdAction() {
-        return thresholdAction;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#setThresholdAction(java.lang.String)
-     */
-    public void setThresholdAction(String thresholdAction) {
-        this.thresholdAction = thresholdAction;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#getThresholdCount()
-     */
-    public int getThresholdCount() {
-        return thresholdCount;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#setThresholdCount(int)
-     */
-    public void setThresholdCount(int thresholdCount) {
-        this.thresholdCount = thresholdCount;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#getThresholdWindow()
-     */
-    public int getThresholdWindow() {
-        return thresholdWindow;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#setThresholdWindow(int)
-     */
-    public void setThresholdWindow(int thresholdWindow) {
-        this.thresholdWindow = thresholdWindow;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#getTimeout()
-     */
-    public int getTimeout() {
-        return timeout;
-    }
-
-    /* (non-Javadoc)
-     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#setTimeout(int)
-     */
-    public void setTimeout(int timeout) {
-        this.timeout = timeout;
-    }
-    
-    /*************************************************************************/
-
-}
+/**
+ * 
+ * Project UIMA Tooling
+ * 
+ * 
+ * creation date: Aug 11, 2007, 10:29:51 PM
+ * source:  GetMetadataErrors.java
+ */
+package org.apache.uima.aae.deployment.impl;
+
+import org.apache.uima.aae.deployment.AEDeploymentConstants;
+import org.apache.uima.aae.deployment.AsyncAEErrorConfiguration;
+import org.apache.uima.aae.deployment.ProcessCasErrors;
+import org.apache.uima.resource.metadata.impl.MetaDataObject_impl;
+import org.apache.uima.resource.metadata.impl.XmlizationInfo;
+
+
+/**
+ * 
+ *
+ */
+public class ProcessCasErrors_Impl extends MetaDataObject_impl
+                    implements AEDeploymentConstants, ProcessCasErrors
+{
+    private static final long serialVersionUID = 789496854750231933L;
+    
+    protected AsyncAEErrorConfiguration parent;
+
+    protected int           maxRetries = DEFAULT_MAX_RETRIES;
+    protected int           timeout = DEFAULT_PROCESSCASERROR_TIMEOUT;
+    protected boolean       continueOnRetryFailure = DEFAULT_CONTINUE_ON_RETRY_FAILURE;
+
+    protected int           thresholdCount = DEFAULT_THRESHOLD_COUNT;
+    protected int           thresholdWindow = DEFAULT_THRESHOLD_WINDOW;
+    protected String        thresholdAction = DEFAULT_THRESHOLD_ACTION;
+
+    /*************************************************************************/
+
+    public ProcessCasErrors_Impl(AsyncAEErrorConfiguration parent) {
+        this.parent = parent;
+    }
+    
+    public ProcessCasErrors clone(AsyncAEErrorConfiguration parent) 
+    {
+        ProcessCasErrors clone = new ProcessCasErrors_Impl(parent);
+        clone.setThresholdCount(getThresholdCount());
+        clone.setThresholdWindow(getThresholdWindow());
+        clone.setThresholdAction(getThresholdAction());
+        clone.setMaxRetries(getMaxRetries());
+        clone.setTimeout(getTimeout());
+        clone.setContinueOnRetryFailure(isContinueOnRetryFailure());
+        
+        return clone;
+    }
+    
+    
+    /*************************************************************************/
+
+    public AsyncAEErrorConfiguration getParent() {
+        return parent;
+    }
+
+    @Override
+    protected XmlizationInfo getXmlizationInfo() {
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    public void setValueById (int id, Object value) {
+        if (id == KIND_TIMEOUT) {
+            timeout = ((Integer) value).intValue();
+        } else if (id == KIND_MAX_RETRIES) {
+            maxRetries = ((Integer) value).intValue();
+        } else if (id == KIND_THRESHOLD_COUNT) {
+            thresholdCount = ((Integer) value).intValue();
+        } else if (id == KIND_THRESHOLD_WINDOW) {
+            thresholdWindow = ((Integer) value).intValue();
+        } else if (id == KIND_THRESHOLD_ACTION) {
+            thresholdAction = (String) value;
+        } else if (id == KIND_CONTINUE_ON_RETRY) {
+            continueOnRetryFailure = ((Boolean) value).booleanValue();
+        }
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#isContinueOnRetryFailure()
+     */
+    public boolean isContinueOnRetryFailure() {
+        return continueOnRetryFailure;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#setContinueOnRetryFailure(boolean)
+     */
+    public void setContinueOnRetryFailure(boolean continueOnRetryFailure) {
+        this.continueOnRetryFailure = continueOnRetryFailure;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#getMaxRetries()
+     */
+    public int getMaxRetries() {
+        return maxRetries;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#setMaxRetries(int)
+     */
+    public void setMaxRetries(int maxRetries) {
+        this.maxRetries = maxRetries;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#getThresholdAction()
+     */
+    public String getThresholdAction() {
+        return thresholdAction;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#setThresholdAction(java.lang.String)
+     */
+    public void setThresholdAction(String thresholdAction) {
+        this.thresholdAction = thresholdAction;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#getThresholdCount()
+     */
+    public int getThresholdCount() {
+        return thresholdCount;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#setThresholdCount(int)
+     */
+    public void setThresholdCount(int thresholdCount) {
+        this.thresholdCount = thresholdCount;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#getThresholdWindow()
+     */
+    public int getThresholdWindow() {
+        return thresholdWindow;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#setThresholdWindow(int)
+     */
+    public void setThresholdWindow(int thresholdWindow) {
+        this.thresholdWindow = thresholdWindow;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#getTimeout()
+     */
+    public int getTimeout() {
+        return timeout;
+    }
+
+    /* (non-Javadoc)
+     * @see com.ibm.uima.aae.deployment.impl.ProcessCasErrors#setTimeout(int)
+     */
+    public void setTimeout(int timeout) {
+        this.timeout = timeout;
+    }
+    
+    /*************************************************************************/
+
+}

Propchange: incubator/uima/sandbox/trunk/uima-ee/uimaj-ep-runtime-deployeditor/src/main/java/org/apache/uima/aae/deployment/impl/ProcessCasErrors_Impl.java
------------------------------------------------------------------------------
    svn:eol-style = native