コード例 #1
0
 private Attributes storeTo(StoreDuplicate sd, BasicAttributes attrs) {
   attrs.put("objectclass", "dcmStoreDuplicate");
   storeNotNull(attrs, "dcmStoreDuplicateCondition", sd.getCondition());
   storeNotNull(attrs, "dcmStoreDuplicateAction", sd.getAction());
   return attrs;
 }
コード例 #2
0
 private StoreDuplicate findMatching(List<StoreDuplicate> sds, StoreDuplicate sd) {
   for (StoreDuplicate other : sds) if (other.getCondition() == sd.getCondition()) return other;
   return null;
 }
コード例 #3
0
 private String dnOf(StoreDuplicate sd, String aeDN) {
   StringBuilder sb = new StringBuilder();
   sb.append("dcmStoreDuplicateCondition=").append(sd.getCondition());
   sb.append(',').append(aeDN);
   return sb.toString();
 }