|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.domino.Importance
public class Importance
This class stores the values for an 'importance'. The internationalizable
string values are stored in the domino_resources.properties
file (accessed through DominoProperties
) and referenced by
their key.
Field Summary | |
---|---|
static Importance |
HIGH
This value represents a 'high' importance. |
static Importance |
LOW
This value represents a 'low' importance. |
static Importance |
NORMAL
This value represents a 'normal' importance. |
static int |
STORE_VALUE_HIGH
This value represents the 'high' store value. |
static int |
STORE_VALUE_LOW
This value represents the 'low' store value. |
static int |
STORE_VALUE_NORMAL
This value represents the 'normal' store value. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Checks for equality. |
static Importance |
get(int iStoreValue)
Gets the importance by the store value. |
static java.util.List |
getList()
Gets the list of importance objects. |
java.lang.String |
getName()
Gets the name of the importance using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the importance using the specified locale. |
int |
getStoreValue()
Gets the store value used to store the importance in the storage system. |
java.lang.Object |
getStoreValueObject()
Gets the store value as an object. |
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 |
---|
public static final int STORE_VALUE_LOW
public static final int STORE_VALUE_NORMAL
public static final int STORE_VALUE_HIGH
public static final Importance LOW
public static final Importance NORMAL
public static final Importance HIGH
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the locale
public int getStoreValue()
public java.lang.Object getStoreValueObject()
public static Importance get(int iStoreValue)
iStoreValue
- the store value to get by
null
if not foundpublic static java.util.List getList()
Importance
objects (unmodifiable)public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to check
true
if this object has the same store value as the argument; false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.util.Locale locale)
locale
- the locale
|
Oracle | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |