com.cc.framework.ui.model
Class RecurrenceType

java.lang.Object
  extended bycom.cc.framework.ui.model.RecurrenceType
All Implemented Interfaces:
java.io.Serializable, SimpleEnumType

public class RecurrenceType
extends java.lang.Object
implements SimpleEnumType, java.io.Serializable

Enumeration for valid Recurrence Types

Version:
$Revision: 1.8 $
Author:
Harald Schulz
See Also:
Serialized Form

Field Summary
private static RecurrenceType[] ALL
          List with all Elements
static RecurrenceType DAILY
          Recurrence Type: daily
static RecurrenceType MONTHLY
          Recurrence Type: monthly
static RecurrenceType MONTHLY_NTH
          Recurrence Type: monthlyNth
static RecurrenceType NONE
          Recurrence Type: none
private static long serialVersionUID
          Serial Version UID
private  java.lang.String type
          Field type
static RecurrenceType WEEKLY
          Recurrence Type: weekly
static RecurrenceType YEARLY
          Recurrence Type: yearly
static RecurrenceType YEARLY_NTH
          Recurrence Type: yearlyNth
 
Constructor Summary
private RecurrenceType(java.lang.String type)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares this type to the specified object.
static RecurrenceType parse(java.lang.String code)
          Creates for the argument an Object of Type RecurType
 java.lang.String toString()
          Method toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial Version UID

See Also:
Constant Field Values

NONE

public static final RecurrenceType NONE
Recurrence Type: none


DAILY

public static final RecurrenceType DAILY
Recurrence Type: daily


WEEKLY

public static final RecurrenceType WEEKLY
Recurrence Type: weekly


MONTHLY

public static final RecurrenceType MONTHLY
Recurrence Type: monthly


MONTHLY_NTH

public static final RecurrenceType MONTHLY_NTH
Recurrence Type: monthlyNth


YEARLY

public static final RecurrenceType YEARLY
Recurrence Type: yearly


YEARLY_NTH

public static final RecurrenceType YEARLY_NTH
Recurrence Type: yearlyNth


type

private java.lang.String type
Field type


ALL

private static final RecurrenceType[] ALL
List with all Elements

Constructor Detail

RecurrenceType

private RecurrenceType(java.lang.String type)
Constructor

Parameters:
type - the recurrence type
Method Detail

toString

public java.lang.String toString()
Method toString

Returns:
String

equals

public boolean equals(java.lang.Object obj)
Compares this type to the specified object.

Parameters:
obj - The object to compare this RecurType object against.
Returns:
true if the internal types are equal; false otherwise.

parse

public static RecurrenceType parse(java.lang.String code)
                            throws java.lang.IllegalArgumentException
Creates for the argument an Object of Type RecurType

Parameters:
code - String to parse
Returns:
RecurType
Throws:
java.lang.IllegalArgumentException - if the argument can not be passed


Copyright © 2000-2005 SCC Informationssysteme GmbH. All Rights Reserved.