Methods Summary |
---|
public static org.hibernate.test.filter.LineItem | generate(Order order, int sequence, Product product, long quantity)
LineItem item = new LineItem();
item.order = order;
item.sequence = sequence;
item.product = product;
item.quantity = quantity;
item.order.getLineItems().add(sequence, item);
return item;
|
public java.lang.Long | getId()
return id;
|
public Order | getOrder()
return order;
|
public Product | getProduct()
return product;
|
public long | getQuantity()
return quantity;
|
public int | getSequence()
return sequence;
|
public void | setId(java.lang.Long id)
this.id = id;
|
public void | setOrder(Order order)
this.order = order;
|
public void | setProduct(Product product)
this.product = product;
|
public void | setQuantity(long quantity)
this.quantity = quantity;
|
public void | setSequence(int sequence)
this.sequence = sequence;
|