com.ibm.commerce.catalog.objects
Class AttributeTypeAccessBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.catalog.objects.AttributeTypeAccessBean
All Implemented Interfaces:
AttributeTypeAccessBeanData

public class AttributeTypeAccessBean
extends com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
implements AttributeTypeAccessBeanData

This table holds the type identifier for product Attributes. This access bean corresponds to the database table 'ATTRTYPE'.

See Also:
Serialized Form

Constructor Summary
AttributeTypeAccessBean()
Zero argument constructor used to initialize the access bean.
AttributeTypeAccessBean(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()
Finds all the attribute types.
java.lang.String getAttributeType_id()
This method provides access to the ATTRTYPE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL.
java.lang.String getDescription()
This method provides access to the ATTRTYPE.DESCRIPTION column of DB2 type VARCHAR(254).
java.lang.String getOID()
This method provides access to the ATTRTYPE.OID column of DB2 type VARCHAR(64).
protected void instantiateEJB()
protected boolean instantiateEJBByPrimaryKey()
void refreshCopyHelper()
Load data from the EJBObject.
void setAttributeType_id(java.lang.String newValue)
This method accesses a non-CMP field
void setDescription(java.lang.String newValue)
This method accesses a non-CMP field
void setInitKey_attributeType_id(java.lang.String newValue)
Set the primary key for this object
void setOID(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

AttributeTypeAccessBean

public AttributeTypeAccessBean()
Zero argument constructor used to initialize the access bean. This constructor corresponds to the following home interface method: public abstract com.ibm.commerce.catalog.objects.AttributeType com.ibm.commerce.catalog.objimpl.AttributeTypeHomeBase.findByPrimaryKey(com.ibm.commerce.catalog.objects.AttributeTypeKey) 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_attributeType_id( java.lang.String )

AttributeTypeAccessBean

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

findAll

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

Finds all the attribute types.

SQL:
SELECT ATTRTYPE_ID, DESCRIPTION, OID FROM ATTRTYPE

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_attributeType_id

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

getAttributeType_id

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

This method provides access to the ATTRTYPE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL.

The following is a description of this column:

The ID of the Attribute Type. Valid values: INTEGER, STRING, FLOAT, DATETIME, FREEFORM or BIGINT.

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

setAttributeType_id

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

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 ATTRTYPE.DESCRIPTION column of DB2 type VARCHAR(254).

The following is a description of this column:

The description of the Attribute Type.

Specified by:
getDescription in interface AttributeTypeAccessBeanData
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 AttributeTypeAccessBeanData

getOID

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

This method provides access to the ATTRTYPE.OID column of DB2 type VARCHAR(64).

The following is a description of this column:

Reserved for IBM internal use.

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

setOID

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

Feedback