Opened 3 years ago

Closed 3 years ago

#11 closed task (fixed)

respecify entry when adding a description?

Reported by: martin Owned by: martin
Priority: major Milestone:
Component: code Version:
Keywords: Cc: martin


an other thing but more superficial, for adding a metadata description, we are supposed to do like this:

entry.addDescription(new DefaultMetaDataObject(entry, "i1",jdomElement));

Maybe it's justified but is there any need to re-specify the current entry in the metadata object constructor again ?

Change History (1)

comment:1 Changed 3 years ago by Martin Scharm <martin@…>

  • Resolution set to fixed
  • Status changed from new to closed

In df2fe47123318eae4f35738f033cbb55021c0ef0:

entry not necessary for meta data anymore [fixes #11]

  • you do not need to provide an ArchiveEntry? to create meta data:
entry.addDescription(new DefaultMetaDataObject(entry, "i1",jdomElement));
// becomes
entry.addDescription("i1", new DefaultMetaDataObject(jdomElement));
Note: See TracTickets for help on using tickets.