java.lang.Object | +--com.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.
Constructor Summary | |
---|---|
CreditLineAccessBean() constructor | |
CreditLineAccessBean(javax.ejb.EJBObject o) constructor | |
CreditLineAccessBean(java.lang.Long arg0, java.lang.Integer arg1,
java.lang.String arg2, java.sql.Timestamp arg3) constructor |
Method Summary | |
---|---|
void |
commitCopyHelper() Update(flush) data to the EJBObject (persistent storage). |
protected
java.lang.String |
defaultJNDIName() |
java.util.Enumeration |
findByAccountId(java.lang.Long arg0) 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 provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT. |
void |
setAccountId(java.lang.String newValue) This method provides access to the CREDITLINE.ACCOUNT_ID column of DB2 type BIGINT. |
void |
setCreditLimit(java.math.BigDecimal newValue) This method provides access to the CREDITLINE.CREDITLIMIT column of DB2 type DECIMAL(20 5). |
void |
setCreditLimit(java.lang.String newValue) This method provides access to the CREDITLINE.CREDITLIMIT column of DB2 type DECIMAL(20 5). |
void |
setCreditLineId(java.lang.Long newValue) This method provides access to the CREDITLINE.CREDITLINE_ID column of DB2 type BIGINT NOT NULL. |
void |
setCreditLineId(java.lang.String newValue) This method provides access to the CREDITLINE.CREDITLINE_ID column of DB2 type BIGINT NOT NULL. |
void |
setCurrency(java.lang.String newValue) This method provides access to the CREDITLINE.SETCCURR column of DB2 type CHAR(3). |
void |
setDecimalField1(java.math.BigDecimal newValue) This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20 5). |
void |
setDecimalField1(java.lang.String newValue) This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20 5). |
void |
setDecimalField2(java.math.BigDecimal newValue) This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20 5). |
void |
setDecimalField2(java.lang.String newValue) This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20 5). |
void |
setInitKey_creditLineId(java.lang.String newValue) Set the primary key for this object |
void |
setState(java.lang.Integer newValue) This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER DEFAULT 0. |
void |
setState(java.lang.String newValue) This method provides access to the CREDITLINE.STATE column of DB2 type INTEGER DEFAULT 0. |
void |
setTimeCreated(java.lang.String newValue) This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP. |
void |
setTimeCreated(java.sql.Timestamp newValue) This method provides access to the CREDITLINE.TIMECREATED column of DB2 type TIMESTAMP. |
void |
setTimeUpdated(java.lang.String newValue) This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP. |
void |
setTimeUpdated(java.sql.Timestamp newValue) This method provides access to the CREDITLINE.TIMEUPDATED column of DB2 type TIMESTAMP. |
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
o
- javax.ejb.EJBObjectjava.rmi.RemoteException
public CreditLineAccessBean(java.lang.Long arg0, java.lang.Integer arg1, java.lang.String arg2, java.sql.Timestamp arg3) throws javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, java.rmi.RemoteException
arg0
- java.lang.Longarg1
- java.lang.Integerarg2
- java.lang.Stringarg3
- java.sql.Timestampjavax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
java.rmi.RemoteException
Method Detail |
---|
public java.util.Enumeration findByAccountId(java.lang.Long arg0) 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=?
java.rmi.RemoteException
- The java.rmi.RemoteException
exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException
exceptionjavax.naming.NamingException
public void setInitKey_creditLineId(java.lang.String newValue)
Set the primary key for this object
newValue
- java.lang.Stringprotected java.lang.String defaultJNDIName()
protected void instantiateEJB() throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
protected boolean instantiateEJBByPrimaryKey() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
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).
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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
getState
in interface
CreditLineAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setState(java.lang.String newValue)
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
setState
in interface
CreditLineAccessBeanData
newValue
- Stringpublic void setState(java.lang.Integer newValue)
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
newValue
- java.lang.Integerpublic 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.
getDecimalField2
in interface
CreditLineAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDecimalField2(java.lang.String newValue)
This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20 5).
The following is a description of this column:
Customizable.
setDecimalField2
in interface
CreditLineAccessBeanData
newValue
- Stringpublic void setDecimalField2(java.math.BigDecimal newValue)
This method provides access to the CREDITLINE.DECIMALFIELD2 column of DB2 type DECIMAL(20 5).
The following is a description of this column:
Customizable.
newValue
- java.math.BigDecimalpublic 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.
getDecimalField1
in interface
CreditLineAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setDecimalField1(java.lang.String newValue)
This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20 5).
The following is a description of this column:
Customizable.
setDecimalField1
in interface
CreditLineAccessBeanData
newValue
- Stringpublic void setDecimalField1(java.math.BigDecimal newValue)
This method provides access to the CREDITLINE.DECIMALFIELD1 column of DB2 type DECIMAL(20 5).
The following is a description of this column:
Customizable.
newValue
- java.math.BigDecimalpublic 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.
getAccountId
in interface
CreditLineAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setAccountId(java.lang.String newValue)
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.
setAccountId
in interface
CreditLineAccessBeanData
newValue
- Stringpublic void setAccountId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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.
getTimeUpdated
in interface
CreditLineAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTimeUpdated(java.lang.String newValue)
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.
setTimeUpdated
in interface
CreditLineAccessBeanData
newValue
- Stringpublic void setTimeUpdated(java.sql.Timestamp newValue)
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.
newValue
- java.sql.Timestamppublic 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.)
getCurrency
in interface
CreditLineAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCurrency(java.lang.String newValue)
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.)
setCurrency
in interface
CreditLineAccessBeanData
newValue
- java.lang.Stringpublic 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.
getCreditLimit
in interface
CreditLineAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCreditLimit(java.lang.String newValue)
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.
setCreditLimit
in interface
CreditLineAccessBeanData
newValue
- Stringpublic void setCreditLimit(java.math.BigDecimal newValue)
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.
newValue
- java.math.BigDecimalpublic 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.
getCreditLineId
in interface
CreditLineAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setCreditLineId(java.lang.String newValue)
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.
setCreditLineId
in interface
CreditLineAccessBeanData
newValue
- Stringpublic void setCreditLineId(java.lang.Long newValue)
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.
newValue
- java.lang.Longpublic 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.
getTimeCreated
in interface
CreditLineAccessBeanData
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
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.
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException
public void setTimeCreated(java.lang.String newValue)
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.
setTimeCreated
in interface
CreditLineAccessBeanData
newValue
- Stringpublic void setTimeCreated(java.sql.Timestamp newValue)
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.
newValue
- java.sql.Timestamp