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

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

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

See Also:
Serialized Form

Field Summary
static java.lang.String DAYS
           
static java.lang.String HOURS
           
static java.lang.String MONTHS
           
static java.lang.String WEEKS
           
 
Constructor Summary
RepeatUnit()
           
RepeatUnit(int calFieldInt, java.lang.String key, java.lang.String rep)
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 java.lang.Integer getCalendarField()
          Getter for property calendarField.
static RepeatUnit 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

HOURS

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

DAYS

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

WEEKS

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

MONTHS

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

RepeatUnit

public RepeatUnit()

RepeatUnit

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

getInstance

public static RepeatUnit 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)