import java.io.Serializable;
-
/**
- * Interface for persistent objects. This defines required functionality for all objects
- * that are persisted.
- *
+ * Interface for persistent objects. This defines required functionality for all
+ * objects that are persisted.
+ *
* Objects that implement this interface and which implement
- * {@link java.lang.Object#equals(java.lang.Object)}
- * should exclude the primary key and version from determining equality.
+ * {@link java.lang.Object#equals(java.lang.Object)} should exclude the primary
+ * key and version from determining equality.
*/
public interface Persistent {
/**
* Gets the primary key.
- *
+ *
* @return Primary key.
- *
+ *
* @see #setPrimaryKey(Serializable)
*/
Serializable getPrimaryKey();
/**
* Sets the primary key.
- *
- * @param aKey Primary key.
- *
+ *
+ * @param aKey
+ * Primary key.
+ *
* @see #getPrimaryKey()
*/
void setPrimaryKey(Serializable aKey);
/**
* Gets the version.
- *
+ *
* @return Version.
- *
+ *
* @see #setPersistedVersion(int)
*/
int getPersistedVersion();
/**
* Sets the version.
- *
- * @param aVersion Version.
- *
+ *
+ * @param aVersion
+ * Version.
+ *
* @see #getPersistedVersion()
*/
void setPersistedVersion(int aVersion);