com.ibm.commerce.payment.objects
Class AccountBean

com.ibm.commerce.payment.objects.AccountBean

public class AccountBean

This bean provides access to the ACCOUNT table.

The following is a description of this table:

Each row of this table represents a business account between a Buyer organization and a Seller organization. A business account can be used to organize various Trading Agreements and to specify special Trading Terms and Conditions.


Constructor Summary
AccountBean()
           
 
Method Summary
 java.lang.Long getAccountId()
          This method provides access to the ACCOUNT.ACCOUNT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getCurrency()
          This method provides access to the ACCOUNT.CURRENCY column of DB2 type CHAR(3) NULL.
 java.lang.Integer getDefaultContract()
          This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getMarkForDelete()
          This method provides access to the ACCOUNT.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 java.lang.Long getMemberId()
          This method provides access to the ACCOUNT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.String getName()
          This method provides access to the ACCOUNT.NAME column of DB2 type VARCHAR(200) NOT NULL.
 java.lang.Integer getState()
          This method provides access to the ACCOUNT.STATE column of DB2 type INTEGER NOT NULL.
 java.lang.Integer getStoreId()
          This method provides access to the ACCOUNT.STORE_ID column of DB2 type INTEGER NULL.
 java.sql.Timestamp getTimeActivated()
          This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getTimeApproved()
          This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getTimeCreated()
          This method provides access to the ACCOUNT.TIMECREATED column of DB2 type TIMESTAMP NULL.
 java.sql.Timestamp getTimeUpdated()
          This method provides access to the ACCOUNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 void setAccountId(java.lang.Long aAccountId)
          This method provides access to the ACCOUNT.ACCOUNT_ID column of DB2 type BIGINT NOT NULL.
 void setCurrency(java.lang.String aCurrency)
          This method provides access to the ACCOUNT.CURRENCY column of DB2 type CHAR(3) NULL.
 void setDefaultContract(java.lang.Integer aDefaultContract)
          This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL.
 void setMarkForDelete(java.lang.Integer aMarkForDelete)
          This method provides access to the ACCOUNT.MARKFORDELETE column of DB2 type INTEGER NOT NULL.
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the ACCOUNT.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setName(java.lang.String aName)
          This method provides access to the ACCOUNT.NAME column of DB2 type VARCHAR(200) NOT NULL.
 void setState(java.lang.Integer aState)
          This method provides access to the ACCOUNT.STATE column of DB2 type INTEGER NOT NULL.
 void setStoreId(java.lang.Integer aStoreId)
          This method provides access to the ACCOUNT.STORE_ID column of DB2 type INTEGER NULL.
 void setTimeActivated(java.sql.Timestamp aTimeActivated)
          This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL.
 void setTimeApproved(java.sql.Timestamp aTimeApproved)
          This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL.
 void setTimeCreated(java.sql.Timestamp aTimeCreated)
          This method provides access to the ACCOUNT.TIMECREATED column of DB2 type TIMESTAMP NULL.
 void setTimeUpdated(java.sql.Timestamp aTimeUpdated)
          This method provides access to the ACCOUNT.TIMEUPDATED column of DB2 type TIMESTAMP NULL.
 

Constructor Detail

AccountBean

public AccountBean()
Method Detail

getAccountId

public java.lang.Long getAccountId()

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

The following is a description of this column:

This column contains the primary key: Account ID. Foreign key to the TRADING table.

Returns:
java.lang.Long

getCurrency

public java.lang.String getCurrency()

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

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.lang.String

getDefaultContract

public java.lang.Integer getDefaultContract()

This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if purchases using Store default contract is allowed: 0 = Not allowed; 1 = Allowed.

Returns:
java.lang.Integer

getMarkForDelete

public java.lang.Integer getMarkForDelete()

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

The following is a description of this column:

Indicates if a business account is marked for deletion: 0 = No; 1 = Marked for delete.

Returns:
java.lang.Integer

getMemberId

public java.lang.Long getMemberId()

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

The following is a description of this column:

The owner of the Account. Foreign key to the MEMBER table.

Returns:
java.lang.Long

getName

public java.lang.String getName()

This method provides access to the ACCOUNT.NAME column of DB2 type VARCHAR(200) NOT NULL.

The following is a description of this column:

Account name for the business account.

Returns:
java.lang.String

getState

public java.lang.Integer getState()

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

The following is a description of this column:

State of the Account. Only the following states are used:
0 - Initial;
3 - Active;
6 - Closed.

Returns:
java.lang.Integer

getStoreId

public java.lang.Integer getStoreId()

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

The following is a description of this column:

Store in which Account is first created.

Returns:
java.lang.Integer

getTimeActivated

public java.sql.Timestamp getTimeActivated()

This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time Account is activated.

Returns:
java.sql.Timestamp

getTimeApproved

public java.sql.Timestamp getTimeApproved()

This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

Returns:
java.sql.Timestamp

getTimeCreated

public java.sql.Timestamp getTimeCreated()

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

The following is a description of this column:

Time Account is created.

Returns:
java.sql.Timestamp

getTimeUpdated

public java.sql.Timestamp getTimeUpdated()

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

The following is a description of this column:

Time Account is updated.

Returns:
java.sql.Timestamp

setAccountId

public void setAccountId(java.lang.Long aAccountId)

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

The following is a description of this column:

This column contains the primary key: Account ID. Foreign key to the TRADING table.

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

setCurrency

public void setCurrency(java.lang.String aCurrency)

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

The following is a description of this column:

Reserved for IBM internal use.

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

setDefaultContract

public void setDefaultContract(java.lang.Integer aDefaultContract)

This method provides access to the ACCOUNT.DEFAULTCONTRACT column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Indicates if purchases using Store default contract is allowed: 0 = Not allowed; 1 = Allowed.

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

setMarkForDelete

public void setMarkForDelete(java.lang.Integer aMarkForDelete)

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

The following is a description of this column:

Indicates if a business account is marked for deletion: 0 = No; 1 = Marked for delete.

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

setMemberId

public void setMemberId(java.lang.Long aMemberId)

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

The following is a description of this column:

The owner of the Account. Foreign key to the MEMBER table.

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

setName

public void setName(java.lang.String aName)

This method provides access to the ACCOUNT.NAME column of DB2 type VARCHAR(200) NOT NULL.

The following is a description of this column:

Account name for the business account.

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

setState

public void setState(java.lang.Integer aState)

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

The following is a description of this column:

State of the Account. Only the following states are used:
0 - Initial;
3 - Active;
6 - Closed.

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

setStoreId

public void setStoreId(java.lang.Integer aStoreId)

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

The following is a description of this column:

Store in which Account is first created.

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

setTimeActivated

public void setTimeActivated(java.sql.Timestamp aTimeActivated)

This method provides access to the ACCOUNT.TIMEACTIVATED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Time Account is activated.

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

setTimeApproved

public void setTimeApproved(java.sql.Timestamp aTimeApproved)

This method provides access to the ACCOUNT.TIMEAPPROVED column of DB2 type TIMESTAMP NULL.

The following is a description of this column:

Reserved for IBM internal use.

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

setTimeCreated

public void setTimeCreated(java.sql.Timestamp aTimeCreated)

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

The following is a description of this column:

Time Account is created.

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

setTimeUpdated

public void setTimeUpdated(java.sql.Timestamp aTimeUpdated)

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

The following is a description of this column:

Time Account is updated.

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