Hi Brian and Helix,
Thanks for the info, I managed to fetched the metadata using
item.getMetadata. I'm confused though, if item.getDC was deprecated, why is
it still using the deprecated org.dspace.content.DCValue class? I'm using
this code to fetch the citation of an item: DCValue[] citationDC =
On Wed, Aug 14, 2013 at 1:17 PM, Nemiz, Elvi esne...@seafdec.org.ph wrote:
Thanks for the info, I managed to fetched the metadata using
item.getMetadata. I'm confused though, if item.getDC was deprecated, why is
it still using the deprecated org.dspace.content.DCValue class? I'm using
this
Dear all,
While searching for the code on how to look up the item title, I found this
code in SuggestServlet.java: DCValue[] titleDC = item.getDC(title, null,
Item.ANY). I want to know the syntax if I want to get other fields like for
example dc.identifier.citation?
Thanks in advance.
--
Elvi
Hi Elvi,
you could use getDC() to get any dc.*.* metadata, but I recommend
you to use the more generic getMetadata() method, which can get
metadata from other namespaces, too. You can use it either as
getMetadata(schema.element.qualifier) or as getMetadata(schema,
element, qualifier). You can
4 matches
Mail list logo