public class ParticipantModel
extends java.lang.Object
Constructor and Description |
---|
ParticipantModel(SingleSelectionModel<MultiPartyProtocolRepItem> protocolModel,
SingleSelectionModel<DomainRepItem> domainModel) |
Modifier and Type | Method and Description |
---|---|
SingleSelectionModel<DomainRepItem> |
getDomainModel() |
TextModel |
getIdModel() |
Participant |
getParticipant() |
SingleSelectionModel<ParticipantRepItem> |
getPartyModel() |
SingleSelectionModel<ProfileRepItem> |
getProfileModel() |
void |
increment()
Automatically increments the current ID, strategy and profile.
|
public ParticipantModel(SingleSelectionModel<MultiPartyProtocolRepItem> protocolModel, SingleSelectionModel<DomainRepItem> domainModel)
protocolModel
- holding the protocol that this participant has to use.domainModel,
- holding the negotiation domain. It is used also for the
selection of domain specific preference profilespublic TextModel getIdModel()
public SingleSelectionModel<ParticipantRepItem> getPartyModel()
public SingleSelectionModel<DomainRepItem> getDomainModel()
public SingleSelectionModel<ProfileRepItem> getProfileModel()
public void increment()
public Participant getParticipant()
Participant
as set at this moment in this model