|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ftlabs.fisa.InterestFrequency
public class InterestFrequency
A class to define all of the supported interest frequencies.
| Field Summary | |
|---|---|
static InterestFrequency |
ANNUAL
Static Annual InterestFrequency ( 1 ). |
static InterestFrequency |
MONTHLY
Static Monthly InterestFrequency ( 12 ). |
static InterestFrequency |
QUARTERLY
Static Quarterly InterestFrequency ( 4 ). |
static InterestFrequency |
SEMI_ANNUAL
Static Semi Annual InterestFrequency ( 2 ). |
| Method Summary | |
|---|---|
static InterestFrequency |
getByName(java.lang.String name)
Get an InterestFrequency for the given name. |
static InterestFrequency |
getByValue(int value)
Get an InterestFrequency for the given value ( periods per year ). |
static java.util.Collection<InterestFrequency> |
getInterestFrequencies()
Get a Collection of all the supported InterestFrequencies. |
int |
getValue()
Get the number of periods per year. |
java.lang.String |
toString()
Get the name of this InterestFrequency. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final InterestFrequency ANNUAL
public static final InterestFrequency SEMI_ANNUAL
public static final InterestFrequency QUARTERLY
public static final InterestFrequency MONTHLY
| Method Detail |
|---|
public int getValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic static java.util.Collection<InterestFrequency> getInterestFrequencies()
Collection of all the supported InterestFrequencies.
Collection of all the supported InterestFrequencies.public static InterestFrequency getByValue(int value)
value - the number of periods per year.
public static InterestFrequency getByName(java.lang.String name)
name - the name for the desired InterestFrequency.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||