public class FXBlotterSubjectInfo extends Object implements SubjectInfo
A domain object representing a subscription to a blotter container for a given user.
You do not need to construct instances of this class yourself. They are generated
from incoming requests by the FXBlotterSubjectParser
and passed to your
implementation of FXBlotterProvider.onBlotterRequest(FXBlotterSubjectInfo)
and FXBlotterProvider.onBlotterDiscard(FXBlotterSubjectInfo)
Constructor and Description |
---|
FXBlotterSubjectInfo(String subject,
FXBlotter blotter,
String username)
Constructs an instance of FXBlotterSubjectInfo with the given details.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
FXBlotter |
getBlotter()
The
FXBlotter 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 FXBlotterSubjectInfo(String subject, FXBlotter blotter, String username)
subject
- The unparsed subject for the blotter requestblotter
- The FXBlotter
corresponding to the subjectusername
- The username associated with the requestpublic String getUsername()
public FXBlotter getBlotter()
FXBlotter
associated with the requestpublic String getSubject()
SubjectInfo
getSubject
in interface SubjectInfo
Copyright © 2015 Caplin Systems.