public class FXBlotterItemSubjectInfo extends Object implements SubjectInfo
A domain object representing a subscription to a blotter container for a given user. Instances of this class represent the request for the Record Item
You do not need to construct instances of this class yourself. They are generated
from incoming requests by FXBlotterItemSubjectParser
and passed to your
implementation of FXBlotterItemProvider.onItemRequest(FXBlotterItemSubjectInfo)
and FXBlotterItemProvider.onItemDiscard(FXBlotterItemSubjectInfo)
Constructor and Description |
---|
FXBlotterItemSubjectInfo(String subject,
FXBlotter blotter,
String username,
String id)
Constructs an instance of FXBlotterItemSubjectInfo with the given details.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
FXBlotter |
getBlotter()
The
FXBlotter associated with the request |
String |
getItemId()
The id of the Record Message associated with the request
|
String |
getSubject()
Returns the original subject that was parsed to create this SubjectInfo
|
String |
getUsername()
The username associated with the request.
|
int |
hashCode() |
String |
toString() |
public FXBlotterItemSubjectInfo(String subject, FXBlotter blotter, String username, String id)
subject
- The unparsed subject for the blotter requestblotter
- The FXBlotter
corresponding to the subjectusername
- The username associated with the requestid
- the id of the itempublic String getSubject()
SubjectInfo
getSubject
in interface SubjectInfo
public String getUsername()
public String getItemId()
public FXBlotter getBlotter()
FXBlotter
associated with the requestCopyright © 2015 Caplin Systems.