if (typeof defaultAssetAllocation != "function") { function defaultAssetAllocation() { this.assetClass = null; this.defaultAssetAllocationModel = null; this.hashedId = null; this.id = null; this.percentage = null; } } if (typeof assetClass != "function") { function assetClass() { this.active = false; this.correspondingIndex = null; this.name = null; this.hashedId = null; this.id = null; } } if (typeof balanceType != "function") { function balanceType() { this.active = false; this.name = null; this.hashedId = null; this.id = null; } } if (typeof accountBalance != "function") { function accountBalance() { this.amount = null; this.monthlyAccountBalanceId = null; this.balanceDate = null; this.balanceType = null; this.hashedId = null; this.id = null; } } if (typeof defaultAssetAllocationModel != "function") { function defaultAssetAllocationModel() { this.defaultAssetAllocations = null; this.active = false; this.name = null; this.hashedId = null; this.id = null; } } if (typeof assetAllocationModelFormObject != "function") { function assetAllocationModelFormObject() { this.total = null; this.startDate = null; this.editMode = false; this.rebalancingFrequency = null; this.assetAllocationModel = null; this.model = null; this.endDate = null; this.accountReference = null; this.inputAssetAllocations = null; } } if (typeof assetAllocation != "function") { function assetAllocation() { this.primaryKey = null; this.assetClass = null; this.assetAllocationModel = null; this.hashedId = null; this.percentage = null; } } // Provide a default path to dwr.engine if (dwr == null) var dwr = {}; if (dwr.engine == null) dwr.engine = {}; if (DWREngine == null) var DWREngine = dwr.engine; if (dwrAssetAllocationService == null) var dwrAssetAllocationService = {}; dwrAssetAllocationService._path = '/dwr'; dwrAssetAllocationService.setAssetAllocationInput = function(p0, p1, p2, callback) { dwr.engine._execute(dwrAssetAllocationService._path, 'dwrAssetAllocationService', 'setAssetAllocationInput', p0, p1, p2, false, callback); } dwrAssetAllocationService.setDefaultAssetAllocationModelInput = function(p0, callback) { dwr.engine._execute(dwrAssetAllocationService._path, 'dwrAssetAllocationService', 'setDefaultAssetAllocationModelInput', p0, false, callback); } dwrAssetAllocationService.getAssetAllocationModelFormObject = function(callback) { dwr.engine._execute(dwrAssetAllocationService._path, 'dwrAssetAllocationService', 'getAssetAllocationModelFormObject', false, callback); }