org.otfeed.event
Class OTSplit

java.lang.Object
  extended by org.otfeed.event.OTSplit
All Implemented Interfaces:
java.lang.Comparable<OTSplit>

public final class OTSplit
extends java.lang.Object
implements java.lang.Comparable<OTSplit>

Represents a Split event.


Constructor Summary
OTSplit()
          Default constructor.
OTSplit(int toFactor, int forFactor, java.util.Date declaratonDate, java.util.Date executionDate, java.util.Date recordDate, java.util.Date paymentDate)
          Constructor.
 
Method Summary
 int compareTo(OTSplit other)
           
 boolean equals(java.lang.Object o)
           
 java.util.Date getDeclarationDate()
           
 java.util.Date getExecutionDate()
           
 int getForFactor()
           
 java.util.Date getPaymentDate()
           
 java.util.Date getRecordDate()
           
 int getToFactor()
           
 int hashCode()
           
 void setDeclarationDate(java.util.Date declarationDate)
          Sets declaration date.
 void setExecutionDate(java.util.Date executionDate)
          Sets execution date.
 void setForFactor(int forFactor)
          Sets for factor.
 void setPaymentDate(java.util.Date paymentDate)
          Sets payment date.
 void setRecordDate(java.util.Date recordDate)
          Sets record date.
 void setToFactor(int toFactor)
          Sets to factor.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OTSplit

public OTSplit()
Default constructor.


OTSplit

public OTSplit(int toFactor,
               int forFactor,
               java.util.Date declaratonDate,
               java.util.Date executionDate,
               java.util.Date recordDate,
               java.util.Date paymentDate)
Constructor.

Parameters:
toFactor - To factor.
forFactor - For factor.
declaratonDate - Declaration date.
executionDate - Execution date.
recordDate - Record date.
paymentDate - Payment date.
Method Detail

getToFactor

public int getToFactor()
Returns:
To factor.

setToFactor

public void setToFactor(int toFactor)
Sets to factor.

Parameters:
toFactor - To factor.

getForFactor

public int getForFactor()
Returns:
For factor.

setForFactor

public void setForFactor(int forFactor)
Sets for factor.

Parameters:
forFactor - For factor.

getDeclarationDate

public java.util.Date getDeclarationDate()
Returns:
Declaration date.

setDeclarationDate

public void setDeclarationDate(java.util.Date declarationDate)
Sets declaration date.

Parameters:
declarationDate - Declaration date.

getExecutionDate

public java.util.Date getExecutionDate()
Returns:
Execution date.

setExecutionDate

public void setExecutionDate(java.util.Date executionDate)
Sets execution date.

Parameters:
executionDate - Execution date.

getRecordDate

public java.util.Date getRecordDate()
Returns:
Record date.

setRecordDate

public void setRecordDate(java.util.Date recordDate)
Sets record date.

Parameters:
recordDate - Record date.

getPaymentDate

public java.util.Date getPaymentDate()
Returns:
Payment date.

setPaymentDate

public void setPaymentDate(java.util.Date paymentDate)
Sets payment date.

Parameters:
paymentDate - Payment date.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(OTSplit other)
Specified by:
compareTo in interface java.lang.Comparable<OTSplit>


Copyright © 2007 Mike Kroutikov. All Rights Reserved.