Boolean function ( Type arg0 ) { InventoryDTO loc0 = em . find ( Inventory . class , 1 ) ; GnomeDTO loc1 = loc0 . getGnome ( arg0 ) ; Boolean loc2 = loc1 . getIsAvailable ( ) ; if ( loc2 ) { return false ; } else { loc1 . setIsAvailable ( true ) ; return true ; } }
add the type ` type ' concode_field_sep EntityManager em concode_elem_sep Boolean inventoryInitialize concode_field_sep void emptyBasket concode_elem_sep Integer getBasketAmount concode_elem_sep void setPrice concode_elem_sep Boolean ban concode_elem_sep void logoutCustomer concode_elem_sep Integer getMoney concode_elem_sep void setDebt concode_elem_sep Boolean getIsAvailable concode_elem_sep void addGnome concode_elem_sep void init concode_elem_sep Boolean removeType concode_elem_sep AdministratorDTO getAdministrator concode_elem_sep Integer getQuantityInInventory concode_elem_sep Integer getPrice concode_elem_sep CustomerDTO getCustomer concode_elem_sep void loginCustomer concode_elem_sep Integer getDebt concode_elem_sep Integer getQuantityInBasket concode_elem_sep void removeGnomeToInventory concode_elem_sep void addGnomeToBasket concode_elem_sep CustomerDTO createCustomerDTO concode_elem_sep void createInventory concode_elem_sep void removeGnomeToBasket concode_elem_sep Boolean createAdministrator concode_elem_sep void withdraw