Class AllocationViewEvent

java.lang.Object
com.caplin.motif.fx.trading.allocation.event.AllocationViewEvent
All Implemented Interfaces:
SubjectInfo

@Deprecated public class AllocationViewEvent extends Object implements SubjectInfo
Deprecated.

The AllocationViewEvent encapsulates the clients request for the details of an allocation.

  • Constructor Summary

    Constructors
    Constructor
    Description
    AllocationViewEvent(String subject, String username, String tradeId)
    Deprecated.
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
     
    Deprecated.
    Returns the original subject that was parsed to create this SubjectInfo
    Deprecated.
    Returns the trade Id that we want to view allocations for.
    Deprecated.
    Returns the username of the client that made the request to view allocations
    int
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AllocationViewEvent

      public AllocationViewEvent(String subject, String username, String tradeId)
      Deprecated.
      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.
      Parameters:
      subject - The subject the request was made on
      username - The user of the client that made the request.
      tradeId - The Id of the Trade that the client wants to view allocations for.
  • Method Details

    • getSubject

      public String getSubject()
      Deprecated.
      Description copied from interface: SubjectInfo
      Returns the original subject that was parsed to create this SubjectInfo
      Specified by:
      getSubject in interface SubjectInfo
      Returns:
      The original subject.
    • getUsername

      public String getUsername()
      Deprecated.
      Returns the username of the client that made the request to view allocations
      Returns:
      the username of the client who made the request to view allocations
    • getTradeId

      public String getTradeId()
      Deprecated.
      Returns the trade Id that we want to view allocations for.
      Returns:
      the trade Id that we want to view allocations for.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object