I must be missing something. The addMetadata() methods all converge on: public void addMetadata(String schema, String element, String qualifier, String lang, String[] values, String authorities[], int confidences[])
which carefully checks authority and confidence, grooms metadata value strings, adds metadata entries to a *local* list whose name shadows the instance metadata cache, sets dublinCoreChanged if something changed, accumulates event details, and then exits, returning no value and apparently changing no instance or global state except dublinCoreChanged. So what's it for? What did I miss? This is used in Item, ItemTest, and MetadataImport. It worries me that this code sets dublinCoreChanged, as if it had modified the content of the *field* "MetadataCache dublinCore = new MetadataCache()", but it looks to me as though it's only adding to the local variable "List<DCValue> dublinCore". -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Machines should not be friendly. Machines should be obedient.
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel