<?xml version="1.0" encoding="ISO-8859-1"?>
<objectModel xmlns="http://www.codelutin.org/lutingenerator/objectModel" name="Neogia" version="">
  <comment>The association-composition
 to OrderItemShipGroup
can not be paint, because
generator does'nt manage
the double composition at
 the n+2 level
there will be two time
 the orderId attribute !!! </comment>
  <comment>Order Item</comment>
  <comment>Be careful
Not yet implemented</comment>
  <comment>Order Header</comment>
  <comment>Association to orderHeader is 
a derived assoc</comment>
  <comment>assoc between 
OrderStockEvent
must be review</comment>
  <comment>Subcontracting association
it's duplicate information from
OrderRequirementCommitment</comment>
  <comment>OrderItem re-Order
manufacturing or purchase</comment>
  <comment>4</comment>
  <comment>1</comment>
  <comment>This association is detail in the
WRunAndOrder manufacturing diagram</comment>
  <comment>The association-composition to
OrderItemShipGroupAssoc
can not be paint, because
generator does'nt manage
the double composition at
 the n+2 level
there will be two time
 the orderId attribute !!! </comment>
  <comment>getter and setter 
named #from</comment>
  <comment>Quote</comment>
  <comment>Requirement</comment>
  <class name="Facility" extern="true" package="org.neogia.facility.location.entities">
    <stereotype name="entity"/>
    <comment>Be careful
Not yet implemented</comment>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnHeader" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.requirement.entities.Requirement" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="origin" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="InventoryItemDetail" package="org.neogia.facility.location.entities">
    <attribute name="quantityOnHandDiff" associationType="composite" visibility="public" type="double" minMultiplicity="1" maxMultiplicity="1"/>
    <attribute name="availableToPromiseDiff" associationType="composite" visibility="public" type="String" minMultiplicity="1" maxMultiplicity="1"/>
  </class>
  <class name="OrderStockEvent" extern="true" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemShipGroupAssoc" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderStockEventPlanned" extern="true" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <superclass name="org.neogia.facility.stockevent.entities.StockEventPlanned" discriminator=""/>
    <comment>     1</comment>
    <comment>     1</comment>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemShipGroupAssoc" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="StockEventPlanned" extern="true" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <comment>     2</comment>
    <attribute name="generatedPropOrders" visibility="protected" type="org.neogia.manufacturing.planning.entities.ProposedOrder" reverseAttribute="originStockEvPl" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ReturnStockEventPlanned" extern="true" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ReturnStockEvent" extern="true" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="RequirementStockEventPlan" extern="true" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <tagValue name="shortName" value="ReqSEP"/>
    <attribute visibility="public" type="org.neogia.order.requirement.entities.Requirement" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ShipmentStockEvent" extern="true" package="org.neogia.facility.stockevent.entities">
    <stereotype name="entity"/>
    <attribute visibility="protected" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderItem" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="gui" value="list, print"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <comment> 5 
currently not used,
 this assoc should be at OISGlevel</comment>
    <comment>Association to orderHeader
is a derived assoc</comment>
    <attribute name="orderItemSeqId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute name="itemDescription" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="description"/>
    </attribute>
    <attribute name="quantity" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="estimatedShipDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="budgetId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="budgetItemSeqId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="productFeatureId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="isPromo" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="shoppingListId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="shoppingListItemSeqId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="subscriptionId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="deployment" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="cancelQuantity" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="selectedAmount" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="unitPrice" associationType="composite" visibility="protected" type="java.math.BigDecimal">
      <tagValue name="ofbizEntityType" value="currency-amount"/>
    </attribute>
    <attribute name="unitListPrice" associationType="composite" visibility="protected" type="java.math.BigDecimal">
      <tagValue name="ofbizEntityType" value="currency-amount"/>
    </attribute>
    <attribute name="unitAverageCost" associationType="composite" visibility="protected" type="java.math.BigDecimal">
      <tagValue name="ofbizEntityType" value="currency-amount"/>
    </attribute>
    <attribute name="unitRecurringPrice" associationType="composite" visibility="protected" type="java.math.BigDecimal" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="ofbizEntityType" value="currency-amount"/>
    </attribute>
    <attribute name="comments" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="correspondingPoId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="estimatedDeliveryDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="autoCancelDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="dontCancelSetDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="revisionId" associationType="composite" visibility="protected" type="String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="invoicingQuantity" associationType="composite" visibility="protected" type="java.math.BigDecimal" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.facility.stockevent.entities.ShipmentStockEvent" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="productId" visibility="protected" type="org.neogia.product.product.entities.Product" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="relationTitle" value=""/>
      <tagValue name="ofbizAttributeName" value="productId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.common.uom.entities.Uom" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="quantityUomId"/>
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderAdjustment" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="status" visibility="protected" type="org.neogia.order.order.entities.OrderItemStatus" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="statusId"/>
      <tagValue name="relationTitle" value=""/>
    </attribute>
    <attribute name="syncOrderItemStatus" visibility="protected" type="org.neogia.order.order.entities.OrderItemStatus" reverseAttribute="syncOrderItem" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="sync"/>
      <tagValue name="relationTitle" value="Sync"/>
    </attribute>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderItemBilling" type="org.neogia.accounting.invoice.entities.InvoiceItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemContactMech" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemPriceInfo" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderItemRole" type="org.neogia.party.party.entities.PartyRole" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderTerm" type="org.neogia.party.agreement.entities.TermType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.manufacturing.project.entities.Project" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderStatus" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="sales" visibility="protected" type="org.neogia.order.order.entities.OldOrderItemAssociation" reverseAttribute="sales" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="purchase" visibility="protected" type="org.neogia.order.order.entities.OldOrderItemAssociation" reverseAttribute="purchase" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="invoicing" visibility="public" type="org.neogia.common.uom.entities.Uom" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="addedToOfbiz" value="true"/>
      <tagValue name="ofbizAttributeName" value="invoicingQtyUomId"/>
    </attribute>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderItemShipGroupAssoc" type="org.neogia.order.order.entities.OrderItemShipGroup" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.quote.entities.QuoteItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.requirement.entities.OrderRequirementCommitment" type="org.neogia.order.requirement.entities.Requirement" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.product.catalog.entities.ProdCatalog" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.product.category.entities.ProductCategory" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.manufacturing.jobshopmgt.entities.TaskFulfilSubctr" reverseAttribute="subOitem" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemEvent" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderHeader" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="gui" value="lookup, list"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <comment>PurchaseInvoice?
Uom?
</comment>
    <attribute name="orderId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="idName, list, indexed"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
      <tagValue name="primaryKey" value="true"/>
    </attribute>
    <attribute name="orderDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="gui" value="indexed, list"/>
    </attribute>
    <attribute name="entryDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="gui" value="indexed"/>
    </attribute>
    <attribute name="visitId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="firstAttemptOrderId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="webSiteId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="terminalId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="transactionId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="needsInventoryIssuance" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="isRushOrder" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="remainingSubTotal" associationType="composite" visibility="protected" type="java.math.BigDecimal">
      <tagValue name="gui" value="list"/>
    </attribute>
    <attribute name="grandTotal" associationType="composite" visibility="protected" type="java.math.BigDecimal">
      <tagValue name="gui" value="indexed, list"/>
    </attribute>
    <attribute name="orderReceivedDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="correspondingPoId" associationType="composite" visibility="protected" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="nFacilityId" associationType="composite" visibility="protected" type="String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="noTax" associationType="composite" visibility="protected" type="String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
      <tagValue name="ofbizEntityType" value="indicator"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.product.store.entities.ProductStore" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.order.order.entities.OrderItemShipGroup" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderRole" type="org.neogia.party.party.entities.PartyRole" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="origin" visibility="protected" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="originFacilityId"/>
      <tagValue name="relationTitle" value="Origin"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderNotification" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderPaymentPreference" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="salesChannel" visibility="protected" type="org.neogia.order.order.entities.OrderSalesChannel" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="relationTitle" value="SalesChannel"/>
    </attribute>
    <attribute name="createdBy" visibility="protected" type="org.neogia.party.party.entities.UserLogin" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="createBy"/>
      <tagValue name="relationTitle" value="CreatedBy"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="syncStatusOrder" visibility="protected" type="org.neogia.order.order.entities.StatusOrder" reverseAttribute="sync" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="sync"/>
      <tagValue name="relationTitle" value="Sync"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.accounting.payment.entities.BillingAccount" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderHeaderNote" type="org.neogia.common.note.entities.NoteData" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="status" visibility="protected" type="org.neogia.order.order.entities.StatusOrder" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="relationTitle" value=""/>
      <tagValue name="ofbizAttributeName" value="statusId"/>
      <tagValue name="gui" value="list, indexed"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderContactMech" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnItemResponse" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.accounting.invoice.entities.PurchaseInvoice" reverseAttribute="purchaseOrderId" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="currencyUom" visibility="public" type="org.neogia.common.uom.entities.Currency_Measure" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="currencyUom"/>
      <tagValue name="relationTitle" value=""/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.accounting.payment.entities.DueDcalMethod" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
  </class>
  <class name="OrderItemShipGroup" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="ofbizAttributeName" value="OISG"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="gui" value="list, edit"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <comment/>
    <attribute name="shipGroupSeqId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
      <tagValue name="gui" value="idName"/>
      <comment>Relations between OrderItemAssoc 
and OrderItemShipGroup are implement 
in developed methods (generation pb)</comment>
    </attribute>
    <attribute name="trackingNumber" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="shippingInstructions" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="maySplit" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="giftMessage" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="isGift" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="shipByDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="shipAfterDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="estimatedDeliveryDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="estimatedShipDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="clientDeliveryDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute name="status" visibility="protected" type="org.neogia.order.order.entities.OrderItemStatus" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="statusId"/>
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderItemShipGroupAssoc" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.Shipment" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="relationTitle" value="Primary"/>
    </attribute>
    <attribute name="Supplier" visibility="protected" type="org.neogia.party.party.entities.Party" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="Carrier" visibility="public" type="org.neogia.party.party.entities.PartyRole" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.CarrierShipmentMethod" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.party.contact.entities.PostalAddress" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="Telecom" visibility="public" type="org.neogia.party.contact.entities.TelecomNumber" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.accounting.payment.entities.DueDcalMethod" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
  </class>
  <class name="OrderType" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="orderTypeId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="description"/>
    </attribute>
    <attribute name="SALES" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="SALES_ORDER"/>
    </attribute>
    <attribute name="PURCHASE" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="PURCHASE_ORDER"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderItemType" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="orderItemTypeId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value=""/>
    </attribute>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="description"/>
    </attribute>
    <attribute name="BULK " associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="BULK_ORDER_ITEM"/>
    </attribute>
    <attribute name="PRODUCT" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="PRODUCT_ORDER_ITEM"/>
    </attribute>
    <attribute name="WORK" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="WORK_ORDER_ITEM"/>
    </attribute>
    <attribute name="RENTAL" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="RENTAL_ORDER_ITEM"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderSalesChannel" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="ofbizAttributeName" value="ORDER_SALES_CHANNEL"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <superclass name="org.neogia.common.enumeration.entities.Enumeration" discriminator="enumTypeId"/>
    <attribute name="POS_CHANNEL" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="POS_SALES_CHANNEL"/>
    </attribute>
    <attribute name="SNAIL_CHANNEL" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="SNAIL_SALES_CHANNEL"/>
    </attribute>
    <attribute name="FAX_CHANNEL" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="FAX_SALES_CHANNEL"/>
    </attribute>
    <attribute name="AFFIL_CHANNEL" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="AFFIL_SALES_CHANNEL"/>
    </attribute>
    <attribute name="PHONE_CHANNEL" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="PHONE_SALES_CHANNEL"/>
    </attribute>
    <attribute name="UNKNOWN_CHANNEL" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="UNKNWN_SALES_CHANNEL"/>
    </attribute>
    <attribute name="WEB_CHANNEL" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="WEB_SALES_CHANNEL"/>
    </attribute>
    <attribute name="EMAIL_CHANNEL" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="EMAIL_SALES_CHANNEL"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="salesChannel" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="relationTitle" value="SalesChannel"/>
    </attribute>
  </class>
  <class name="StatusOrder" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="ofbizAttributeName" value="ORDER_STATUS"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="gui" value="drop-down,"/>
    <tagValue name="discriminatorValue" value="ORDER_STATUS"/>
    <superclass name="org.neogia.common.status.entities.StatusItem" discriminator="statusTypeId"/>
    <comment>Lié à StatusItem
 ou StatusOrder?</comment>
    <attribute name="PROCESSING" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ORDER_PROCESSING"/>
    </attribute>
    <attribute name="SENT" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ORDER_SENT"/>
    </attribute>
    <attribute name="CREATED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ORDER_CREATED"/>
    </attribute>
    <attribute name="COMPLETED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ORDER_COMPLETED"/>
    </attribute>
    <attribute name="REJECTED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ORDER_REJECTED"/>
    </attribute>
    <attribute name="APPROVED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="transient" value="false"/>
      <tagValue name="volatile" value="false"/>
      <tagValue name="derived" value="false"/>
      <tagValue name="staticValue" value="ORDER_APPROVED"/>
    </attribute>
    <attribute name="CANCELLED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ORDER_CANCELLED"/>
    </attribute>
    <attribute name="PROCESSING_PREPARE" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ORDER_PROS_PREP"/>
      <comment>Lié à StatusItem
 ou StatusOrder?</comment>
    </attribute>
    <attribute name="PROCESSING_RECEIVE" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ORDER_PROS_RECI"/>
    </attribute>
    <attribute name="PREPARED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ORDER_PREPARED"/>
    </attribute>
    <attribute name="RECEIVED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ORDER_RECEIVED"/>
    </attribute>
    <attribute name="sync" visibility="protected" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="syncStatusOrder" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="relationTitle" value="Sync"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="status" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderNotification" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="orderNotificationId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.EmailType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderPaymentPreference" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="orderPaymentPreferenceId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute name="securityCode" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="presentFlag" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="maxAmount" associationType="composite" visibility="protected" type="double"/>
    <attribute name="processAttempt" associationType="composite" visibility="protected" type="java.lang.Long"/>
    <attribute name="billingPostalCode" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="manualAuthCode" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="manualRefNum" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="statusId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="createdDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.accounting.payment.entities.PaymentMethod" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.accounting.payment.entities.PaymentMethodType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="createdBy" visibility="protected" type="org.neogia.party.party.entities.UserLogin" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="createByUserLogin"/>
      <tagValue name="relationTitle" value=""/>
    </attribute>
  </class>
  <class name="EmailType" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <superclass name="org.neogia.common.enumeration.entities.Enumeration" discriminator="enumTypeId"/>
    <attribute name="CUST_REGISTER" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="PRDS_CUST_REGISTER"/>
    </attribute>
    <attribute name="ODR_CONFIRM" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="PRDS_ODR_CONFIRM"/>
    </attribute>
    <attribute name="ODR_COMPLETE" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="PRDS_ODR_COMPLETE"/>
    </attribute>
    <attribute name="ODR_BACKORDER" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="PRDS_ODR_BACKORDER"/>
    </attribute>
    <attribute name="ODR_CHANGE" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="PRDS_ODR_CHANGE"/>
    </attribute>
    <attribute name="ODR_PAYRETRY" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="PRDS_ODR_PAYRETRY"/>
    </attribute>
    <attribute name="RTN_ACCEPT" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="PRDS_RTN_ACCEPT"/>
    </attribute>
    <attribute name="RTN_COMPLETE" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="PRDS_RTN_COMPLETE"/>
    </attribute>
    <attribute name="RTN_CANCEL" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="PRDS_RTN_CANCEL"/>
    </attribute>
    <attribute name="PWD_RETRIEVE" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="PRDS_PWD_RETRIEVE"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderNotification" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderAdjustment" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="orderAdjustmentId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute name="comment" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="amount" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="amountPerQuantity" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="percentage" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.accounting.tax.entities.TaxAuthority" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.accounting.invoice.entities.InvoiceItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderContactMech" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="gui" value="lookup"/>
    <tagValue name="setDefaultAssoc" value="ContactMechPurposeType:1, OrderHeader:2, ContactMech:3"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.party.contact.entities.ContactMech" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.party.contact.entities.ContactMechPurposeType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderItemStatus" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="ofbizAttributeName" value="ORDER_ITEM_STATUS"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="discriminatorValue" value="ORDER_ITEM_STATUS"/>
    <superclass name="org.neogia.common.status.entities.StatusItem" discriminator="statusTypeId"/>
    <attribute name="CREATED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ITEM_CREATED"/>
    </attribute>
    <attribute name="APPROVED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ITEM_APPROVED"/>
    </attribute>
    <attribute name="PREPARING" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ITEM_PREPARING"/>
    </attribute>
    <attribute name="PREPARED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ITEM_PREPARED"/>
    </attribute>
    <attribute name="SENDING" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ITEM_SENDING"/>
    </attribute>
    <attribute name="SENT" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ITEM_SENT"/>
    </attribute>
    <attribute name="PROCESSING_RECEIVE" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ITEM_PORCESS_RECI"/>
    </attribute>
    <attribute name="PROCESSING_PREPARE" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ITEM_PROCESS_PREP"/>
    </attribute>
    <attribute name="COMPLETED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ITEM_COMPLETED"/>
    </attribute>
    <attribute name="REJECTED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ITEM_REJECTED"/>
    </attribute>
    <attribute name="CANCELED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ITEM_CANCELLED"/>
    </attribute>
    <attribute name="RECEIVED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="ITEM_RECEIVED"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="status" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="syncOrderItem" visibility="protected" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="syncOrderItemStatus" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="relationTitle" value="Sync"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemShipGroup" reverseAttribute="status" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderItemContactMech" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="setDefaultAssoc" value="ContactMechPurposeType:1,OrderItem:2"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.party.contact.entities.ContactMech" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.party.contact.entities.ContactMechPurposeType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderItemPriceInfo" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <comment>  &lt;&lt;entity, extern&gt;&gt;
ProductPriceRule

not yet in UML</comment>
    <comment>  &lt;&lt;entity, extern&gt;&gt;
ProductPriceAction

not yet in UML</comment>
    <comment>&lt;&lt;entity, extern&gt;&gt;
ProductPriceRule
not yet in UML</comment>
    <comment>&lt;&lt;entity, extern&gt;&gt;
ProductPriceAction
not yet in UML</comment>
    <attribute name="orderItemPriceInfoId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
    </attribute>
    <attribute name="modifyAmount" associationType="composite" visibility="protected" type="java.math.BigDecimal">
      <comment/>
    </attribute>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderStatus" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <comment>Association to orderHeader
is a derived assoc</comment>
    <attribute name="orderStatusId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
    </attribute>
    <attribute name="statusDatetime" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute visibility="protected" type="org.neogia.party.party.entities.UserLogin" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="statusUserLogin"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.common.status.entities.StatusItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="SimpleSalesTaxLookup" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="fromDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="primaryKey" value="true"/>
    </attribute>
    <attribute name="thruDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="minItemPrice" associationType="composite" visibility="protected" type="double"/>
    <attribute name="minPurchase" associationType="composite" visibility="protected" type="double"/>
    <attribute name="taxShipping" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="salesTaxPercentage" associationType="composite" visibility="protected" type="double"/>
    <attribute name="country" visibility="protected" type="org.neogia.common.geo.entities.Geo" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="stateProvince" visibility="protected" type="org.neogia.common.geo.entities.Geo" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.product.store.entities.ProductStore" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.accounting.tax.entities.TaxAuthorityRateProduct" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OldOrderItemAssociation" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="sales" visibility="protected" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="sales" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="purchase" visibility="protected" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="purchase" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderItemEvent" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="addedToOfbiz" value="true"/>
    <attribute name="eventDate" associationType="composite" visibility="public" type="java.util.Date" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="primaryKey" value="true"/>
    </attribute>
    <attribute name="changeQuantity" associationType="composite" visibility="public" type="double" minMultiplicity="1" maxMultiplicity="1"/>
    <attribute name="changeUnitPrice" associationType="composite" visibility="public" type="double" minMultiplicity="1" maxMultiplicity="1"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderItemAssoc" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="quantity" associationType="composite" visibility="public" type="java.math.BigDecimal" minMultiplicity="1" maxMultiplicity="1"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemAssocType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="from" visibility="protected" type="org.neogia.order.order.entities.OrderItemShipGroupAssoc" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute name="to" visibility="protected" type="org.neogia.order.order.entities.OrderItemShipGroupAssoc" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="OrderItemAssocType" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="orderItemAssocTypeId" associationType="composite" visibility="public" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="primaryKey" value="true"/>
    </attribute>
    <attribute name="hasTable" associationType="composite" visibility="public" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1"/>
    <attribute name="description" associationType="composite" visibility="public" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemAssoc" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemAssocType" reverseAttribute="parent" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="relationTitle" value="Child"/>
    </attribute>
    <attribute name="parent" visibility="public" type="org.neogia.order.order.entities.OrderItemAssocType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="relationTitle" value="Parent"/>
      <tagValue name="ofbizAttributeName" value="parentTypeId"/>
    </attribute>
  </class>
  <associationClass name="OrderShipment" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <comment>assoc between OrderStockEvent must be review .And The association-composition to OrderItemShipGroup
can not be paint, because generator doesn't managethe double composition at the n+2 level
there will be two time the orderId attribute!!!</comment>
    <participant name="org.neogia.shipment.shipment.entities.ShipmentItem" attribute=""/>
    <participant name="org.neogia.order.order.entities.OrderItemShipGroupAssoc" attribute=""/>
    <attribute name="quantity" associationType="composite" visibility="protected" type="java.math.BigDecimal">
      <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    </attribute>
  </associationClass>
  <associationClass name="OrderRole" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <participant name="org.neogia.order.order.entities.OrderHeader" attribute=""/>
    <participant name="org.neogia.party.party.entities.PartyRole" attribute=""/>
  </associationClass>
  <associationClass name="OrderHeaderNote" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <participant name="org.neogia.order.order.entities.OrderHeader" attribute=""/>
    <participant name="org.neogia.common.note.entities.NoteData" attribute=""/>
    <attribute name="internalNote" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="footerNote" associationType="composite" visibility="protected" type="boolean"/>
  </associationClass>
  <associationClass name="OrderItemBilling" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <participant name="org.neogia.order.order.entities.OrderItem" attribute=""/>
    <participant name="org.neogia.accounting.invoice.entities.InvoiceItem" attribute=""/>
    <attribute name="quantity" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="amount" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.ShipmentItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </associationClass>
  <associationClass name="OrderItemRole" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <participant name="org.neogia.order.order.entities.OrderItem" attribute=""/>
    <participant name="org.neogia.party.party.entities.PartyRole" attribute=""/>
  </associationClass>
  <associationClass name="OrderTerm" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <comment>Association to orderHeader
