net.sf.borg.model.entity
Class Memo
java.lang.Object
net.sf.borg.model.entity.KeyedEntity<T>
net.sf.borg.model.entity.EncryptableEntity<Memo>
net.sf.borg.model.entity.Memo
- All Implemented Interfaces:
- Serializable
public class Memo
- extends EncryptableEntity<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.
- See Also:
- Serialized Form
|
Constructor Summary |
Memo()
|
Memo
public Memo()
clone
protected Memo clone()
- Overrides:
clone in class KeyedEntity<Memo>
decrypt
public void decrypt(String password)
throws Exception
- Description copied from class:
EncryptableEntity
- decrypt the entity. This will use the password to get the borg encryption
key from the keystore and then will decrypt those fields in the entity that are encrypted.
the entity encrypted flag will be set to false.
- Specified by:
decrypt in class EncryptableEntity<Memo>
- Parameters:
password - the keystore password
- Throws:
Exception
encrypt
public void encrypt(String password)
throws Exception
- Description copied from class:
EncryptableEntity
- encrypt the entity. This will use the password to get the borg encryption
key from the keystore and then will encrypt those fields in the entity that are encryptable.
the entity encrypted flag will be set to true.
- Specified by:
encrypt in class EncryptableEntity<Memo>
- Parameters:
password - the keystore password
- Throws:
Exception
getMemoName
public String getMemoName()
getMemoText
public String getMemoText()
getCreated
public Date getCreated()
getUpdated
public Date getUpdated()
setMemoName
public void setMemoName(String MemoName)
setMemoText
public void setMemoText(String MemoText)
setCreated
public void setCreated(Date Created)
setUpdated
public void setUpdated(Date Updated)
toString
public String toString()
- Overrides:
toString in class EncryptableEntity<Memo>
equals
public boolean equals(Object o)
- Overrides:
equals in class EncryptableEntity<Memo>
canEqual
public boolean canEqual(Object other)
- Overrides:
canEqual in class EncryptableEntity<Memo>
hashCode
public int hashCode()
- Overrides:
hashCode in class EncryptableEntity<Memo>
Generated December 30 2011 by mbb using Apache Ant(TM) version 1.8.2 compiled on December 20 2010 and Java version 1.6.0_30 from Sun Microsystems Inc. on Linux i386 3.0.0-14-generic-pae