Overview | Package | Class | Tree | Deprecated | Index | Help
| Compoze Software, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## portlets.compoze.groupware.calendar
Class AppointmentType

    java.lang.Object
      portlets.compoze.groupware.calendar.AppointmentType

All Implemented Interfaces:
  java.io.Serializable

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

This class represents an appointment type.

See Also:
  Serialized Form

Field Summary
`static AppointmentType` | `ANNIVERSARY` This value represents an 'anniversary' type.
`static AppointmentType` | `APPOINTMENT` This value represents an 'appointment' type.
`static AppointmentType` | `MEETING` This value represents a 'meeting' type.
`static AppointmentType` | `REMINDER` This value represents a 'reminder' type.
`static int` | `VALUE_ANNIVERSARY` This value represents the 'anniversary' value.
`static int` | `VALUE_APPOINTMENT` This value represents the 'appointment' value.
`static int` | `VALUE_MEETING` This value represents the 'meeting' value.
`static int` | `VALUE_REMINDER` This value represents the 'reminder' value.

Method Summary
`boolean` | `equals(java.lang.Object o)` Checks for equality.
`static AppointmentType` | `get(int iValue)` Gets the appointment type by the value.
`static java.util.List` | `getAppointmentTypes()` Gets the list of appointment type objects.
`java.lang.String` | `getKey()` Gets the key (resource name) for i18n.
`java.lang.String` | `getTimeKey()` Gets the time key (resource name) for i18n.
`int` | `getValue()` Gets the value of the appointment type.

Methods inherited from class java.lang.Object
`clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### VALUE_APPOINTMENT

    public static final int VALUE_APPOINTMENT

  This value represents the 'appointment' value.

  See Also:
    Constant Field Values

### VALUE_MEETING

    public static final int VALUE_MEETING

  This value represents the 'meeting' value.

  See Also:
    Constant Field Values

### VALUE_REMINDER

    public static final int VALUE_REMINDER

  This value represents the 'reminder' value.

  See Also:
    Constant Field Values

### VALUE_ANNIVERSARY

    public static final int VALUE_ANNIVERSARY

  This value represents the 'anniversary' value.

  See Also:
    Constant Field Values

### APPOINTMENT

    public static final AppointmentType APPOINTMENT

  This value represents an 'appointment' type.

### MEETING

    public static final AppointmentType MEETING

  This value represents a 'meeting' type.

### REMINDER

    public static final AppointmentType REMINDER

  This value represents a 'reminder' type.

### ANNIVERSARY

    public static final AppointmentType ANNIVERSARY

  This value represents an 'anniversary' type.

Method Detail

### getKey

    public java.lang.String getKey()

  Gets the key (resource name) for i18n.

  Returns:
    the key

### getTimeKey

    public java.lang.String getTimeKey()

  Gets the time key (resource name) for i18n.

  Returns:
    the time key

### getValue

    public int getValue()

  Gets the value of the appointment type.

  Returns:
    the value (see `VALUE_` constants)

### get

    public static AppointmentType get(int iValue)

  Gets the appointment type by the value.

  Parameters:
    `iValue` - the value to get by
  Returns:
    the matching appointment type or `null` if not found

### getAppointmentTypes

    public static java.util.List getAppointmentTypes()

  Gets the list of appointment type objects.

  Returns:
    the list of `AppointmentType` objects (unmodifiable)

### equals

    public boolean equals(java.lang.Object o)

  Checks for equality. The value is used to determine equality.

  Parameters:
    `o` - the object to check
  Returns:
    `true` if this object has the same value as the argument; `false` otherwise
  See Also:
    `getValue()`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Compoze Software, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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