[
https://issues.apache.org/jira/browse/UIMA-6300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17276110#comment-17276110
]
Serge Démoulin commented on UIMA-6300:
--------------------------------------
Sorry i made a mistake. The imports are not resolved during the cloning.
But the second problem stays. For an aggregate AnnotationEngineDescription (an
AnnotationEngineDescription that contains delegated
AnnotationEngineDescription) the delegated AnnotationEngineDescription are not
cloned.
Best regards,
Serge
> 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
> Assignee: Richard Eckart de Castilho
> Priority: Major
> Fix For: 3.2.0SDK
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> 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)