com.ibm.commerce.utf.beans
Class PAttributeListBean

java.lang.Object
  |
  +--com.ibm.commerce.beans.InputDataBeanImpl
        |
        +--com.ibm.commerce.beans.SmartDataBeanImpl
              |
              +--com.ibm.commerce.utf.beans.UTFListBean
                    |
                    +--com.ibm.commerce.utf.beans.PAttributeListBean
All Implemented Interfaces:
DataBean, InputDataBean, PAttributeListInputDataBean, PAttributeListSmartDataBean, java.io.Serializable, SmartDataBean, UTFListInputDataBean, UTFListSmartDataBean

public class PAttributeListBean
extends UTFListBean
implements PAttributeListInputDataBean, PAttributeListSmartDataBean

Provides a list of PAttributeDataBean objects.

See Also:
Serialized Form

Field Summary
protected  java.lang.String aString
           
protected  java.lang.String attributeTypeId
           
static java.lang.String COPYRIGHT
           
protected  java.lang.String name
           
protected  PAttributeDataBean[] PAttributes
           
 
Fields inherited from class com.ibm.commerce.utf.beans.UTFListBean
listSize, sortingAtt
 
Fields inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
commandContext
 
Fields inherited from class com.ibm.commerce.beans.InputDataBeanImpl
requestProperties
 
Fields inherited from interface com.ibm.commerce.beans.DataBean
emptyString
 
Constructor Summary
PAttributeListBean()
          Constructs an PAttributeListBean object.
 
Method Summary
 java.lang.String getAttributeTypeId()
          Gets the active attributeTypeId.
 java.lang.String getName()
          Gets the name.
 PAttributeDataBean[] getPAttributes()
          Gets an array of PAttributes.
 void populate()
          Looks up a list of PAttributes, then uses the list contents to populate an array of PAttributeDataBean objects.
 void setAttributeTypeId(java.lang.String newAttributeTypeId)
          Sets the attributeTypeId field.
 void setName(java.lang.String newName)
          Sets the name.
 void setPAttributes(PAttributeDataBean[] newPAttribute)
          Loads the array PAttributes.
 
Methods inherited from class com.ibm.commerce.utf.beans.UTFListBean
getLength, getSortAtt, setSortAtt
 
Methods inherited from class com.ibm.commerce.beans.SmartDataBeanImpl
fulfills, getCommandContext, getResources, setCommandContext
 
Methods inherited from class com.ibm.commerce.beans.InputDataBeanImpl
getRequestProperties, setRequestProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.beans.InputDataBean
getRequestProperties, setRequestProperties
 

Field Detail

aString

protected java.lang.String aString

attributeTypeId

protected java.lang.String attributeTypeId

COPYRIGHT

public static final java.lang.String COPYRIGHT

name

protected java.lang.String name

PAttributes

protected PAttributeDataBean[] PAttributes
Constructor Detail

PAttributeListBean

public PAttributeListBean()
Constructs an PAttributeListBean object.
Method Detail

getAttributeTypeId

public java.lang.String getAttributeTypeId()
Gets the active attributeTypeId.
Specified by:
getAttributeTypeId in interface PAttributeListSmartDataBean

getName

public java.lang.String getName()
Gets the name.
Specified by:
getName in interface PAttributeListSmartDataBean

getPAttributes

public PAttributeDataBean[] getPAttributes()
Gets an array of PAttributes.
Specified by:
getPAttributes in interface PAttributeListSmartDataBean

populate

public void populate()
              throws java.lang.Exception
Looks up a list of PAttributes, then uses the list contents to populate an array of PAttributeDataBean objects.
Overrides:
populate in class SmartDataBeanImpl
Throws:
java.lang.Exception - if the access bean could not be created.

setAttributeTypeId

public void setAttributeTypeId(java.lang.String newAttributeTypeId)
Sets the attributeTypeId field.
Specified by:
setAttributeTypeId in interface PAttributeListInputDataBean
Parameters:
newAttributeTypeId - the desired attributeType id.

setName

public void setName(java.lang.String newName)
Sets the name.
Specified by:
setName in interface PAttributeListInputDataBean

setPAttributes

public void setPAttributes(PAttributeDataBean[] newPAttribute)
Loads the array PAttributes.
Specified by:
setPAttributes in interface PAttributeListInputDataBean