public class AttributeListDataBean extends SmartDataBeanImpl
AttributeDataBean
.
For example, if the catalog entry is
an item that is a shirt, then a possible attribute may be the colour of the shirt. The
attribute can be a descriptive attribute or a defining attribute. Defining attributes are
used for SKU resolution, and descriptive attributes are not used for SKU resolution.
You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center.
Access Beans: Attribute
Mandatory Parameters (for single row retrieval):
catentry ID
Optional Parameters:
Attribute Id, langId
Some hints and tips for using this data bean are:
catentry ID
value before activating the data beanModifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Reserved for IBM internal use.
|
emptyString
Constructor and Description |
---|
AttributeListDataBean() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttributeId()
Gets the attribute ID of the attribute.
|
AttributeDataBean[] |
getAttributeList()
Gets the list of
AttributeDataBean . |
java.lang.String |
getCatalogEntryId()
Gets the catalog entry ID to which the attribute list belongs to.
|
java.lang.String |
getLanguageId()
Gets the language ID of the attributes.
|
void |
populate()
Loads data into the data bean when the
DataBeanManager.activate() runs. |
void |
setAttributeId(java.lang.String newAttributeId)
Sets the attribute ID of the attribute.
|
void |
setAttributeList(AttributeDataBean[] newAttributeList)
Sets the list of
AttributeDataBean . |
void |
setCatalogEntryId(java.lang.String newCatalogEntryId)
Sets the catalog entry ID to which the attributes belong.
|
void |
setLanguageId(java.lang.String newLanguageId)
Sets the language ID for the attribute.
|
fulfills, getCommandContext, getHttpRequest, getHttpResponse, getResources, getViewCommandContext, setCommandContext, setHttpRequest, setHttpResponse, setViewCommandContext
getRequestProperties, setRequestProperties
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRequestProperties, setRequestProperties
public static final java.lang.String COPYRIGHT
public java.lang.String getAttributeId()
public AttributeDataBean[] getAttributeList()
AttributeDataBean
.AttributeDataBean
public java.lang.String getCatalogEntryId()
public java.lang.String getLanguageId()
public void populate() throws java.lang.Exception
DataBeanManager.activate()
runs.populate
in interface SmartDataBean
populate
in class SmartDataBeanImpl
java.lang.Exception
public void setAttributeId(java.lang.String newAttributeId)
newAttributeId
- the attribute ID of the attributepublic void setAttributeList(AttributeDataBean[] newAttributeList)
AttributeDataBean
.newAttributeList
- the list of AttributeDataBean
public void setCatalogEntryId(java.lang.String newCatalogEntryId)
newCatalogEntryId
- the catalog entry IDpublic void setLanguageId(java.lang.String newLanguageId)
newLanguageId
- the language ID