Serge Démoulin created UIMA-6300:
------------------------------------

             Summary: deep copy feature for 
org.apache.uima.analysis_engine.AnalysisEngineDescription class
                 Key: UIMA-6300
                 URL: https://issues.apache.org/jira/browse/UIMA-6300
             Project: UIMA
          Issue Type: Improvement
          Components: uimaj
    Affects Versions: 3.1.1SDK
            Reporter: Serge Démoulin


I need the following feature :

a deep copy for the following class 
org.apache.uima.analysis_engine.AnalysisEngineDescription

It means a copy that resolve the imports and copy the metatdatas, the delegates 
in case of aggregates and all the others attributes ...

IMPROVEMENT : this deep copy should let the object unchanged

That mean it should not call the method resolveImports() on the original object 
(this method changes the object)

 

AnalysisEngineDescription_impl inherits from MetaDataObject_impl

The class MetaDataObject_impl has a clone method

The clone method of MetaDataObject_impl resolve the imports (changing the 
object) and makes a deep its undelying metadatas.

{color:#ffffff}MetaDataOpl{color}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to