public class AllocationViewEvent extends Object implements SubjectInfo
The AllocationViewEvent encapsulates the clients request for the details of an allocation.
Constructor and Description |
---|
AllocationViewEvent(String subject,
String username,
String tradeId)
Constructs the object with the subject of the request, the username of the
client request for the view event amd the trade that the client wants to
view the allocations for.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getSubject()
Returns the original subject that was parsed to create this SubjectInfo
|
String |
getTradeId()
Returns the trade Id that we want to view allocations for.
|
String |
getUsername()
Returns the username of the client that made the request to view allocations
|
int |
hashCode() |
public AllocationViewEvent(String subject, String username, String tradeId)
subject
- The subject the request was made onusername
- The user of the client that made the request.tradeId
- The Id of the Trade that the client wants to view allocations for.public String getSubject()
SubjectInfo
getSubject
in interface SubjectInfo
public String getUsername()
public String getTradeId()
Copyright © 2015 Caplin Systems.