public class AttributeDataBean extends AttributeAccessBean
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):
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.
|
protected CommandContext | iCommandContext
The command context.
|
java.lang.String | istrAttributeId
The attribute ID.
|
java.lang.String | istrCatalogEntryId
The catalog entry ID in which the attribute belongs to.
|
protected java.lang.String | istrLanguageId
The language ID.
|
java.lang.String | istrName
The attribute name.
|
Constructor and Description |
---|
AttributeDataBean()
Creates an empty AttributeDataBean.
|
AttributeDataBean(AttributeAccessBean abAttribute)
Constructor of AttributeDataBean using an AttributeAccessBean.
|
AttributeDataBean(AttributeAccessBean abAttribute, CommandContext aCommandContext)
Constructor of AttributeDataBean using an AttributeAccessBean and a CommandContext.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getAttributeId()
Gets the attribute ID.
|
AttributeValueDataBean[] | getAttributeValueDataBeans()
Gets a list of the AttributeValueDataBean for the attribute.
|
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.
|
boolean | isDefiningAttribute()
Determines whether the attribute is a defining attribute.
|
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 | setCatalogEntryId(java.lang.String newCatalogEntryId)
Sets the catalog entry ID to which the attributes belong.
|
void | setCommandContext(CommandContext aCommandContext)
Sets the CommandContext.
|
void | setLanguageId(java.lang.String newLanguageId)
Sets the language ID for the attribute.
|
void | setName(java.lang.String newName)
Sets the attribute name.
|
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
protected CommandContext iCommandContext
public AttributeDataBean(AttributeAccessBean abAttribute) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public AttributeDataBean(AttributeAccessBean abAttribute, CommandContext aCommandContext) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException, javax.naming.NamingException
public AttributeDataBean()
public java.lang.String getAttributeId()
public java.lang.String getCatalogEntryId()
public java.lang.String getLanguageId()
public java.lang.String getName()
public void populate() throws java.lang.Exception
public void setAttributeId(java.lang.String newAttributeId)
public void setCommandContext(CommandContext aCommandContext)
public void setCatalogEntryId(java.lang.String newCatalogEntryId)
public void setLanguageId(java.lang.String newLanguageId)
public void setName(java.lang.String newName)
public AttributeValueDataBean[] getAttributeValueDataBeans()
public boolean isDefiningAttribute()