Exemplo n.º 1
0
 private boolean canTransferAttribute(String attr, java.util.List attrList) {
   if (attrList == null || attrList.isEmpty()) return true;
   for (java.util.Iterator it = attrList.iterator(); it.hasNext(); ) {
     if (it.next().equals(attr)) return false;
   }
   return true;
 }
Exemplo n.º 2
0
 protected boolean isValidAttributeToTransfer(String attrName, java.util.List attrList) {
   for (java.util.Iterator it = attrList.iterator(); it.hasNext(); ) {
     if (((String) it.next()).equals(attrName)) {
       return true;
     }
   }
   return false;
 }