public boolean getOverAllocated ( ) { Boolean overallocated = ( Boolean ) getCachedValue ( ResourceField . OVERALLOCATED ) ; if ( overallocated == null ) { Number peakUnits = getPeakUnits ( ) ; Number maxUnits = getMaxUnits ( ) ; overallocated = Boolean . valueOf ( NumberHelper . getDouble ( peakUnits ) > NumberHelper . getDouble ( maxUnits ) ) ; set ( ResourceField . OVERALLOCATED , overallocated ) ; } return ( overallocated . booleanValue ( ) ) ; }
Retrieves the overallocated flag .