setInventoryLevelsSchedules((Inventory) asset);
if(asset instanceof Inventory) setInventoryLevelsSchedules((Inventory) asset);
  public void setAsset(Asset asset) {    this.asset = asset;        if(asset instanceof GLMAsset) {	Schedule s=null;	if((asset instanceof Inventory) &&	   (((Inventory) asset).getDetailedScheduledContentPG() != null)) {	    s = ((Inventory) asset).getDetailedScheduledContentPG().getSchedule();	    onHandDetailedSchedule = scheduleToNonOverlapVector(s);	    System.out.println("Got a detailed Inventory schedule!!!");	    s=null;	}	if(((GLMAsset)asset).getScheduledContentPG() != null) {	    s = ((GLMAsset)asset).getScheduledContentPG().getSchedule();	}	if (s != null) {	    if (s.getScheduleType().equals(PlanScheduleType.TOTAL_CAPACITY)) {		if (s instanceof LaborSchedule)		    s = ((LaborSchedule)s).getQuantitySchedule();		else 		    System.out.println("UIInventoryImpl WARNING: Expected labor schedule");	  		laborSchedule = scheduleToNonOverlapVector(s);	    } else		onHandDailySchedule = scheduleToNonOverlapVector(s);	}	if (isLaborAsset(asset)){	    dueOutLaborSchedule = computeDueOutVector(false); // All non-inventory assets are active	    projectedDueOutLaborSchedule = computeProjectedDueOutVector(false);	    //        setDueOutLaborSchedule();	}	else {	    dueOutSchedule = computeDueOutVector(false);	    inactiveDueOutSchedule = computeDueOutVector(true);	    projectedDueOutSchedule = computeProjectedDueOutVector(false);	    inactiveProjectedDueOutSchedule = computeProjectedDueOutVector(true);            requestedDueOutSchedule = computeRequestedDueOutVector(false);            inactiveRequestedDueOutSchedule = computeRequestedDueOutVector(true);            projectedRequestedDueOutSchedule = computeProjectedRequestedDueOutVector(false);            inactiveProjectedRequestedDueOutSchedule = computeProjectedRequestedDueOutVector(true);	    setInventoryLevelsSchedules((Inventory) asset);//  	    setRequestedDueOutSchedule(); //  	    setProjectedRequestedDueOutSchedule();//          setDueOutShortfallSchedule();	}    }  }