is a derived assoc</comment>
    <participant name="org.neogia.order.order.entities.OrderItem" attribute=""/>
    <participant name="org.neogia.party.agreement.entities.TermType" attribute=""/>
    <attribute name="termValue" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="termDays" associationType="composite" visibility="protected" type="long"/>
    <attribute visibility="public" type="org.neogia.common.uom.entities.Uom" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </associationClass>
  <associationClass name="OrderItemShipGroupAssoc" package="org.neogia.order.order.entities">
    <stereotype name="entity"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <participant name="org.neogia.order.order.entities.OrderItemShipGroup" attribute=""/>
    <participant name="org.neogia.order.order.entities.OrderItem" attribute=""/>
    <attribute name="quantity" associationType="composite" visibility="protected" type="java.math.BigDecimal" minMultiplicity="1" maxMultiplicity="1"/>
    <attribute name="cancelQuantity" associationType="composite" visibility="protected" type="java.math.BigDecimal" minMultiplicity="1" maxMultiplicity="1"/>
    <attribute visibility="protected" associationClass="org.neogia.order.order.entities.OrderShipment" type="org.neogia.shipment.shipment.entities.ShipmentItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemAssoc" reverseAttribute="from" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemAssoc" reverseAttribute="to" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.manufacturing.jobshopmgt.entities.WRun" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.OrderStockEventPlanned" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.OrderStockEvent" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </associationClass>
  <class name="Quote" package="org.neogia.order.quote.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="quoteId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute name="issueDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="validFromDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="validThruDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="description"/>
    </attribute>
    <attribute name="percentsuccess" associationType="composite" visibility="protected" type="double">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="estimatedResponseDate" associationType="composite" visibility="protected" type="java.util.Date" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="responseDate" associationType="composite" visibility="protected" type="java.util.Date" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="projectDuration" associationType="composite" visibility="protected" type="double" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
      <tagValue name="ofbizEntityType" value="floating-point"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.quote.entities.QuoteType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.quote.entities.QuoteAttribute" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="protected" type="org.neogia.order.quote.entities.QuoteStatus" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="statusId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.party.party.entities.Party" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.quote.entities.QuoteRole" type="org.neogia.party.party.entities.PartyRole" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.quote.entities.QuoteItem" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="supplier" visibility="public" type="org.neogia.party.party.entities.Party" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="addedToOfbiz" value="true"/>
      <tagValue name="ofbizAttributeName" value="supplier"/>
    </attribute>
  </class>
  <class name="QuoteType" package="org.neogia.order.quote.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="quoteTypeId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="description"/>
    </attribute>
    <attribute name="defaultPercentSuccess" associationType="composite" visibility="protected" type="double">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.quote.entities.Quote" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.quote.entities.QuoteTypeAttr" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="QuoteAttribute" package="org.neogia.order.quote.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="attrName" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
      <tagValue name="ofbizEntityType" value="id-long-ne"/>
    </attribute>
    <attribute name="attrValue" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="description"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.quote.entities.Quote" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="QuoteItem" package="org.neogia.order.quote.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="ofbizAttributeName" value="qit"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="quoteItemSeqId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
      <tagValue name="gui" value="idName"/>
    </attribute>
    <attribute name="productFeatureId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="deliverableTypeId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="skillTypeId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="uomId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="workEffortId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="quantity" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="quoteUnitPrice" associationType="composite" visibility="protected" type="java.math.BigDecimal"/>
    <attribute name="estimatedDeliveryDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="comments" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="ofbizEntityType" value="comment"/>
    </attribute>
    <attribute name="estimatedResponseDate" associationType="composite" visibility="protected" type="java.util.Date" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="internalResponseDate" associationType="composite" visibility="protected" type="java.util.Date" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="weight" associationType="composite" visibility="protected" type="double" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
      <tagValue name="ofbizEntityType" value="floating-point"/>
    </attribute>
    <attribute name="weightUom" associationType="composite" visibility="protected" type="String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
      <tagValue name="ofbizEntityType" value="id"/>
    </attribute>
    <attribute name="ressourceTime" associationType="composite" visibility="protected" type="double" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
      <tagValue name="ofbizEntityType" value="floating-point"/>
    </attribute>
    <attribute name="estimatedRawMatCost" associationType="composite" visibility="protected" type="double" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="ofbizEntityType" value="floating-point"/>
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="serieQuantity" associationType="composite" visibility="protected" type="double" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
      <tagValue name="ofbizEntityType" value="floating-point"/>
    </attribute>
    <attribute name="nextRevisionPriceDate" associationType="composite" visibility="protected" type="java.util.Date" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="miniDeliveryLot" associationType="composite" visibility="protected" type="double" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="ofbizEntityType" value="floating-point"/>
    </attribute>
    <attribute name="percentsuccess" associationType="composite" visibility="protected" type="double" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="ofbizEntityType" value="floating-point"/>
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute name="prototypePrice" associationType="composite" visibility="protected" type="double" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
      <tagValue name="ofbizEntityType" value="floating-point"/>
    </attribute>
    <attribute name="leadTimeInWeek" associationType="composite" visibility="protected" type="double" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
      <tagValue name="ofbizEntityType" value="floating-point"/>
    </attribute>
    <attribute name="incoterm" associationType="composite" visibility="protected" type="String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
      <tagValue name="ofbizEntityType" value="id"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.quote.entities.QuoteTerm" type="org.neogia.party.agreement.entities.TermType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.manufacturing.project.entities.Project" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute visibility="protected" type="org.neogia.servicemgnt.request.entities.CustRequest" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.quote.entities.Quote" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.product.product.entities.Product" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="QuoteTermAttribute" package="org.neogia.order.quote.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="attrName" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
      <tagValue name="ofbizEntityType" value="id-long-ne"/>
    </attribute>
    <attribute name="attrValue" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="gui" value="description"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.quote.entities.QuoteTerm" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="QuoteTypeAttr" package="org.neogia.order.quote.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <attribute name="attrName" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
      <tagValue name="ofbizEntityType" value="id-long-ne"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.quote.entities.QuoteType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="QuoteStatus" package="org.neogia.order.quote.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="discriminatorValue" value="QUOTE_STATUS"/>
    <superclass name="org.neogia.common.status.entities.StatusItem" discriminator="statusTypeId"/>
    <attribute name="CREATED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="QUO_CREATED"/>
    </attribute>
    <attribute name="APPROVED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="QUO_APPROVED"/>
    </attribute>
    <attribute name="ORDERED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="QUO_ORDERED"/>
    </attribute>
    <attribute name="REJECTED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="QUO_REJECTED"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.quote.entities.Quote" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <associationClass name="QuoteRole" package="org.neogia.order.quote.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <participant name="org.neogia.order.quote.entities.Quote" attribute=""/>
    <participant name="org.neogia.party.party.entities.PartyRole" attribute=""/>
  </associationClass>
  <associationClass name="QuoteTerm" package="org.neogia.order.quote.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <participant name="org.neogia.party.agreement.entities.TermType" attribute=""/>
    <participant name="org.neogia.order.quote.entities.QuoteItem" attribute=""/>
    <attribute name="termValue" associationType="composite" visibility="protected" type="long"/>
    <attribute visibility="public" type="org.neogia.order.quote.entities.QuoteTermAttribute" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.common.uom.entities.Uom" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </associationClass>
  <class name="Requirement" package="org.neogia.order.requirement.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="ofbizAttributeName" value="req"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <comment>     4</comment>
    <attribute name="requirementId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="requirementStartDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="requiredByDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="useCase" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="ofbizEntityType" value="very-long"/>
    </attribute>
    <attribute name="reason" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="ofbizEntityType" value="very-long"/>
    </attribute>
    <attribute name="estimatedBudget" associationType="composite" visibility="protected" type="double"/>
    <attribute name="quantity" associationType="composite" visibility="protected" type="double"/>
    <attribute name="createdDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="createdByUserLogin" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="lastModifiedDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="lastModifiedByUserLogin" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="performDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="facilityId"/>
    </attribute>
    <attribute visibility="public" associationClass="org.neogia.order.requirement.entities.RequirementCustRequest" type="org.neogia.servicemgnt.request.entities.CustRequest" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.requirement.entities.RequirementType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.requirement.entities.RequirementRole" type="org.neogia.party.party.entities.PartyRole" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.manufacturing.planning.entities.ProposedOrder" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.manufacturing.jobshopmgt.entities.TaskFulfilSubctr" reverseAttribute="subPitem" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.RequirementStockEventPlan" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.requirement.entities.OrderRequirementCommitment" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.product.product.entities.Product" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.requirement.entities.RequirementStatus" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="RequirementType" package="org.neogia.order.requirement.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="ofbizAttributeName" value="rqtyp"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="requirementTypeId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="gui" value="idName"/>
    </attribute>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute visibility="public" type="org.neogia.order.requirement.entities.Requirement" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
  </class>
  <class name="RequirementStatus" package="org.neogia.order.requirement.entities">
    <stereotype name="entity"/>
    <tagValue name="discriminatorValue" value="REQUIREMENT_STATUS"/>
    <superclass name="org.neogia.common.status.entities.StatusItem" discriminator="statusTypeId"/>
    <attribute name="REQUIREMENT_CREATED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="REQ_CREATED"/>
    </attribute>
    <attribute name="REQUIREMENT_APPROVED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="REQ_APPROVED"/>
    </attribute>
    <attribute name="REQUIREMENT_ORDERED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="REQ_ORDERED"/>
    </attribute>
    <attribute name="REQUIREMENT_REJECTED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="REQ_REJECTED"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.requirement.entities.Requirement" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <associationClass name="RequirementCustRequest" package="org.neogia.order.requirement.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="ofbizAttributeName" value="rqcrq"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <participant name="org.neogia.order.requirement.entities.Requirement" attribute=""/>
    <participant name="org.neogia.servicemgnt.request.entities.CustRequest" attribute=""/>
  </associationClass>
  <associationClass name="RequirementRole" package="org.neogia.order.requirement.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="ofbizAttributeName" value="rqrol"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <participant name="org.neogia.order.requirement.entities.Requirement" attribute=""/>
    <participant name="org.neogia.party.party.entities.PartyRole" attribute=""/>
    <attribute name="fromDate" associationType="composite" visibility="protected" type="java.util.Date">
      <tagValue name="primaryKey" value="true"/>
    </attribute>
    <attribute name="thruDate" associationType="composite" visibility="protected" type="java.util.Date"/>
  </associationClass>
  <associationClass name="OrderRequirementCommitment" package="org.neogia.order.requirement.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <comment>    
     4</comment>
    <participant name="org.neogia.order.requirement.entities.Requirement" attribute=""/>
    <participant name="org.neogia.order.order.entities.OrderItem" attribute=""/>
    <attribute name="quantity" associationType="composite" visibility="protected" type="double"/>
  </associationClass>
  <class name="ReturnType" package="org.neogia.order.orderReturn.entities">
    <stereotype name="entity"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="returnTypeId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
    </attribute>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="sequenceId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ReturnHeader" package="org.neogia.order.orderReturn.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="returnId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute name="entryDate" associationType="composite" visibility="protected" type="java.sql.Timestamp"/>
    <attribute name="needsInventoryReceive" associationType="composite" visibility="protected" type="boolean"/>
    <attribute visibility="public" type="org.neogia.facility.location.entities.Facility" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="destinationFacilityId"/>
    </attribute>
    <attribute name="To" visibility="public" type="org.neogia.party.party.entities.Party" reverseAttribute="toReturn" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="toPartyId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.accounting.payment.entities.BillingAccount" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnItem" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnStatus" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="statusId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnHeaderType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.Shipment" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.common.uom.entities.Uom" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="currencyUomId"/>
    </attribute>
    <attribute name="party" visibility="public" type="org.neogia.party.party.entities.Party" reverseAttribute="fromReturn" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="fromPartyId"/>
      <tagValue name="ofbizAttributeName" value="partyId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.party.party.entities.UserLogin" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="createdBy"/>
    </attribute>
    <attribute name="contactMech" visibility="public" type="org.neogia.party.contact.entities.ContactMech" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="relationTitle" value=""/>
      <tagValue name="ofbizAttributeName" value="originContactMechId"/>
    </attribute>
  </class>
  <class name="ReturnItem" package="org.neogia.order.orderReturn.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="returnItemSeqId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="returnQuantity" associationType="composite" visibility="protected" type="double"/>
    <attribute name="returnPrice" associationType="composite" visibility="protected" type="double"/>
    <attribute name="finalRentalLength" associationType="composite" visibility="protected" type="double" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="addedToOfbiz" value="true"/>
      <tagValue name="ofbizEntityType" value="floating-point"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnHeader" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="returnId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnReason" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="returnReasonId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnType" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="returnTypeId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnStatus" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnItemResponse" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="returnItemTesponseId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.shipment.shipment.entities.ShipmentItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.ReturnStockEventPlanned" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.facility.stockevent.entities.ReturnStockEvent" reverseAttribute="" associationType="aggregate" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ReturnItemResponse" package="org.neogia.order.orderReturn.entities">
    <stereotype name="entity"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="returnItemResponseId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
    </attribute>
    <attribute name="responseAmount" associationType="composite" visibility="protected" type="double"/>
    <attribute name="responseDate" associationType="composite" visibility="protected" type="java.sql.Timestamp"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="ordered"/>
    <attribute visibility="public" type="org.neogia.accounting.payment.entities.BillingAccount" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ReturnReason" package="org.neogia.order.orderReturn.entities">
    <stereotype name="entity"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <attribute name="returnReasonId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
    </attribute>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="sequenceId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ReturnStatus" package="org.neogia.order.orderReturn.entities">
    <stereotype name="entity"/>
    <tagValue name="discriminatorValue" value="ORDER_RETURN_STTS"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <superclass name="org.neogia.common.status.entities.StatusItem" discriminator="statusTypeId"/>
    <attribute name="RETURN_REQUESTED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="RETURN_REQUESTED"/>
    </attribute>
    <attribute name="RETURN_ACCEPTED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="RETURN_ACCEPTED"/>
    </attribute>
    <attribute name="RETURN_RECEIVED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="RETURN_RECEIVED"/>
    </attribute>
    <attribute name="RETURN_COMPLETED" associationType="composite" visibility="public" static="true" type="java.lang.String">
      <tagValue name="staticValue" value="RETURN_COMPLETED"/>
    </attribute>
    <attribute name="RETURN_CANCELLED" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="RETURN_CANCELLED"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnHeader" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ReturnHeaderType" package="org.neogia.order.orderReturn.entities">
    <stereotype name="entity"/>
    <attribute name="SALES_ORD_RET" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="RET_HD_TY_SA_RET"/>
    </attribute>
    <attribute name="PURCHASE_ORD_RET" associationType="composite" visibility="public" static="true" final="true" type="java.lang.String">
      <tagValue name="staticValue" value="RET_HD_TY_PU_RET"/>
    </attribute>
    <attribute name="returnHeaderTypeId" associationType="composite" visibility="protected" type="java.lang.String">
      <tagValue name="primaryKey" value="true"/>
    </attribute>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnHeader" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ReturnAdjustment" package="org.neogia.order.orderReturn.entities">
    <stereotype name="entity"/>
    <tagValue name="alreadyExistingOfbizEntities" value="true"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <attribute name="returnAdjustmentId" associationType="composite" visibility="protected" type="String" minMultiplicity="1" maxMultiplicity="1">
      <tagValue name="primaryKey" value="true"/>
      <tagValue name="ofbizEntityType" value="id-ne"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.accounting.invoice.entities.InvoiceItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Cart" package="org.neogia.order.shoppingcart">
    <attribute name="productStoreId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="salesChannelEnumId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="currencyUomId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="statusId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <operation name="addOrIncreaseItem" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="addNonProductItem" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="items" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="clearCart" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makeCartMap" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makePaymentInfo" visibility="public">
      <returnParameter type="org.neogia.order.shoppingcart.CartPaymentInfo"/>
    </operation>
    <operation name="makeOrderItems" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makeWorkEfforts" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makeAllAdjustments" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makeAllQuoteAdjustments" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makeAllOrderPaymentInfos" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makeAllOrderItemPriceInfos" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makeProductPromoUses" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makeAllOrderContactMechs" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makeAllOrderItemContactMechs" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makeAllShipGroupInfos" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makeAllOrderItemAttributes" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makeAllOrderAttributes" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makeProductPromoUses" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="addToCart" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="modifyCart" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="loadCartFromOrder" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartAdjustments" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartAttribute" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartContactMech" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartNote" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartPaymentInfo" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartRole" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartShipInfo" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartShipItemInfo" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
  </class>
  <class name="CartAdjustments" package="org.neogia.order.shoppingcart">
    <attribute name="adjustmentId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="adjustmentTypeId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="comments" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="description" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="amount" associationType="composite" visibility="protected" type="double"/>
    <attribute name="sourcePercent" associationType="composite" visibility="protected" type="double"/>
    <attribute name="sourceReferenceId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.Cart" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="false" ordering="unordered"/>
  </class>
  <class name="CartAttribute" package="org.neogia.order.shoppingcart">
    <attribute name="attrName" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="attrValue" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.Cart" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="1" navigable="false" ordering="unordered"/>
  </class>
  <class name="CartContactMech" package="org.neogia.order.shoppingcart">
    <attribute name="cartId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="contactMechTypeId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="contactMechId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.Cart" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="false" ordering="unordered"/>
  </class>
  <class name="CartItem" package="org.neogia.order.shoppingcart">
    <attribute name="productId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="quantity" associationType="composite" visibility="protected" type="double"/>
    <attribute name="unitPrice" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="quantityUomId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="selectedAmount" associationType="composite" visibility="protected" type="double"/>
    <attribute name="isPromo" associationType="composite" visibility="protected" type="boolean"/>
    <operation name="makePurchaseOrderItem" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="makeItem" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="checkAvailability" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <operation name="updatePrice" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.Cart" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartItemAttribute" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartItemPriceInfo" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartTerm" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="false" ordering="unordered"/>
  </class>
  <class name="CartItemAttribute" package="org.neogia.order.shoppingcart">
    <attribute name="attrName" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="attrValue" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="1" navigable="false" ordering="unordered"/>
  </class>
  <class name="CartItemPriceInfo" package="org.neogia.order.shoppingcart">
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="false" ordering="unordered"/>
  </class>
  <class name="CartNote" package="org.neogia.order.shoppingcart">
    <attribute name="cartId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="noteId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="internalNote" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="footerNote" associationType="composite" visibility="protected" type="boolean"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.Cart" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="false" ordering="unordered"/>
  </class>
  <class name="CartPaymentInfo" package="org.neogia.order.shoppingcart">
    <attribute name="paymentMethodTypeId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="paymentMethodId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="securityCode" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="postalCode" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="amount" associationType="composite" visibility="protected" type="double"/>
    <attribute name="singleUse" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="isPresent" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="overflow" associationType="composite" visibility="protected" type="boolean"/>
    <operation name="makeOrderPaymentInfos" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.Cart" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="false" ordering="unordered"/>
  </class>
  <class name="CartRole" package="org.neogia.order.shoppingcart">
    <attribute name="cartId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="partyId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="roleTypeId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.Cart" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="false" ordering="unordered"/>
  </class>
  <class name="CartShipInfo" package="org.neogia.order.shoppingcart">
    <attribute name="contactMechId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="shipmentMethodTypeId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="carrierRoleTypeId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="carrierPartyId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="giftMessage" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="shippingInstructions" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="maySplit" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="isGift" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="shipEstimate" associationType="composite" visibility="protected" type="double"/>
    <attribute name="shipBeforeDate" associationType="composite" visibility="protected" type="java.sql.Timestamp"/>
    <attribute name="shipAfterDate" associationType="composite" visibility="protected" type="java.sql.Timestamp"/>
    <attribute name="estimatedShipDate" associationType="composite" visibility="protected" type="java.sql.Timestamp"/>
    <attribute name="estimatedDeliveryDate" associationType="composite" visibility="protected" type="java.sql.Timestamp"/>
    <attribute name="clientDeliveryDate" associationType="composite" visibility="protected" type="java.sql.Timestamp"/>
    <attribute name="shipGroupSeqId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="statusId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <operation name="makeItemShipGroupAndAssoc" visibility="public">
      <returnParameter type="void"/>
    </operation>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.Cart" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="false" ordering="unordered"/>
  </class>
  <class name="CartShipItemInfo" package="org.neogia.order.shoppingcart">
    <attribute name="quantity" associationType="composite" visibility="protected" type="double"/>
    <attribute name="item" associationType="composite" visibility="protected" type="org.neogia.order.shoppingcart.CartItem"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.Cart" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="false" ordering="unordered"/>
  </class>
  <class name="CartTerm" package="org.neogia.order.shoppingcart">
    <attribute name="termTypeId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="cartId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="cartItemSeqId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="termValue" associationType="composite" visibility="protected" type="double"/>
    <attribute name="termDays" associationType="composite" visibility="protected" type="long"/>
    <attribute name="uomId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute visibility="public" type="org.neogia.order.shoppingcart.CartItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="1" navigable="false" ordering="unordered"/>
  </class>
  <class name="ShoppingCart" package="org.neogia.order.shoppingcart">
    <superclass name="org.neogia.order.shoppingcart.Cart"/>
    <attribute name="orderId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="orderTypeId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="orderName" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="orderDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="orderPartyId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="orderReceivedDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="noTax" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="poNumber" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="firstAttemptOrderId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="externalId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="internalCode" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="billingAccountId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="billingAccountAmt" associationType="composite" visibility="protected" type="double"/>
    <attribute name="agreementId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="quoteId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="nextItemSeq" associationType="composite" visibility="protected" type="long"/>
    <attribute name="defaultItemDeliveryDate" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="defaultItemComment" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="quantityUomId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="orderAdditionalEmails" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="viewCartOnAdd" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="readOnlyCart" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="lastListRestore" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="autoSaveListId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="defaultItemShipmentDate" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="orderTermSet" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="placingCustomerPartyId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="billToCustomerPartyId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="shipToCustomerPartyId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="endUserCustomerPartyId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="billFromVendorPartyId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="shipFromVendorPartyId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="supplierAgentPartyId" associationType="composite" visibility="protected" type="java.lang.String"/>
  </class>
  <class name="ShoppingCartItem" package="org.neogia.order.shoppingcart">
    <superclass name="org.neogia.order.shoppingcart.CartItem"/>
    <attribute name="orderId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="orderItemSeqId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="orderItemTypeId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="productCatalogId" associationType="composite" visibility="protected" type="String"/>
    <attribute name="productCategoryId " associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="cancelQuantity" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="statusId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="externalId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="shipBeforeDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="shipAfterDate" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="reservStart" associationType="composite" visibility="protected" type="java.util.Date"/>
    <attribute name="reservLength" associationType="composite" visibility="protected" type="double"/>
    <attribute name="reservPersons" associationType="composite" visibility="protected" type="double"/>
    <attribute name="basePrice" associationType="composite" visibility="protected" type="double"/>
    <attribute name="displayPrice" associationType="composite" visibility="protected" type="java.lang.Double"/>
    <attribute name="specialPromoPrice" associationType="composite" visibility="protected" type="java.lang.Double"/>
    <attribute name="reserv2ndPPPerc" associationType="composite" visibility="protected" type="double"/>
    <attribute name="reservNthPPPerc" associationType="composite" visibility="protected" type="double"/>
    <attribute name="listPrice" associationType="composite" visibility="protected" type="double"/>
    <attribute name="isModifiedPrice" associationType="composite" visibility="protected" type="boolean"/>
    <attribute name="requirementId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="quoteId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="quoteItemSeqId" associationType="composite" visibility="protected" type="java.lang.String"/>
    <attribute name="promoQuantityUsed" associationType="composite" visibility="protected" type="double"/>
  </class>
  <class name="ServiceProduct" extern="true" package="org.neogia.servicemgnt.service.entities">
    <stereotype name="entity"/>
    <superclass name="org.neogia.product.product.entities.Product" discriminator="productTypeId"/>
  </class>
  <class name="CustRequest" extern="true" package="org.neogia.servicemgnt.request.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.quote.entities.QuoteItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.requirement.entities.RequirementCustRequest" type="org.neogia.order.requirement.entities.Requirement" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Product" extern="true" package="org.neogia.product.product.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="productId" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.requirement.entities.Requirement" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.quote.entities.QuoteItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ProductStore" extern="true" package="org.neogia.product.store.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.SimpleSalesTaxLookup" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ProdCatalog" extern="true" package="org.neogia.product.catalog.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ProductCategory" extern="true" package="org.neogia.product.category.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.common.uom.entities.Uom" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ShipmentItem" extern="true" package="org.neogia.shipment.shipment.entities">
    <stereotype name="entity"/>
    <attribute visibility="protected" associationClass="org.neogia.order.order.entities.OrderShipment" type="org.neogia.order.order.entities.OrderItemShipGroupAssoc" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered">
      <tagValue name="addedToOfbiz" value="true"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemBilling" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Shipment" extern="true" package="org.neogia.shipment.shipment.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnHeader" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="ofbizAttributeName" value="primaryReturnId"/>
    </attribute>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemShipGroup" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="CarrierShipmentMethod" extern="true" package="org.neogia.shipment.shipment.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemShipGroup" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ShipmentReceipt" package="org.neogia.shipment.shipment.entities">
    <attribute name="quantityAccepted" associationType="composite" visibility="public" type="double" minMultiplicity="1" maxMultiplicity="1"/>
    <attribute name="quantityRejected" associationType="composite" visibility="public" type="double" minMultiplicity="1" maxMultiplicity="1"/>
    <attribute name="receiptId" associationType="composite" visibility="public" type="java.lang.String" minMultiplicity="1" maxMultiplicity="1"/>
  </class>
  <class name="StatusItem" extern="true" package="org.neogia.common.status.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderStatus" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="StatusValidChange" extern="true" package="org.neogia.common.status.entities">
    <stereotype name="entity"/>
  </class>
  <class name="Enumeration" extern="true" package="org.neogia.common.enumeration.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
  </class>
  <class name="Uom" extern="true" package="org.neogia.common.uom.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderTerm" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="invoicing" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.quote.entities.QuoteTerm" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnHeader" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.product.category.entities.ProductCategory" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Currency_Measure" extern="true" package="org.neogia.common.uom.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="currencyUom" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="NoteData" extern="true" package="org.neogia.common.note.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderHeaderNote" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Geo" extern="true" package="org.neogia.common.geo.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.SimpleSalesTaxLookup" reverseAttribute="country" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.SimpleSalesTaxLookup" reverseAttribute="stateProvince" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="false" ordering="unordered"/>
  </class>
  <class name="PaymentMethod" extern="true" package="org.neogia.accounting.payment.entities">
    <stereotype name="entity"/>
    <tagValue name="setDefaultAssoc" value=""/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderPaymentPreference" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="PaymentMethodType" extern="true" package="org.neogia.accounting.payment.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderPaymentPreference" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="BillingAccount" extern="true" package="org.neogia.accounting.payment.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnHeader" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnItemResponse" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="DueDcalMethod" extern="true" package="org.neogia.accounting.payment.entities">
    <stereotype name="entity"/>
    <attribute visibility="protected" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemShipGroup" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="PurchaseInvoice" extern="true" package="org.neogia.accounting.invoice.entities">
    <stereotype name="entity"/>
    <attribute name="purchaseOrderId" visibility="protected" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="InvoiceItem" extern="true" package="org.neogia.accounting.invoice.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderItemBilling" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderAdjustment" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnAdjustment" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="TaxAuthority" extern="true" package="org.neogia.accounting.tax.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderAdjustment" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="TaxAuthorityRateProduct" extern="true" package="org.neogia.accounting.tax.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.SimpleSalesTaxLookup" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="WRun" extern="true" package="org.neogia.manufacturing.jobshopmgt.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemShipGroupAssoc" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="TaskFulfilSubctr" extern="true" package="org.neogia.manufacturing.jobshopmgt.entities">
    <stereotype name="entity"/>
    <attribute name="subPitem" visibility="protected" type="org.neogia.order.requirement.entities.Requirement" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="documentation" value="&lt;p&gt;subcontractProposedOrderItem&lt;/p&gt;"/>
    </attribute>
    <attribute name="subOitem" visibility="protected" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="1" maxMultiplicity="1" navigable="true" ordering="unordered">
      <tagValue name="documentation" value="&lt;p&gt;subcontractOrderItem&lt;/p&gt;"/>
    </attribute>
  </class>
  <class name="ProposedOrder" extern="true" package="org.neogia.manufacturing.planning.entities">
    <stereotype name="entity"/>
    <comment>     3</comment>
    <attribute name="originStockEvPl" visibility="protected" type="org.neogia.facility.stockevent.entities.StockEventPlanned" reverseAttribute="generatedPropOrders" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.requirement.entities.Requirement" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Project" extern="true" package="org.neogia.manufacturing.project.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.quote.entities.QuoteItem" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Project" extern="true" package="org.neogia.manufacturing.project.entities">
    <stereotype name="entity"/>
  </class>
  <class name="PartyRole" extern="true" package="org.neogia.party.party.entities">
    <stereotype name="entity"/>
    <tagValue name="uniqueNameAttribute" value="true"/>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderRole" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderItemRole" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.quote.entities.QuoteRole" type="org.neogia.order.quote.entities.Quote" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.requirement.entities.RequirementRole" type="org.neogia.order.requirement.entities.Requirement" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemShipGroup" reverseAttribute="Carrier" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="UserLogin" extern="true" package="org.neogia.party.party.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderPaymentPreference" reverseAttribute="createdBy" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderHeader" reverseAttribute="createdBy" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderStatus" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnHeader" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="Party" extern="true" package="org.neogia.party.party.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.quote.entities.Quote" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="toReturn" visibility="public" type="org.neogia.order.orderReturn.entities.ReturnHeader" reverseAttribute="To" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemShipGroup" reverseAttribute="Supplier" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.quote.entities.Quote" reverseAttribute="supplier" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute name="fromReturn" visibility="public" type="org.neogia.order.orderReturn.entities.ReturnHeader" reverseAttribute="party" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ContactMechPurposeType" extern="true" package="org.neogia.party.contact.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderContactMech" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemContactMech" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="PostalAddress" extern="true" package="org.neogia.party.contact.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemShipGroup" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="TelecomNumber" extern="true" package="org.neogia.party.contact.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemShipGroup" reverseAttribute="Telecom" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="ContactMech" extern="true" package="org.neogia.party.contact.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderItemContactMech" reverseAttribute="" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.order.entities.OrderContactMech" reverseAttribute="" associationType="composite" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" type="org.neogia.order.orderReturn.entities.ReturnHeader" reverseAttribute="contactMech" reverseMaxMultiplicity="1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
  <class name="TermType" extern="true" package="org.neogia.party.agreement.entities">
    <stereotype name="entity"/>
    <attribute visibility="public" associationClass="org.neogia.order.order.entities.OrderTerm" type="org.neogia.order.order.entities.OrderItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
    <attribute visibility="public" associationClass="org.neogia.order.quote.entities.QuoteTerm" type="org.neogia.order.quote.entities.QuoteItem" reverseAttribute="" reverseMaxMultiplicity="-1" minMultiplicity="0" maxMultiplicity="-1" navigable="true" ordering="unordered"/>
  </class>
</objectModel>
