Compoze Software, Inc.

com.compoze.exchange.webdav
Class DisplayNamePrefix


java.lang.Object

  |

  +--com.compoze.exchange.webdav.DisplayNamePrefix

All Implemented Interfaces:
java.io.Serializable

Deprecated. This class has been deprecated and will be removed by version 3.1. Replaced with DisplayNamePrefix

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

This class implements a prefix. To create a custom prefix, use the create(String) method. A prefix key is used to lookup the readable string from exchange_resource.properties.

See Also:
Serialized Form

Field Summary
static DisplayNamePrefix DR
          Deprecated. This value represents the 'Dr.' prefix.
static DisplayNamePrefix MISS
          Deprecated. This value represents the 'Miss' prefix.
static DisplayNamePrefix MR
          Deprecated. This value represents the 'Mr.' prefix.
static DisplayNamePrefix MRS
          Deprecated. This value represents the 'Mrs.' prefix.
static DisplayNamePrefix MS
          Deprecated. This value represents the 'Ms.' prefix.
static DisplayNamePrefix PROF
          Deprecated. This value represents the 'Prof.' prefix.
 
Constructor Summary
protected DisplayNamePrefix(java.lang.String sPrefixKey)
          Deprecated. Constructor.
 
Method Summary
static DisplayNamePrefix create(java.lang.String sPrefix)
          Deprecated. Creates a new prefix.
 boolean equals(java.lang.Object o)
          Deprecated. Checks for equality.
static DisplayNamePrefix get(java.lang.String sPrefix)
          Deprecated. Gets the prefix.
 java.lang.String getPrefix()
          Deprecated. Gets the prefix.
 java.lang.String getPrefix(java.util.Locale locale)
          Deprecated. Gets the prefix using the specified locale.
static java.util.List getPrefixes()
          Deprecated. Gets an unmodifiable list of prefixes.
 java.lang.String toString()
          Deprecated. Returns a string representation of the object.
 java.lang.String toString(java.util.Locale locale)
          Deprecated. 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

DR


public static final DisplayNamePrefix DR
Deprecated. 
This value represents the 'Dr.' prefix.

MISS


public static final DisplayNamePrefix MISS
Deprecated. 
This value represents the 'Miss' prefix.

MR


public static final DisplayNamePrefix MR
Deprecated. 
This value represents the 'Mr.' prefix.

MRS


public static final DisplayNamePrefix MRS
Deprecated. 
This value represents the 'Mrs.' prefix.

MS


public static final DisplayNamePrefix MS
Deprecated. 
This value represents the 'Ms.' prefix.

PROF


public static final DisplayNamePrefix PROF
Deprecated. 
This value represents the 'Prof.' prefix.
Constructor Detail

DisplayNamePrefix


protected DisplayNamePrefix(java.lang.String sPrefixKey)
Deprecated. 
Constructor.
Parameters:
sPrefixKey - the key of the prefix (may not be null or empty)
Method Detail

getPrefix


public java.lang.String getPrefix()
Deprecated. 
Gets the prefix.
Returns:
the prefix

getPrefix


public java.lang.String getPrefix(java.util.Locale locale)
Deprecated. 
Gets the prefix using the specified locale.
Parameters:
locale - the locale
Returns:
the prefix

get


public static DisplayNamePrefix get(java.lang.String sPrefix)
Deprecated. 
Gets the prefix.
Parameters:
sPrefix - the prefix
Returns:
the matching prefix or null if not found

getPrefixes


public static java.util.List getPrefixes()
Deprecated. 
Gets an unmodifiable list of prefixes.
Returns:
the list of DisplayNamePrefix objects

create


public static DisplayNamePrefix create(java.lang.String sPrefix)
Deprecated. 
Creates a new prefix.
Parameters:
sPrefix - the prefix
Returns:
the newly created prefix

equals


public boolean equals(java.lang.Object o)
Deprecated. 
Checks for equality. Indicates whether some other object is "equal to" this one.
Overrides:
equals in class java.lang.Object
Parameters:
o - the object to check for equality
Returns:
true if this object is the same as the obj argument; false otherwise

toString


public java.lang.String toString()
Deprecated. 
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)
Deprecated. 
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.