java.lang.Objectcom.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
com.ibm.commerce.payment.objects.CreditLineAccessBean
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. This access bean corresponds to the database table 'CREDITLINE'.
Constructor Summary | |
CreditLineAccessBean() Zero argument constructor used to initialize the access bean. |
|
CreditLineAccessBean(javax.ejb.EJBObject o) constructor |
|
CreditLineAccessBean(java.lang.Long newAccountId, java.lang.Integer newState, java.lang.String newCurrency, java.sql.Timestamp newTimeCreated) 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). |
protected java.lang.String | defaultJNDIName() |
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. |
java.lang.Long | getAccountIdInEJBType() This method provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT. |
java.lang.String | getCreditLimit() This method provides access to the CREDITLINE.CREDITLIMIT column of DB2 type DECIMAL(20 5). |
java.math.BigDecimal | getCreditLimitInEJBType() This method provides access to the CREDITLINE.CREDITLIMIT column of DB2 type DECIMAL(20 5). |
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). |
java.lang.String | getDecimalField1() This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20 5). |
java.math.BigDecimal | getDecimalField1InEJBType() This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20 5). |
java.lang.String | getDecimalField2() This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20 5). |
java.math.BigDecimal | getDecimalField2InEJBType() This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20 5). |
java.lang.String | getState() This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER DEFAULT 0. |
java.lang.Integer | getStateInEJBType() This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER DEFAULT 0. |
java.lang.String | getTimeCreated() This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getTimeCreatedInEJBType() This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP. |
java.lang.String | getTimeUpdated() This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP. |
java.sql.Timestamp | getTimeUpdatedInEJBType() This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP. |
protected void | instantiateEJB() |
protected boolean | instantiateEJBByPrimaryKey() |
void | refreshCopyHelper() Load data from the EJBObject. |
void | setAccountId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setAccountId(java.lang.String newValue) This method accesses a non-CMP field |
void | setCreditLimit(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setCreditLimit(java.lang.String newValue) This method accesses a non-CMP field |
void | setCreditLineId(java.lang.Long newValue) This method accesses a non-CMP field |
void | setCreditLineId(java.lang.String newValue) This method accesses a non-CMP field |
void | setCurrency(java.lang.String newValue) This method accesses a non-CMP field |
void | setDecimalField1(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setDecimalField1(java.lang.String newValue) This method accesses a non-CMP field |
void | setDecimalField2(java.math.BigDecimal newValue) This method accesses a non-CMP field |
void | setDecimalField2(java.lang.String newValue) This method accesses a non-CMP field |
void | setInitKey_creditLineId(java.lang.String newValue) Set the primary key for this object |
void | setState(java.lang.Integer newValue) This method accesses a non-CMP field |
void | setState(java.lang.String newValue) This method accesses a non-CMP field |
void | setTimeCreated(java.lang.String newValue) This method accesses a non-CMP field |
void | setTimeCreated(java.sql.Timestamp newValue) This method accesses a non-CMP field |
void | setTimeUpdated(java.lang.String newValue) This method accesses a non-CMP field |
void | setTimeUpdated(java.sql.Timestamp newValue) This method accesses a non-CMP field |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CreditLineAccessBean()
public CreditLineAccessBean(javax.ejb.EJBObject o) throws java.rmi.RemoteException
public CreditLineAccessBean(java.lang.Long newAccountId, java.lang.Integer newState, java.lang.String newCurrency, java.sql.Timestamp newTimeCreated) 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
Method Detail |
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=?
public void setInitKey_creditLineId(java.lang.String newValue)
Set the primary key for this object
protected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
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 DEFAULT 0.
The following is a description of this column:
State of the CreditLine:&l
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 DEFAULT 0.
The following is a description of this column:
State of the CreditLine:&l
public void setState(java.lang.String newValue)
public void setState(java.lang.Integer newValue)
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).
The following is a description of this column:
Customizable.
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).
The following is a description of this column:
Customizable.
public void setDecimalField2(java.lang.String newValue)
public void setDecimalField2(java.math.BigDecimal newValue)
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).
The following is a description of this column:
Customizable.
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).
The following is a description of this column:
Customizable.
public void setDecimalField1(java.lang.String newValue)
public void setDecimalField1(java.math.BigDecimal newValue)
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.
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.
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.
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.
public void setAccountId(java.lang.String newValue)
public void setAccountId(java.lang.Long newValue)
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.
The following is a description of this column:
Time credit line is updated.
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.
The following is a description of this column:
Time credit line is updated.
public void setTimeUpdated(java.lang.String newValue)
public void setTimeUpdated(java.sql.Timestamp newValue)
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).
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.)
public void setCurrency(java.lang.String newValue)
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).
The following is a description of this column:
Reserved for IBM internal use.
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).
The following is a description of this column:
Reserved for IBM internal use.
public void setCreditLimit(java.lang.String newValue)
public void setCreditLimit(java.math.BigDecimal newValue)
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.
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.
public void setCreditLineId(java.lang.String newValue)
public void setCreditLineId(java.lang.Long newValue)
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.
The following is a description of this column:
Time credit line is created.
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.
The following is a description of this column:
Time credit line is created.
public void setTimeCreated(java.lang.String newValue)
public void setTimeCreated(java.sql.Timestamp newValue)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.