|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rational.test.ft.value.PropertyWeight
public class PropertyWeight
Determines how important one property is compared to the other properties in a set. The weight associated with the property is an integer value in the range 0 to 100, where 0 implies no importance and 100 implies highest importance. All weight values must be in this range.
| Constructor Summary | |
|---|---|
PropertyWeight(int weight)
|
|
PropertyWeight(int weight, boolean fixed)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
Overloads the core java.lang.Object implementation to compare the weight directly. |
int |
getWeight()
Accesses the associated weight value. |
int |
hashCode()
Overloads the core java.lang.Object implementation to hash the weight directly. |
boolean |
isFixedWeight()
Specifies whether the weight can be updated. |
void |
setFixedWeight(boolean fixed)
Specifies that the weight cannot be updated. |
void |
setWeight(int weight)
Enables the associated weight to be updated. |
java.lang.String |
toString()
Overloads the core java.lang.Object implementation to return a textual representation of the weight. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyWeight(int weight)
public PropertyWeight(int weight, boolean fixed)
| Method Detail |
|---|
public int getWeight()
public void setWeight(int weight)
public boolean isFixedWeight()
public void setFixedWeight(boolean fixed)
public int hashCode()
java.lang.Object implementation to hash the weight directly.
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
java.lang.Object implementation to compare the weight directly.
equals in class java.lang.Objectpublic java.lang.String toString()
java.lang.Object implementation to return a textual representation of the weight.
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||