com.ibm.commerce.user.objects
Class MemberAttributeIntegerValueAccessBean

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

public class MemberAttributeIntegerValueAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements MemberAttributeIntegerValueAccessBeanData

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
MemberAttributeIntegerValueAccessBean()
Zero argument constructor used to initialize the access bean.
MemberAttributeIntegerValueAccessBean(javax.ejb.EJBObject o)
constructor
MemberAttributeIntegerValueAccessBean(java.lang.Long newMemberId, java.lang.Long newMemberAttributeId)
Maps to a corresponding ejbCreate method in the home interface of the EJB
MemberAttributeIntegerValueAccessBean(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.util.Enumeration findByMemberIdAndStoreEntityIdAndValue(java.lang.Long aMemberId, java.lang.Integer aStoreEntityId, java.lang.Integer aValue)
The SQL is "SELECT * FROM MBRATTRVAL WHERE(MEMBER_ID = ?) AND (STOREENT_ID = ?) AND (INTEGERVALUE = ?)".
java.util.Enumeration findByMemberIdAndValue(java.lang.Long aMemberId, java.lang.Integer aValue)
The SQL is "SELECT * FROM MBRATTRVAL WHERE (MEMBER_ID = ?) AND (STOREENT_ID IS NULL) AND (INTEGERVALUE = ?)".
java.lang.Object getAttributeValue()
This method provides access to the MBRATTRVAL.INTEGERVALUE column of DB2 type INTEGER NULL.
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 setAttributeValue(java.lang.Object aValue)
This method provides access to the MBRATTRVAL.INTEGERVALUE column of DB2 type INTEGER NULL.
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

MemberAttributeIntegerValueAccessBean

public MemberAttributeIntegerValueAccessBean()
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.MemberAttributeIntegerValue com.ibm.commerce.user.objects.MemberAttributeIntegerValueHome.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 )

MemberAttributeIntegerValueAccessBean

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

MemberAttributeIntegerValueAccessBean

public MemberAttributeIntegerValueAccessBean(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

MemberAttributeIntegerValueAccessBean

public MemberAttributeIntegerValueAccessBean(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

findByMemberIdAndStoreEntityIdAndValue

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

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

Parameters:
aMemberId - java.lang.Long
aStoreEntityId - java.lang.Integer
aValue - 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

findByMemberIdAndValue

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

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

Parameters:
aMemberId - java.lang.Long
aValue - 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 MemberAttributeIntegerValueAccessBeanData
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 MemberAttributeIntegerValueAccessBeanData
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 MemberAttributeIntegerValueAccessBeanData
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 MemberAttributeIntegerValueAccessBeanData

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 MemberAttributeIntegerValueAccessBeanData
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 MemberAttributeIntegerValueAccessBeanData

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 MemberAttributeIntegerValueAccessBeanData
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 MemberAttributeIntegerValueAccessBeanData

setMemberAttributeId

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

getAttributeValue

public java.lang.Object getAttributeValue()
                                   throws java.rmi.RemoteException,
                                          javax.ejb.FinderException,
                                          javax.naming.NamingException

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

The following is a description of this column:

If the type of the attribute value is INTEGER, then this column will hold the attribute value. If the type is not INTEGER then this column will be NULL.

Returns:
java.lang.Object
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException
javax.naming.NamingException

setAttributeValue

public void setAttributeValue(java.lang.Object aValue)
                       throws java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException

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

The following is a description of this column:

If the type of the attribute value is INTEGER, then this column will hold the attribute value. If the type is not INTEGER then this column will be NULL.

Parameters:
aValue - java.lang.Object
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException
javax.naming.NamingException

Feedback