示例#1
0
 public void setAcceptedCallingAETitles(String... aets) {
   acceptedCallingAETitlesSet.clear();
   for (String name : aets) acceptedCallingAETitlesSet.add(name);
 }
示例#2
0
 public boolean isAcceptedCallingAETitle(String aet) {
   return acceptedCallingAETitlesSet.isEmpty() || acceptedCallingAETitlesSet.contains(aet);
 }
示例#3
0
 public String[] getAcceptedCallingAETitles() {
   return acceptedCallingAETitlesSet.toArray(new String[acceptedCallingAETitlesSet.size()]);
 }