Converted PropertyViewModel from java to Xtend to make it easier to
modify.