|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectportlets.compoze.groupware.RepeatPattern.RepeatFor.Unit
This class stores values 'for unit'.
Field Summary | |
static RepeatPattern.RepeatFor.Unit |
DAYS
This value represents the 'days' unit. |
static RepeatPattern.RepeatFor.Unit |
MONTHS
This value represents the 'months' unit. |
static int |
VALUE_DAYS
This represents the 'days' value. |
static int |
VALUE_MONTHS
This represents the 'months' value. |
static int |
VALUE_WEEKS
This represents the 'weeks' value. |
static int |
VALUE_YEARS
This represents the 'years' value. |
static RepeatPattern.RepeatFor.Unit |
WEEKS
This value represents the 'weeks' unit. |
static RepeatPattern.RepeatFor.Unit |
YEARS
This value represents the 'years' unit. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static RepeatPattern.RepeatFor.Unit |
get(int iValue)
Gets the unit by its value. |
java.lang.String |
getKey()
Gets the i18n resource key name. |
static java.util.List |
getUnits()
Gets the list of units. |
int |
getValue()
Gets the value of the unit. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int VALUE_DAYS
public static final int VALUE_WEEKS
public static final int VALUE_MONTHS
public static final int VALUE_YEARS
public static final RepeatPattern.RepeatFor.Unit DAYS
public static final RepeatPattern.RepeatFor.Unit WEEKS
public static final RepeatPattern.RepeatFor.Unit MONTHS
public static final RepeatPattern.RepeatFor.Unit YEARS
Method Detail |
public java.lang.String getKey()
public int getValue()
public static RepeatPattern.RepeatFor.Unit get(int iValue)
iValue
- the value to get by
null
if not foundpublic static java.util.List getUnits()
Unit
s (unmodifiable)public boolean equals(java.lang.Object o)
o
- the object to check
true
if this object has the same value as the
argument, false
otherwise
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |