com.ibm.commerce.user.objects
Class MemberRoleBean

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

public class MemberRoleBean
implements java.io.Serializable

This bean provides access to the MBRROLE table.

The following is a description of this table:

This table stores role assignment for members. Each member can play one or more roles in the WebSphere Commerce system. When a member is assigned a role, the orgEntity for which the member plays that role can also be specified.

See Also:
Serialized Form

Constructor Summary
MemberRoleBean()
           
 
Method Summary
 java.lang.Long getMemberId()
          This method provides access to the MBRROLE.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getOrgEntityId()
          This method provides access to the MBRROLE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Integer getRoleId()
          IBM internal use only.
 void setMemberId(java.lang.Long aMemberId)
          This method provides access to the MBRROLE.MEMBER_ID column of DB2 type BIGINT NOT NULL.
 void setOrgEntityId(java.lang.Long aOrgEntityId)
          This method provides access to the MBRROLE.ORGENTITY_ID column of DB2 type BIGINT NOT NULL.
 void setRoleId(java.lang.Integer aRoleId)
          IBM internal use only.
 

Constructor Detail

MemberRoleBean

public MemberRoleBean()
Method Detail

getMemberId

public java.lang.Long getMemberId()

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

The following is a description of this column:

Foreign key to the MEMBER table for the member who plays this role.

Returns:
java.lang.Long

getOrgEntityId

public java.lang.Long getOrgEntityId()

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

The following is a description of this column:

Foreign key to the ORGENTITY table for the orgEntity for which the member plays this role.

Returns:
java.lang.Long

getRoleId

public java.lang.Integer getRoleId()

IBM internal use only.

Returns:
java.lang.Integer

setMemberId

public void setMemberId(java.lang.Long aMemberId)

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

The following is a description of this column:

Foreign key to the MEMBER table for the member who plays this role.

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

setOrgEntityId

public void setOrgEntityId(java.lang.Long aOrgEntityId)

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

The following is a description of this column:

Foreign key to the ORGENTITY table for the orgEntity for which the member plays this role.

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

setRoleId

public void setRoleId(java.lang.Integer aRoleId)

IBM internal use only.

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