NewPropertyGroup pg = (NewPropertyGroup)pgs_enum.nextElement(); anAsset.setPropertyGroup(pg); logger.debug ("setting PGs for " + anAsset);
NewPropertyGroup pg = (NewPropertyGroup) pgs_enum.nextElement(); anAsset.setPropertyGroup(pg); if (logger.isDebugEnabled()) { logger.debug("setting PGs for " + anAsset); }
  public void fillProperties (Asset anAsset) {    logger.debug ("fillProperties for " + anAsset);    Vector pgs = null;    if ((anAsset instanceof ClassISubsistence) 	|| (anAsset instanceof HumanitarianDailyRation)) {      String typeID = anAsset.getTypeIdentificationPG().getTypeIdentification();      pgs = (Vector) propertyGroupTable_.get(typeID);    } // if    if ((pgs != null) && !pgs.isEmpty()) {      Enumeration pgs_enum = pgs.elements();      while (pgs_enum.hasMoreElements()) {	NewPropertyGroup pg = (NewPropertyGroup)pgs_enum.nextElement();	anAsset.setPropertyGroup(pg);	logger.debug ("setting PGs for " + anAsset);      } // while    } // if  } // fillProperties