/** @return Returns primaryKey.getItem() */
 @Transient
 public Item getItem() {
   return primaryKey.getItem();
 }
 /** @return Returns primaryKey.getCart() */
 @Transient
 public Cart getCart() {
   return primaryKey.getCart();
 }
 /**
  * Standard constructor with mandatory fields
  *
  * @param cart required cart
  * @param item required item
  */
 public CartItem(Cart cart, Item item) {
   Assert.notNull(cart, "cart is required");
   Assert.notNull(item, "item is required");
   primaryKey.setCart(cart);
   primaryKey.setItem(item);
 }