com.sun.rave.web.ui.model.scheduler
Class RepeatInterval

java.lang.Object
  extended bycom.sun.rave.web.ui.model.scheduler.RepeatInterval
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Field Summary
static java.lang.String DAILY
           
static java.lang.String HOURLY
           
static java.lang.String MONTHLY
           
static java.lang.String ONETIME
           
static java.lang.String WEEKLY
           
 
Constructor Summary
RepeatInterval()
           
RepeatInterval(int calFieldInt, java.lang.String key, java.lang.String rep, java.lang.String repUnit)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 java.lang.Integer getCalendarField()
          Getter for property calendarField.
 RepeatUnit getDefaultRepeatUnit()
           
static RepeatInterval getInstance(java.lang.String representation)
           
 java.lang.String getKey()
           
 java.lang.String getLabel(javax.faces.context.FacesContext context)
          Getter for property labelKey.
 java.lang.String getRepresentation()
           
 void setCalendarField(java.lang.Integer calField)
          Setter for property calendarField.
 void setKey(java.lang.String key)
           
 void setRepresentation(java.lang.String representation)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ONETIME

public static final java.lang.String ONETIME
See Also:
Constant Field Values

HOURLY

public static final java.lang.String HOURLY
See Also:
Constant Field Values

DAILY

public static final java.lang.String DAILY
See Also:
Constant Field Values

WEEKLY

public static final java.lang.String WEEKLY
See Also:
Constant Field Values

MONTHLY

public static final java.lang.String MONTHLY
See Also:
Constant Field Values
Constructor Detail

RepeatInterval

public RepeatInterval()

RepeatInterval

public RepeatInterval(int calFieldInt,
                      java.lang.String key,
                      java.lang.String rep,
                      java.lang.String repUnit)
Method Detail

getInstance

public static RepeatInterval getInstance(java.lang.String representation)

getCalendarField

public java.lang.Integer getCalendarField()
Getter for property calendarField.

Returns:
Value of property calendarField.

setCalendarField

public void setCalendarField(java.lang.Integer calField)
Setter for property calendarField.

Returns:
Value of property calendarField.

setKey

public void setKey(java.lang.String key)

getKey

public java.lang.String getKey()

setRepresentation

public void setRepresentation(java.lang.String representation)

getRepresentation

public java.lang.String getRepresentation()

getLabel

public java.lang.String getLabel(javax.faces.context.FacesContext context)
Getter for property labelKey.

Returns:
Value of property labelKey.

equals

public boolean equals(java.lang.Object object)

getDefaultRepeatUnit

public RepeatUnit getDefaultRepeatUnit()