Vector assetList = ((AssetGroup)asset).getAssets();
Vector assetList = group.getAssets();
  protected boolean isPersonTask (Task parentTask) {    Asset asset = parentTask.getDirectObject();    if (asset instanceof AggregateAsset) {      GLMAsset itemProto = (GLMAsset) ((AggregateAsset)asset).getAsset();      return itemProto.hasPersonPG();    }    // if aggregate assets of people are inside of an asset group    // it's a person...    else if (asset instanceof AssetGroup) {      AssetGroup group = (AssetGroup) asset;      Vector assetList = ((AssetGroup)asset).getAssets();      for (int i = 0; i < assetList.size(); i++) {	Asset subasset = (Asset)assetList.elementAt(i);	if (subasset instanceof AggregateAsset) {	  GLMAsset itemProto = (GLMAsset) ((AggregateAsset)subasset).getAsset();	  return itemProto.hasPersonPG();	}	else 	  return false;      }    }    return false;  }