|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectes.ants.felixgm.trmsim_wsn.satisfaction.SatisfactionBinary
public class SatisfactionBinary
This class models a binary representation of the satisfaction of a client with a received service. This satisfaction can only take two values: satisfied (true) or unsatisfied (false)
| Constructor Summary | |
|---|---|
SatisfactionBinary(boolean satisfied)
Class SatisfactionBinary constructor |
|
| Method Summary | |
|---|---|
Satisfaction |
aggregate(Satisfaction satisfaction)
This method aggregates this satisfaction with the given one |
boolean |
isSatisfied()
This method indicates if this Satisfaction object represents a satisfactory or unsatisfactory transaction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SatisfactionBinary(boolean satisfied)
satisfied - Indicates if a client is satisfied with a received service (true) or not (false)| Method Detail |
|---|
public boolean isSatisfied()
Satisfaction
isSatisfied in interface Satisfactionpublic Satisfaction aggregate(Satisfaction satisfaction)
Satisfaction
aggregate in interface Satisfactionsatisfaction - Satisfaction to be aggregated with this satisfaction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||