|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.calendar.model.Priority
public class Priority
Field Summary | |
---|---|
static int |
MAXIMUM_PRIORITY
The maximum alloable priority value. |
static int |
MINIMUM_PRIORITY
The minimum allowable priority value. |
Constructor Summary | |
---|---|
Priority()
This is the default constructor. |
|
Priority(int newval)
The purpose of this method is to create a new priority property with the given initial value. |
Method Summary | |
---|---|
int |
compareTo(Priority other)
|
static int[] |
getAllPriorities()
|
int |
getValue()
|
void |
setValue(int newval)
The purpose of this method is to set the value of the priority property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MINIMUM_PRIORITY
public static final int MAXIMUM_PRIORITY
Constructor Detail |
---|
public Priority()
public Priority(int newval) throws CalendarException
newval
- The initial value of the priority property
CalendarException
Method Detail |
---|
public static int[] getAllPriorities()
public final void setValue(int newval) throws CalendarException
newval
- The new value for the priority property
CalendarException
public int getValue()
public int compareTo(Priority other)
compareTo
in interface Comparable<Priority>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |