/** * Return true if there is runtime information in this * object that must be saved. */ public boolean hasRuntimeInformation() { for (Iterator itr = this.getNamedDescriptors().iterator(); itr.hasNext();) { NamedDescriptor next = (NamedDescriptor) itr.next(); if (!"".equals(next.getJndiName())) { return true; } } return false; }
/** * Return true if there is runtime information in this * object that must be saved. */ public boolean hasRuntimeInformation() { for (Iterator itr = this.getNamedDescriptors().iterator(); itr.hasNext();) { NamedDescriptor next = (NamedDescriptor) itr.next(); if (!"".equals(next.getJndiName())) { return true; } } return false; }