Compoze Software, Inc.

com.compoze.exchange.webdav
Class AppointmentStatus


java.lang.Object

  |

  +--com.compoze.exchange.webdav.AppointmentStatus

All Implemented Interfaces:
java.io.Serializable

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

This class indicates the current status of an appointment or meeting. The internationalizable string values are stored in the exchange_resources.properties file (accessed through ExchangeProperties) and referenced by their key.

See Also:
Serialized Form

Field Summary
static AppointmentStatus MEETING
          This value represents a 'meeting' meeting status.
static AppointmentStatus MEETING_CANCELLED
          This value represents a 'meeting cancelled' meeting status.
static AppointmentStatus MEETING_RECEIVED
          This value represents a 'meeting received' meeting status.
static AppointmentStatus NON_MEETING
          This value represents a 'non-meeting' meeting status.
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks for equality.
static AppointmentStatus get(int iStoreValue)
          Gets the meeting status by its store value.
static AppointmentStatus get(java.lang.String sName)
          Gets the meeting status by the name in the system default locale.
static java.util.List getList()
          Gets the list of meeting status levels.
 java.lang.String getName()
          Gets the name of the meeting status using the system default locale.
 java.lang.String getName(java.util.Locale locale)
          Gets the name of the meeting status using the specified locale.
 int getStoreValue()
          Gets the value that's used to store the meeting status in the storage system.
 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

NON_MEETING


public static final AppointmentStatus NON_MEETING
This value represents a 'non-meeting' meeting status.

MEETING


public static final AppointmentStatus MEETING
This value represents a 'meeting' meeting status.

MEETING_RECEIVED


public static final AppointmentStatus MEETING_RECEIVED
This value represents a 'meeting received' meeting status.

MEETING_CANCELLED


public static final AppointmentStatus MEETING_CANCELLED
This value represents a 'meeting cancelled' meeting status.
Method Detail

getName


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

getName


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

getStoreValue


public int getStoreValue()
Gets the value that's used to store the meeting status in the storage system.
Returns:
the store value

get


public static AppointmentStatus get(int iStoreValue)
Gets the meeting status by its store value.
Parameters:
iStoreValue - the store value to get by
Returns:
the matching meeting status or null if not found

get


public static AppointmentStatus get(java.lang.String sName)
Gets the meeting status by the name in the system default locale.
Parameters:
sName - the name in the system default locale
Returns:
the matching meeting status or null if not found

getList


public static java.util.List getList()
Gets the list of meeting status levels.
Returns:
the list of AppointmentStatuses (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 (must be an AppointmentStatus or else a ClassCastException is thrown)
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.