From e897c0b96075ff833db4bb42c6bb267275376c7c Mon Sep 17 00:00:00 2001 From: Erik Brakkee Date: Mon, 26 Jul 2010 17:20:29 +0000 Subject: [PATCH] --- .../org/wamblee/persistence/Detachable.java | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/support/general/src/main/java/org/wamblee/persistence/Detachable.java b/support/general/src/main/java/org/wamblee/persistence/Detachable.java index 0d681d0c..ea5adfe6 100644 --- a/support/general/src/main/java/org/wamblee/persistence/Detachable.java +++ b/support/general/src/main/java/org/wamblee/persistence/Detachable.java @@ -18,22 +18,23 @@ package org.wamblee.persistence; import java.io.Serializable; /** - * Represents a detachable object. It represent a reference to a persistent object. - * The object is detachable in that the memory footprint can be reduced by not keeping - * a reference to the complete java object, but only to its identify in persistent - * storage. This is typically the primary key in a relational database. + * Represents a detachable object. It represent a reference to a persistent + * object. The object is detachable in that the memory footprint can be reduced + * by not keeping a reference to the complete java object, but only to its + * identify in persistent storage. This is typically the primary key in a + * relational database. */ public interface Detachable extends Serializable { - - /** - * Detaches the object. - */ - void detach(); - - /** - * Gets the object, attaching it if needed. - * @return - */ - T get(); + /** + * Detaches the object. + */ + void detach(); + + /** + * Gets the object, attaching it if needed. + * + * @return + */ + T get(); } -- 2.31.1