com.ibm.commerce.order.objects
Class OrderTemplateBean

com.ibm.commerce.order.objects.OrderTemplateBean
All Implemented Interfaces:
java.io.Serializable

public class OrderTemplateBean
implements java.io.Serializable

This bean provides access to the ORDERTMPL table.

The following is a description of this table:

Each row of this table indicates that an Order is used as a template by a customer, and also indicates whether the template is current for that customer.

See Also:
Serialized Form

Constructor Summary
OrderTemplateBean()
           
 
Method Summary
 java.lang.Long getMemberId()
          This method provides access to the ORDERTMPL.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrderId()
          This method provides access to the ORDERTMPL.ORDERS_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Integer getUsage()
          This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL.
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the ORDERTMPL.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setUsage(java.lang.Integer aUsage)
          This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL.
 

Constructor Detail

OrderTemplateBean

public OrderTemplateBean()
Method Detail

getMemberId

public java.lang.Long getMemberId()

This method provides access to the ORDERTMPL.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The customer.

Returns:
java.lang.Long

getOrderId

public java.lang.Long getOrderId()

This method provides access to the ORDERTMPL.ORDERS_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The Order.

Returns:
java.lang.Long

getUsage

public java.lang.Integer getUsage()

This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The intended usage for this template.
0 = no usage information.
1 = template is a current template.
Values less than 1000 are reserved for IBM internal use.

Returns:
java.lang.Integer

setMemberId

public void setMemberId(java.lang.Long aMemberId)

This method provides access to the ORDERTMPL.MEMBER_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The customer.

Parameters:
aMemberId - java.lang.Long
Returns:
void

setUsage

public void setUsage(java.lang.Integer aUsage)

This method provides access to the ORDERTMPL.USAGE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The intended usage for this template.
0 = no usage information.
1 = template is a current template.
Values less than 1000 are reserved for IBM internal use.

Parameters:
aUsage - java.lang.Integer
Returns:
void