com.ibm.commerce.ordermanagement.objects
Class RMAAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
        |
        +--com.ibm.commerce.ordermanagement.objects.RMAAccessBean
All Implemented Interfaces:
RMAAccessBeanData

public class RMAAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements RMAAccessBeanData

This table is a container for return merchandise authorizations (RMAs).

See Also:
Serialized Form

Constructor Summary
RMAAccessBean()
          constructor
RMAAccessBean(java.lang.Integer arg0, java.lang.Long arg1, java.sql.Timestamp arg2, java.sql.Timestamp arg3)
          constructor
RMAAccessBean(javax.ejb.EJBObject o)
          constructor
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
protected  java.lang.String defaultJNDIName()
           
 java.util.Enumeration findApproved()           Retrieves all the RMAs (Returns) with an approved status. The SQL query used to fetch the requested rows from the RMA table is:
SELECT * FROM RMA T1 WHERE T1.STATUS = 'APP'
 java.util.Enumeration findApprovedByStoreId(java.lang.Integer arg0)           Retrieves all the RMAs (Returns) for a store which are approved. The SQL query used to fetch the requested row from the RMA table is:
SELECT * FROM RMA T1 WHERE T1.STATUS = 'APP' AND T1.STORE_ID = ?
 java.util.Enumeration findByStoreIdAndMemberId(java.lang.Integer arg0, java.lang.Long arg1)           Retrieves all the open RMAs (Returns) for a person at a store. The SQL query used to fetch the requested row from the RMA table is:
SELECT * FROM RMA T1 WHERE T1.STATUS <>'CLO' AND STORE_ID = ? AND MEMBER_ID = ?
 boolean fulfills(java.lang.Long arg0, java.lang.String arg1)
           
 java.lang.String getComments()
          This method provides access to the RMA.COMMENTS column of DB2 type VARCHAR(254).
 java.lang.String getCurrency()
          This method provides access to the RMA.CURRENCY column of DB2 type CHAR(3).
 java.lang.String getFfmcenterId()
          This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER.
 java.lang.Integer getFfmcenterIdInEJBType()
          This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER.
 java.lang.String getInUse()
          This method provides access to the RMA.INUSE column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.
 java.lang.String getLastUpdate()
          This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 java.sql.Timestamp getLastUpdateInEJBType()
          This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.String getMemberId()
          This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getMemberIdInEJBType()
          This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getOrganizationId()
          This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT.
 java.lang.Long getOrganizationIdInEJBType()
          This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT.
 java.lang.Long getOwner()
          This method accesses a non-CMP field
 java.lang.String getPolicyId()
          This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT.
 java.lang.Long getPolicyIdInEJBType()
          This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT.
 java.lang.String getPrepared()
          This method provides access to the RMA.PREPARED column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.
 java.lang.String getRefundAgainstOrdId()
          This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT.
 java.lang.Long getRefundAgainstOrdIdInEJBType()
          This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT.
 java.lang.String getRmaDate()
          This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.
 java.sql.Timestamp getRmaDateInEJBType()
          This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.
 java.lang.String getRmaId()
          This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getRmaIdInEJBType()
          This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getStatus()
          This method provides access to the RMA.STATUS column of DB2 type CHAR(3) NOT NULL DEFAULT 'PRC'.
 java.lang.String getStoreId()
          This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreIdInEJBType()
          This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.
 java.lang.String getTotalCredit()
          This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20 5) DEFAULT 0.
 java.math.BigDecimal getTotalCreditInEJBType()
          This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20 5) DEFAULT 0.
 java.lang.String getTradingId()
          This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT.
 java.lang.Long getTradingIdInEJBType()
          This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT.
protected  void instantiateEJB()
           
protected  boolean instantiateEJBByPrimaryKey()
           
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setComments(java.lang.String newValue)
          This method provides access to the RMA.COMMENTS column of DB2 type VARCHAR(254).
 void setCurrency(java.lang.String newValue)
          This method provides access to the RMA.CURRENCY column of DB2 type CHAR(3).
 void setFfmcenterId(java.lang.Integer newValue)
          This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER.
 void setFfmcenterId(java.lang.String newValue)
          This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER.
 void setInitKey_rmaId(java.lang.String newValue)
          Set the primary key for this object
 void setInUse(java.lang.String newValue)
          This method provides access to the RMA.INUSE column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.
 void setLastUpdate(java.lang.String newValue)
          This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setLastUpdate(java.sql.Timestamp newValue)
          This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.
 void setMemberId(java.lang.Long newValue)
          This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setMemberId(java.lang.String newValue)
          This method provides access to the RMA.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setOrganizationId(java.lang.Long newValue)
          This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT.
 void setOrganizationId(java.lang.String newValue)
          This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT.
 void setPolicyId(java.lang.Long newValue)
          This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT.
 void setPolicyId(java.lang.String newValue)
          This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT.
 void setPrepared(java.lang.String newValue)
          This method provides access to the RMA.PREPARED column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.
 void setRefundAgainstOrdId(java.lang.Long newValue)
          This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT.
 void setRefundAgainstOrdId(java.lang.String newValue)
          This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT.
 void setRmaDate(java.lang.String newValue)
          This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.
 void setRmaDate(java.sql.Timestamp newValue)
          This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.
 void setRmaId(java.lang.Long newValue)
          This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.
 void setRmaId(java.lang.String newValue)
          This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.
 void setStatus(java.lang.String newValue)
          This method provides access to the RMA.STATUS column of DB2 type CHAR(3) NOT NULL DEFAULT 'PRC'.
 void setStoreId(java.lang.Integer newValue)
          This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.
 void setStoreId(java.lang.String newValue)
          This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.
 void setTotalCredit(java.math.BigDecimal newValue)
          This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20 5) DEFAULT 0.
 void setTotalCredit(java.lang.String newValue)
          This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20 5) DEFAULT 0.
 void setTradingId(java.lang.Long newValue)
          This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT.
 void setTradingId(java.lang.String newValue)
          This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMAAccessBean

public RMAAccessBean()
constructor

RMAAccessBean

public RMAAccessBean(javax.ejb.EJBObject o)
              throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

RMAAccessBean

public RMAAccessBean(java.lang.Integer arg0,
                     java.lang.Long arg1,
                     java.sql.Timestamp arg2,
                     java.sql.Timestamp arg3)
              throws javax.naming.NamingException,
                     javax.ejb.CreateException,
                     java.rmi.RemoteException,
                     javax.ejb.FinderException
constructor
Parameters:
arg0 - java.lang.Integer
arg1 - java.lang.Long
arg2 - java.sql.Timestamp
arg3 - java.sql.Timestamp
Throws:
javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
Method Detail

findApproved

public java.util.Enumeration findApproved()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

Retrieves all the RMAs (Returns) with an approved status.
The SQL query used to fetch the requested rows from the RMA table is: SELECT * FROM RMA T1 WHERE T1.STATUS = 'APP'

Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findApprovedByStoreId

public java.util.Enumeration findApprovedByStoreId(java.lang.Integer arg0)
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

Retrieves all the RMAs (Returns) for a store which are approved.
The SQL query used to fetch the requested row from the RMA table is: SELECT * FROM RMA T1 WHERE T1.STATUS = 'APP' AND T1.STORE_ID = ?

Returns:
An Enumeration of all the RMAAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByStoreIdAndMemberId

public java.util.Enumeration findByStoreIdAndMemberId(java.lang.Integer arg0,
                                                      java.lang.Long arg1)
                                               throws java.rmi.RemoteException,
                                                      javax.ejb.FinderException,
                                                      javax.naming.NamingException

Retrieves all the open RMAs (Returns) for a person at a store.
The SQL query used to fetch the requested row from the RMA table is: SELECT * FROM RMA T1 WHERE T1.STATUS <>'CLO' AND STORE_ID = ? AND MEMBER_ID = ?

Returns:
An Enumeration of all the RMAAccessBeans representing rows that match the search criteria.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_rmaId

public void setInitKey_rmaId(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLastUpdate

public java.lang.String getLastUpdate()
                               throws java.rmi.RemoteException,
                                      javax.ejb.CreateException,
                                      javax.ejb.FinderException,
                                      javax.naming.NamingException

This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Timestamp of the last update.

Specified by:
getLastUpdate in interface RMAAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getLastUpdateInEJBType

public java.sql.Timestamp getLastUpdateInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Timestamp of the last update.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setLastUpdate

public void setLastUpdate(java.lang.String newValue)

This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Timestamp of the last update.

Specified by:
setLastUpdate in interface RMAAccessBeanData
Parameters:
newValue - String
Returns:
void

setLastUpdate

public void setLastUpdate(java.sql.Timestamp newValue)

This method provides access to the RMA.LASTUPDATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

Timestamp of the last update.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

getRefundAgainstOrdId

public java.lang.String getRefundAgainstOrdId()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT.

The following is a description of this column:

The order Id to credit the refund against.

Specified by:
getRefundAgainstOrdId in interface RMAAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getRefundAgainstOrdIdInEJBType

public java.lang.Long getRefundAgainstOrdIdInEJBType()
                                              throws java.rmi.RemoteException,
                                                     javax.ejb.CreateException,
                                                     javax.ejb.FinderException,
                                                     javax.naming.NamingException

This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT.

The following is a description of this column:

The order Id to credit the refund against.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRefundAgainstOrdId

public void setRefundAgainstOrdId(java.lang.String newValue)

This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT.

The following is a description of this column:

The order Id to credit the refund against.

Specified by:
setRefundAgainstOrdId in interface RMAAccessBeanData
Parameters:
newValue - String
Returns:
void

setRefundAgainstOrdId

public void setRefundAgainstOrdId(java.lang.Long newValue)

This method provides access to the RMA.REFUNDAGAINSTORDID column of DB2 type BIGINT.

The following is a description of this column:

The order Id to credit the refund against.

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

getInUse

public java.lang.String getInUse()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

This method provides access to the RMA.INUSE column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.

The following is a description of this column:

Used by the WebSphere Commerce Accelerator to mark the record as being used. When a CSR opens the Change Returns notebook to edit a return, the INUSE column is set to Y to indicate that this RMA is in use. Once closed, the column is set to N.

Specified by:
getInUse in interface RMAAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setInUse

public void setInUse(java.lang.String newValue)

This method provides access to the RMA.INUSE column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.

The following is a description of this column:

Used by the WebSphere Commerce Accelerator to mark the record as being used. When a CSR opens the Change Returns notebook to edit a return, the INUSE column is set to Y to indicate that this RMA is in use. Once closed, the column is set to N.

Specified by:
setInUse in interface RMAAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getTotalCredit

public java.lang.String getTotalCredit()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20 5) DEFAULT 0.

The following is a description of this column:

The total credit due in the currency specified by the CURRENCY column. If this amount is NULL then the total amount is unknown.

Specified by:
getTotalCredit in interface RMAAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTotalCreditInEJBType

public java.math.BigDecimal getTotalCreditInEJBType()
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20 5) DEFAULT 0.

The following is a description of this column:

The total credit due in the currency specified by the CURRENCY column. If this amount is NULL then the total amount is unknown.

Returns:
java.math.BigDecimal
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTotalCredit

public void setTotalCredit(java.lang.String newValue)

This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20 5) DEFAULT 0.

The following is a description of this column:

The total credit due in the currency specified by the CURRENCY column. If this amount is NULL then the total amount is unknown.

Specified by:
setTotalCredit in interface RMAAccessBeanData
Parameters:
newValue - String
Returns:
void

setTotalCredit

public void setTotalCredit(java.math.BigDecimal newValue)

This method provides access to the RMA.TOTALCREDIT column of DB2 type DECIMAL(20 5) DEFAULT 0.

The following is a description of this column:

The total credit due in the currency specified by the CURRENCY column. If this amount is NULL then the total amount is unknown.

Parameters:
newValue - java.math.BigDecimal
Returns:
void

getFfmcenterId

public java.lang.String getFfmcenterId()
                                throws java.rmi.RemoteException,
                                       javax.ejb.CreateException,
                                       javax.ejb.FinderException,
                                       javax.naming.NamingException

This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER.

The following is a description of this column:

The FulfillmentCenter to which the returned items are to be shipped.

Specified by:
getFfmcenterId in interface RMAAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getFfmcenterIdInEJBType

public java.lang.Integer getFfmcenterIdInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER.

The following is a description of this column:

The FulfillmentCenter to which the returned items are to be shipped.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setFfmcenterId

public void setFfmcenterId(java.lang.String newValue)

This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER.

The following is a description of this column:

The FulfillmentCenter to which the returned items are to be shipped.

Specified by:
setFfmcenterId in interface RMAAccessBeanData
Parameters:
newValue - String
Returns:
void

setFfmcenterId

public void setFfmcenterId(java.lang.Integer newValue)

This method provides access to the RMA.FFMCENTER_ID column of DB2 type INTEGER.

The following is a description of this column:

The FulfillmentCenter to which the returned items are to be shipped.

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

getTradingId

public java.lang.String getTradingId()
                              throws java.rmi.RemoteException,
                                     javax.ejb.CreateException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT.

The following is a description of this column:

The ID of the trading agreement under which this RMA is being processed. This determines the policies for approval, charges, and refund payment.

Specified by:
getTradingId in interface RMAAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getTradingIdInEJBType

public java.lang.Long getTradingIdInEJBType()
                                     throws java.rmi.RemoteException,
                                            javax.ejb.CreateException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT.

