java.lang.Object | +--com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean | +--com.ibm.commerce.catalog.objects.AttributeValueAccessBean | +--com.ibm.commerce.catalog.beans.AttributeValueDataBean
This bean represents an attribute value of a catalog entry. IBM internal use only.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT The internal copyright field. |
protected
AttributeValueAccessBean |
iabAttributeValue |
protected
AttributeDataBean |
ibnAttribute |
java.lang.String |
istrAttributeId The attribute ID of the attribute value. |
protected
java.lang.String |
istrAttributeValueId |
java.lang.String |
istrCatalogEntryId The catalog entry ID in which the attribute value belongs to. |
protected
java.lang.String |
istrLanguageId |
java.lang.String |
istrName Name of the attribute value. |
Constructor Summary | |
---|---|
AttributeValueDataBean() Creates an empty attribute value data bean. | |
AttributeValueDataBean(
AttributeValueAccessBean abAttributeValue) Constructor of the AttributeValueDataBean using an
AttributeValueAccessBean |
Method Summary | |
---|---|
AttributeDataBean |
getAttributeDataBean() Gets the AttributeDataBean that represents the attribute
of the attribute value. |
java.lang.String |
getAttributeId() Gets the attribute ID of the attribute value. |
java.lang.String |
getAttributeValueId() Gets the attribute value ID. |
java.lang.String |
getCatalogEntryId() Gets the catalog entry ID that owns the attribute value. |
CommandContext |
getCommandContext() Gets the command context set within this bean. |
java.lang.String |
getLanguageId() Gets the languag ID of the attribute value. |
java.lang.String |
getName() Gets the language dependent name of the attribute value. |
java.lang.String |
getValue() Gets the value of the attribute value in the form of a String. |
void |
populate() Populates the bean and retrieves data from the database. |
void |
setAttributeId(java.lang.String newAttributeId) Sets the attribute ID of the attribute value. |
void |
setAttributeValueId(java.lang.String newAttributeValueId) Sets the attribute value ID of the attribute value. |
void |
setCatalogEntryId(java.lang.String newCatalogEntryId) Sets the catalog entry ID which owns the cattribute value. |
void |
setCommandContext(
CommandContext newCommandContext) Sets the command context within this bean. |
void |
setLanguageId(java.lang.String newLanguageId) Sets the language ID of the attribute value. |
void |
setName(java.lang.String newName) Sets the language dependent name of the attribute value. |
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 istrAttributeValueId
protected java.lang.String istrLanguageId
public java.lang.String istrAttributeId
public java.lang.String istrName
public java.lang.String istrCatalogEntryId
protected AttributeDataBean ibnAttribute
protected AttributeValueAccessBean iabAttributeValue
Constructor Detail |
---|
public AttributeValueDataBean()
public AttributeValueDataBean(AttributeValueAccessBean abAttributeValue) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
AttributeValueDataBean
using an
AttributeValueAccessBean
abAttributeValue
- an AttributeValueAccessBean
that represent an attribute valuejavax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
Method Detail |
---|
public AttributeDataBean getAttributeDataBean() throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
AttributeDataBean
that represents the attribute of
the attribute value.
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
public java.lang.String getAttributeId()
public java.lang.String getAttributeValueId()
public java.lang.String getCatalogEntryId()
public CommandContext getCommandContext()
public java.lang.String getLanguageId()
public java.lang.String getName()
getName
in interface
AttributeValueAccessBeanData
getName
in class
AttributeValueAccessBean
public java.lang.String getValue() throws javax.ejb.CreateException, javax.ejb.FinderException, java.rmi.RemoteException, javax.naming.NamingException
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
public void populate() throws java.lang.Exception
java.lang.Exception
public void setAttributeId(java.lang.String newAttributeId)
newAttributeId
- the attribute IDpublic void setAttributeValueId(java.lang.String newAttributeValueId)
newAttributeValueId
- the attribute value
IDpublic void setCatalogEntryId(java.lang.String newCatalogEntryId)
newCatalogEntryId
- the catalog entry IDpublic void setCommandContext(CommandContext newCommandContext)
newCommandContext
- the command contextpublic void setLanguageId(java.lang.String newLanguageId)
newLanguageId
- the language IDpublic void setName(java.lang.String newName)
setName
in interface
AttributeValueAccessBeanData
setName
in class
AttributeValueAccessBean
newName
- name of the attribute value