|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.borg.model.entity.KeyedEntity<T>
net.sf.borg.model.entity.EncryptableEntity<Memo>
net.sf.borg.model.entity.Memo
public class Memo
Memo Entity. A Memo is a simple text entry keyed by a memo name. It remains simple since it corresponds to the simple memo objects that can be synced to a palm pilot.
Constructor Summary | |
---|---|
Memo()
|
Method Summary | |
---|---|
protected Memo |
clone()
|
void |
decrypt(String password)
decrypt the entity. |
void |
encrypt(String password)
encrypt the entity. |
Date |
getCreated()
Gets the creation date. |
String |
getMemoName()
Gets the memo name. |
String |
getMemoText()
Gets the memo text. |
Date |
getUpdated()
Gets the last update date. |
void |
setCreated(Date created)
Sets the creation date. |
void |
setMemoName(String xx)
Sets the memo name. |
void |
setMemoText(String xx)
Sets the memo text. |
void |
setUpdated(Date updated)
Sets the last update date. |
Methods inherited from class net.sf.borg.model.entity.EncryptableEntity |
---|
isEncrypted, setEncrypted |
Methods inherited from class net.sf.borg.model.entity.KeyedEntity |
---|
copy, getKey, setKey |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Memo()
Method Detail |
---|
public String getMemoName()
public void setMemoName(String xx)
xx
- the new memo namepublic String getMemoText()
public void setMemoText(String xx)
xx
- the new memo textpublic Date getCreated()
public void setCreated(Date created)
created
- the creation datepublic Date getUpdated()
public void setUpdated(Date updated)
updated
- the last update dateprotected Memo clone()
clone
in class KeyedEntity<Memo>
public void decrypt(String password) throws Exception
EncryptableEntity
decrypt
in class EncryptableEntity<Memo>
password
- the keystore password
Exception
public void encrypt(String password) throws Exception
EncryptableEntity
encrypt
in class EncryptableEntity<Memo>
password
- the keystore password
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |