Compoze Software, Inc.

com.compoze.exchange.webdav
Class FileAsId


java.lang.Object

  |

  +--com.compoze.exchange.webdav.FileAsId


public class FileAsId
extends java.lang.Object

This class indicates how the contact information is displayed. The internationalizable string values are stored in the com.compoze.exchange.exchange_resources.properties (accessed through com.compoze.exchange.ExchangeProperties) and referenced by their key.


Field Summary
static FileAsId MAP_TO_FIRSTLAST
          This value represents file contact as givenname middlename sn
static FileAsId MAP_TO_LASTFIRST
          This value represents file contact as sn, givenname middlename
static FileAsId MAP_TO_LASTFIRSTORG
          This value represents file contact as sn, givenname, middlename, o
static FileAsId MAP_TO_NONE
          This value represents no construction.
static FileAsId MAP_TO_ORG
          This value represents file contact as o
static FileAsId MAP_TO_ORGLASTFIRST
          This value represents file contact as o, sn, middlename, givenname
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other FileAsId object is "equal to" this one.
static FileAsId get(int iStoreValue)
          Gets the fileas id its store value.
static FileAsId get(java.lang.String sName)
          Gets the fileas idby the name in the system default locale.
static java.util.List getList()
          Gets the list of file as ids.
 java.lang.String getName()
          Gets the name of the FileAsId value using the system default locale.
 java.lang.String getName(java.util.Locale locale)
          Gets the name of the FileAsId value using the specified locale.
 int getStoreValue()
          Gets the value that's used to store the FileAsId value 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

MAP_TO_NONE


public static final FileAsId MAP_TO_NONE
This value represents no construction. The FileAsId property is not generated. The value must be set explicitly and is not changed

MAP_TO_LASTFIRST


public static final FileAsId MAP_TO_LASTFIRST
This value represents file contact as sn, givenname middlename

MAP_TO_FIRSTLAST


public static final FileAsId MAP_TO_FIRSTLAST
This value represents file contact as givenname middlename sn

MAP_TO_ORG


public static final FileAsId MAP_TO_ORG
This value represents file contact as o

MAP_TO_LASTFIRSTORG


public static final FileAsId MAP_TO_LASTFIRSTORG
This value represents file contact as sn, givenname, middlename, o

MAP_TO_ORGLASTFIRST


public static final FileAsId MAP_TO_ORGLASTFIRST
This value represents file contact as o, sn, middlename, givenname
Method Detail

getName


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

getName


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

getStoreValue


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

get


public static FileAsId get(int iStoreValue)
Gets the fileas id its store value.
Parameters:
iStoreValue - the store value
Returns:
the matching FileAsId or null

get


public static FileAsId get(java.lang.String sName)
Gets the fileas idby the name in the system default locale.
Parameters:
sName - the name in the system default locale
Returns:
the matching FileAsId or null if not found

getList


public static java.util.List getList()
Gets the list of file as ids.
Returns:
the list of FileAsId ids (unmodifiable)

equals


public boolean equals(java.lang.Object o)
Indicates whether some other FileAsId object is "equal to" this one.
Overrides:
equals in class java.lang.Object
Returns:
true if this object is the same as the obj argument

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.