Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
The CasCopier utility class should support multiple views/Sofas.
1) There should be a way to copy multiple views in the source CAS, each to its own view in the target CAS, while keeping a "memory" of copied FS so duplicates are not created.
2) References to Sofas need to be preserved in the target CAS. If we copy a source FS referencing a Sofa with SofaID "Foo" then this should result in a reference to the Sofa with the same SofaID in the target CAS. If that Sofa does not exist, we can either create it or throw an exception (probably this should be determined by an agument to the method call).