com.ibm.commerce.user.objects
Class MemberRelationshipsBean

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

public class MemberRelationshipsBean
implements java.io.Serializable

This bean provides access to the MBRREL table.

The following is a description of this table:

Stores membership hierarchy relationships among users and orgEntities. Note that memberGroup is not part of the membership hierarchy.

See Also:
Serialized Form

Constructor Summary
MemberRelationshipsBean()
           
 
Method Summary
 java.lang.Long getAncestorId()
          This method provides access to the MBRREL.ANCESTOR_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Long getDescendantId()
          This method provides access to the MBRREL.DESCENDANT_ID column of DB2 type BIGINT NOT NULL.
 java.lang.Integer getSequence()
          This method provides access to the MBRREL.SEQUENCE column of DB2 type INTEGER NOT NULL.
 void setSequence(java.lang.Integer aSequence)
          This method provides access to the MBRREL.SEQUENCE column of DB2 type INTEGER NOT NULL.
 

Constructor Detail

MemberRelationshipsBean

public MemberRelationshipsBean()
Method Detail

getAncestorId

public java.lang.Long getAncestorId()

This method provides access to the MBRREL.ANCESTOR_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Ancestor member ID.

Returns:
java.lang.Long

getDescendantId

public java.lang.Long getDescendantId()

This method provides access to the MBRREL.DESCENDANT_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Descendant member ID.

Returns:
java.lang.Long

getSequence

public java.lang.Integer getSequence()

This method provides access to the MBRREL.SEQUENCE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

A number to indicate whether the ancestor is the parent, grandparent, great grandparent, and so on for the descendant. 1 means parent, 2 means grand parent, and so on. For the Root Organization, it is its own parent and sequence is 0.

Returns:
java.lang.Integer

setSequence

public void setSequence(java.lang.Integer aSequence)

This method provides access to the MBRREL.SEQUENCE column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

A number to indicate whether the ancestor is the parent, grandparent, great grandparent, and so on for the descendant. 1 means parent, 2 means grand parent, and so on. For the Root Organization, it is its own parent and sequence is 0.

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