| org.ejbca.core.model.protect.Protectable
All known Subclasses: org.ejbca.core.model.ca.store.CertificateInfo, org.ejbca.core.model.log.LogEntry,
Protectable | public interface Protectable (Code) | | author: tomas version: $Id: Protectable.java,v 1.1 2006/08/05 09:59:38 anatom Exp $ |
Method Summary | |
public String | getDbKeyString() Returns the String form of the primary key for the database table that
this object is stored in. | public String | getEntryType() Returns a unique type string for these kinds of objects, for example LOGENTRY. | public String | getHash(int hashVersion) Creates and returns the hash code created from the object, the version
parameter can be used to handle upgrades to the class, since the hash must
always be the same, even if this method is caled one year later.
Parameters: dataVersion - version of class/hash requested. | public String | getHash() | public int | getHashVersion() |
getDbKeyString | public String getDbKeyString()(Code) | | Returns the String form of the primary key for the database table that
this object is stored in.
String Stringform of primary database key, used as key in the protection database table. |
getEntryType | public String getEntryType()(Code) | | Returns a unique type string for these kinds of objects, for example LOGENTRY.
String can be anything, as long as it is always the same. |
getHashVersion | public int getHashVersion()(Code) | | |
|
|