The following is a description of this column:

The ID of the trading agreement under which this RMA is being processed. This determines the policies for approval, charges, and refund payment.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setTradingId

public void setTradingId(java.lang.String newValue)

This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT.

The following is a description of this column:

The ID of the trading agreement under which this RMA is being processed. This determines the policies for approval, charges, and refund payment.

Specified by:
setTradingId in interface RMAAccessBeanData
Parameters:
newValue - String
Returns:
void

setTradingId

public void setTradingId(java.lang.Long newValue)

This method provides access to the RMA.TRADING_ID column of DB2 type BIGINT.

The following is a description of this column:

The ID of the trading agreement under which this RMA is being processed. This determines the policies for approval, charges, and refund payment.

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

getCurrency

public java.lang.String getCurrency()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the RMA.CURRENCY column of DB2 type CHAR(3).

The following is a description of this column:

The currency of all monetary amounts within the RMA. All items added to the RMA will have the same currency value. This is a currency code as per ISO 4217 standards.

Specified by:
getCurrency in interface RMAAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setCurrency

public void setCurrency(java.lang.String newValue)

This method provides access to the RMA.CURRENCY column of DB2 type CHAR(3).

The following is a description of this column:

The currency of all monetary amounts within the RMA. All items added to the RMA will have the same currency value. This is a currency code as per ISO 4217 standards.

Specified by:
setCurrency in interface RMAAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getStoreId

public java.lang.String getStoreId()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store against which the RMA is being processed.

Specified by:
getStoreId in interface RMAAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStoreIdInEJBType

public java.lang.Integer getStoreIdInEJBType()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store against which the RMA is being processed.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStoreId

public void setStoreId(java.lang.String newValue)

This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store against which the RMA is being processed.

Specified by:
setStoreId in interface RMAAccessBeanData
Parameters:
newValue - String
Returns:
void

setStoreId

public void setStoreId(java.lang.Integer newValue)

This method provides access to the RMA.STORE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

The ID of the store against which the RMA is being processed.

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

getOrganizationId

public java.lang.String getOrganizationId()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.CreateException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT.

The following is a description of this column:

The buying organization.

Specified by:
getOrganizationId in interface RMAAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getOrganizationIdInEJBType

public java.lang.Long getOrganizationIdInEJBType()
                                          throws java.rmi.RemoteException,
                                                 javax.ejb.CreateException,
                                                 javax.ejb.FinderException,
                                                 javax.naming.NamingException

This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT.

The following is a description of this column:

The buying organization.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setOrganizationId

public void setOrganizationId(java.lang.String newValue)

This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT.

The following is a description of this column:

The buying organization.

Specified by:
setOrganizationId in interface RMAAccessBeanData
Parameters:
newValue - String
Returns:
void

setOrganizationId

public void setOrganizationId(java.lang.Long newValue)

This method provides access to the RMA.ORGENTITY_ID column of DB2 type BIGINT.

The following is a description of this column:

The buying organization.

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

getStatus

public java.lang.String getStatus()
                           throws java.rmi.RemoteException,
                                  javax.ejb.CreateException,
                                  javax.ejb.FinderException,
                                  javax.naming.NamingException

This method provides access to the RMA.STATUS column of DB2 type CHAR(3) NOT NULL DEFAULT 'PRC'.

The following is a description of this column:

The status of the RMA as follows:&l

Specified by:
getStatus in interface RMAAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStatus

public void setStatus(java.lang.String newValue)

This method provides access to the RMA.STATUS column of DB2 type CHAR(3) NOT NULL DEFAULT 'PRC'.

The following is a description of this column:

The status of the RMA as follows:&l

Specified by:
setStatus in interface RMAAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getPrepared

public java.lang.String getPrepared()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the RMA.PREPARED column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.

The following is a description of this column:

Specifies whether the ReturnPrepare command was the last command executed against the RMA.

Specified by:
getPrepared in interface RMAAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPrepared

public void setPrepared(java.lang.String newValue)

This method provides access to the RMA.PREPARED column of DB2 type CHAR(1) NOT NULL DEFAULT 'N'.

The following is a description of this column:

Specifies whether the ReturnPrepare command was the last command executed against the RMA.

Specified by:
setPrepared in interface RMAAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getRmaDate

public java.lang.String getRmaDate()
                            throws java.rmi.RemoteException,
                                   javax.ejb.CreateException,
                                   javax.ejb.FinderException,
                                   javax.naming.NamingException

This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time the RMA was created.

Specified by:
getRmaDate in interface RMAAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getRmaDateInEJBType

