Last change
on this file since 53 was 52, checked in by ruud, 21 months ago |
Fixed small issues in domaineditor.
|
File size:
621 bytes
|
Line | |
---|
1 | package geniusweb.actions;
|
---|
2 |
|
---|
3 | import com.fasterxml.jackson.annotation.JsonCreator;
|
---|
4 | import com.fasterxml.jackson.annotation.JsonProperty;
|
---|
5 |
|
---|
6 | import geniusweb.issuevalue.Bid;
|
---|
7 |
|
---|
8 | /**
|
---|
9 | * An offer represents a proposal from some actor that others may accept.
|
---|
10 | * Executing an Offer action usually means that the party doing the action
|
---|
11 | * accepts the offer himself.
|
---|
12 | */
|
---|
13 | public class Offer extends ActionWithBid {
|
---|
14 |
|
---|
15 | @JsonCreator
|
---|
16 | public Offer(@JsonProperty("actor") PartyId id,
|
---|
17 | @JsonProperty("bid") Bid bid) {
|
---|
18 | super(id, bid);
|
---|
19 | }
|
---|
20 |
|
---|
21 | @Override
|
---|
22 | public String toString() {
|
---|
23 | return "Offer[" + getActor() + "," + getBid() + "]";
|
---|
24 | }
|
---|
25 |
|
---|
26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.