com.ibm.commerce.orderquotation.commands
Class QuotationRequest

java.lang.Object
  |
  +--com.ibm.commerce.orderquotation.commands.QuotationRequest

public class QuotationRequest
extends java.lang.Object

This class represents a quotation request. It consists of a OrderQuotationRel, a list of OrderItems, a trading agreement access bean, and other optional components.


Constructor Summary
protected QuotationRequest()
          Constructor for QuotationRequest
  QuotationRequest( OrderAccessBean theParentOrderAB, java.lang.Integer theQuotationStoreId, java.lang.Long theQuotationContractId, java.lang.String theQuotationType, java.lang.Double theDisplaySequence, java.util.List theOrderItems)
          Constructor for QuotationRequest
 
Method Summary
 java.lang.Double getDisplaySequence()
          Gets the display sequence.
 java.util.List getOrderItems()
          Gets the orderItems
 java.lang.Long getOrganizationId()
          Gets the organizationId
  OrderAccessBean getParentOrderAB()
          Gets the parent order access bean.
 java.lang.String getPassword()
          Gets the password
 java.lang.Long getQuotationContractId()
          Gets the quotation contract id.
 java.lang.Integer getQuotationStoreId()
          Gets the quotation store id.
 java.lang.String getQuotationType()
          Gets the quotation type.
 java.lang.String getUserId()
          Gets the userId
 void setDisplaySequence(java.lang.Double displaySequence)
          Sets the display sequence.
 void setOrderItems(java.util.List orderItems)
          Sets the orderItems
 void setOrganizationId(java.lang.Long organizationId)
          Sets the organizationId
 void setParentOrderAB( OrderAccessBean parentOrderAB)
          Sets the parent order access bean.
 void setPassword(java.lang.String password)
          Sets the password
 void setQuotationContractId(java.lang.Long quotationContractId)
          Sets the quotation contract id.
 void setQuotationStoreId(java.lang.Integer quotationStoreId)
          Sets the quotation store id.
 void setQuotationType(java.lang.String quotationType)
          Sets the quotation type.
 void setUserId(java.lang.String userId)
          Sets the userId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuotationRequest

protected QuotationRequest()
Constructor for QuotationRequest

QuotationRequest

public QuotationRequest(OrderAccessBean theParentOrderAB,
                        java.lang.Integer theQuotationStoreId,
                        java.lang.Long theQuotationContractId,
                        java.lang.String theQuotationType,
                        java.lang.Double theDisplaySequence,
                        java.util.List theOrderItems)
Constructor for QuotationRequest
Parameters:
theParentOrderAB - The parent order access bean.
theQuotationStoreId - The quotation store id.
theQuotationContractId - The quotation contract id.
theQuotationType - The quotation type.
theDisplaySequence - The display sequence for the request.
theOrderItems - The orderitems for the request.
Method Detail

getOrderItems

public java.util.List getOrderItems()
Gets the orderItems
Returns:
Returns a List

setOrderItems

public void setOrderItems(java.util.List orderItems)
Sets the orderItems
Parameters:
orderItems - The orderItems to set

getOrganizationId

public java.lang.Long getOrganizationId()
Gets the organizationId
Returns:
Returns a Long

setOrganizationId

public void setOrganizationId(java.lang.Long organizationId)
Sets the organizationId
Parameters:
organizationId - The organizationId to set

getUserId

public java.lang.String getUserId()
Gets the userId
Returns:
Returns a String

setUserId

public void setUserId(java.lang.String userId)
Sets the userId
Parameters:
userId - The userId to set

getPassword

public java.lang.String getPassword()
Gets the password
Returns:
Returns a String

setPassword

public void setPassword(java.lang.String password)
Sets the password
Parameters:
password - The password to set

getParentOrderAB

public OrderAccessBean getParentOrderAB()
Gets the parent order access bean.
Returns:
The parent order access bean.

setParentOrderAB

public void setParentOrderAB(OrderAccessBean parentOrderAB)
Sets the parent order access bean.
Parameters:
parentOrderAB - The parent order access bean.

getQuotationStoreId

public java.lang.Integer getQuotationStoreId()
Gets the quotation store id.
Returns:
The quotation store id.

setQuotationStoreId

public void setQuotationStoreId(java.lang.Integer quotationStoreId)
Sets the quotation store id.
Parameters:
quotationStoreId - The quotation store id.

getQuotationType

public java.lang.String getQuotationType()
Gets the quotation type.
Returns:
The quotation type.

setQuotationType

public void setQuotationType(java.lang.String quotationType)
Sets the quotation type.
Parameters:
quotationType - The quotation type.

getQuotationContractId

public java.lang.Long getQuotationContractId()
Gets the quotation contract id.
Returns:
The quotation contract id.

setQuotationContractId

public void setQuotationContractId(java.lang.Long quotationContractId)
Sets the quotation contract id.
Parameters:
quotationContractId - The quotation contract id.

getDisplaySequence

public java.lang.Double getDisplaySequence()
Gets the display sequence.
Returns:
The display sequence.

setDisplaySequence

public void setDisplaySequence(java.lang.Double displaySequence)
Sets the display sequence.
Parameters:
displaySequence - The display sequence.