com.ibm.commerce.catalog.beans
Class AttributeValueDataBean

java.lang.Object
  com.ibm.ivj.ejb.runtime.AbstractEntityAccessBean
      com.ibm.commerce.catalog.objects.AttributeValueAccessBean
          com.ibm.commerce.catalog.beans.AttributeValueDataBean
All Implemented Interfaces:
AttributeValueAccessBeanData

public class AttributeValueDataBean
extends AttributeValueAccessBean

This bean represents an attribute value of a catalog entry. IBM internal use only.

See Also:
Serialized Form

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 com.ibm.commerce.catalog.objects.AttributeValueAccessBean
commitCopyHelper, defaultJNDIName, findByAttribute, findByAttributeIdAndLanguageAndCatEntryIdAndName, findByAttributeIdAndLanguageIdAndCatEntryId, findByAttributeIdLanguageAndName, findByAttributeIdLanguageAndSequence, findByAttributeIdWithDefaultCatalogEntry, findByAttributeValueId, findByAttributeValueIdWithDefaultCatalogEntry, findByCatalogEntry, findByCatalogEntryAndLanguage, findByCatalogEntryLanguageAndName, findByCatEntryIdLanguageIdAndAttributeId, getAttribute, getAttributeReferenceNumber, getAttributeReferenceNumberInEJBType, getAttributeValue, getAttributeValueReferenceNumber, getAttributeValueReferenceNumberInEJBType, getCatalogEntryReferenceNumber, getCatalogEntryReferenceNumberInEJBType, getField1, getField1InEJBType, getField2, getField3, getImage1, getImage2, getLanguage_id, getLanguage_idInEJBType, getMaxSequenceForAttributeAndLanguage, getMaxSequenceForAttributeAndLanguageAndCatEntry, getOid, getOperatorId, getOperatorIdInEJBType, getSequenceNumber, getSequenceNumberInEJBType, getType, instantiateEJB, instantiateEJBByPrimaryKey, refreshCopyHelper, setAttributeReferenceNumber, setAttributeReferenceNumber, setAttributeValue, setAttributeValueReferenceNumber, setAttributeValueReferenceNumber, setCatalogEntryReferenceNumber, setCatalogEntryReferenceNumber, setField1, setField1, setField2, setField3, setImage1, setImage2, setInitKey_attributeValueReferenceNumber, setInitKey_language_id, setLanguage_id, setLanguage_id, setOid, setOperatorId, setOperatorId, setSequenceNumber, setSequenceNumber
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
The internal copyright field.
See Also:
Constant Field Values

istrAttributeValueId

protected java.lang.String istrAttributeValueId

istrLanguageId

protected java.lang.String istrLanguageId

istrAttributeId

public java.lang.String istrAttributeId
The attribute ID of the attribute value.

istrName

public java.lang.String istrName
Name of the attribute value.

istrCatalogEntryId

public java.lang.String istrCatalogEntryId
The catalog entry ID in which the attribute value belongs to.

ibnAttribute

protected AttributeDataBean ibnAttribute

iabAttributeValue

protected AttributeValueAccessBean iabAttributeValue
Constructor Detail

AttributeValueDataBean

public AttributeValueDataBean()
Creates an empty attribute value data bean.

AttributeValueDataBean

public AttributeValueDataBean(AttributeValueAccessBean abAttributeValue)
                       throws javax.ejb.CreateException,
                              java.rmi.RemoteException,
                              javax.ejb.FinderException,
                              javax.naming.NamingException
Constructor of the AttributeValueDataBean using an AttributeValueAccessBean
Parameters:
abAttributeValue - an AttributeValueAccessBean that represent an attribute value
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException
Method Detail

getAttributeDataBean

public AttributeDataBean getAttributeDataBean()
                                       throws javax.ejb.CreateException,
                                              java.rmi.RemoteException,
                                              javax.ejb.FinderException,
                                              javax.naming.NamingException
Gets the AttributeDataBean that represents the attribute of the attribute value.
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

getAttributeId

public java.lang.String getAttributeId()
Gets the attribute ID of the attribute value.
Returns:
the attribute ID

getAttributeValueId

public java.lang.String getAttributeValueId()
Gets the attribute value ID.
Returns:
attribute value ID

getCatalogEntryId

public java.lang.String getCatalogEntryId()
Gets the catalog entry ID that owns the attribute value.
Returns:
catalog entry ID

getCommandContext

public CommandContext getCommandContext()
Gets the command context set within this bean.
Returns:
command context

getLanguageId

public java.lang.String getLanguageId()
Gets the languag ID of the attribute value.
Returns:
the language ID

getName

public java.lang.String getName()
Gets the language dependent name of the attribute value.
Specified by:
getName in interface AttributeValueAccessBeanData
Overrides:
getName in class AttributeValueAccessBean
Returns:
the name of the attribute value

getValue

public java.lang.String getValue()
                          throws javax.ejb.CreateException,
                                 javax.ejb.FinderException,
                                 java.rmi.RemoteException,
                                 javax.naming.NamingException
Gets the value of the attribute value in the form of a String.
Returns:
value of the attribute value
Throws:
javax.ejb.CreateException
java.rmi.RemoteException
javax.ejb.FinderException
javax.naming.NamingException

populate

public void populate()
              throws java.lang.Exception
Populates the bean and retrieves data from the database.
Throws:
java.lang.Exception

setAttributeId

public void setAttributeId(java.lang.String newAttributeId)
Sets the attribute ID of the attribute value.
Parameters:
newAttributeId - the attribute ID

setAttributeValueId

public void setAttributeValueId(java.lang.String newAttributeValueId)
Sets the attribute value ID of the attribute value.
Parameters:
newAttributeValueId - the attribute value ID

setCatalogEntryId

public void setCatalogEntryId(java.lang.String newCatalogEntryId)
Sets the catalog entry ID which owns the cattribute value.
Parameters:
newCatalogEntryId - the catalog entry ID

setCommandContext

public void setCommandContext(CommandContext newCommandContext)
Sets the command context within this bean.
Parameters:
newCommandContext - the command context

setLanguageId

public void setLanguageId(java.lang.String newLanguageId)
Sets the language ID of the attribute value.
Parameters:
newLanguageId - the language ID

setName

public void setName(java.lang.String newName)
Sets the language dependent name of the attribute value.
Specified by:
setName in interface AttributeValueAccessBeanData
Overrides:
setName in class AttributeValueAccessBean
Parameters:
newName - name of the attribute value

Feedback