com.ibm.commerce.user.objects
Class OrganizationCodeBean

com.ibm.commerce.user.objects.OrganizationCodeBean
All Implemented Interfaces:
java.io.Serializable

public class OrganizationCodeBean
implements java.io.Serializable

This bean provides access to the ORGCODE table.

The following is a description of this table:

This table contains the unique identification of an organization entity under different identification systems or domains. This can be used to identify buyer organizations and supplier organizations to each other in procurement systems.

See Also:
Serialized Form

Constructor Summary
OrganizationCodeBean()
           
 
Method Summary
 java.lang.String getCode()
          This method provides access to the ORGCODE.CODE column of DB2 type VARCHAR(128) NOT NULL.
 java.lang.String getCodeType()
          This method provides access to the ORGCODE.CODETYPE column of DB2 type VARCHAR(32) NOT NULL.
 java.lang.Long getOrganizationCodeId()
          This method provides access to the ORGCODE.ORGCODE_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrganizationId()
          This method provides access to the ORGCODE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
 void setCode(java.lang.String aCode)
          This method provides access to the ORGCODE.CODE column of DB2 type VARCHAR(128) NOT NULL.
 void setCodeType(java.lang.String aCodeType)
          This method provides access to the ORGCODE.CODETYPE column of DB2 type VARCHAR(32) NOT NULL.
 void setOrganizationCodeId(java.lang.Long aOrganizationCodeId)
          This method provides access to the ORGCODE.ORGCODE_ID column of DB2 type BIGINT NOT NULL.
 void setOrganizationId(java.lang.Long aOrganizationId)
          This method provides access to the ORGCODE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
 

Constructor Detail

OrganizationCodeBean

public OrganizationCodeBean()
Method Detail

getCode

public java.lang.String getCode()

This method provides access to the ORGCODE.CODE column of DB2 type VARCHAR(128) NOT NULL.

The following is a description of this column:

The buyer or supplier code, mutually agreed upon between buyer and supplier. For example, a DUNS number.

Returns:
java.lang.String

getCodeType

public java.lang.String getCodeType()

This method provides access to the ORGCODE.CODETYPE column of DB2 type VARCHAR(32) NOT NULL.

The following is a description of this column:

Identification system used to identify an organization between supplier and buyer organizations. For example, DUNS.

Returns:
java.lang.String

getOrganizationCodeId

public java.lang.Long getOrganizationCodeId()

This method provides access to the ORGCODE.ORGCODE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated primary key.

Returns:
java.lang.Long

getOrganizationId

public java.lang.Long getOrganizationId()

This method provides access to the ORGCODE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to ORGENTITY table.

Returns:
java.lang.Long

setCode

public void setCode(java.lang.String aCode)

This method provides access to the ORGCODE.CODE column of DB2 type VARCHAR(128) NOT NULL.

The following is a description of this column:

The buyer or supplier code, mutually agreed upon between buyer and supplier. For example, a DUNS number.

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

setCodeType

public void setCodeType(java.lang.String aCodeType)

This method provides access to the ORGCODE.CODETYPE column of DB2 type VARCHAR(32) NOT NULL.

The following is a description of this column:

Identification system used to identify an organization between supplier and buyer organizations. For example, DUNS.

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

setOrganizationCodeId

public void setOrganizationCodeId(java.lang.Long aOrganizationCodeId)

This method provides access to the ORGCODE.ORGCODE_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Generated primary key.

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

setOrganizationId

public void setOrganizationId(java.lang.Long aOrganizationId)

This method provides access to the ORGCODE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Foreign key to ORGENTITY table.

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