@Override
  protected List<ModificationItem> storeDiffs(
      HL7Application a, HL7Application b, String deviceDN, List<ModificationItem> mods) {
    super.storeDiffs(a, b, deviceDN, mods);
    if (!(a instanceof ArchiveHL7Application && b instanceof ArchiveHL7Application)) return mods;

    ArchiveHL7Application aa = (ArchiveHL7Application) a;
    ArchiveHL7Application bb = (ArchiveHL7Application) b;
    storeDiff(mods, "labeledURI", aa.getTemplatesURIs(), bb.getTemplatesURIs());
    return mods;
  }
  @Override
  protected Attributes storeTo(HL7Application hl7App, String deviceDN, Attributes attrs) {
    super.storeTo(hl7App, deviceDN, attrs);
    if (!(hl7App instanceof ArchiveHL7Application)) return attrs;

    ArchiveHL7Application arcHL7App = (ArchiveHL7Application) hl7App;
    storeNotEmpty(attrs, "labeledURI", arcHL7App.getTemplatesURIs());
    return attrs;
  }