Пример #1
0
 public boolean isEmpty() {
   return super.isEmpty()
       && (issuer == null || issuer.isEmpty())
       && (bin == null || bin.isEmpty())
       && (period == null || period.isEmpty())
       && (type == null || type.isEmpty())
       && (subscriberId == null || subscriberId.isEmpty())
       && (identifier == null || identifier.isEmpty())
       && (group == null || group.isEmpty())
       && (plan == null || plan.isEmpty())
       && (subPlan == null || subPlan.isEmpty())
       && (dependent == null || dependent.isEmpty())
       && (sequence == null || sequence.isEmpty())
       && (subscriber == null || subscriber.isEmpty())
       && (network == null || network.isEmpty())
       && (contract == null || contract.isEmpty());
 }
Пример #2
0
 public boolean hasIdentifier() {
   if (this.identifier == null) return false;
   for (Identifier item : this.identifier) if (!item.isEmpty()) return true;
   return false;
 }
Пример #3
0
 public boolean isEmpty() {
   return super.isEmpty()
       && (identifier == null || identifier.isEmpty())
       && (expiry == null || expiry.isEmpty())
       && (quantity == null || quantity.isEmpty());
 }