Compoze Software, Inc.

com.compoze.domino
Class RepeatWeekends


java.lang.Object

  |

  +--com.compoze.domino.RepeatWeekends

All Implemented Interfaces:
java.io.Serializable

public class RepeatWeekends
extends java.lang.Object
implements java.io.Serializable

This class stores the values for a 'repeat weekends'.

See Also:
Serialized Form

Field Summary
static RepeatWeekends DELETE
          This value represents a 'delete' repeat weekends.
static RepeatWeekends DONT_MOVE
          This value represents a 'don't move' repeat weekends.
static RepeatWeekends MOVE_TO_FRIDAY
          This value represents a 'move to Friday' repeat weekends.
static RepeatWeekends MOVE_TO_MONDAY
          This value represents a 'move to Monday' repeat weekends.
static RepeatWeekends MOVE_TO_NEAREST_WEEKDAY
          This value represents a 'move to nearest weekday' repeat weekends.
static int VALUE_DELETE
          This value represents the 'delete' weekends rule.
static int VALUE_DONT_MOVE
          This value represents the 'don't move' weekends rule.
static int VALUE_MOVE_TO_FRIDAY
          This value represents the 'move to Friday' weekends rule.
static int VALUE_MOVE_TO_MONDAY
          This value represents the 'move to Monday' weekends rule.
static int VALUE_MOVE_TO_NEAREST_WEEKDAY
          This value represents the 'move to nearest weekday' weekends rule.
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks for equality.
static RepeatWeekends get(int iValue)
          Gets the repeat weekends by its value.
static java.util.List getList()
          Gets the list of repeat weekends.
 java.lang.String getName()
          Gets the name of the repeat weekends using the system default locale.
 java.lang.String getName(java.util.Locale locale)
          Gets the name of the repeat weekends using the specified locale.
 int getValue()
          Gets the value of the repeat weekends.
 java.lang.String toString()
          Returns a string representation of the object.
 java.lang.String toString(java.util.Locale locale)
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

VALUE_DONT_MOVE


public static final int VALUE_DONT_MOVE
This value represents the 'don't move' weekends rule.

VALUE_MOVE_TO_FRIDAY


public static final int VALUE_MOVE_TO_FRIDAY
This value represents the 'move to Friday' weekends rule.

VALUE_MOVE_TO_MONDAY


public static final int VALUE_MOVE_TO_MONDAY
This value represents the 'move to Monday' weekends rule.

VALUE_MOVE_TO_NEAREST_WEEKDAY


public static final int VALUE_MOVE_TO_NEAREST_WEEKDAY
This value represents the 'move to nearest weekday' weekends rule.

VALUE_DELETE


public static final int VALUE_DELETE
This value represents the 'delete' weekends rule.

DONT_MOVE


public static final RepeatWeekends DONT_MOVE
This value represents a 'don't move' repeat weekends.

MOVE_TO_FRIDAY


public static final RepeatWeekends MOVE_TO_FRIDAY
This value represents a 'move to Friday' repeat weekends.

MOVE_TO_MONDAY


public static final RepeatWeekends MOVE_TO_MONDAY
This value represents a 'move to Monday' repeat weekends.

MOVE_TO_NEAREST_WEEKDAY


public static final RepeatWeekends MOVE_TO_NEAREST_WEEKDAY
This value represents a 'move to nearest weekday' repeat weekends.

DELETE


public static final RepeatWeekends DELETE
This value represents a 'delete' repeat weekends.
Method Detail

getName


public java.lang.String getName()
Gets the name of the repeat weekends using the system default locale.
Returns:
the name

getName


public java.lang.String getName(java.util.Locale locale)
Gets the name of the repeat weekends using the specified locale.
Parameters:
locale - the locale
Returns:
the name

getValue


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

get


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

getList


public static java.util.List getList()
Gets the list of repeat weekends.
Returns:
the list of RepeatWeekends objects (unmodifiable)

equals


public boolean equals(java.lang.Object o)
Checks for equality. The store 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 store value as the argument, false otherwise

toString


public java.lang.String toString()
Returns a string representation of the object.
Overrides:
toString in class java.lang.Object
Returns:
the string representation of the object

toString


public java.lang.String toString(java.util.Locale locale)
Returns a string representation of the object.
Parameters:
locale - the locale
Returns:
the string representation of the object

Compoze Software, Inc.

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