implemented getter and setter for Allocationstrategy