(a instanceof org.cougaar.domain.glm.asset.Package)?13:
(a instanceof org.cougaar.domain.glm.ldm.asset.Package)?13:
  private static int[] getAssetClasses(Asset a){    if(a instanceof AggregateAsset){      a=((AggregateAsset)a).getAsset();    }    if (GLMAsset.isPallet(a)){      AssetGroup ag = (AssetGroup) ((ALPAsset)a).getScheduledContentPG().getAsset();      if(ag == null){	int[] ret = new int[1];	ret[0]=0;	return ret;      }      Vector assets = ag.getAssets();      BitSet b = new BitSet(11);      for(int i=0;i<assets.size();i++){	int[] ac = getAssetClasses((Asset)assets.get(i));	for(int j=0;j<ac.length;j++)	  b.set(ac[j]);      }      if(b.length()==0){	int[] ret=new int[1];	ret[0]=0;	return ret;      }else{	int[] ret=new int[b.length()];	int j=0;	for(int i=0;i<b.length();i++){	  if(b.get(i))	    ret[j++]=i;	}      }    }    int[] ret=new int[1];    ret[0]=(a instanceof ClassISubsistence)?1:      (a instanceof ClassIIClothingAndEquipment)?2:      (a instanceof ClassIIIPOL)?3:      (a instanceof ClassIVConstructionMaterial)?4:      (a instanceof ClassVAmmunition)?5:      (a instanceof ClassVIPersonalDemandItem)?6:      (a instanceof Container)?12:      (a instanceof org.cougaar.domain.glm.asset.Package)?13:      (a instanceof ClassVIIMajorEndItem)?7:      (a instanceof ClassVIIIMedical)?8:      (a instanceof ClassIXRepairPart)?9:      (a instanceof ClassXNonMilitaryItem)?10:      (((ALPAsset)a).hasPersonPG())?11:      0;    return ret;  }