com.ibm.commerce.user.objects
Class MemberGroupTypeAccessBean

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

public class MemberGroupTypeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements MemberGroupTypeAccessBeanData

This table stores intended usages that can be associated with member groups. This access bean corresponds to the database table 'MBRGRPTYPE'.

See Also:
Serialized Form

Constructor Summary
MemberGroupTypeAccessBean()
Zero argument constructor used to initialize the access bean.
MemberGroupTypeAccessBean(javax.ejb.EJBObject o)
constructor
Method Summary
void commitCopyHelper()
Update(flush) data to the EJBObject (persistent storage).
protected java.lang.String defaultJNDIName()
java.util.Enumeration findAll()
The SQL is "SELECT * FROM MBRGRPTYPE T1 WHERE "1 = 1".
MemberGroupTypeAccessBean findByName(java.lang.String aName)
The SQL is "SELECT * FROM MBRGRPTYPE T1 WHERE (T1.NAME = ?)"
java.lang.String getDescription()
This method provides access to the MBRGRPTYPE.DESCRIPTION column of DB2 type VARCHAR(254).
java.lang.String getMbrGrpTypeId()
This method provides access to the MBRGRPTYPE.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.
java.lang.Integer getMbrGrpTypeIdInEJBType()
This method provides access to the MBRGRPTYPE.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.
java.lang.String getName()
This method provides access to the MBRGRPTYPE.NAME column of DB2 type VARCHAR(254) NOT NULL.
java.lang.String getProperties()
This method provides access to the MBRGRPTYPE.PROPERTIES column of DB2 type VARCHAR(254).
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_MbrGrpTypeId(java.lang.String newValue)
Set the primary key for this object
void setName(java.lang.String newValue)
This method accesses a non-CMP field
void setProperties(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

MemberGroupTypeAccessBean

public MemberGroupTypeAccessBean()
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.MemberGroupType com.ibm.commerce.user.objimpl.MemberGroupTypeHomeBase.findByPrimaryKey(com.ibm.commerce.user.objects.MemberGroupTypeKey) 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_MbrGrpTypeId( java.lang.Integer )

MemberGroupTypeAccessBean

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

findByName

public MemberGroupTypeAccessBean findByName(java.lang.String aName)
                                     throws java.rmi.RemoteException,
                                            javax.ejb.FinderException,
                                            javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRPTYPE T1 WHERE (T1.NAME = ?)"

Parameters:
aName - java.lang.String
Returns:
com.ibm.commerce.user.objects.MemberGroupType
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException

findAll

public java.util.Enumeration findAll()
                              throws java.rmi.RemoteException,
                                     javax.ejb.FinderException,
                                     javax.naming.NamingException

The SQL is "SELECT * FROM MBRGRPTYPE T1 WHERE "1 = 1".

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_MbrGrpTypeId

public void setInitKey_MbrGrpTypeId(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

getDescription

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

This method provides access to the MBRGRPTYPE.DESCRIPTION column of DB2 type VARCHAR(254).

The following is a description of this column:

Description of the member group type.

Specified by:
getDescription in interface MemberGroupTypeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setDescription

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

getMbrGrpTypeId

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

This method provides access to the MBRGRPTYPE.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Primary key, internally generated.

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

getMbrGrpTypeIdInEJBType

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

This method provides access to the MBRGRPTYPE.MBRGRPTYPE_ID column of DB2 type INTEGER NOT NULL.

The following is a description of this column:

Primary key, internally generated.

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

getProperties

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

This method provides access to the MBRGRPTYPE.PROPERTIES column of DB2 type VARCHAR(254).

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
getProperties in interface MemberGroupTypeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setProperties

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

getName

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

This method provides access to the MBRGRPTYPE.NAME column of DB2 type VARCHAR(254) NOT NULL.

The following is a description of this column:

The type of member group. For example, AccessGroup or CustomerGroup.

Specified by:
getName in interface MemberGroupTypeAccessBeanData
Returns:
java.lang.String
Throws:
java.rmi.RemoteException
javax.ejb.CreateException
javax.ejb.FinderException
javax.naming.NamingException

setName

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

Feedback