setQuantity( quantity ); setUnitPrice( unitPrice );
ejb.interface-methodejb.transaction type="Supports" return Math.max( getQuantity( ) * getUnitPrice( ), 0 );
return Math.max( getQuantity( ) * getUnitPrice( ), 0 );
ejb.interface-methodejb.relation name="orderItem-item" role-name="orderItem-refers_to-item" cascade-delete="yes" target-ejb="Item" target-role-name="item-is_refered_by-orderItems" target-multiple="yes"ejb.value-object aggregate="xpetstore.domain.catalog.model.ItemValue" aggregate-name="Item" members="xpetstore.domain.catalog.interfaces.Item" members-name="Item" relation="external"jboss.relation fk-column="itemId_fk" related-pk-field="itemId"weblogic.column-map foreign-key-column="itemId_fk" return item;
return item;
ejb.pk-fieldejb.persistence column-name="orderItemUId"ejb.interface-methodejb.transaction type="Supports" return orderItemUId;
return orderItemUId;
ejb.persistence column-name="quantity" return quantity;
return quantity;
ejb.persistence column-name="unitPrice" return unitPrice;
return unitPrice;
ejb.interface-method this.item = item;
this.item = item;
this.orderItemUId = orderItemUId;
this.quantity = quantity;
this.unitPrice = unitPrice;