Class OrderDeliveryBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.order.OrderDeliveryBean
- All Implemented Interfaces:
BusinessObject
,OrderDelivery
,Serializable
Object representing an order delivery within the system.
OrderDeliveryBean
is the default implementation of the
OrderDelivery
interface for the application.
The database stores order deliveries in the sscOrderDelivery
table, and this interface can be used to represent a single row of that
table. The Hibernate configuration file OrderDelivery.hbm.xml
maps that table's columns to the properties in this object.
- Author:
- David Tobey
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private Boolean
private String
private String
(package private) static org.apache.commons.logging.Log
private String
private Order
private int
private int
private Collection
private String
private String
private String
private String
private Integer
private static final long
private Double
private String
private String
private String
private Double
private Double
private Double
private Double
private String
private Double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFormatting
(Locale locale, String currencyCode) getCity()
getNotes()
getOrder()
int
int
getState()
getTax()
getTotal()
void
setAddress1
(String address1) void
setAddress2
(String address2) void
void
setCountry
(String country) void
setDelivered
(String delivered) void
setDeliveryAddress1
(String deliveryAddress1) void
setDeliveryAddress2
(String deliveryAddress2) void
setDeliveryCity
(String deliveryCity) void
setDeliveryCountry
(String deliveryCountry) void
setDeliveryEmail1
(String deliveryEmail1) void
setDeliveryEmail2
(String deliveryEmail2) void
setDeliveryExtra1
(String deliveryExtra1) void
setDeliveryExtra2
(String deliveryExtra2) void
setDeliveryExtra3
(String deliveryExtra3) void
setDeliveryExtra4
(String deliveryExtra4) void
setDeliveryExtra5
(String deliveryExtra5) void
setDeliveryFirstName
(String deliveryFirstName) void
setDeliveryIsResidential
(Boolean isResidential) void
setDeliveryLastName
(String deliveryLastName) void
setDeliveryNotes
(String deliveryNotes) void
setDeliveryOrganization
(String deliveryOrganization) void
setDeliveryPhone1
(String deliveryPhone1) void
setDeliveryPhone2
(String deliveryPhone2) void
setDeliveryPostalCode
(String deliveryPostalCode) void
setDeliveryState
(String deliveryState) void
void
void
void
void
void
void
void
setFirstName
(String firstName) void
setFormattedDelivered
(String formattedDelivered) void
setFormattedLastModified
(String formattedLastModified) void
setFormattedShipping
(String formattedShipping) void
setFormattedSubtotal
(String formattedSubtotal) void
setFormattedTax
(String formattedTax) void
setFormattedTaxableSubtotal
(String formattedTaxableSubtotal) void
setFormattedTotal
(String formattedTotal) void
setIsResidential
(Boolean isResidential) void
setLastModified
(String lastModified) void
setLastName
(String lastName) void
void
void
setOrderDeliveryID
(int orderDeliveryID) void
setOrderID
(int orderID) void
setOrderItemCollection
(Collection orderItemCollection) void
setOrganization
(String organization) void
void
void
setPostalCode
(String postalCode) void
setQuantity
(Integer quantity) void
setShipping
(Double shipping) void
void
void
setStatusDetails
(String statusDetails) void
setSubtotal
(Double subtotal) void
void
setTaxableSubtotal
(Double taxableSubtotal) void
void
setTrackingNumber
(String trackingNumber) void
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initialize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
orderDeliveryID
private int orderDeliveryID -
orderID
private int orderID -
trackingNumber
-
total
-
shipping
-
tax
-
taxableSubtotal
-
subtotal
-
weight
-
quantity
-
formattedTotal
-
formattedShipping
-
formattedTax
-
formattedTaxableSubtotal
-
formattedSubtotal
-
lastModified
-
formattedLastModified
-
delivered
-
formattedDelivered
-
status
-
statusDetails
-
firstName
-
lastName
-
organization
-
address1
-
address2
-
city
-
state
-
country
-
postalCode
-
phone1
-
phone2
-
email1
-
email2
-
extra1
-
extra2
-
extra3
-
extra4
-
extra5
-
notes
-
orderItemCollection
-
isResidential
-
order
-
-
Constructor Details
-
OrderDeliveryBean
public OrderDeliveryBean()
-
-
Method Details
-
getOrderDeliveryID
public int getOrderDeliveryID()- Specified by:
getOrderDeliveryID
in interfaceOrderDelivery
-
setOrderDeliveryID
public void setOrderDeliveryID(int orderDeliveryID) - Specified by:
setOrderDeliveryID
in interfaceOrderDelivery
-
getOrderID
public int getOrderID()- Specified by:
getOrderID
in interfaceOrderDelivery
-
setOrderID
public void setOrderID(int orderID) - Specified by:
setOrderID
in interfaceOrderDelivery
-
getTrackingNumber
- Specified by:
getTrackingNumber
in interfaceOrderDelivery
-
setTrackingNumber
- Specified by:
setTrackingNumber
in interfaceOrderDelivery
-
getTotal
- Specified by:
getTotal
in interfaceOrderDelivery
-
setTotal
- Specified by:
setTotal
in interfaceOrderDelivery
-
getShipping
- Specified by:
getShipping
in interfaceOrderDelivery
-
setShipping
- Specified by:
setShipping
in interfaceOrderDelivery
-
getTax
- Specified by:
getTax
in interfaceOrderDelivery
-
setTax
- Specified by:
setTax
in interfaceOrderDelivery
-
getTaxableSubtotal
- Specified by:
getTaxableSubtotal
in interfaceOrderDelivery
-
setTaxableSubtotal
- Specified by:
setTaxableSubtotal
in interfaceOrderDelivery
-
getSubtotal
- Specified by:
getSubtotal
in interfaceOrderDelivery
-
setSubtotal
- Specified by:
setSubtotal
in interfaceOrderDelivery
-
getWeight
- Specified by:
getWeight
in interfaceOrderDelivery
-
setWeight
- Specified by:
setWeight
in interfaceOrderDelivery
-
getQuantity
- Specified by:
getQuantity
in interfaceOrderDelivery
-
setQuantity
- Specified by:
setQuantity
in interfaceOrderDelivery
-
getFormattedTotal
- Specified by:
getFormattedTotal
in interfaceOrderDelivery
-
setFormattedTotal
- Specified by:
setFormattedTotal
in interfaceOrderDelivery
-
getFormattedShipping
- Specified by:
getFormattedShipping
in interfaceOrderDelivery
-
setFormattedShipping
- Specified by:
setFormattedShipping
in interfaceOrderDelivery
-
getFormattedTax
- Specified by:
getFormattedTax
in interfaceOrderDelivery
-
setFormattedTax
- Specified by:
setFormattedTax
in interfaceOrderDelivery
-
getFormattedTaxableSubtotal
- Specified by:
getFormattedTaxableSubtotal
in interfaceOrderDelivery
-
setFormattedTaxableSubtotal
- Specified by:
setFormattedTaxableSubtotal
in interfaceOrderDelivery
-
getFormattedSubtotal
- Specified by:
getFormattedSubtotal
in interfaceOrderDelivery
-
setFormattedSubtotal
- Specified by:
setFormattedSubtotal
in interfaceOrderDelivery
-
getLastModified
- Specified by:
getLastModified
in interfaceOrderDelivery
-
setLastModified
- Specified by:
setLastModified
in interfaceOrderDelivery
-
getFormattedLastModified
- Specified by:
getFormattedLastModified
in interfaceOrderDelivery
-
setFormattedLastModified
- Specified by:
setFormattedLastModified
in interfaceOrderDelivery
-
getDelivered
- Specified by:
getDelivered
in interfaceOrderDelivery
-
setDelivered
- Specified by:
setDelivered
in interfaceOrderDelivery
-
getFormattedDelivered
- Specified by:
getFormattedDelivered
in interfaceOrderDelivery
-
setFormattedDelivered
- Specified by:
setFormattedDelivered
in interfaceOrderDelivery
-
getStatus
- Specified by:
getStatus
in interfaceOrderDelivery
-
setStatus
- Specified by:
setStatus
in interfaceOrderDelivery
-
getStatusDetails
- Specified by:
getStatusDetails
in interfaceOrderDelivery
-
setStatusDetails
- Specified by:
setStatusDetails
in interfaceOrderDelivery
-
getFirstName
- Specified by:
getFirstName
in interfaceOrderDelivery
-
setFirstName
- Specified by:
setFirstName
in interfaceOrderDelivery
-
getLastName
- Specified by:
getLastName
in interfaceOrderDelivery
-
setLastName
- Specified by:
setLastName
in interfaceOrderDelivery
-
getOrganization
- Specified by:
getOrganization
in interfaceOrderDelivery
-
setOrganization
- Specified by:
setOrganization
in interfaceOrderDelivery
-
getAddress1
- Specified by:
getAddress1
in interfaceOrderDelivery
-
setAddress1
- Specified by:
setAddress1
in interfaceOrderDelivery
-
getAddress2
- Specified by:
getAddress2
in interfaceOrderDelivery
-
setAddress2
- Specified by:
setAddress2
in interfaceOrderDelivery
-
getCity
- Specified by:
getCity
in interfaceOrderDelivery
-
setCity
- Specified by:
setCity
in interfaceOrderDelivery
-
getState
- Specified by:
getState
in interfaceOrderDelivery
-
setState
- Specified by:
setState
in interfaceOrderDelivery
-
getCountry
- Specified by:
getCountry
in interfaceOrderDelivery
-
setCountry
- Specified by:
setCountry
in interfaceOrderDelivery
-
getPostalCode
- Specified by:
getPostalCode
in interfaceOrderDelivery
-
setPostalCode
- Specified by:
setPostalCode
in interfaceOrderDelivery
-
getPhone1
- Specified by:
getPhone1
in interfaceOrderDelivery
-
setPhone1
- Specified by:
setPhone1
in interfaceOrderDelivery
-
getPhone2
- Specified by:
getPhone2
in interfaceOrderDelivery
-
setPhone2
- Specified by:
setPhone2
in interfaceOrderDelivery
-
getEmail1
- Specified by:
getEmail1
in interfaceOrderDelivery
-
setEmail1
- Specified by:
setEmail1
in interfaceOrderDelivery
-
getEmail2
- Specified by:
getEmail2
in interfaceOrderDelivery
-
setEmail2
- Specified by:
setEmail2
in interfaceOrderDelivery
-
getExtra1
- Specified by:
getExtra1
in interfaceOrderDelivery
-
setExtra1
- Specified by:
setExtra1
in interfaceOrderDelivery
-
getExtra2
- Specified by:
getExtra2
in interfaceOrderDelivery
-
setExtra2
- Specified by:
setExtra2
in interfaceOrderDelivery
-
getExtra3
- Specified by:
getExtra3
in interfaceOrderDelivery
-
setExtra3
- Specified by:
setExtra3
in interfaceOrderDelivery
-
getExtra4
- Specified by:
getExtra4
in interfaceOrderDelivery
-
setExtra4
- Specified by:
setExtra4
in interfaceOrderDelivery
-
getExtra5
- Specified by:
getExtra5
in interfaceOrderDelivery
-
setExtra5
- Specified by:
setExtra5
in interfaceOrderDelivery
-
getNotes
- Specified by:
getNotes
in interfaceOrderDelivery
-
setNotes
- Specified by:
setNotes
in interfaceOrderDelivery
-
getOrderItemCollection
- Specified by:
getOrderItemCollection
in interfaceOrderDelivery
-
setOrderItemCollection
- Specified by:
setOrderItemCollection
in interfaceOrderDelivery
-
getIsResidential
- Specified by:
getIsResidential
in interfaceOrderDelivery
-
setIsResidential
- Specified by:
setIsResidential
in interfaceOrderDelivery
-
getDeliveryFirstName
- Specified by:
getDeliveryFirstName
in interfaceOrderDelivery
-
setDeliveryFirstName
- Specified by:
setDeliveryFirstName
in interfaceOrderDelivery
-
getDeliveryLastName
- Specified by:
getDeliveryLastName
in interfaceOrderDelivery
-
setDeliveryLastName
- Specified by:
setDeliveryLastName
in interfaceOrderDelivery
-
getDeliveryOrganization
- Specified by:
getDeliveryOrganization
in interfaceOrderDelivery
-
setDeliveryOrganization
- Specified by:
setDeliveryOrganization
in interfaceOrderDelivery
-
getDeliveryAddress1
- Specified by:
getDeliveryAddress1
in interfaceOrderDelivery
-
setDeliveryAddress1
- Specified by:
setDeliveryAddress1
in interfaceOrderDelivery
-
getDeliveryAddress2
- Specified by:
getDeliveryAddress2
in interfaceOrderDelivery
-
setDeliveryAddress2
- Specified by:
setDeliveryAddress2
in interfaceOrderDelivery
-
getDeliveryCity
- Specified by:
getDeliveryCity
in interfaceOrderDelivery
-
setDeliveryCity
- Specified by:
setDeliveryCity
in interfaceOrderDelivery
-
getDeliveryState
- Specified by:
getDeliveryState
in interfaceOrderDelivery
-
setDeliveryState
- Specified by:
setDeliveryState
in interfaceOrderDelivery
-
getDeliveryCountry
- Specified by:
getDeliveryCountry
in interfaceOrderDelivery
-
setDeliveryCountry
- Specified by:
setDeliveryCountry
in interfaceOrderDelivery
-
getDeliveryPostalCode
- Specified by:
getDeliveryPostalCode
in interfaceOrderDelivery
-
setDeliveryPostalCode
- Specified by:
setDeliveryPostalCode
in interfaceOrderDelivery
-
getDeliveryPhone1
- Specified by:
getDeliveryPhone1
in interfaceOrderDelivery
-
setDeliveryPhone1
- Specified by:
setDeliveryPhone1
in interfaceOrderDelivery
-
getDeliveryPhone2
- Specified by:
getDeliveryPhone2
in interfaceOrderDelivery
-
setDeliveryPhone2
- Specified by:
setDeliveryPhone2
in interfaceOrderDelivery
-
getDeliveryEmail1
- Specified by:
getDeliveryEmail1
in interfaceOrderDelivery
-
setDeliveryEmail1
- Specified by:
setDeliveryEmail1
in interfaceOrderDelivery
-
getDeliveryEmail2
- Specified by:
getDeliveryEmail2
in interfaceOrderDelivery
-
setDeliveryEmail2
- Specified by:
setDeliveryEmail2
in interfaceOrderDelivery
-
getDeliveryExtra1
- Specified by:
getDeliveryExtra1
in interfaceOrderDelivery
-
setDeliveryExtra1
- Specified by:
setDeliveryExtra1
in interfaceOrderDelivery
-
getDeliveryExtra2
- Specified by:
getDeliveryExtra2
in interfaceOrderDelivery
-
setDeliveryExtra2
- Specified by:
setDeliveryExtra2
in interfaceOrderDelivery
-
getDeliveryExtra3
- Specified by:
getDeliveryExtra3
in interfaceOrderDelivery
-
setDeliveryExtra3
- Specified by:
setDeliveryExtra3
in interfaceOrderDelivery
-
getDeliveryExtra4
- Specified by:
getDeliveryExtra4
in interfaceOrderDelivery
-
setDeliveryExtra4
- Specified by:
setDeliveryExtra4
in interfaceOrderDelivery
-
getDeliveryExtra5
- Specified by:
getDeliveryExtra5
in interfaceOrderDelivery
-
setDeliveryExtra5
- Specified by:
setDeliveryExtra5
in interfaceOrderDelivery
-
getDeliveryNotes
- Specified by:
getDeliveryNotes
in interfaceOrderDelivery
-
setDeliveryNotes
- Specified by:
setDeliveryNotes
in interfaceOrderDelivery
-
getDeliveryIsResidential
- Specified by:
getDeliveryIsResidential
in interfaceOrderDelivery
-
setDeliveryIsResidential
- Specified by:
setDeliveryIsResidential
in interfaceOrderDelivery
-
getOrder
- Specified by:
getOrder
in interfaceOrderDelivery
-
setOrder
- Specified by:
setOrder
in interfaceOrderDelivery
-
addFormatting
- Specified by:
addFormatting
in interfaceOrderDelivery
-