com.ibm.commerce.user.objects
Class MemberAttributeValueAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.user.objects.MemberAttributeValueAccessBean
All Implemented Interfaces:
MemberAttributeValueAccessBeanData

public class MemberAttributeValueAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements MemberAttributeValueAccessBeanData

This table stores the values of attributes which are defined in the MBRATTR table for members. This access bean corresponds to the database table 'MBRATTRVAL'.

See Also:
Serialized Form

Constructor Summary
MemberAttributeValueAccessBean()
Zero argument constructor used to initialize the access bean.
MemberAttributeValueAccessBean(javax.ejb.EJBObject o)
constructor
MemberAttributeValueAccessBean(java.lang.Long newMemberId, java.lang.Long newMemberAttributeId)
Maps to a corresponding ejbCreate method in the home interface of the EJB
MemberAttributeValueAccessBean(java.lang.Long newMemberId, java.lang.Long newMemberAttributeId, java.lang.Integer newStoreEntityId)
Maps to a corresponding ejbCreate method in the home interface of the EJB
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findByMemberId(java.lang.Long aMemberId)
The SQL is "SELECT * FROM MBRATTRVAL WHERE (MEMBER_ID = ?)".
java.util.Enumeration findByMemberIdAndAttributeId(java.lang.Long aMemberId, java.lang.Long aAttributeId)
The SQL is "SELECT * FROM MBRATTRVAL WHERE (MEMBER_ID = ?) AND (MBRATTR_ID = ?)".
java.util.Enumeration findByMemberIdAndStoreEntityId(java.lang.Long aMemberId, java.lang.Integer aStoreEntityId)
The SQL is "SELECT * FROM MBRATTRVAL WHERE (MEMBER_ID = ?) AND (STOREENT_ID = ?)"
java.lang.String getMemberAttributeId()
This method provides access to the MBRATTRVAL.MBRATTR_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getMemberAttributeIdInEJBType()
This method provides access to the MBRATTRVAL.MBRATTR_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getMemberAttributeType()
This method accesses a non-CMP field
java.lang.String getMemberAttributeValueId()
This method provides access to the MBRATTRVAL.MBRATTRVAL_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getMemberAttributeValueIdInEJBType()
This method provides access to the MBRATTRVAL.MBRATTRVAL_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getMemberId()
This method provides access to the MBRATTRVAL.MEMBER_ID column of DB2 type BIGINT NOT NULL.
java.lang.Long getMemberIdInEJBType()
This method provides access to the MBRATTRVAL.MEMBER_ID column of DB2 type BIGINT NOT NULL.
java.lang.String getStoreEntityId()
This method provides access to the MBRATTRVAL.STOREENT_ID column of DB2 type INTEGER.
java.lang.Integer getStoreEntityIdInEJBType()
This method provides access to the MBRATTRVAL.STOREENT_ID column of DB2 type INTEGER.
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setInitKey_memberAttributeValueId(java.lang.String newValue)
Set the primary key for this object
void setMemberAttributeId(java.lang.Long newValue)
This method accesses a non-CMP field
void setMemberAttributeId(java.lang.String newValue)
This method accesses a non-CMP field
void setMemberId(java.lang.Long newValue)
This method accesses a non-CMP field
void setMemberId(java.lang.String newValue)
This method accesses a non-CMP field
void setStoreEntityId(java.lang.Integer newValue)
This method accesses a non-CMP field
void setStoreEntityId(java.lang.String newValue)
This method accesses a non-CMP field
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

MemberAttributeValueAccessBean

public MemberAttributeValueAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.user.objects.MemberAttributeValue com.ibm.commerce.user.objects.MemberAttributeValueHome.findByPrimaryKey(com.ibm.commerce.user.objects.MemberAttributeValueKey) throws java.rmi.RemoteException,javax.ejb.FinderException The home interface method properties need to be set by calling the following setter methods before calling any business methods: setInitKey_memberAttributeValueId( java.lang.Long )

MemberAttributeValueAccessBean

public MemberAttributeValueAccessBean(javax.ejb.EJBObject o)
                               throws java.rmi.RemoteException
