|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--PIMEntity
PIMEntity is the abstract class for all items managed by the personal information manager. PIMEntities all have a priority (a string) and can convert themselves to a single string and from a string.
| Constructor Summary | |
PIMEntity()
The default constructor sets the priority to "normal" |
|
PIMEntity(java.lang.String priority)
alternate constructor that allows the priority to be set. |
|
| Method Summary | |
abstract void |
fromString(java.lang.String s)
Each PIMEntity needs to be able to set all state information (fields) from a single text string. |
java.lang.String |
getPriority()
Accessor method for getting the priority string. |
void |
setPriority(java.lang.String p)
Sets the priority string |
abstract java.lang.String |
toString()
This is actually already defined by the super class Object, but redefined here as abstract to make sure that derived classes actually implement it |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PIMEntity()
public PIMEntity(java.lang.String priority)
priority - the priority label to be associated with the object.| Method Detail |
public java.lang.String getPriority()
public void setPriority(java.lang.String p)
p - the new priority label (string).public abstract void fromString(java.lang.String s)
public abstract java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||