ehm, getAdapter needs to be in the item prototype, not in the model definition prototype.