Package biz.onixs.cme.stp.handler
Class RequestParty
- java.lang.Object
-
- biz.onixs.cme.stp.handler.RequestParty
-
public class RequestParty extends Object
Requested party description.
-
-
Constructor Summary
Constructors Constructor Description RequestParty()Default constructor.RequestParty(String id, PartyRole role)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPartyID()Gets party identifier/code.PartyRolegetPartyRole()Gets the type or role of the PartyID specified.voidsetPartyID(String value)Sets party identifier/code.voidsetPartyRole(PartyRole value)Sets the type or role of the PartyID specified.
-
-
-
Method Detail
-
getPartyID
public final String getPartyID()
Gets party identifier/code. SeePartyRole. Results will be filtered by values specified for eligible roles (e.g. ID 444 with corresponding role specified (Role = 4) would return results for Clearing Firm 444).- Returns:
- party identifier/code
-
setPartyID
public final void setPartyID(String value)
Sets party identifier/code. SeePartyRole. Results will be filtered by values specified for eligible roles (e.g. ID 444 with corresponding role specified (Role = 4) would return results for Clearing Firm 444).- Parameters:
value- party identifier/code
-
getPartyRole
public final PartyRole getPartyRole()
Gets the type or role of the PartyID specified. For subscriptions, Executing Trader (Role =12) can be specified. For filtered snapshots, Clearing Firm (Role = 4), Trading Firm (Role = 1), and Account (Role = 24) can be specified.- Returns:
- the type or role of the PartyID specified
-
setPartyRole
public final void setPartyRole(PartyRole value)
Sets the type or role of the PartyID specified. For subscriptions, Executing Trader (Role =12) can be specified. For filtered snapshots, Clearing Firm (Role = 4), Trading Firm (Role = 1), and Account (Role = 24) can be specified.- Parameters:
value- the type or role of the PartyID specified
-
-