com.ibm.commerce.payment.objects
Class CreditLineAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.payment.objects.CreditLineAccessBean
All Implemented Interfaces:
CreditLineAccessBeanData, java.io.Serializable

public class CreditLineAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements CreditLineAccessBeanData

This bean provides access to the CREDITLINE table.

The following is a description of this table:

Each row of this table represents a credit line the account holder (buyer organization) has with the seller organization. This credit line is associated with a specific business account.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
CreditLineAccessBean()
          Default constructor.
CreditLineAccessBean(javax.ejb.EJBObject object)
          Creates an access bean for the specified EJB
CreditLineAccessBean(java.lang.Long accountId)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
CreditLineAccessBean(java.lang.Long accountId, java.lang.Integer state, java.lang.String currency, java.sql.Timestamp timeCreated)
          Maps to a corresponding ejbCreate method in the home interface of the EJB
 
Method Summary
 void commitCopyHelper()
          Update(flush) data to the EJBObject (persistent storage).
 java.util.Enumeration findByAccountId(java.lang.Long accountId)
          Retrieves the CreditLine objects associated with the specified Account.
 java.lang.String getAccountId()
          This method provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT NULL.
 java.lang.Long getAccountIdInEJBType()
          This method provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT NULL.
 java.lang.String getCreditLimit()
          This method provides access to the CREDITLINE.CREDITLIMIT column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getCreditLimitInEJBType()
          This method provides access to the CREDITLINE.CREDITLIMIT column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getCreditLineId()
          This method provides access to the CREDITLINE.CREDITLINE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getCreditLineIdInEJBType()
          This method provides access to the CREDITLINE.CREDITLINE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getCurrency()
          This method provides access to the CREDITLINE.SETCCURR column of DB2 type CHAR(3) NULL.
 java.lang.String getDecimalField1()
          This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getDecimalField1InEJBType()
          This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getDecimalField2()
          This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20,5) NULL.
 java.math.BigDecimal getDecimalField2InEJBType()
          This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20,5) NULL.
 java.lang.String getState()
          This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER NULL.
 java.lang.Integer getStateInEJBType()
          This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER NULL.
 java.lang.String getTimeCreated()
          This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getTimeCreatedInEJBType()
          This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP NULL.
 java.lang.String getTimeUpdated()
          This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getTimeUpdatedInEJBType()
          This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAccountId(java.lang.Long aAccountId)
          This method provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT NULL.
 void setAccountId(java.lang.String aAccountId)
          This method provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT NULL.
 void setCreditLimit(java.math.BigDecimal aCreditLimit)
          This method provides access to the CREDITLINE.CREDITLIMIT column of DB2 type DECIMAL(20,5) NULL.
 void setCreditLimit(java.lang.String aCreditLimit)
          This method provides access to the CREDITLINE.CREDITLIMIT column of DB2 type DECIMAL(20,5) NULL.
 void setCreditLineId(java.lang.Long aCreditLineId)
          This method provides access to the CREDITLINE.CREDITLINE_ID column of DB2 type BIGINT NOT NULL.
 void setCreditLineId(java.lang.String aCreditLineId)
          This method provides access to the CREDITLINE.CREDITLINE_ID column of DB2 type BIGINT NOT NULL.
 void setCurrency(java.lang.String aCurrency)
          This method provides access to the CREDITLINE.SETCCURR column of DB2 type CHAR(3) NULL.
 void setDecimalField1(java.math.BigDecimal aDecimalField1)
          This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.
 void setDecimalField1(java.lang.String aDecimalField1)
          This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.
 void setDecimalField2(java.math.BigDecimal aDecimalField2)
          This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20,5) NULL.
 void setDecimalField2(java.lang.String aDecimalField2)
          This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20,5) NULL.
 void setInitKey_creditLineId(java.lang.String aInitKey_creditLineId)
          Sets the primary key for this object
 void setState(java.lang.Integer aState)
          This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER NULL.
 void setState(java.lang.String aState)
          This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER NULL.
 void setTimeCreated(java.lang.String aTimeCreated)
          This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void setTimeCreated(java.sql.Timestamp aTimeCreated)
          This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void setTimeUpdated(java.lang.String aTimeUpdated)
          This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 void setTimeUpdated(java.sql.Timestamp aTimeUpdated)
          This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreditLineAccessBean

