|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.utf.utils.RFQProductAttributes
Every instance of the RFQProductAttributes
class represents an attribute that
has been associated with an RFQ item. The attribute could be standard attributes defined in the
catalog or personalized attributed specifically requested by the buyer.
An RFQ product attribute could be specified as follows:
Length in 10,11,12 feet .
or
Color = Yellow.
In the Length example, the name of the attribute is "Length", the operator is "in", the values are 10,11 and 12,
the value delimiter is ",", since it separates one value from another and the unit is "feet".
In the Color example, the name of the attribute is "Color", the operator is "=", the value is "Yellow" and there is
no unit.
Each instance of this class has the following information
RFQProductAttribute
includes methods for getting and setting the fields that comprise
an rfq product attribute.
Field Summary | |
java.lang.Long |
attribute_id
|
java.lang.String |
attrtype
|
java.lang.Long |
catentry_id
|
java.lang.Integer |
changeable
|
java.lang.String |
description
|
java.lang.Integer |
mandatory
|
java.lang.String |
name
|
java.lang.Integer |
operator_id
|
java.lang.Long |
pattribute_id
|
java.lang.Long |
tc_id
|
java.lang.String |
unit
|
java.lang.String |
value
|
java.lang.String |
valueDelim
|
Constructor Summary | |
RFQProductAttributes(java.util.Hashtable h,
java.lang.Integer languageId)
Constructs an instance of the RFQProductAttributes class using the incoming Hashtable. |
Method Summary | |
java.lang.Long |
getAttribute_id()
Returns the identifier of the standard WebSphere Commerce attribute. |
java.lang.String |
getAttrtype()
Returns the type of the attribute. |
java.lang.Long |
getCatentry_id()
Returns the catalog entry ID. |
java.lang.Integer |
getChangeable()
Returns the flag which indicates whether the attribute value can be changed in the response. |
java.lang.String |
getDescription()
Returns the language dependent description of the attribute. |
java.lang.Integer |
getMandatory()
Returns the flag which indicates whether the attribute is optional or required in the response. |
java.lang.String |
getName()
Returns the attribute name. |
java.lang.Integer |
getOperator_id()
Returns the operator identifier. |
java.lang.Long |
getPattribute_id()
Returns the identifier of the personalization attribute. |
java.lang.Long |
getTc_id()
Returns the identifier of the term and condition corresponding to this attribute. |
java.lang.String |
getUnit()
Returns the unit. |
java.lang.String |
getValue()
Returns the attribute value. |
java.lang.String |
getValueDelim()
Returns the delimiter that separates one value from another, in the case of multi-valued attributes. |
boolean |
isChangeable()
Returns a boolean that indicates whether the attribute value is changeable in the response. |
boolean |
isMandatory()
Returns a boolean value which indicates whether the attribute is optional or required in the response. |
void |
setAttribute_id(java.lang.Long newAttribute_id)
Stores the incoming identifier for the standard attribute. |
void |
setAttrtype(java.lang.String newAttrtype)
Stores the type of the attribute. |
void |
setCatentry_id(java.lang.Long newCatentry_id)
Stores the catalog entry ID. |
void |
setChangeable(java.lang.Integer newChangeable)
Stores the incoming value for the "changeable" flag. |
void |
setDescription(java.lang.String newDescription)
Stores the language dependent description of the attribute. |
void |
setMandatory(java.lang.Integer newMandatory)
Stores the incoming value of the "mandatory" flag. |
void |
setName(java.lang.String newName)
Stores the attribute name. |
void |
setOperator_id(java.lang.Integer newOperator_id)
Stores the operator ID. |
void |
setPattribute_id(java.lang.Long newPattribute_id)
Stores the identifier of the personalization attribute. |
void |
setTc_id(java.lang.Long newTc_id)
Stores the identifier of the term and condition. |
void |
setUnit(java.lang.String newUnit)
Stores the unit. |
void |
setValue(java.lang.String newStringValue)
Stores the attribute value. |
void |
setValueDelim(java.lang.String newValueDelim)
Stores the value delimiter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.Long attribute_id
public java.lang.String attrtype
public java.lang.Long catentry_id
public java.lang.Integer changeable
public java.lang.String description
public java.lang.Integer mandatory
public java.lang.String name
public java.lang.Integer operator_id
public java.lang.Long pattribute_id
public java.lang.Long tc_id
public java.lang.String unit
public java.lang.String value
public java.lang.String valueDelim
Constructor Detail |
public RFQProductAttributes(java.util.Hashtable h, java.lang.Integer languageId) throws java.lang.Exception
Every RFQ product attribute has the following fields:
java.lang.Exception
- Method Detail |
public java.lang.Long getAttribute_id()
public java.lang.String getAttrtype()
public java.lang.Long getCatentry_id()
public java.lang.Integer getChangeable()
public java.lang.String getDescription()
public java.lang.Integer getMandatory()
public java.lang.String getName()
public java.lang.Integer getOperator_id()
public java.lang.Long getPattribute_id()
public java.lang.Long getTc_id()
public java.lang.String getUnit()
public java.lang.String getValue()
public java.lang.String getValueDelim()
public boolean isChangeable()
public boolean isMandatory()
public void setAttribute_id(java.lang.Long newAttribute_id)
newAttribute_id
- The identifier for the standard attribute.public void setAttrtype(java.lang.String newAttrtype)
newAttrtype
- The attribute type.public void setCatentry_id(java.lang.Long newCatentry_id)
newCatentry_id
- The catalog entry ID.public void setChangeable(java.lang.Integer newChangeable)
newChangeable
- The changeable flag.public void setDescription(java.lang.String newDescription)
newDescription
- The attribute description.public void setMandatory(java.lang.Integer newMandatory)
newMandatory
- The mandatory flag.public void setName(java.lang.String newName)
newName
- The attribute name.public void setOperator_id(java.lang.Integer newOperator_id)
newOperator_id
- The operator ID.public void setPattribute_id(java.lang.Long newPattribute_id)
newPattribute_id
- The personalization attribute ID.public void setTc_id(java.lang.Long newTc_id)
newTc_id
- The term condition ID.public void setUnit(java.lang.String newUnit)
newUnit
- The unit.public void setValue(java.lang.String newStringValue)
newStringValue
- The attribute value.public void setValueDelim(java.lang.String newValueDelim)
newValueDelim
- The value delimiter.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |