|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractAccessBean | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.catalog.objects.AttributeAccessBean
This bean provides access to the ATTRIBUTE table.
The following is a description of this table:
This table holds product attributes that are used for SKU resolution.
Fields inherited from class com.ibm.ivj.ejb.runtime.AbstractAccessBean |
DEFAULT_NAMESERVICE_PROVIDER_URL, DEFAULT_NAMESERVICE_TYPE, ejbRef |
Constructor Summary | |
AttributeAccessBean()
Default constructor. |
|
AttributeAccessBean(javax.ejb.EJBObject attributeEJBObj)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
AttributeAccessBean(java.lang.Integer language_id,
java.lang.String attribute_type)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
AttributeAccessBean(java.lang.Integer language_id,
java.lang.String attribute_type,
java.lang.Double sequence_number)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
AttributeAccessBean(java.lang.Integer language_id,
java.lang.String attribute_type,
java.lang.Double sequence_number,
java.lang.Long catentry_id,
java.lang.String name)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
AttributeAccessBean(java.lang.Long attributeReferenceNumber,
java.lang.Integer language_id,
java.lang.String attribute_type)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
AttributeAccessBean(java.lang.Long attributeReferenceNumber,
java.lang.Integer language_id,
java.lang.String attribute_type,
java.lang.Double sequence_number)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
AttributeAccessBean(java.lang.Long attributeReferenceNumber,
java.lang.Integer language_id,
java.lang.String name,
java.lang.String attribute_type)
Maps to a corresponding ejbCreate method in the home interface of the EJB |
|
AttributeAccessBean(java.lang.Long attributeReferenceNumber,
java.lang.String attribute_type,
java.lang.Integer language_id,
java.lang.Long catentry_id,
java.lang.String name)
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 |
findByAttributeId(java.lang.Long attributeId)
Finds the attribute with the attribute reference number. |
java.util.Enumeration |
findByCatalogEntryId(java.lang.Long catentryId)
Finds the attribute with the Catalog Entry reference number. |
java.util.Enumeration |
findByCatEntryLanguageAndSequence(java.lang.Long catentryId,
java.lang.Integer languageId,
java.lang.Double sequence_number)
Finds the attribute with the Catalog Entry reference number, language Id, and sequence number. |
java.util.Enumeration |
findByCatEntryLanguageAndUsage(java.lang.Long catentryId,
java.lang.Integer languageId,
java.lang.String usage)
Finds the attribute with the Catalog Entry reference number, language Id, and usage. |
AttributeAccessBean |
findByNameAndCatalogEntryAndLanguage(java.lang.String name,
java.lang.Long catentryId,
java.lang.Integer languageId)
Finds the attribute with the name, Catalog Entry reference number, and language Id. |
java.util.Enumeration |
findByProduct(java.lang.Long catEntryID,
java.lang.Integer languageID)
Finds the attribute with the product. |
java.lang.String |
getAttributeReferenceNumber()
This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.Long |
getAttributeReferenceNumberInEJBType()
This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL. |
java.lang.String |
getAttributeType()
This method provides access to the ATTRIBUTE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL. |
AttributeValueAccessBean[] |
getAttributeValues()
Gets the list of values defined for this attribute. |
java.lang.String |
getCatalogEntryReferenceNumber()
This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT NULL. |
java.lang.Long |
getCatalogEntryReferenceNumberInEJBType()
This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT NULL. |
java.lang.String |
getDescription()
This method provides access to the ATTRIBUTE.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getDescription2()
This method provides access to the ATTRIBUTE.DESCRIPTION2 column of DB2 type VARCHAR(254) NULL. |
java.lang.Object[] |
getDistinctAttributeValues()
Gets the list of distinct attribute values. |
java.lang.String |
getField1()
This method provides access to the ATTRIBUTE.FIELD1 column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getLanguage_id()
This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Integer |
getLanguage_idInEJBType()
This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
java.lang.Double |
getMaxSequenceForCatEntryAndLanguage(java.lang.Long aCatentryReferenceNumber,
java.lang.Integer aLanguageId)
This method returns the maximum attribute sequence number with the given Catalog Entry reference number and language Id. |
java.lang.String |
getName()
This method provides access to the ATTRIBUTE.NAME column of DB2 type VARCHAR(254) NULL. |
java.lang.String |
getOID()
This method provides access to the ATTRIBUTE.OID column of DB2 type VARCHAR(64) NULL. |
java.lang.String |
getSequenceNumber()
This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL. |
java.lang.Double |
getSequenceNumberInEJBType()
This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL. |
java.lang.String |
getUsage()
This method provides access to the ATTRIBUTE.USAGE column of DB2 type CHARACTER (1) NULL DEFAULT '1'. |
void |
refreshCopyHelper()
Load data from the EJBObject. |
void |
setAttributeReferenceNumber(java.lang.Long attributeReferenceNumber)
This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL. |
void |
setAttributeReferenceNumber(java.lang.String aAttributeReferenceNumber)
This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL. |
void |
setAttributeType(java.lang.String attributeType)
This method provides access to the ATTRIBUTE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL. |
void |
setCatalogEntryReferenceNumber(java.lang.Long aCatentryId)
This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT NULL. |
void |
setCatalogEntryReferenceNumber(java.lang.String aCatentryId)
This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT NULL. |
void |
setDescription(java.lang.String attributeDescription)
This method provides access to the ATTRIBUTE.DESCRIPTION column of DB2 type VARCHAR(254) NULL. |
void |
setDescription2(java.lang.String aDescription)
This method provides access to the ATTRIBUTE.DESCRIPTION2 column of DB2 type VARCHAR(254) NULL. |
void |
setField1(java.lang.String aField1)
This method provides access to the ATTRIBUTE.FIELD1 column of DB2 type VARCHAR(254) NULL. |
void |
setInitKey_attributeReferenceNumber(java.lang.String attributeReferenceNumber)
Set the primary key for this object |
void |
setInitKey_language_id(java.lang.String languageID)
Set the primary key for this object - The language ID for the attribute. |
void |
setLanguage_id(java.lang.Integer languageID)
This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setLanguage_id(java.lang.String languageID)
This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL. |
void |
setName(java.lang.String attributeName)
This method provides access to the ATTRIBUTE.NAME column of DB2 type VARCHAR(254) NULL. |
void |
setOID(java.lang.String aOID)
This method provides access to the ATTRIBUTE.OID column of DB2 type VARCHAR(64) NULL. |
void |
setSequenceNumber(java.lang.Double seqNumber)
This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL. |
void |
setSequenceNumber(java.lang.String seqNumber)
This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL. |
void |
setUsage(java.lang.String aUsage)
This method provides access to the ATTRIBUTE.USAGE column of DB2 type CHARACTER (1) NULL DEFAULT '1'. |
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 |
public AttributeAccessBean()
Default constructor. It is used to initialize the access bean.
public AttributeAccessBean(javax.ejb.EJBObject attributeEJBObj) throws java.rmi.RemoteException
Maps to a corresponding ejbCreate method in the home interface of the EJB
attributeEJBObj
- The attribute EJB object. javax.ejb.EJBObjectjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic AttributeAccessBean(java.lang.Integer language_id, java.lang.String attribute_type) 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
language_id
- The language id of the attribute. java.lang.Integerattribute_type
- The type of the attribute. java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic AttributeAccessBean(java.lang.Integer language_id, java.lang.String attribute_type, java.lang.Double sequence_number) 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
language_id
- The language id of the attribute. java.lang.Integerattribute_type
- The type of the attribute. java.lang.Stringsequence_number
- The sequence number of the attribute. java.lang.Doublejava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic AttributeAccessBean(java.lang.Integer language_id, java.lang.String attribute_type, java.lang.Double sequence_number, java.lang.Long catentry_id, java.lang.String name) 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
language_id
- The language id of the attribute. java.lang.Integerattribute_type
- The type of the attribute. java.lang.Stringsequence_number
- The sequence number of the attribute. java.lang.Doublecatentry_id
- The Catalog Entry Id of the attribute. java.lang.Longname
- The name of the attribute. java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic AttributeAccessBean(java.lang.Long attributeReferenceNumber, java.lang.Integer language_id, java.lang.String attribute_type) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
attributeReferenceNumber
- The reference number of the attribute. java.lang.Longlanguage_id
- The language id of the attribute. java.lang.Integerattribute_type
- The type of the attribute. java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic AttributeAccessBean(java.lang.Long attributeReferenceNumber, java.lang.Integer language_id, java.lang.String attribute_type, java.lang.Double sequence_number) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
attributeReferenceNumber
- The reference number of the attribute. java.lang.Longlanguage_id
- The language id of the attribute. java.lang.Integerattribute_type
- The type of the attribute. java.lang.Stringsequence_number
- The sequence number of the attribute. java.lang.Doublejava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic AttributeAccessBean(java.lang.Long attributeReferenceNumber, java.lang.Integer language_id, java.lang.String name, java.lang.String attribute_type) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException
Maps to a corresponding ejbCreate method in the home interface of the EJB
attributeReferenceNumber
- The reference number of the attribute. java.lang.Longlanguage_id
- The language id of the attribute. java.lang.Integername
- The name of the attribute. java.lang.Stringattribute_type
- The type of the attribute. java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionpublic AttributeAccessBean(java.lang.Long attributeReferenceNumber, java.lang.String attribute_type, java.lang.Integer language_id, java.lang.Long catentry_id, java.lang.String name) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException
Maps to a corresponding ejbCreate method in the home interface of the EJB
attributeReferenceNumber
- The reference number of the attribute. java.lang.Longattribute_type
- The type of the attribute. java.lang.Stringlanguage_id
- The language id of the attribute. java.lang.Integercatentry_id
- The Catalog Entry Id of the attribute. java.lang.Longname
- The name of the attribute. java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionMethod Detail |
public void commitCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Update(flush) data to the EJBObject (persistent storage).
commitCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByAttributeId(java.lang.Long attributeId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the attribute with the attribute reference number.
SQL:
SELECT *
FROM ATTRIBUTE
WHERE ATTRIBUTE.ATTRIBUTE_ID = attributeId
attributeId
- An Attribute reference number. java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByCatalogEntryId(java.lang.Long catentryId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the attribute with the Catalog Entry reference number.
SQL:
SELECT *
FROM ATTRIBUTE
WHERE ATTRIBUTE.CATENTRY_ID = catentryId
catentryId
- An Catalog Entry reference number. java.lang.Longjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByCatEntryLanguageAndSequence(java.lang.Long catentryId, java.lang.Integer languageId, java.lang.Double sequence_number) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the attribute with the Catalog Entry reference number, language Id, and sequence number.
SQL:
SELECT *
FROM ATTRIBUTE
WHERE ATTRIBUTE.CATENTRY_ID = catentryId and ATTRIBUTE.Language_id = languageId and ATTRIBUTE.SEQUENCE = sequence_number
catentryId
- An Catalog Entry reference number. java.lang.LonglanguageId
- The language Id. java.lang.Integersequence_number
- The sequence number. java.lang.Doublejava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByCatEntryLanguageAndUsage(java.lang.Long catentryId, java.lang.Integer languageId, java.lang.String usage) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the attribute with the Catalog Entry reference number, language Id, and usage.
SQL:
SELECT *
FROM ATTRIBUTE
WHERE ATTRIBUTE.CATENTRY_ID = catentryId and ATTRIBUTE.Language_id = languageId and ATTRIBUTE.USAGE = usage ORDER BY ATTRIBUTE.SEQUENCE
catentryId
- An Catalog Entry reference number. java.lang.LonglanguageId
- The language Id. java.lang.Integerusage
- The usage of the attribute. java.lang.Stringjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic AttributeAccessBean findByNameAndCatalogEntryAndLanguage(java.lang.String name, java.lang.Long catentryId, java.lang.Integer languageId) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the attribute with the name, Catalog Entry reference number, and language Id.
SQL:
SELECT *
FROM ATTRIBUTE
WHERE ATTRIBUTE.NAME = name and ATTRIBUTE.CATENTRY_ID = catentryId and ATTRIBUTE.Language_id = languageId
name
- The name of the attribute. java.lang.StringcatentryId
- An Catalog Entry reference number. java.lang.LonglanguageId
- The language Id. java.lang.Integerjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.util.Enumeration findByProduct(java.lang.Long catEntryID, java.lang.Integer languageID) throws java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
Finds the attribute with the product.
SQL:
SELECT DESCRIPTION2, DESCRIPTION, SEQUENCE, ATTRIBUTE_ID, CATENTRY_ID, LANGUAGE_ID, OID, FIELD1, NAME, ATTRTYPE_ID, USAGE
FROM ATTRIBUTE
WHERE CATENTRY_ID = catEntryID
AND LANGUAGE_ID = languageID
catEntryID
- The product reference number. java.lang.LonglanguageID
- The language ID. java.lang.Integerjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getAttributeReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The internal reference number of this attribute.
getAttributeReferenceNumber
in interface AttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getAttributeReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The reference number of this attribute in EJB type.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getAttributeType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The type of the corresponding attribute value. This is a foreign key to the ATTRTYPE table.
getAttributeType
in interface AttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic AttributeValueAccessBean[] getAttributeValues() throws javax.naming.NamingException, javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException
Gets the list of values defined for this attribute.
javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic java.lang.String getCatalogEntryReferenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
The reference number of the Product to which this Attribute belongs.
getCatalogEntryReferenceNumber
in interface AttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Long getCatalogEntryReferenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
The reference number of the Product to which this Attribute belongs.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getDescription() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
A description of this attribute.
getDescription
in interface AttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getDescription2() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.DESCRIPTION2 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
An additional description field for this Attribute.
getDescription2
in interface AttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Object[] getDistinctAttributeValues() throws javax.naming.NamingException, javax.ejb.CreateException, java.sql.SQLException, javax.ejb.FinderException, java.rmi.RemoteException
Gets the list of distinct attribute values.
javax.naming.NamingException
- The javax.naming.NamingException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjava.sql.SQLException
- The java.sql.SQLException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjava.rmi.RemoteException
- The java.rmi.RemoteException exceptionpublic java.lang.String getField1() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.FIELD1 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
A customizable field.
getField1
in interface AttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getLanguage_id() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language that this attribute pertains to.
getLanguage_id
in interface AttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Integer getLanguage_idInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language that this attribute pertains to.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Double getMaxSequenceForCatEntryAndLanguage(java.lang.Long aCatentryReferenceNumber, java.lang.Integer aLanguageId) throws javax.naming.NamingException, javax.ejb.CreateException, java.sql.SQLException, javax.ejb.FinderException, java.rmi.RemoteException
This method returns the maximum attribute sequence number with the given Catalog Entry reference number and language Id.
aCatentryReferenceNumber
- The Catalog Entry reference number.aLanguageId
- The language Id.java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getName() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.NAME column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
The name given to this attribute.
getName
in interface AttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getOID() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.OID column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Reserved for IBM internal use.
getOID
in interface AttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getSequenceNumber() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
A sequence number that determines the order of display of attributes for a given product.
getSequenceNumber
in interface AttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.Double getSequenceNumberInEJBType() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
A sequence number that determines the order of display of attributes for a given product.
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic java.lang.String getUsage() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
This method provides access to the ATTRIBUTE.USAGE column of DB2 type CHARACTER (1) NULL DEFAULT '1'.
The following is a description of this column:
The purpose of the Attribute. NULL or "1" indicates SKU-resolution. "2" indicates a descriptive Attribute and should not be used to resolve SKUs.
getUsage
in interface AttributeAccessBeanData
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void refreshCopyHelper() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
Load data from the EJBObject.
refreshCopyHelper
in class com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
java.rmi.RemoteException
- The java.rmi.RemoteException exceptionjavax.ejb.CreateException
- The javax.ejb.CreateException exceptionjavax.ejb.FinderException
- The javax.ejb.FinderException exceptionjavax.naming.NamingException
- The javax.naming.NamingException exceptionpublic void setAttributeReferenceNumber(java.lang.Long attributeReferenceNumber)
This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The internal reference number of this attribute.
attributeReferenceNumber
- The attribute reference number. java.lang.Longpublic void setAttributeReferenceNumber(java.lang.String aAttributeReferenceNumber)
This method provides access to the ATTRIBUTE.ATTRIBUTE_ID column of DB2 type BIGINT NOT NULL.
The following is a description of this column:
The reference number of this attribute.
setAttributeReferenceNumber
in interface AttributeAccessBeanData
aAttributeReferenceNumber
- The attribute reference number. java.lang.Stringpublic void setAttributeType(java.lang.String attributeType)
This method provides access to the ATTRIBUTE.ATTRTYPE_ID column of DB2 type CHAR(16) NOT NULL.
The following is a description of this column:
The type of the corresponding attribute value. This is a foreign key to the ATTRTYPE table.
setAttributeType
in interface AttributeAccessBeanData
attributeType
- The attribute type. java.lang.Stringpublic void setCatalogEntryReferenceNumber(java.lang.Long aCatentryId)
This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
The reference number of the Product to which this Attribute belongs.
aCatentryId
- The Catalog Entry reference number. java.lang.Longpublic void setCatalogEntryReferenceNumber(java.lang.String aCatentryId)
This method provides access to the ATTRIBUTE.CATENTRY_ID column of DB2 type BIGINT NULL.
The following is a description of this column:
The reference number of the Product to which this Attribute belongs.
setCatalogEntryReferenceNumber
in interface AttributeAccessBeanData
aCatentryId
- The Catalog Entry reference number. java.lang.Stringpublic void setDescription(java.lang.String attributeDescription)
This method provides access to the ATTRIBUTE.DESCRIPTION column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
A description of this attribute.
setDescription
in interface AttributeAccessBeanData
attributeDescription
- The description. java.lang.Stringpublic void setDescription2(java.lang.String aDescription)
This method provides access to the ATTRIBUTE.DESCRIPTION2 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
An additional description field for this Attribute.
setDescription2
in interface AttributeAccessBeanData
aDescription
- The description. java.lang.Stringpublic void setField1(java.lang.String aField1)
This method provides access to the ATTRIBUTE.FIELD1 column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
A customizable field.
setField1
in interface AttributeAccessBeanData
aField1
- The Field1 of the attribute. java.lang.Stringpublic void setInitKey_attributeReferenceNumber(java.lang.String attributeReferenceNumber)
Set the primary key for this object
attributeReferenceNumber
- The attribute reference number. java.lang.Stringpublic void setInitKey_language_id(java.lang.String languageID)
Set the primary key for this object - The language ID for the attribute.
languageID
- The language ID. java.lang.Stringpublic void setLanguage_id(java.lang.Integer languageID)
This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language that this attribute pertains to.
languageID
- The language ID. java.lang.Integerpublic void setLanguage_id(java.lang.String languageID)
This method provides access to the ATTRIBUTE.LANGUAGE_ID column of DB2 type INTEGER NOT NULL.
The following is a description of this column:
The language that this attribute pertains to.
setLanguage_id
in interface AttributeAccessBeanData
languageID
- The language ID. java.lang.Stringpublic void setName(java.lang.String attributeName)
This method provides access to the ATTRIBUTE.NAME column of DB2 type VARCHAR(254) NULL.
The following is a description of this column:
The name given to this attribute.
setName
in interface AttributeAccessBeanData
attributeName
- The name of the attribute. java.lang.Stringpublic void setOID(java.lang.String aOID)
This method provides access to the ATTRIBUTE.OID column of DB2 type VARCHAR(64) NULL.
The following is a description of this column:
Reserved for IBM internal use.
setOID
in interface AttributeAccessBeanData
aOID
- The OID of the attribute. java.lang.Stringpublic void setSequenceNumber(java.lang.Double seqNumber)
This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
A sequence number that determines the order of display of attributes for a given product.
seqNumber
- The sequence number. java.lang.Doublepublic void setSequenceNumber(java.lang.String seqNumber)
This method provides access to the ATTRIBUTE.SEQUENCE column of DB2 type FLOAT NOT NULL.
The following is a description of this column:
A sequence number that determines the order of display of attributes for a given product.
setSequenceNumber
in interface AttributeAccessBeanData
seqNumber
- The sequence number. java.lang.Stringpublic void setUsage(java.lang.String aUsage)
This method provides access to the ATTRIBUTE.USAGE column of DB2 type CHARACTER (1) NULL DEFAULT '1'.
The following is a description of this column:
The purpose of the Attribute. NULL or "1" indicates SKU-resolution. "2" indicates a descriptive Attribute and should not be used to resolve SKUs.
setUsage
in interface AttributeAccessBeanData
aUsage
- The usage of the attribute. java.lang.String
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |