|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.commerce.utf.utils.RFQComments
The RFQComments
class represents freeform comments that have been
specified by the buyer or the seller during RFQ negotiations.
These are RFQ level comments which may include special instructions like
Deliver to Warehouse 1 between 7 and 8 pm on Tuesday.
or
Call before delivery.
Associated with every comment are two flags - mandatory and changeable. If the mandatory
flag is turned on(value 1), it implies that the response to the comment is mandatory. The
changeable flag indicates whether the comment should be accepted as is by the other party (value 0),
or whether an alternative comment can be provided (value 1). A TC identifier can be optionally
associated with every comment. If the TC ID is specified, then the comment already exists. If not,
a new comment is being processed.
The class RFQComments
includes methods for getting and setting the fields that comprise
an rfq comment.
Field Summary | |
java.lang.String |
attrtype
|
java.lang.Integer |
changeable
|
java.lang.Integer |
mandatory
|
java.lang.Long |
tc_id
|
java.lang.String |
value
|
Constructor Summary | |
RFQComments(java.util.Hashtable h)
Constructs an instance of the RFQComments class using the incoming Hashtable. |
Method Summary | |
java.lang.Integer |
getChangeable()
Get the changeable flag. |
java.lang.Integer |
getMandatory()
Get the mandatory flag. |
java.lang.Long |
getTc_id()
Get Terms and Condition Id. |
java.lang.String |
getValue()
Get the string representing the comment. |
boolean |
isChangeable()
Returns whether the changeable flag is on or off. |
boolean |
isMandatory()
Returns whether the mandatory flag is on or off. |
void |
setChangeable(java.lang.Integer newChangeable)
Set the changeable flag to the incoming value. |
void |
setMandatory(java.lang.Integer newMandatory)
Set the mandatory flag to the incoming value. |
void |
setTc_id(java.lang.Long newTc_id)
Sets the term and condition ID to the incoming value. |
void |
setValue(java.lang.String newValue)
Sets the member variable to the incoming value for the comment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.String attrtype
public java.lang.Integer changeable
public java.lang.Integer mandatory
public java.lang.Long tc_id
public java.lang.String value
Constructor Detail |
public RFQComments(java.util.Hashtable h) throws java.lang.Exception
Every RFQ comment has the following fields:
java.lang.Exception
- Method Detail |
public java.lang.Integer getChangeable()
public java.lang.Integer getMandatory()
public java.lang.Long getTc_id()
public java.lang.String getValue()
public boolean isChangeable()
public boolean isMandatory()
public void setChangeable(java.lang.Integer newChangeable)
newChangeable
- The value for the changeable flag.public void setMandatory(java.lang.Integer newMandatory)
newMandatory
- The value for the mandatory flag.public void setTc_id(java.lang.Long newTc_id)
newTc_id
- The term and condition identifier.public void setValue(java.lang.String newValue)
newValue
- The string representing the actual comment.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |