protected final void bindcmbPrimaryTumourNameLookup() { this.form.cmbPrimaryTumourName().clear(); ims.eas.vo.lookups.PrimaryTumourCollection lookupCollection = ims.eas.vo.lookups.LookupHelper.getPrimaryTumour(this.domain.getLookupService()); for (int x = 0; x < lookupCollection.size(); x++) { this.form .cmbPrimaryTumourName() .newRow( lookupCollection.get(x), lookupCollection.get(x).getText(), lookupCollection.get(x).getImage(), lookupCollection.get(x).getTextColor()); } }
protected final void setcmbPrimaryTumourNameLookupValue(int id) { ims.eas.vo.lookups.PrimaryTumour instance = ims.eas.vo.lookups.LookupHelper.getPrimaryTumourInstance( this.domain.getLookupService(), id); if (instance != null) this.form.cmbPrimaryTumourName().setValue(instance); }