|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.ebusiness.Priority
This class represents a priority. The priority values of
HIGH
, MEDIUM
, LOW
and
UNDEFINED
represent internal values such
as 1, 5, 9 and 0 respectively. These values correspond
to the iCalendar (RFC #2445) definition of priorities.
The internationalizable
string values are stored in the ebusiness_resources.properties
file (accessed through EBusinessResources
) and referenced by
their key and can be found in j2ee_runtime.jar
at
com.compoze.ebusiness.ebusiness_resources.properties
.
Field Summary | |
static Priority |
HIGH
This value represents the 'high' priority. |
static Priority |
LOW
This value represents the 'low' priority. |
static Priority |
MEDIUM
This value represents the 'medium' priority. |
static Priority |
UNDEFINED
This value represents the 'undefined' priority. |
static int |
VALUE_HIGH
This represents a 'high' priority. |
static int |
VALUE_LOW
This represents a 'low' priority. |
static int |
VALUE_MEDIUM
This represents a 'medium' priority. |
static int |
VALUE_UNDEFINED
This represents a 'undefined' priority. |
Method Summary | |
int |
compareTo(java.lang.Object o)
Compares this priority to the specified object for ordering. |
boolean |
equals(java.lang.Object o)
Indicates whether some other Priority
object is "equal to" this one. |
static Priority |
get(int iStoreValue)
Gets the priority by its store value. |
static java.util.List |
getList()
Gets the list of priorities. |
java.lang.String |
getName()
Gets the name of the priority using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the priority using the specified locale. |
static java.util.List |
getPriorities()
Deprecated. This method has been deprecated and replaced with getList() . |
int |
getStoreValue()
Gets the value that's used to store the busy 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 |
public static final int VALUE_HIGH
public static final int VALUE_MEDIUM
public static final int VALUE_LOW
public static final int VALUE_UNDEFINED
public static final Priority HIGH
public static final Priority MEDIUM
public static final Priority LOW
public static final Priority UNDEFINED
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the localepublic int getStoreValue()
public static Priority get(int iStoreValue)
iStoreValue
- the store value to get bynull
if not foundpublic static java.util.List getPriorities()
getList()
.
Priority
objects (unmodifiable)public static java.util.List getList()
Priority
objects (unmodifiable)public boolean equals(java.lang.Object o)
Priority
object is "equal to" this one.equals
in class java.lang.Object
o
- the object to check (must be a Priority
)true
if this object has the same value as the
argument, false
otherwisepublic int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- the object to be compared (must be a Priority
)public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.util.Locale locale)
locale
- the locale
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |