java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.catalog.objects.AttributeAccessBean | +--com.ibm.commerce.catalog.beans.AttributeDataBean
This bean represents an attribute of a catalog entry.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
java.lang.String |
istrAttributeId The attribute ID. |
java.lang.String |
istrCatalogEntryId The catalog entry ID. |
protected
java.lang.String |
istrLanguageId The language ID. |
java.lang.String |
istrName The attribute name. |
Constructor Summary | |
---|---|
AttributeDataBean() Creates an empty AttributeDataBean. | |
AttributeDataBean(
AttributeAccessBean abAttribute) Constructor of AttributeDataBean using an
AttributeAccessBean . |
Method Summary | |
---|---|
java.lang.String |
getAttributeId() Gets the attribute ID. |
java.lang.String |
getCatalogEntryId() Gets the catalog entry ID. |
java.lang.String |
getLanguageId() The language ID of the attribute. |
java.lang.String |
getName() Gets the attribute name. |
void |
populate() Populates the bean with data and retrieves the bean from the database. |
void |
setAttributeId(java.lang.String newAttributeId) Sets the attribute ID of the attribute. |
void |
setCatalogEntryId(java.lang.String newCatalogEntryId) Sets the owner of the attribute. |
void |
setLanguageId(java.lang.String newLanguageId) Sets the language ID of the attribute. |
void |
setName(java.lang.String newName) Sets the attribute name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
protected java.lang.String istrLanguageId
public java.lang.String istrAttributeId
public java.lang.String istrName
public java.lang.String istrCatalogEntryId
Constructor Detail |
---|
public AttributeDataBean(AttributeAccessBean abAttribute) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
AttributeDataBean
using an
AttributeAccessBean
.
abAttribute
- the AttributeAccessBean
for the
attributejavax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
public AttributeDataBean()
Method Detail |
---|
public java.lang.String getAttributeId()
public java.lang.String getCatalogEntryId()
public java.lang.String getLanguageId()
public java.lang.String getName()
getName
in interface
AttributeAccessBeanData
getName
in class
AttributeAccessBean
public void populate() throws java.lang.Exception
java.lang.Exception
public void setAttributeId(java.lang.String newAttributeId)
newAttributeId
- attribute IDpublic void setCatalogEntryId(java.lang.String newCatalogEntryId)
newCatalogEntryId
- catalog entry IDpublic void setLanguageId(java.lang.String newLanguageId)
newLanguageId
- language ID of the
attributepublic void setName(java.lang.String newName)
setName
in interface
AttributeAccessBeanData
setName
in class
AttributeAccessBean
newName
- name of the attribute