public CreditLineAccessBean()

Default constructor. Maps to findByPrimaryKey.


CreditLineAccessBean

public CreditLineAccessBean(javax.ejb.EJBObject object)
                     throws java.rmi.RemoteException

Creates an access bean for the specified EJB

Parameters:
object - The EJB Object used for the access bean construction.
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception

CreditLineAccessBean

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

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
accountId - The internal ID of the Account which is associated with the Credit line..
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception

CreditLineAccessBean

public CreditLineAccessBean(java.lang.Long accountId,
                            java.lang.Integer state,
                            java.lang.String currency,
                            java.sql.Timestamp timeCreated)
                     throws javax.ejb.CreateException,
                            javax.ejb.FinderException,
                            javax.naming.NamingException,
                            java.rmi.RemoteException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
accountId - The internal ID of the Account to which the Credit line belongs.
state - The state of the Credit line. The following states are defined.
0 = unknown
1 = active - available for ordering
2 = closed or suspended - not available for ordering
currency - The currency of the credit limit if specified.
timeCreated - The time when the Credit line was created.
Throws:
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
Method Detail

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

findByAccountId

public java.util.Enumeration findByAccountId(java.lang.Long accountId)
                                      throws java.rmi.RemoteException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

Retrieves the CreditLine objects associated with the specified Account.

The SQL query used to fetch the requested row from the CREDITLINE table is:

SELECT * FROM CREDITLINE T1 WHERE T1.ACCOUNT_ID=?

Parameters:
accountId - The ID of the Account.
Returns:
An Enumeration of the CreditLineAccessBeans 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 - The javax.naming.NamingException exception

getAccountId

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

This method provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the business account to which the credit line belongs. Foreign key to the ACCOUNT table.

Specified by:
getAccountId in interface CreditLineAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getAccountIdInEJBType

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

This method provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the business account to which the credit line belongs. Foreign key to the ACCOUNT table.

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

getCreditLimit

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

This method provides access to the CREDITLINE.CREDITLIMIT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getCreditLimit in interface CreditLineAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCreditLimitInEJBType

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

This method provides access to the CREDITLINE.CREDITLIMIT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

getCreditLineId

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

This method provides access to the CREDITLINE.CREDITLINE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row.

Specified by:
getCreditLineId in interface CreditLineAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getCreditLineIdInEJBType

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

This method provides access to the CREDITLINE.CREDITLINE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row.

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

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 CREDITLINE.SETCCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

Currency of the credit limit if specified. (This is a currency code as per ISO 4217 standards.)

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

getDecimalField1

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

This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Specified by:
getDecimalField1 in interface CreditLineAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDecimalField1InEJBType

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

This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

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

getDecimalField2

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

This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Specified by:
getDecimalField2 in interface CreditLineAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getDecimalField2InEJBType

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

This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

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

getState

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

This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER NULL.

The following is a description of this column:

State of the CreditLine:
0 = unknown
1 = active - available for ordering
2 = closed or suspended - not available for ordering

Specified by:
getState in interface CreditLineAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getStateInEJBType

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

This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER NULL.

The following is a description of this column:

State of the CreditLine:
0 = unknown
1 = active - available for ordering
2 = closed or suspended - not available for ordering

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

getTimeCreated

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

This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time credit line is created.

Specified by:
getTimeCreated in interface CreditLineAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTimeCreatedInEJBType

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

This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time credit line is created.

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

getTimeUpdated

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

This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time credit line is updated.

Specified by:
getTimeUpdated in interface CreditLineAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

getTimeUpdatedInEJBType

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

This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time credit line is updated.

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

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setAccountId

public void setAccountId(java.lang.Long aAccountId)

This method provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the business account to which the credit line belongs. Foreign key to the ACCOUNT table.

Parameters:
aAccountId - java.lang.Long

setAccountId

public void setAccountId(java.lang.String aAccountId)

This method provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT NULL.

The following is a description of this column:

The ID of the business account to which the credit line belongs. Foreign key to the ACCOUNT table.

Specified by:
setAccountId in interface CreditLineAccessBeanData
Parameters:
aAccountId - java.lang.String

setCreditLimit

public void setCreditLimit(java.math.BigDecimal aCreditLimit)

This method provides access to the CREDITLINE.CREDITLIMIT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Parameters:
aCreditLimit - java.math.BigDecimal

setCreditLimit

public void setCreditLimit(java.lang.String aCreditLimit)

This method provides access to the CREDITLINE.CREDITLIMIT column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setCreditLimit in interface CreditLineAccessBeanData
Parameters:
aCreditLimit - java.lang.String

setCreditLineId

public void setCreditLineId(java.lang.Long aCreditLineId)

This method provides access to the CREDITLINE.CREDITLINE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row.

Parameters:
aCreditLineId - java.lang.Long

setCreditLineId

public void setCreditLineId(java.lang.String aCreditLineId)

This method provides access to the CREDITLINE.CREDITLINE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated unique key for this row.

Specified by:
setCreditLineId in interface CreditLineAccessBeanData
Parameters:
aCreditLineId - java.lang.String

setCurrency

public void setCurrency(java.lang.String aCurrency)

This method provides access to the CREDITLINE.SETCCURR column of DB2 type CHAR(3) NULL.

The following is a description of this column:

Currency of the credit limit if specified. (This is a currency code as per ISO 4217 standards.)

Specified by:
setCurrency in interface CreditLineAccessBeanData
Parameters:
aCurrency - java.lang.String

setDecimalField1

public void setDecimalField1(java.math.BigDecimal aDecimalField1)

This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Parameters:
aDecimalField1 - java.math.BigDecimal

setDecimalField1

public void setDecimalField1(java.lang.String aDecimalField1)

This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Specified by:
setDecimalField1 in interface CreditLineAccessBeanData
Parameters:
aDecimalField1 - java.lang.String

setDecimalField2

public void setDecimalField2(java.math.BigDecimal aDecimalField2)

This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Parameters:
aDecimalField2 - java.math.BigDecimal

setDecimalField2

public void setDecimalField2(java.lang.String aDecimalField2)

This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20,5) NULL.

The following is a description of this column:

Customizable.

Specified by:
setDecimalField2 in interface CreditLineAccessBeanData
Parameters:
aDecimalField2 - java.lang.String

setInitKey_creditLineId

public void setInitKey_creditLineId(java.lang.String aInitKey_creditLineId)

Sets the primary key for this object

Parameters:
aInitKey_creditLineId - java.lang.String

setState

public void setState(java.lang.Integer aState)

This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER NULL.

The following is a description of this column:

State of the CreditLine:
0 = unknown
1 = active - available for ordering
2 = closed or suspended - not available for ordering

Parameters:
aState - java.lang.Integer

setState

public void setState(java.lang.String aState)

This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER NULL.

The following is a description of this column:

State of the CreditLine:
0 = unknown
1 = active - available for ordering
2 = closed or suspended - not available for ordering

Specified by:
setState in interface CreditLineAccessBeanData
Parameters:
aState - java.lang.String

setTimeCreated

public void setTimeCreated(java.lang.String aTimeCreated)

This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time credit line is created.

Specified by:
setTimeCreated in interface CreditLineAccessBeanData
Parameters:
aTimeCreated - java.lang.String

setTimeCreated

public void setTimeCreated(java.sql.Timestamp aTimeCreated)

This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time credit line is created.

Parameters:
aTimeCreated - java.sql.Timestamp

setTimeUpdated

public void setTimeUpdated(java.lang.String aTimeUpdated)

This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time credit line is updated.

Specified by:
setTimeUpdated in interface CreditLineAccessBeanData
Parameters:
aTimeUpdated - java.lang.String

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp aTimeUpdated)

This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time credit line is updated.

Parameters:
aTimeUpdated - java.sql.Timestamp