/** * Indicates whether this {@link JNDIResourceModel} is associated with the given application. */ default boolean isAssociatedWithApplication(ProjectModel application) { for (ProjectModel existing : getApplications()) { if (existing.equals(application)) return true; } return false; } }
if (!remoteServiceModel.isAssociatedWithApplication(projectModel)) continue;
if (!remoteServiceModel.isAssociatedWithApplication(projectModel)) continue;
/** * Indicates whether this {@link JNDIResourceModel} is associated with the given application. */ default boolean isAssociatedWithApplication(ProjectModel application) { for (ProjectModel existing : getApplications()) { if (existing.equals(application)) return true; } return false; } }