com.ibm.commerce.catalog.objects
Class AttributeTypeAccessBean

java.lang.Object
  |
  +--com.ibm.ivj.ejb.runtime.AbstractAccessBean
        |
        +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
              |
              +--com.ibm.commerce.catalog.objects.AttributeTypeAccessBean
All Implemented Interfaces:
AttributeTypeAccessBeanData, java.io.Serializable

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

This bean provides access to the ATTRTYPE table.

The following is a description of this table:

This table holds the type identifier for product Attributes.

See Also:
Serialized Form

Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef
 
Constructor Summary
AttributeTypeAccessBean()
          Default constructor.
AttributeTypeAccessBean(javax.ejb.EJBObject attrTypeEJBObj)
          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).
 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) NULL.
 java.lang.String getOID()
          This method provides access to the ATTRTYPE.OID column of DB2 type VARCHAR(64) NULL.
 void refreshCopyHelper()
          Load data from the EJBObject.
 void setAttributeType_id(java.lang.String typeID)
          This method provides access to the ATTRTYPE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL.
 void setDescription(java.lang.String description)
          This method provides access to the ATTRTYPE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
 void setInitKey_attributeType_id(java.lang.String typeID)
          Set the primary key for this object
 void setOID(java.lang.String OID)
          This method provides access to the ATTRTYPE.OID column of DB2 type VARCHAR(64) NULL.
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
__getCache, __getCache, __getKey, __setCache, __setCache, __setKey, commitCopyHelper, createAccessBeans, createAccessBeans, instantiateEJBByPrimaryKey, refreshCopyHelper, setEJBRef
 
Methods inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean
defaultJNDIName, defaultNameServiceType, defaultNameServiceURL, getEJBRef, getGlobalHome, getHome, getInit_GlobalNameServiceTypeName, getInit_GlobalNameServiceURLName, getInit_JNDIName, getInit_NameServiceTypeName, getInit_NameServiceURLName, getInitContext, getInitContext, instantiateEJB, resetEJBRef, resetHomeCache, setInit_GlobalNameServiceTypeName, setInit_GlobalNameServiceURLName, setInit_JNDIName, setInit_NameServiceTypeName, setInit_NameServiceURLName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeTypeAccessBean

public AttributeTypeAccessBean()

Default constructor. Maps to findByPrimaryKey.


AttributeTypeAccessBean

public AttributeTypeAccessBean(javax.ejb.EJBObject attrTypeEJBObj)
                        throws java.rmi.RemoteException

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

Parameters:
attrTypeEJBObj - The attribute type EJB object. javax.ejb.EJBObject
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
Method Detail

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).

Overrides:
commitCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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 - The javax.naming.NamingException exception

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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) NULL.

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

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) NULL.

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 - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

refreshCopyHelper

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

Load data from the EJBObject.

Overrides:
refreshCopyHelper in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
Returns:
void
Throws:
java.rmi.RemoteException - The java.rmi.RemoteException exception
javax.ejb.CreateException - The javax.ejb.CreateException exception
javax.ejb.FinderException - The javax.ejb.FinderException exception
javax.naming.NamingException - The javax.naming.NamingException exception

setAttributeType_id

public void setAttributeType_id(java.lang.String typeID)

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:
setAttributeType_id in interface AttributeTypeAccessBeanData
Parameters:
typeID - The attribute type ID. java.lang.String
Returns:
void

setDescription

public void setDescription(java.lang.String description)

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

The following is a description of this column:

The description of the Attribute Type.

Specified by:
setDescription in interface AttributeTypeAccessBeanData
Parameters:
description - The description. java.lang.String
Returns:
void

setInitKey_attributeType_id

public void setInitKey_attributeType_id(java.lang.String typeID)

Set the primary key for this object

Parameters:
typeID - The attribute type ID. java.lang.String
Returns:
void

setOID

public void setOID(java.lang.String OID)

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

The following is a description of this column:

Reserved for IBM internal use.

Specified by:
setOID in interface AttributeTypeAccessBeanData
Parameters:
OID - The object identifier. java.lang.String
Returns:
void