コード例 #1
0
 public String checkIndex(SDMSObject o) throws SDMSException {
   String out = "";
   boolean ok;
   ok = idx_name.check(((SDMSGroupGeneric) o).name, o);
   out = out + "idx_name: " + (ok ? "ok" : "missing") + "\n";
   SDMSKey k;
   k = new SDMSKey();
   k.add(((SDMSGroupGeneric) o).name);
   k.add(((SDMSGroupGeneric) o).deleteVersion);
   ok = idx_name_deleteVersion.check(k, o);
   out = out + "idx_name_deleteVersion: " + (ok ? "ok" : "missing") + "\n";
   return out;
 }
コード例 #2
0
 public String checkIndex(SDMSObject o) throws SDMSException {
   String out = "";
   boolean ok;
   ok = idx_smeId.check(((SDMSTriggerQueueGeneric) o).smeId, o);
   out = out + "idx_smeId: " + (ok ? "ok" : "missing") + "\n";
   ok = idx_trId.check(((SDMSTriggerQueueGeneric) o).trId, o);
   out = out + "idx_trId: " + (ok ? "ok" : "missing") + "\n";
   SDMSKey k;
   k = new SDMSKey();
   k.add(((SDMSTriggerQueueGeneric) o).smeId);
   k.add(((SDMSTriggerQueueGeneric) o).trId);
   ok = idx_smeId_trId.check(k, o);
   out = out + "idx_smeId_trId: " + (ok ? "ok" : "missing") + "\n";
   return out;
 }