Compoze Software, Inc.

portlets.compoze.groupware
Class RepeatPattern.Interval


java.lang.Object

  |

  +--portlets.compoze.groupware.RepeatPattern.Interval

All Implemented Interfaces:
java.io.Serializable
Enclosing class:
RepeatPattern

public static class RepeatPattern.Interval
extends java.lang.Object
implements java.io.Serializable

This class represents the repeating interval. For example, every, every other.

See Also:
Serialized Form

Field Summary
static RepeatPattern.Interval EVERY
          This value represents the 'every' repeat interval.
static RepeatPattern.Interval EVERY_EIGHTH
          This value represents the 'every eighth' repeat interval.
static RepeatPattern.Interval EVERY_ELEVENTH
          This value represents the 'every eleventh' repeat interval.
static RepeatPattern.Interval EVERY_FIFTH
          This value represents the 'every fifth' repeat interval.
static RepeatPattern.Interval EVERY_FOURTH
          This value represents the 'every fourth' repeat interval.
static RepeatPattern.Interval EVERY_NINTH
          This value represents the 'every ninth' repeat interval.
static RepeatPattern.Interval EVERY_OTHER
          This value represents the 'every other' repeat interval.
static RepeatPattern.Interval EVERY_SEVENTH
          This value represents the 'every seventh' repeat interval.
static RepeatPattern.Interval EVERY_SIXTH
          This value represents the 'every sixth' repeat interval.
static RepeatPattern.Interval EVERY_TENTH
          This value represents the 'every tenth' repeat interval.
static RepeatPattern.Interval EVERY_THIRD
          This value represents the 'every third' repeat interval.
static RepeatPattern.Interval EVERY_TWELFTH
          This value represents the 'every twelfth' repeat interval.
static int VALUE_EVERY
          This represents the 'every' value.
static int VALUE_EVERY_EIGHTH
          This represents the 'every eighth' value.
static int VALUE_EVERY_ELEVENTH
          This represents the 'every eleventh' value.
static int VALUE_EVERY_FIFTH
          This represents the 'every fifth' value.
static int VALUE_EVERY_FOURTH
          This represents the 'every fourth' value.
static int VALUE_EVERY_NINTH
          This represents the 'every ninth' value.
static int VALUE_EVERY_OTHER
          This represents the 'every other' value.
static int VALUE_EVERY_SEVENTH
          This represents the 'every seventh' value.
static int VALUE_EVERY_SIXTH
          This represents the 'every sixth' value.
static int VALUE_EVERY_TENTH
          This represents the 'every tenth' value.
static int VALUE_EVERY_THIRD
          This represents the 'every third' value.
static int VALUE_EVERY_TWELFTH
          This represents the 'every twelfth' value.
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks for equality.
static RepeatPattern.Interval get(int iValue)
          Gets the repeat interval by its value.
static java.util.List getIntervals()
          Gets the list of repeat intervals.
 java.lang.String getKey()
          Gets the i18n resource key name.
 int getValue()
          Gets the value of the repeat interval.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALUE_EVERY


public static final int VALUE_EVERY
This represents the 'every' value.

VALUE_EVERY_OTHER


public static final int VALUE_EVERY_OTHER
This represents the 'every other' value.

VALUE_EVERY_THIRD


public static final int VALUE_EVERY_THIRD
This represents the 'every third' value.

VALUE_EVERY_FOURTH


public static final int VALUE_EVERY_FOURTH
This represents the 'every fourth' value.

VALUE_EVERY_FIFTH


public static final int VALUE_EVERY_FIFTH
This represents the 'every fifth' value.

VALUE_EVERY_SIXTH


public static final int VALUE_EVERY_SIXTH
This represents the 'every sixth' value.

VALUE_EVERY_SEVENTH


public static final int VALUE_EVERY_SEVENTH
This represents the 'every seventh' value.

VALUE_EVERY_EIGHTH


public static final int VALUE_EVERY_EIGHTH
This represents the 'every eighth' value.

VALUE_EVERY_NINTH


public static final int VALUE_EVERY_NINTH
This represents the 'every ninth' value.

VALUE_EVERY_TENTH


public static final int VALUE_EVERY_TENTH
This represents the 'every tenth' value.

VALUE_EVERY_ELEVENTH


public static final int VALUE_EVERY_ELEVENTH
This represents the 'every eleventh' value.

VALUE_EVERY_TWELFTH


public static final int VALUE_EVERY_TWELFTH
This represents the 'every twelfth' value.

EVERY


public static final RepeatPattern.Interval EVERY
This value represents the 'every' repeat interval.

EVERY_OTHER


public static final RepeatPattern.Interval EVERY_OTHER
This value represents the 'every other' repeat interval.

EVERY_THIRD


public static final RepeatPattern.Interval EVERY_THIRD
This value represents the 'every third' repeat interval.

EVERY_FOURTH


public static final RepeatPattern.Interval EVERY_FOURTH
This value represents the 'every fourth' repeat interval.

EVERY_FIFTH


public static final RepeatPattern.Interval EVERY_FIFTH
This value represents the 'every fifth' repeat interval.

EVERY_SIXTH


public static final RepeatPattern.Interval EVERY_SIXTH
This value represents the 'every sixth' repeat interval.

EVERY_SEVENTH


public static final RepeatPattern.Interval EVERY_SEVENTH
This value represents the 'every seventh' repeat interval.

EVERY_EIGHTH


public static final RepeatPattern.Interval EVERY_EIGHTH
This value represents the 'every eighth' repeat interval.

EVERY_NINTH


public static final RepeatPattern.Interval EVERY_NINTH
This value represents the 'every ninth' repeat interval.

EVERY_TENTH


public static final RepeatPattern.Interval EVERY_TENTH
This value represents the 'every tenth' repeat interval.

EVERY_ELEVENTH


public static final RepeatPattern.Interval EVERY_ELEVENTH
This value represents the 'every eleventh' repeat interval.

EVERY_TWELFTH


public static final RepeatPattern.Interval EVERY_TWELFTH
This value represents the 'every twelfth' repeat interval.
Method Detail

getKey


public java.lang.String getKey()
Gets the i18n resource key name.
Returns:
the key

getValue


public int getValue()
Gets the value of the repeat interval.
Returns:
the value

get


public static RepeatPattern.Interval get(int iValue)
Gets the repeat interval by its value.
Parameters:
iValue - the value to get by
Returns:
the matching repeat interval or null if not found

getIntervals


public static java.util.List getIntervals()
Gets the list of repeat intervals.
Returns:
the list of Intervals (unmodifiable)

equals


public boolean equals(java.lang.Object o)
Checks for equality. The value is used to determine equality, so that the language the name is represented in is not important.
Overrides:
equals in class java.lang.Object
Parameters:
o - the object to check
Returns:
true if this object has the same value as the argument, false otherwise

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.