public class AttributeValueDataBean extends AttributeValueAccessBean
You can find more information about data beans in the WebSphere Commerce data beans topic in the Information Center.
Access Beans:
AttributeValue
Mandatory Parameters (for single row retrieval):
Some hints and tips for using this data bean are:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The internal copyright field.
|
java.lang.String |
istrAttributeId
The attribute ID of the attribute value.
|
java.lang.String |
istrCatalogEntryId
The catalog entry ID to which the attribute value belongs to.
|
java.lang.String |
istrName
Name of the attribute value.
|
Constructor and Description |
---|
AttributeValueDataBean()
Creates an empty attribute value data bean.
|
AttributeValueDataBean(AttributeValueAccessBean abAttributeValue)
Constructor of the
AttributeValueDataBean using an AttributeValueAccessBean |
Modifier and Type | Method and Description |
---|---|
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 language 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()
Loads data into the data bean
when the
DataBeanManager.activate() runs. |
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 to which the attribute value belongs.
|
void |
setCommandContext(CommandContext newCommandContext)
Sets the command context within this bean.
|
void |
setLanguageId(java.lang.String newLanguageId)
Sets the language ID for the attribute.
|
void |
setName(java.lang.String newName)
Sets the language dependent name of the attribute value.
|
findByAttribute, findByAttributeId, findByAttributeIdAndLanguageAndCatEntryIdAndName, findByAttributeIdAndLanguageIdAndCatEntryId, findByAttributeIdLanguageAndName, findByAttributeIdLanguageAndSequence, findByAttributeIdWithDefaultCatalogEntry, findByAttributeValueId, findByAttributeValueIdWithDefaultCatalogEntry, findByCatalogEntry, findByCatalogEntryAndLanguage, findByCatalogEntryLanguageAndName, findByCatEntryIdLanguageIdAndAttributeId, getAttribute, getAttributeReferenceNumber, getAttributeReferenceNumberInEntityType, getAttributeValue, getAttributeValueReferenceNumber, getAttributeValueReferenceNumberInEntityType, getCatalogEntryReferenceNumber, getCatalogEntryReferenceNumberInEntityType, getEntity, getField1, getField1InEntityType, getField2, getField3, getImage1, getImage2, getLanguage_id, getLanguage_idInEntityType, getMaxSequenceForAttributeAndLanguage, getMaxSequenceForAttributeAndLanguageAndCatEntry, getOid, getOperatorId, getOperatorIdInEntityType, getSequenceNumber, getSequenceNumberInEntityType, getType, instantiateEntity, setAttributeReferenceNumber, setAttributeReferenceNumber, setAttributeValue, setAttributeValueReferenceNumber, setAttributeValueReferenceNumber, setCatalogEntryReferenceNumber, setCatalogEntryReferenceNumber, setField1, setField1, setField2, setField3, setImage1, setImage2, setInitKey_attributeValueReferenceNumber, setInitKey_attributeValueReferenceNumber, setInitKey_language_id, setInitKey_language_id, setLanguage_id, setLanguage_id, setOid, setOperatorId, setOperatorId, setSequenceNumber, setSequenceNumber
public static final java.lang.String COPYRIGHT
public java.lang.String istrAttributeId
public java.lang.String istrName
public java.lang.String istrCatalogEntryId
public AttributeValueDataBean()
public AttributeValueDataBean(AttributeValueAccessBean abAttributeValue)
AttributeValueDataBean
using an AttributeValueAccessBean
abAttributeValue
- an AttributeValueAccessBean
that represent an attribute valuepublic AttributeDataBean getAttributeDataBean()
AttributeDataBean
that represents the attribute of the attribute value.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 class AttributeValueAccessBean
public java.lang.String getValue()
public void populate() throws java.lang.Exception
DataBeanManager.activate()
runs.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 class AttributeValueAccessBean
newName
- name of the attribute value