constructor
Parameters:
o - javax.ejb.EJBObject
Throws:
java.rmi.RemoteException

MemberAttributeValueAccessBean

public MemberAttributeValueAccessBean(java.lang.Long newMemberId,
                                      java.lang.Long newMemberAttributeId)
                               throws javax.naming.NamingException,
                                      javax.ejb.CreateException,
                                      java.rmi.RemoteException,
                                      javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
newMemberId - java.lang.Long
newMemberAttributeId - java.lang.Long
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception

MemberAttributeValueAccessBean

public MemberAttributeValueAccessBean(java.lang.Long newMemberId,
                                      java.lang.Long newMemberAttributeId,
                                      java.lang.Integer newStoreEntityId)
                               throws javax.naming.NamingException,
                                      javax.ejb.CreateException,
                                      java.rmi.RemoteException,
                                      javax.ejb.FinderException

Maps to a corresponding ejbCreate method in the home interface of the EJB

Parameters:
newMemberId - java.lang.Long
newMemberAttributeId - java.lang.Long
newStoreEntityId - java.lang.Integer
Throws:
javax.naming.NamingException - The javax.naming.NamingException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
Method Detail

findByMemberId

public java.util.Enumeration findByMemberId(java.lang.Long aMemberId)
                                     throws java.rmi.RemoteException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

The SQL is "SELECT * FROM MBRATTRVAL WHERE (MEMBER_ID = ?)".

Parameters:
aMemberId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByMemberIdAndAttributeId

public java.util.Enumeration findByMemberIdAndAttributeId(java.lang.Long aMemberId,
                                                          java.lang.Long aAttributeId)
                                                   throws java.rmi.RemoteException,
                                                          javax.ejb.FinderException,
                                                          javax.naming.NamingException

The SQL is "SELECT * FROM MBRATTRVAL WHERE (MEMBER_ID = ?) AND (MBRATTR_ID = ?)".

Parameters:
aMemberId - java.lang.Long
aAttributeId - java.lang.Long
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findByMemberIdAndStoreEntityId

public java.util.Enumeration findByMemberIdAndStoreEntityId(java.lang.Long aMemberId,
                                                            java.lang.Integer aStoreEntityId)
                                                     throws java.rmi.RemoteException,
                                                            javax.ejb.FinderException,
                                                            javax.naming.NamingException

The SQL is "SELECT * FROM MBRATTRVAL WHERE (MEMBER_ID = ?) AND (STOREENT_ID = ?)"

Parameters:
aMemberId - java.lang.Long
aStoreEntityId - java.lang.Integer
Returns:
java.util.Enumeration
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

setInitKey_memberAttributeValueId

public void setInitKey_memberAttributeValueId(java.lang.String newValue)

Set the primary key for this object

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

defaultJNDIName

protected java.lang.String defaultJNDIName()
Returns:
String

instantiateEJB

protected void instantiateEJB()
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

instantiateEJBByPrimaryKey

protected boolean instantiateEJBByPrimaryKey()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.naming.NamingException
Returns:
boolean
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.naming.NamingException

commitCopyHelper

public void commitCopyHelper()
                      throws java.rmi.RemoteException,
                             javax.ejb.CreateException,
                             javax.ejb.FinderException,
                             javax.naming.NamingException

Update(flush) data to the EJBObject (persistent storage).

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

refreshCopyHelper

public void refreshCopyHelper()
                       throws java.rmi.RemoteException,
                              javax.ejb.CreateException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

Load data from the EJBObject.

Returns:
void
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMemberAttributeType

public java.lang.String getMemberAttributeType()
                                        throws java.rmi.RemoteException,
                                               javax.ejb.CreateException,
                                               javax.ejb.FinderException,
                                               javax.naming.NamingException
This method accesses a non-CMP field
Specified by:
getMemberAttributeType in interface MemberAttributeValueAccessBeanData
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMemberAttributeValueId

public java.lang.String getMemberAttributeValueId()
                                           throws java.rmi.RemoteException,
                                                  javax.ejb.CreateException,
                                                  javax.ejb.FinderException,
                                                  javax.naming.NamingException

This method provides access to the MBRATTRVAL.MBRATTRVAL_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key for this table.

Specified by:
getMemberAttributeValueId in interface MemberAttributeValueAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMemberAttributeValueIdInEJBType

public java.lang.Long getMemberAttributeValueIdInEJBType()
                                                  throws java.rmi.RemoteException,
                                                         javax.ejb.CreateException,
                                                         javax.ejb.FinderException,
                                                         javax.naming.NamingException

This method provides access to the MBRATTRVAL.MBRATTRVAL_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

Primary key for this table.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStoreEntityId

public java.lang.String getStoreEntityId()
                                  throws java.rmi.RemoteException,
                                         javax.ejb.CreateException,
                                         javax.ejb.FinderException,
                                         javax.naming.NamingException

This method provides access to the MBRATTRVAL.STOREENT_ID column of DB2 type INTEGER.

The following is a description of this column:

The store entity to which this attribute value for this member applies.

Specified by:
getStoreEntityId in interface MemberAttributeValueAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getStoreEntityIdInEJBType

public java.lang.Integer getStoreEntityIdInEJBType()
                                            throws java.rmi.RemoteException,
                                                   javax.ejb.CreateException,
                                                   javax.ejb.FinderException,
                                                   javax.naming.NamingException

This method provides access to the MBRATTRVAL.STOREENT_ID column of DB2 type INTEGER.

The following is a description of this column:

The store entity to which this attribute value for this member applies.

Returns:
java.lang.Integer
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setStoreEntityId

public void setStoreEntityId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setStoreEntityId in interface MemberAttributeValueAccessBeanData

setStoreEntityId

public void setStoreEntityId(java.lang.Integer newValue)
This method accesses a non-CMP field

getMemberId

public java.lang.String getMemberId()
                             throws java.rmi.RemoteException,
                                    javax.ejb.CreateException,
                                    javax.ejb.FinderException,
                                    javax.naming.NamingException

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

The following is a description of this column:

The member to which this attribute value applies. Foreign key to the MEMBER table.

Specified by:
getMemberId in interface MemberAttributeValueAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMemberIdInEJBType

public java.lang.Long getMemberIdInEJBType()
                                    throws java.rmi.RemoteException,
                                           javax.ejb.CreateException,
                                           javax.ejb.FinderException,
                                           javax.naming.NamingException

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

The following is a description of this column:

The member to which this attribute value applies. Foreign key to the MEMBER table.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMemberId

public void setMemberId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMemberId in interface MemberAttributeValueAccessBeanData

setMemberId

public void setMemberId(java.lang.Long newValue)
This method accesses a non-CMP field

getMemberAttributeId

public java.lang.String getMemberAttributeId()
                                      throws java.rmi.RemoteException,
                                             javax.ejb.CreateException,
                                             javax.ejb.FinderException,
                                             javax.naming.NamingException

This method provides access to the MBRATTRVAL.MBRATTR_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The attribute that this value is associated with. Foreign key to the MBRATTR table.

Specified by:
getMemberAttributeId in interface MemberAttributeValueAccessBeanData
Returns:
String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

getMemberAttributeIdInEJBType

public java.lang.Long getMemberAttributeIdInEJBType()
                                             throws java.rmi.RemoteException,
                                                    javax.ejb.CreateException,
                                                    javax.ejb.FinderException,
                                                    javax.naming.NamingException

This method provides access to the MBRATTRVAL.MBRATTR_ID column of DB2 type BIGINT NOT NULL.

The following is a description of this column:

The attribute that this value is associated with. Foreign key to the MBRATTR table.

Returns:
java.lang.Long
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setMemberAttributeId

public void setMemberAttributeId(java.lang.String newValue)
This method accesses a non-CMP field
Specified by:
setMemberAttributeId in interface MemberAttributeValueAccessBeanData

setMemberAttributeId

public void setMemberAttributeId(java.lang.Long newValue)
This method accesses a non-CMP field

Feedback