com.ibm.commerce.ordermanagement.objects
Class ReturnReasonBean

com.ibm.commerce.ordermanagement.objects.ReturnReasonBean
All Implemented Interfaces:
java.io.Serializable

public class ReturnReasonBean
implements java.io.Serializable

This bean provides access to the RTNREASON table.

The following is a description of this table:

This table stores the reason for customer dissatisfaction with a product.

See Also:
Serialized Form

Constructor Summary
ReturnReasonBean()
           
 
Method Summary
 java.lang.String getCode()
          This method provides access to the RTNREASON.CODE column of DB2 type CHAR(30) NOT NULL.
 java.lang.Integer getMarkForDelete()
          This method provides access to the RTNREASON.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.String getReasonType()
          This method provides access to the RTNREASON.REASONTYPE column of DB2 type CHAR(1) NOT NULL.
 java.lang.Integer getRtnReasonId()
          This method provides access to the RTNREASON.RTNREASON_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreentId()
          This method provides access to the RTNREASON.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 void setCode(java.lang.String aCode)
          This method provides access to the RTNREASON.CODE column of DB2 type CHAR(30) NOT NULL.
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the RTNREASON.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setReasonType(java.lang.String aReasonType)
          This method provides access to the RTNREASON.REASONTYPE column of DB2 type CHAR(1) NOT NULL.
 void setRtnReasonId(java.lang.Integer aRtnReasonId)
          This method provides access to the RTNREASON.RTNREASON_ID column of DB2 type INTEGER NOT NULL.
 void setStoreentId(java.lang.Integer aStoreentId)
          This method provides access to the RTNREASON.STOREENT_ID column of DB2 type INTEGER NOT NULL.
 

Constructor Detail

ReturnReasonBean

public ReturnReasonBean()
Method Detail

getCode

public java.lang.String getCode()

This method provides access to the RTNREASON.CODE column of DB2 type CHAR(30) NOT NULL.

The following is a description of this column:

Code used to reference the return reason.

Returns:
java.lang.String

getMarkForDelete

public java.lang.Integer getMarkForDelete()

This method provides access to the RTNREASON.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if this return reason has been marked for deletion:
0 = No.
1 = Yes, this return reason has been marked for deletion.

Returns:
java.lang.Integer

getReasonType

public java.lang.String getReasonType()

This method provides access to the RTNREASON.REASONTYPE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

The way in which the return reason may be used as follows:
C = customer
M = merchant or disposition
B = both

Returns:
java.lang.String

getRtnReasonId

public java.lang.Integer getRtnReasonId()

This method provides access to the RTNREASON.RTNREASON_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Integer

getStoreentId

public java.lang.Integer getStoreentId()

This method provides access to the RTNREASON.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity in which the return reason is used.

Returns:
java.lang.Integer

setCode

public void setCode(java.lang.String aCode)

This method provides access to the RTNREASON.CODE column of DB2 type CHAR(30) NOT NULL.

The following is a description of this column:

Code used to reference the return reason.

Parameters:
aCode - java.lang.String
Returns:
void

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

This method provides access to the RTNREASON.MARKFORDELETE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if this return reason has been marked for deletion:
0 = No.
1 = Yes, this return reason has been marked for deletion.

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

setReasonType

public void setReasonType(java.lang.String aReasonType)

This method provides access to the RTNREASON.REASONTYPE column of DB2 type CHAR(1) NOT NULL.

The following is a description of this column:

The way in which the return reason may be used as follows:
C = customer
M = merchant or disposition
B = both

Parameters:
aReasonType - java.lang.String
Returns:
void

setRtnReasonId

public void setRtnReasonId(java.lang.Integer aRtnReasonId)

This method provides access to the RTNREASON.RTNREASON_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Generated unique key.

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

setStoreentId

public void setStoreentId(java.lang.Integer aStoreentId)

This method provides access to the RTNREASON.STOREENT_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The StoreEntity in which the return reason is used.

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