public java.sql.Timestamp getRmaDateInEJBType()
                                       throws java.rmi.RemoteException,
                                              javax.ejb.CreateException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException

This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time the RMA was created.

Returns:
java.sql.Timestamp
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRmaDate

public void setRmaDate(java.lang.String newValue)

This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time the RMA was created.

Specified by:
setRmaDate in interface RMAAccessBeanData
Parameters:
newValue - String
Returns:
void

setRmaDate

public void setRmaDate(java.sql.Timestamp newValue)

This method provides access to the RMA.RMADATE column of DB2 type TIMESTAMP NOT NULL.

The following is a description of this column:

The time the RMA was created.

Parameters:
newValue - java.sql.Timestamp
Returns:
void

getComments

public java.lang.String getComments()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the RMA.COMMENTS column of DB2 type VARCHAR(254).

The following is a description of this column:

Comment that applies to the entire RMA.

Specified by:
getComments in interface RMAAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setComments

public void setComments(java.lang.String newValue)

This method provides access to the RMA.COMMENTS column of DB2 type VARCHAR(254).

The following is a description of this column:

Comment that applies to the entire RMA.

Specified by:
setComments in interface RMAAccessBeanData
Parameters:
newValue - java.lang.String
Returns:
void

getMemberId

public java.lang.String getMemberId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

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

The following is a description of this column:

The member requesting the return. If the RMA was created by a Customer Service Representative, this will be the member who contacted the Customer Service Representative.

Specified by:
getMemberId in interface RMAAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMemberIdInEJBType

public java.lang.Long getMemberIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

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

The following is a description of this column:

The member requesting the return. If the RMA was created by a Customer Service Representative, this will be the member who contacted the Customer Service Representative.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMemberId

public void setMemberId(java.lang.String newValue)

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

The following is a description of this column:

The member requesting the return. If the RMA was created by a Customer Service Representative, this will be the member who contacted the Customer Service Representative.

Specified by:
setMemberId in interface RMAAccessBeanData
Parameters:
newValue - String
Returns:
void

setMemberId

public void setMemberId(java.lang.Long newValue)

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

The following is a description of this column:

The member requesting the return. If the RMA was created by a Customer Service Representative, this will be the member who contacted the Customer Service Representative.

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

getPolicyId

public java.lang.String getPolicyId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT.

The following is a description of this column:

The ID of the RefundPaymentMethod policy.

Specified by:
getPolicyId in interface RMAAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getPolicyIdInEJBType

public java.lang.Long getPolicyIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT.

The following is a description of this column:

The ID of the RefundPaymentMethod policy.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setPolicyId

public void setPolicyId(java.lang.String newValue)

This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT.

The following is a description of this column:

The ID of the RefundPaymentMethod policy.

Specified by:
setPolicyId in interface RMAAccessBeanData
Parameters:
newValue - String
Returns:
void

setPolicyId

public void setPolicyId(java.lang.Long newValue)

This method provides access to the RMA.POLICY_ID column of DB2 type BIGINT.

The following is a description of this column:

The ID of the RefundPaymentMethod policy.

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

getRmaId

public java.lang.String getRmaId()
                          throws java.rmi.RemoteException,
                                 javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 javax.naming.NamingException

This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
getRmaId in interface RMAAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getRmaIdInEJBType

public java.lang.Long getRmaIdInEJBType()
                                 throws java.rmi.RemoteException,
                                        javax.ejb.CreateException,
                                        javax.ejb.FinderException,
                                        javax.naming.NamingException

This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setRmaId

public void setRmaId(java.lang.String newValue)

This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

Specified by:
setRmaId in interface RMAAccessBeanData
Parameters:
newValue - String
Returns:
void

setRmaId

public void setRmaId(java.lang.Long newValue)

This method provides access to the RMA.RMA_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key.

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

fulfills

public boolean fulfills(java.lang.Long arg0,
                        java.lang.String arg1)
                 throws java.rmi.RemoteException,
                        java.lang.Exception,
                        javax.ejb.FinderException,
                        javax.naming.NamingException
Parameters:
arg0 - java.lang.Long
arg1 - java.lang.String
Returns:
boolean
Throws:
java.rmi.RemoteException
java.lang.Exception
javax.ejb.FinderException
javax.naming.NamingException

getOwner

public java.lang.Long getOwner()
                        throws java.lang.Exception,
                               java.rmi.RemoteException,
                               javax.ejb.FinderException,
                               javax.naming.NamingException
This method accesses a non-CMP field
java.lang.Exception
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException